Installing any package after cancelling patchelf installation fails with unexpected error

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
I was trying to install<EMAIL_ADDRESS>on Linuxbrew. I had previously tried to repair my Linux install and probably pressed ^C at the step where patchelf was being installed. My assumption is that patchelf did not install properly.
What happened (include command output)
An unexpected error was visible in the logsfor almost every install: "Error: no implicit conversion of nil into String", and then it was trying to compile everything.

Command output

❯ brew install<EMAIL_ADDRESS>--verbose --debug
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gcc.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/patchelf.rb
==> Downloading https://linuxbrew.bintray.com/bottles/openssl%401.1-1.1.1g.x86_64_linux.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Linuxbrew/2.2.17-111-gbc882c6\ (Linux;\ x86_64\ Ubuntu\ 20.04\ LTS)\ curl/7.68.0 --retry 3 --location --silent --head --request GET https://linuxbrew.bintray.com/bottles/openssl%401.1-1.1.1g.x86_64_linux.bottle.tar.gz
Already downloaded<EMAIL_ADDRESS>==> Verifying<EMAIL_ADDRESS>checksum
==> Pouring<EMAIL_ADDRESS>tar xof<EMAIL_ADDRESS>-C /tmp/d20200526-1188262-10okx1j
cp -pR<EMAIL_ADDRESS><EMAIL_ADDRESS>chmod -Rf +w /tmp/d20200526-1188262-10okx1j
Error: no implicit conversion of nil into String
Warning: Bottle installation failed: building from source.
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gcc.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/binutils.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/make.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading<EMAIL_ADDRESS>chmod -Rf +w /tmp/d20200526-1188986-10610dj
chmod -Rf +w /tmp/d20200526-1188986-1r3x59e
chmod -Rf +w /tmp/d20200526-1188986-kljcgp
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/perl.rb

What you expected to happen
A more descriptive error if patchelf was missing
Step-by-step reproduction instructions (by running brew commands)
brew remove patchelf
brew install patchelf # press Ctrl+C at some moment
brew install<EMAIL_ADDRESS>Output of brew config and brew doctor commands

❯ brew config
HOMEBREW_VERSION: 2.2.17-111-gbc882c6
ORIGIN: https://github.com/Homebrew/brew
HEAD: bc882c6c286e66a3db2c638e7908172284f2bc55
Last commit: 6 hours ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core.git
Core tap HEAD: ed7e884033541c7896966d71730ed9d60557f1e8
Core tap last commit: 15 minutes ago
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_DISPLAY: :1
HOMEBREW_EDITOR: sensible-editor
HOMEBREW_MAKE_JOBS: 8
CPU: octa-core 64-bit skylake
Homebrew Ruby: 2.6.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 10.0 build (parse error)
Git: 2.25.1 => /usr/bin/git
Curl: 7.68.0 => /usr/bin/curl
Kernel: Linux 5.4.0-31-generic x86_64 GNU/Linux
OS: Ubuntu 20.04 LTS (focal)
Host glibc: 2.31
/usr/bin/gcc: 9.3.0
glibc: N/A
gcc: N/A
xorg: N/A

❯ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
  /home/johannes/anaconda3/bin/libpng-config
  /home/johannes/anaconda3/bin/python3-config
  /home/johannes/anaconda3/bin/pcre-config
  /home/johannes/anaconda3/bin/python3.7-config
  /home/johannes/anaconda3/bin/ncursesw6-config
  /home/johannes/anaconda3/bin/freetype-config
  /home/johannes/anaconda3/bin/libpng16-config
  /home/johannes/anaconda3/bin/xslt-config
  /home/johannes/anaconda3/bin/icu-config
  /home/johannes/anaconda3/bin/python3.7m-config
  /home/johannes/anaconda3/bin/curl-config
  /home/johannes/anaconda3/bin/xml2-config
  /usr/local/bin/ansible-config
  /home/johannes/.local/bin/ansible-config

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
  /usr/local/lib/pkgconfig/libmbus.pc
  /usr/local/lib/pkgconfig/libmodbus.pc

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  protobuf
<EMAIL_ADDRESS>  gmp
  ncurses

Warning: /usr/bin occurs before /home/linuxbrew/.linuxbrew/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:

Consider setting your PATH so that /home/linuxbrew/.linuxbrew/bin
occurs before /usr/bin.
You should `brew install` the missing dependencies:
  brew install boost gcc@6 libxml2 unzip

Run `brew missing` for more details.

Error location
I fixed it in the end by tracing down the actual step that failed with:
HOMEBREW_DEVELOPER=true brew install<EMAIL_ADDRESS>--debug --verbose --force-bottle

and following the traceback to this line:
https://github.com/Homebrew/brew/blob/master/Library/Homebrew/extend/os/linux/keg_relocate.rb#L21
Turns out that patchelf was not located, and the result of the locate call was nil. After fixing patchelf, I could install any packages again.

Just wanted to report this to you so you could take according actions:

Either report an error in the logs if patchelf is missing, when trying to install openssl (which is a dependency for many packages), or
simply report that the user needs to install patchelf again.

Thanks for the report, @boxmein!
@rmNULL, looks fixes for the following would be easy to throw together:

Turns out that patchelf was not located, and the result of the locate call was nil. After fixing patchelf, I could install any packages again.
Either report an error in the logs if patchelf is missing, when trying to install openssl (which is a dependency for many packages), or
simply report that the user needs to install patchelf again.

@boxmein
i wish u were more explicit about

press Ctrl+C at some moment

i tried  ctrl + c at various points in install.
I wasn't able to reproduce the bug.
The requested descriptive error message is provided in a temporary fix
What bothers me is, if patchelf is not installed, it should automatically be detected as a dependency and be installed. It isn't happening in your case, which prolly means the bug is lurking somewhere else too....

Fixed by PR https://github.com/Homebrew/brew/pull/7656 once it's merged. Thanks for the bug report, @boxmein.

@rmNULL Thanks for the feedback! I didn't really time it sadly.

@rmNULL Thanks for the feedback! I didn't really time it sadly.

that's okay, hopefully its fixed :)


Error installing dnode

npm Version: 0.2.19-1
dnodejs Version: 0.4.9-1ubuntu3
npm install dnode
npm ERR! Error: Using '<' with 1.1.x makes no sense. Don't do it.
npm ERR!     at /usr/share/npm/lib/utils/semver.js:94:29
npm ERR!     at String.replace (native)
npm ERR!     at replaceXRange (/usr/share/npm/lib/utils/semver.js:88:25)
npm ERR!     at Array.map (native)
npm ERR!     at replaceXRanges (/usr/share/npm/lib/utils/semver.js:84:17)
npm ERR!     at Array.map (native)
npm ERR!     at toComparators (/usr/share/npm/lib/utils/semver.js:66:8)
npm ERR!     at Object.validRange (/usr/share/npm/lib/utils/semver.js:138:11)
npm ERR!     at install_ (/usr/share/npm/lib/install.js:103:22)
npm ERR!     at /usr/share/npm/lib/install.js:77:5
npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm ERR! or email it to<EMAIL_ADDRESS>npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok

npm link
npm ERR! failed to fetch https://github.com/substack/socket.io-client/tarball/master
npm ERR! Error installing https://github.com/substack/socket.io-client/tarball/master
npm ERR! Error: 400 { server: 'nginx/1.0.4',
npm ERR!   date: 'Thu, 10 Nov 2011 16:40:29 GMT',
npm ERR!   'content-type': 'text/html',
npm ERR!   'content-length': '270',
npm ERR!   connection: 'close' }
npm ERR!     at ClientRequest.<anonymous> (/usr/share/npm/lib/utils/fetch.js:98:35)
npm ERR!     at ClientRequest.emit (events.js:64:17)
npm ERR!     at HTTPParser.onIncoming (http.js:1607:9)
npm ERR!     at HTTPParser.onHeadersComplete (http.js:108:31)
npm ERR!     at Client.onData [as ondata] (http.js:1485:27)
npm ERR!     at Client._onReadable (net.js:683:27)
npm ERR!     at IOWatcher.onReadable [as callback] (net.js:177:10)
npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm ERR! or email it to<EMAIL_ADDRESS>npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok

Your npm version is ancient.
curl http://npmjs.org/install.sh | sh

# if it complains about EACCES errors...

curl http://npmjs.org/install.sh | sudo sh

I just ran into this issue as well. The package manager for my operating system (Ubuntu 11.10) provides npm 0.2.19. I guess it's already a known issue that this is an old version
https://bugs.launchpad.net/ubuntu/+source/npm/+bug/863094
So is this the only remedy...abandoning my operating system's package manger and installing a newer npm by hand?


[CSL-1031] [CSL-870] Support unaddressable nodes

We need https://github.com/input-output-hk/cardano-sl/pull/236 commits from me and Jake as well, to fix Windows CI.


Fix duplicate click handlers.

I tested these manually, but I could definitely use a sanity check.  You want to go in and out of settings.

Code looks great aside from node tests.  I do notice that if one creates a new stream on your branch, it doesn't offer an email address; not sure if that's true in master as well (and thus an unrelated bug) or not.

@showell Here we might also want to add fixing of adding emoji 'handler' too, since that also has the same problem here https://github.com/zulip/zulip/blob/4886d92405a71858e6a12c5438cf26b3fb5aa146/static/js/settings_emoji.js#L98

I added #8817 for the fact that we don't send emails during stream-create.  It's clearly a backend issue that's unrelated to my fix, but I am kind of surprised the backend broken, since we've had this feature forever, so I wonder if there's some strange history on that.

Looks great, merged, thanks @showell!


Code review feedback from "class resilience part 7"

@rjmccall I still need to think about the mixed resilient/fixed-layout class hierarchy case a bit more, but here's a new test case and a fix for the missing header include.

@swift-ci Please smoke test

Thanks!

18 tests failed with this:
<unknown>:0: error: unexpected warning produced: argument unused during compilation: '-mmacosx-version-min=10.9.0'

Going to try again...

@swift-ci Please smoke test

@swift-ci Please smoke test


VideoPlayer scrolling crop the video frame if clipBehavior is other than none iOS web

Steps to reproduce

Create a CustomScrollView wrap a VideoPlayer in a Container with a clipBehavior other then Clip.none.
Run on a iOS browser (tested on iPad and iPhone on either safari or chrome)
When scrolling up or down the video is clipped like if the video is not scrolling with the widget, then move back inplace after a few frames.

tested with:
video_player: ^2.9.2
Expected results
The video should smoothly scroll with the widget inside the CustomScrollView
Actual results
The video is lagging behind the scroll. The rate at which the video come back inplace is not the same when I unfocus then focus the window.
See videos below.
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter Test',
      home: MyHomePage(),
    );
  }
}

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

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

class _MyHomePageState extends State<MyHomePage> {
  VideoPlayerController? _controller;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Flutter Test'),
      ),
      body: _controller == null
          ? const Center(child: CircularProgressIndicator())
          : CustomScrollView(
              slivers: [
                const SliverToBoxAdapter(
                  child: SizedBox(
                    height: 400,
                  ),
                ),
                SliverToBoxAdapter(
                  child: Container(
                    height: 300,
                    alignment: Alignment.center,
                    decoration: const BoxDecoration(),
                    clipBehavior: Clip.hardEdge,
                    child: VideoPlayer(_controller!),
                  ),
                ),
                const SliverToBoxAdapter(
                  child: SizedBox(
                    height: 600,
                  ),
                ),
              ],
            ),
    );
  }

  @override
  void initState() {
    final controller = VideoPlayerController.networkUrl(
      Uri.parse('http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'),
      videoPlayerOptions: VideoPlayerOptions(
        webOptions: const VideoPlayerWebOptions(
          controls: VideoPlayerWebOptionsControls.enabled(
            allowDownload: false,
          ),
        ),
      ),
    );
    controller.initialize().then((_) {
      setState(() {
        _controller = controller;
      });
    });
    super.initState();
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/user-attachments/assets/460c66b5-3963-4396-a17f-6d149c76d6ef
https://github.com/user-attachments/assets/9a375f0d-31b7-4fb9-8940-ae1f2180d452

Logs
Logs
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
This app is linked to the debug service: ws://<IP_ADDRESS>:43277/RdUjfbZDybY=/ws
Debug service listening on ws://<IP_ADDRESS>:43277/RdUjfbZDybY=/ws
Debug service listening on ws://<IP_ADDRESS>:43277/RdUjfbZDybY=/ws

Flutter Doctor output
Doctor output
[!] Flutter (Channel [user-branch], 3.24.3, on Ubuntu 22.04.5 LTS 6.8.0-49-generic, locale en_US.UTF-8)
    ! Flutter version 3.24.3 on channel [user-branch] at /home/ortes/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision 2663184aa7 (3 months ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/ortes/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /home/ortes/.local/share/JetBrains/Toolbox/apps/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2024.1)
    • Android Studio at /home/ortes/.local/share/JetBrains/Toolbox/apps/android-studio
    • Flutter plugin version 83.0.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.95.3)
    • VS Code at /usr/share/code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 22.04.5 LTS 6.8.0-49-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 131.0.6778.108

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

! Doctor found issues in 1 category.

The final goal is to have a border radius on the video is there a work around ?

Hi @Ortes, Thanks for filing the issue. I am able to reproduce the issue on safari browser. Scrolling the video player has rendering issues.  However it works fine on Chrome, macos and Mobile platforms
Safari
https://github.com/user-attachments/assets/0e10c682-22e7-49e9-8f39-16f45f4f2ba7
Chrome
https://github.com/user-attachments/assets/c8a3a27c-47b7-4aca-afc4-a5a2b7aac292

flutter doctor -v
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.1.1 24B2091 darwin-arm64, locale en-US)
    • Flutter version 3.27.1 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 17025dd882 (2 days ago), 2024-12-17 03:23:09 +0900
    • Engine revision cb4b5fff73
    • Dart version 3.6.0
    • DevTools version 2.40.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-35, build-tools 34.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.16.2

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

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

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 15.1.1 24B2091 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 15.1.1 24B2091 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 128.0.6613.85

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

• No issues found!

[!] Flutter (Channel master, 3.28.0-1.0.pre.123, on macOS 15.1.1 24B2091 darwin-arm64, locale en-US)
    • Flutter version 3.28.0-1.0.pre.123 on channel master at /Users/mahesh/Development/flutter_master
    • Framework revision a547c7f050 (4 days ago), 2024-12-13 22:11:39 -0500
    • Engine revision 4e4a430bcd
    • Dart version 3.7.0 (build 3.7.0-243.0.dev)
    • DevTools version 2.41.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use
      "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-35, build-tools 34.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.16.2

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

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

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 15.1.1 24B2091
      darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 15.1.1 24B2091
      darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome
      128.0.6613.85

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

! Doctor found issues in 1 category.


Added support to diffrent format in which configuration can be specified in consul

Added the following changes

Added support to specify configuration in consul in different formats i.e.,
configuration as key value pairs, configuration as property file contents
In configuration as key value pairs format, users are allowed to specify configuration in consul
using key value pairs where a value is either a constant or is a subkey
In configuration as property file contents, users are allowed to specify configuration in consul
with a single key and value as the contents of a properties file. (each line is separted using
new line and any line starting with # is ignored

Made sure the original key value style of specifying configuration works and still is the default.

Made sure that Properties style works if config is overridden.

Thank you for the awesome library. It made it so easy. We need the configuration to be specified as properties and I am hoping I will add json and yml support soon.

@artembilan thank you for the advice. I've updated the logic using props.load.
@spencergibb I've updated the diff with tabs instead of spaces.
I will add json and YAML support soon but in this PR though. I hope that is ok.

BTW, is there a release scheduled soon if so I will try to get json and YML bits soon.

@spencergibb, I just saw your YAML comment, I will update it right now.

@spencergibb thanks to your snippet, I've added YAML support too. Please let me know if you need JSON support as well.

@srikalyan I'll get a more detailed look in a day or two. JSON isn't needed at this point.

@spencergibb thank you for the help and quick responses. I will wait for the snapshot build.

@srikalyan have you signed the contributor's agreement? I'm ready to merge.

@spencergibb, I just did it. Please let me know if you need anything else and thank you for your help :) and such awesome library :+1: .
Your confirmation number is<PHONE_NUMBER>20080006

Squashed and merged with some polish, a test and some documentation via 60b98a6edfff796cdee7dadd7ae63f7d6db7326b


Lint/ShadowingOuterLocalVariable: falsely triggers in if/else condition

This code triggers Lint/ShadowingOuterLocalVariable, but there is no outer local variable record within the else scope.
if this == true
  record = true
else
  table.each do |record|
    record.delete!
  end
end

Also, the same applies to this example, which in my opinion also shouldn't trigger this cop's warning:
var is only set after vars.find finishes, so var inside the block is still unique at that point.
var = vars.find { |var| var.id == 1 }

Duplicate of #1518 and #1544.
RuboCop and Ruby are in agreement here too:
 /tmp$ rubocop --only Lint/ShadowingOuterLocalVariable 1639.rb
Inspecting 1 file
W

Offenses:

1639.rb:4:18: W: Shadowing outer local variable - record.
  table.each do |record|
                 ^^^^^^
1639.rb:9:20: W: Shadowing outer local variable - var.
var = vars.find { |var| var.id == 1 }
                   ^^^

1 file inspected, 2 offenses detected
 /tmp$ ruby -wc 1639.rb
1639.rb:4: warning: shadowing outer local variable - record
1639.rb:9: warning: shadowing outer local variable - var
Syntax OK

P.S. var is created as soon as var = is encountered, that's just the way Ruby works.


Good First Issue: Give user experience feedback on Ockam Command

Seeking feedback
We are seeking feedback on the Quick Start section (details below) of our project's readme. Our goal here is to learn if people have a good experience when they try out this first example. Does it make sense? How can we improve it to make it more clear?
If you are looking for a way to contribute to Ockam this is a great place to start. If you can record your screen when trying this example that would be extremely helpful. Share with us any thoughts or questions that come to mind as you try this example out. If you feel confused at some point share that. If you have a question at some point share that. Share your inner monologue as you try the below Quick Start section.
How to provide your feedback (create a new issue)
Please create a new issue instead of replying to this one. This way we can give you credit when we close that issue (the one you create). In your issue, please do the following, so it is easy for us to track it as a no-code user experience (UX) feedback contribution:

Please share any links to videos, or notes in your newly created issue. Please try and upload your videos to github.com.
Start the title with: “[UX feedback]: ”

The thing we want feedback on
The following content is a copy of what you will find in our README.md. We just copied it below for your convenience.
Quick Start
Let's build a solution for a very common secure communication topology that applies to many real world use cases. We'll build our first example using Ockam Command but it is just as easy to build end-to-end trustful communication using Ockam Programming Libraries
An application service and an application client running in two private networks wish to securely communicate with each other without exposing ports on the Internet. In a few simple commands, we’ll make them safely talk to each other through an End-to-End Encrypted Cloud Relay.
Install Ockam Command
On Linux and MacOS systems you can install Ockam using curl.
curl --proto '=https' --tlsv1.2 -sSf \
    https://raw.githubusercontent.com/build-trust/ockam/develop/install.sh | bash

End-to-end encrypted and mutually authenticated communication
Next, step through the following commands to setup secure and private
communication between an application service and an application client.
Read all the comments above and the messages printed when the commands are running to try and understand what is happening:
# Check that everything was installed correctly by enrolling with Ockam Orchestrator.
#
# This will create a Space and Project for you in Ockam Orchestrator and provision an
# End-to-End Encrypted Cloud Relay service in your `default` project at `/project/default`.
ockam enroll

# -- APPLICATION SERVICE --

# Start an application service, listening on a local IP and port, that clients would access
# through the cloud encrypted relay. We'll use a simple HTTP server for this first example
# but this could be any other application service.
python3 -m http.server --bind <IP_ADDRESS> 6000

# In a new terminal window, setup a tcp-outlet that makes a TCP service available at the given
# address `6000`. We can use this to send raw TCP traffic to the HTTP server on port `6000`.
# Finally create a relay in your default Orchestrator project. Relays make it possible to
# establish end-to-end protocols with services operating in a remote private networks, without
# requiring a remote service to expose listening ports to an outside hostile network like the
# Internet.
ockam tcp-outlet create --to 6000
ockam relay create

# -- APPLICATION CLIENT --

# If you are running this on a completely separate machine, run ockam enroll again.
# If its the same machine no need to run ockam enroll again
ockam enroll

# Setup a a local tcp-inlet to allow raw TCP traffic to be received on port `7000` before
# it is forwarded. A TCP inlet is a way of defining where a node should be listening for
# connections, and where it should forward that traffic to.
ockam tcp-inlet create --from 7000

# Access the application service, that may be in a remote private network though
# the end-to-end encrypted secure channel, via your private and encrypted cloud relay.
curl --head <IP_ADDRESS>:7000

# -- RESET --
# Reset everything on each machine
ockam reset

What did you think? Did it makes sense? How could the quickstart be better?
Thank you for you thoughts and feedback.

We love helping new contributors! ❤
If you have questions or need help as you explore, please join us on Discord. If you're looking for other issues to contribute to, please checkout our good first issues.

give this a shot..


Downloading images only

Im working on a mac in terminal.
It seems like all of my downloads are trippled, thus pausing my downloading quicker or kicking me off quicker.
How do I download just the images instead of the txt files or json.xz files which I cant even figure out how to bulk joing these json.xz files with the images (I'll take help here as well if its not too much to ask)

-no-video in the args


Add main branch to charmcraftcache-hub and remove dpe-workflows-part2 once merged

Closed in charmcraftcache-hub repo.


Glitch.me link is broken

I keep getting errors when visiting glitch.me the site keeps saying "Site didn't respond
Something in the code caused it to close the connection before providing a response.
If this is your project please visit us at support.glitch.com for assistance."

Duplicated, #7


Added mattermost handler support

This pull request adds Mattermost support.
The Mattermost handler is  implemented very similarly to the existing handlers.

@sbueringer Merged. Thanks for the contribution!


1Forge Service Provider

Would a 1forge service provider be welcomed?  They provide fewer currencies than most but have faster data than most.  Supported currencies available here: https://1forge.com/forex-data-api/currency-pair-list

Pull request created https://github.com/florianv/exchanger/pull/34


Extraneous 'not' in "Creating, Updating and Deleting Resources" section

Both 1.0 and 1.1 say:

There are some cases, such as when POSTing to an endpoint representing heterogeneous data, when the type could not be inferred from the endpoint.

The point of that paragraph is that even though the type could be inferred, it is nonetheless always required. Therefore the 'not' is incorrect there - it should say "when the type could be inferred".

I find it makes perfect sense as it is. Perhaps it could be joined with the previous sentence and start with "but"; that would clarify the reading I am seeing.

I find it makes perfect sense as it is. Perhaps it could be joined with the previous sentence and start with "because"; that would clarify the reading I am seeing.

I can see your point. I guess it works both ways. Thanks.


Generated relationship entity repository CYPHER was slow

Given the following:
interface LikeRepository : GraphRepository<Like>
{
    fun findByAuditionerId(id: String): Iterable<Like>
}

Returns Likes, which are a kind of Relationship
abstract class Relationship
{
    @GraphId
    internal var graphId: Long?
        private set

    @StartNode
    var auditioner: CandidateProfile

    @EndNode
    var auditionee: CandidateProfile

    var createdDate: Date

    init
    {
        this.graphId = null
        this.auditioner = CandidateProfile()
        this.auditionee = CandidateProfile()
        this.createdDate = Date()
    }

    abstract fun mutualRelationship(): Relationship?

}

Ran this query against snapshot of prod database, it timed-out after 60 seconds.

Do you have the generated query?
Did you create an index/constraint on :CandidateProfile(id)

Sure here it is:

Note: I also shared the database and some code privately with Luanne. This can be shared with (strictly only) Graphaware team members.


[Event Request] table 36 "Sales Header" - OnBeforeValidateRequestedDeliveryDate

Would you please be so kind to add a new event publisher like that:
//Added
[IntegrationEvent(false, false)]
local procedure OnBeforeValidateRequestedDeliveryDate(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;
//Added

in the field "Requested Delivery Date"?
    field(5790; "Requested Delivery Date"; Date)
    {
        Caption = 'Requested Delivery Date';

        trigger OnValidate()
        var
            Handled: Boolean;
        begin
            //Added
            Handled := false;
            OnBeforeValidateRequestedDeliveryDate(Rec, Handled);
            if Handled then
                exit;
            //Added
            TestStatusOpen;
            CheckPromisedDeliveryDate();

            if "Requested Delivery Date" <> xRec."Requested Delivery Date" then
                UpdateSalesLinesByFieldNo(FieldNo("Requested Delivery Date"), CurrFieldNo <> 0);
        end;
    }

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Insert Title Here

Describe the issue in detail here. Attach any relevant screenshots or files. The section below was automatically generated. Remove any information that you do not wish to include in the report.

Debug Data

Property
Value

Name
"Wolfram/Chatbook"

Version
"1.0.4"

EvaluationEnvironment
"Session"

FrontEndVersion
"Desktop: 13.3 for Mac OS X ARM (64-bit) (July 24, 2023)"

KernelVersion
"13.3.1 for Mac OS X ARM (64-bit) (July 24, 2023)"

SystemID
"MacOSX-ARM64"

Notebooks
True

DynamicEvaluation
False

SynchronousEvaluation
False

TaskEvaluation
False

Settings
Inherited

Stack Data
catchTop
throwFailure
trimURL

Failure Data
<|
  "Evaluation" :> Wolfram`Chatbook`Actions`Private`writeChunk[Dynamic[Wolfram`Chatbook`Actions`Private`container$15116], CellObject["384dba54-2454-4892-a1f7-e4594eb38dde", "3ef3cb30-e104-45ef-b363-cb12d14533bd"], "0613\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"chatcmpl-8FTeyoShj2NLkgHMYeYmareQp4XJS\",\"object\":\"chat.completion.chunk\",\"created\":1698699624,\"mode"]
  "Arguments" -> {}
|>

This was fixed in #342. Evaluate PacletInstall["Wolfram/Chatbook", UpdatePacletSites -> True] to get the latest updates.


Documentation: KubernetesSecretConfigStore

Suggestion
Document the KubernetesSecretConfigStore integration with all the necessary details that explain what the store is and how to use it.
Motivation

Introduces users to the ConfigStore.
Improves usability of the store by providing usage examples.
Improves the completeness of the integration package.

Context

Integration docs: https://kubernetes.io/docs/concepts/configuration/secret
Example PR of a store doc contribution: #575

I would be happy to contribute so kindly assign this to me.

All yours @Ritesh-Udgata


Add the possibility to configure the base URL of the GitHub API

This PR introduces a way of configuring the base URL of the API with which the frontend should communicate. The implementation is the result of the brainstorming in https://github.com/upptime/upptime/issues/54 where @AnandChowdhary and I discussed ways on how to use upptime with private repositories. One option would be to create a lightweight proxy which provides the same API surface as the original GitHub API, but makes authorized calls against the actual GitHub production API. For signalling the frontend against which API it should communicate, the introduction of a new configuration was necessary.
I tested it locally against a rudimentary proxy I just hacked together and it worked like a charm 🙂

CLA Assistant Lite bot: Thanks for your submission! We ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by adding a comment below using this text:

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

I have read the CLA Document and I hereby sign the CLA

:tada: This PR is included in version 1.4.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


feat: telemetry improvements

Summary:
Issue Reference(s):
Fixes #1386
Build & Testing:

[ ] I ran cargo test successfully.
[ ] I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

[ ] I have added relevant unit & integration tests.
[ ] I have updated the documentation accordingly.
[ ] I have performed a self-review of my code.
[ ] PR follows the naming convention of <type>(<optional scope>): <title>


Admin Panels

This is where we can control what happens on accounts or something

Todo

[ ] rename /admin to /db then add it to /admin/db
[ ] admin overview
[ ] route to "post, edit, & delete" services

#40 done


Access to undeclared static property

Got this message today after pull request.
phpcs: Fatal error: Uncaught Error: Access to undeclared static property: PHP_CodeSniffer_Tokens::$textStringTokens in /Users/wido/Sites/sniffs/wpcs/WordPress/Sniffs/WP/EnqueuedResourcesSniff.php on line 27

WPCS develop now requires PHPCS 2.9+. See #937.

Ah, sorry me.
Thank you.


Introducing docker prod environment

We still need to put secrets inside docker-compose-prod and somethings, but let's try first

Changes Unknown when pulling 61a24496695566b8b693f1147fdbe16b02afa685 on gomex:pipeline-prod into ** on datasciencebr:master**.

Closing by a) inactivity and to b) focus on the active Docker-related PR #163


feat(svelte-query): Svelte Query Adapter for TanStack Query

Overview
This PR is a continuation of #4344. It adds an official Svelte adapter which is based on the brilliant work of @drejohnson and @amen-souissi.
I'll be actively editing this description as progress is made. I'd also greatly appreciate any and all contributions over at https://github.com/lachlancollins/query.
API
Based on the discussion at the old PR, the functions which export a store now have the create prefix to be less React hooks-like. Additionally, the <QueryClientProvider> and <Hydrate> components have been added to be more consistent with the other adapters.

createQuery
createQueries
createInfiniteQuery
createMutation
useQueryClient
useIsFetching
useIsMutating
useHydrate
<QueryClientProvider>
<Hydrate>

Package
svelte-package outputs all required files to a (customisable) /build folder, which contains everything that needs to be published to npm. I'm fairly sure this differs from how the other packages are published, so let me know how I can ensure this integrates with the CI scripts properly.
To-do
If you would like to help with one of these tasks, please comment here or create an issue on the fork :)

[x] Docs overview
[x] Build using svelte-package (allows using .svelte files)
[x] Implement QueryClientProvider component
[x] Implement Hydrate component
[x] Rename store functions with create prefix
[x] Update examples to SvelteKit 1.0
[x] Add playground and star-wars examples
[x] Use vitest instead of jest (setup easier for vite environment)
[x] Add createQuery and createMutation tests
[x] Integrate into publish scripts

Hi @TkDodo, I'm making some progress getting Rollup to output raw Svelte files (for QueryClientProvider.svelte), but I think there might need to be a change to the buildConfigs function. I compared then copied parts of the config from tanstack/table which uses an external field (for cjs, esm, mjs) in addition to the globals field (for umd). This stops Rollup from trying to include node_modules in the build output. I don't know the impact that this would have on the other libraries, but I can try to copy the logic from tanstack/table and test it out. Would you be happy if I opened a separate PR to implement this?
My alternative to this is considering using svelte-package. This seems to be by far the easiest way to build Svelte libraries, however it would need to be able to run separately to the rollup build. If this isn't feasible, I'll keep chipping away at the Rollup config, or abandon adding QueryClientProvider.svelte.

We're also bundling the eslint-plugin without rollup so if using svelte-package is the easiest for you let's do that. You can append it to the build script

Hi @TkDodo, I think this is ready to be reviewed!
I've rewritten some of the larger React examples (playground and star-wars) - however, I'm not well-versed in testing Svelte components. Right now I have basic tests for createQuery and createMutation, and can confirm all the examples work as expected.
I personally feel this is enough since the majority of the code is just types and wrappers around query-core (which is obviously well-tested). However, I can totally understand if you'd prefer to be safe - is this sufficient for now, or would you like more tests? If so, is anyone following this PR able to offer some help?

@lachlancollins are you on discord? if so, please join the TanStack server and reach out to me. Thank you.
https://discord.com/invite/WrRKjPJ

@ardeora I've seen the typing errors on solid-query before:
Error: packages/solid-query/src/createQueries.ts(157,33): error TS2698: Spread types may only be created from object types.
Error: packages/solid-query/src/createQueries.ts(157,63): error TS2339: Property 'queryKey' does not exist on type 'ArrType<readonly [...T extends [] ? [] : T extends [infer Head] ? [GetOptions<Head>] : T extends [infer Head, ...infer Tail] ? [...Tail] extends [] ? [] : [...Tail] extends [...] ? [...] : [......] extends [...] ? [......] extends [] ? [] : [......] extends [...] ? [...] : [......] extends [...] ? [......] extends [...'.

is this because of maybe a different TypeScript version being introduced? I think we should only use 4.7.4 everywhere. Would that fix it?

setting everything to exact 4.7.4 actually adds a vue-query error

I think @DamianOsipiuk has fixed this on the v5 branch - maybe we can backport the fix to main?

it could be that:
"typescript": "^4.7.4",

doesn't really give you max 4.7.4. Can we try the strict one without the ^:
"typescript": "4.7.4",

it could be that:
"typescript": "^4.7.4",

doesn't really give you max 4.7.4. Can we try the strict one without the ^:
"typescript": "4.7.4",

@tkdoko I fixed it - at some point the pnpm-lock updated every package, so I reset it to upstream and re-installed the new packages.

we're getting there. The preview sandbox shows the following error:
node_modules/esbuild/lib/main.js:1336:21: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "@tanstack/svelte-query". The package may have incorrect main/module/exports specified in its package.json.
node_modules/esbuild/lib/main.js:1336:21: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "@tanstack/svelte-query". The package may have incorrect main/module/exports specified in its package.json.

I think the package.json is not correct, have a look at how other packages have entry points specified:
https://github.com/TanStack/query/blob/d7d98a9789426a8e1b964166ea9cba9971da83b3/packages/vue-query/package.json#L17-L28
I'm not sure if svelte-kit produces the output in the same branches, but it would be good if we could customize it like that.
for example, for our size testing, we check all file matching packages/*/build/umd/*.production.js

and prettier needs to run on some files :)

we're getting there. The preview sandbox shows the following error:
node_modules/esbuild/lib/main.js:1336:21: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "@tanstack/svelte-query". The package may have incorrect main/module/exports specified in its package.json.
node_modules/esbuild/lib/main.js:1336:21: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "@tanstack/svelte-query". The package may have incorrect main/module/exports specified in its package.json.

I think the package.json is not correct, have a look at how other packages have entry points specified:
...
I'm not sure if svelte-kit produces the output in the same branches, but it would be good if we could customize it like that.
for example, for our size testing, we check all file matching packages/*/build/umd/*.production.js

Hi @TkDodo, I've made a bit of progress here.
By default, svelte-package generates its own package.json inside the build dir which autogenerates all the main/module/exports fields. However, it seems like this wouldn't integrate too easily into the CI. So, I've copied the important fields from the build package.json into the main package.json, and set up rimraf to delete the build package.json.
The next "issue" is that svelte-package only builds ESM. From what I can tell, there isn't really any need for CJS or UMD in the Svelte ecosystem (anymore?) - at least nobody has been complaining about the output of svelte-package. There are definitely some Svelte packages I've used in the past which refused to work in SSR that were built through Rollup.

okay, if ESM is all we need, then so be it 😅

@TkDodo I think this should pass CI now

Codecov Report
Base: 96.36% // Head: 92.44% // Decreases project coverage by -3.91% :warning:

Coverage data is based on head (875a462) compared to base (eab6e2c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4768      +/-   ##
==========================================
- Coverage   96.36%   92.44%   -3.92%
==========================================
  Files          45       89      +44
  Lines        2281     3758    +1477
  Branches      640      987     +347
==========================================
+ Hits         2198     3474    +1276
- Misses         80      268     +188
- Partials        3       16      +13

Impacted Files
Coverage Δ

src/react/reactBatchedUpdates.ts

src/react/useInfiniteQuery.ts

src/core/query.ts

src/react/setLogger.ts

src/react/utils.ts

src/react/setBatchUpdatesFn.ts

src/core/queryClient.ts

src/core/infiniteQueryBehavior.ts

src/core/queryObserver.ts

src/react/QueryErrorResetBoundary.tsx

... and 124 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


docker attach to old running container after live restoring error out with resize returned error: rpc error: code = 3 desc = invalid argument

Output of docker version:
Client:
 Version:      1.12.0-dev
 API version:  1.25
 Go version:   go1.6.2
 Git commit:   7b2c4df
 Built:        Mon Jul  4 07:47:16 2016
 OS/Arch:      linux/amd64
 Experimental: true

Server:
 Version:      1.12.0-dev
 API version:  1.25
 Go version:   go1.6.2
 Git commit:   7b2c4df
 Built:        Mon Jul  4 07:47:16 2016
 OS/Arch:      linux/amd64
 Experimental: true

Output of docker info:
(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:

start daemon with --live-restore and start a container
restart the daemon
try to attach to the old running container, the daemon log is:

ERRO[0018] Handler for POST /v1.25/containers/946a702de687/resize returned error: rpc error: code = 3 desc = invalid argument
DEBU[0018] Calling POST /v1.25/containers/946a702de687/resize?h=37&w=198
ERRO[0018] Handler for POST /v1.25/containers/946a702de687/resize returned error: rpc error: code = 3 desc = invalid argument

try a fix https://github.com/docker/containerd/pull/283

@thaJeztah  I think this should be fixed in 1.12, so I added a 1.12.0 milestone.

Thanks!
Ping @mlaventure @tonistiigi PTAL


fix: wrong instance order for several instances

deja vu

These look like good changes, but I am wondering why we haven't experienced problems in the Init library so far. Did you experience the tc-loop in your code? If yes, could you please include a small test to make sure the bad instances will not reappear in the future?

Yes, I cannot build my project without this change. I have pushed a new commit that includes a test that fails on master. I believe my example only requires the monadReaderTrans change, but the others seemed to follow the same pattern and so I changed them proactively.

merged


Provide flag to enable/disable logging

Is your feature request related to a problem? Please describe.
Presently, awesome_notifications logs all scheduling of notifications regardless of whether debug mode is enabled. This can produce a lot of messages within a short timespan, making it hard to read through the logs during development.

Describe the solution you'd like
It will be nice if logging can be enabled/disabled via a flag.

This flag that you're looking for is the debug parameter in initialization. Set it to false and these log messages will not be printed anymore.


feat: Add promtool testing in Makefile

[WIP]
This change adds another make target to run promtool tests and install the prometheus snap (which comes with promtool).
Also fixes a typo in an alert rule test.
Resolves #3

Turns out the GH job does not call the makefile target for unittests which was my initial assumption. Would need to create a new tox env for unit tests on the alerts rules and modify the workflow yaml files so that this gets called.

Got promtool tests to run in a very basic job: https://github.com/canonical/hardware-observer-operator/actions/runs/7167042325/job/19512326718?pr=132

LGTM, we can final test alert rules 🥲


Add support for Git

Description
Add support for git while setting up the project just like create react app
Suggested solution
Add support for git while setting up the project just like create react app
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

I imagine you refer to:

If you have Git installed and your project is not part of a larger repository, then a new repository will be initialized resulting in an additional top-level .git directory.

https://create-react-app.dev/docs/folder-structure/
Thanks for the proposal, but I think it is better we keep create-vite an equivalent to degit. You may not want a git repository everytime you use create-vite


Implementation of SuperBalls

SuperBalls

TODO (still):

[ ] Add top score (localStorage)
[ ] Add title scene

First working version finished


Support and testing for windows based running of trestle.

Issue description / feature objectives
This is an optimistic issue, however, I think we should think about this now before the refactors get to big (as in it may be containable now).
Compliance officers may be using windows. We should check for at least the editing functionality whether installs and builds work properly on windows. Based on the experience of @fsuits this should be true now.
Completion Criteria

Setup devops scripts for windows with python (https://medium.com/rkttu/write-your-github-actions-workflow-for-build-windows-application-94e5a989f477)

@fsuits how far off do you think we are here for it 'working' on windows.

Based on the discussion today converting to a small epic.


Lines of random pixels along the side of the screen.

Along the sides of the canvas, there are one-pixel lines of garbage colors.  This probably started when I changed setupScreenContext to stop clearing the screen in CodeWorld.Driver

Apparently this is just completely not clearing outside the central square at all, so this completely breaks any non-square canvas.  Very noticable when sharing in full-screen (without code).


[HOW-TO] Close the "Pending Email Warning" message

Question
Currently running 8.2 OnPrem. When starting an EasyRepro test, we get the "Pending EMail Warning" message.
How can I close this?

@MikeBristol - I'm not sure if this method is in your branch, but if so, you can give this a try (present in the releases/v8.2 branch).
// Handle Pending Email Warning
xrmBrowser.Dialogs.CloseWarningDialog();

Hi, Yes both the OnPrem and 8.2 branches have this, however, the dialog doesn't close. The WaitUntilAvailable throws the timeout exception.
What can I try?


Issue with multiple elements on a page + in-element

Having single ember-popperjs seem to be working nicely.
When there are multiple items, it fails with:

Error occurred:

- While rendering:
  -top-level
    application
      multiple
        MyMenuComponent
          Menu
            PopperJS
              Items

Uncaught (in promise) DOMException: Node.removeChild: The node to be removed is not a child of this node

Reproduction repo: https://gitlab.com/michal-bryxi/bugreport/ember-popperjs-bugreport
Also related to conversation in: #244

Since the addon seem to be considered as deprecated (as per #229) I think this issue might be just ignored / closed. Just wanted to make sure it's google-able when someone else steps on the same rake ...

thanks for leaving a trail!


Feature: while loops

[x] Lexing
[x] Parsing
[x] Typechecking
[x] Flow Analysis
[x] Ir Generation

that was quick, nice


Feature/bidding v1

Basic implementation of #7 Bidding v1
For now, I've disabled the timer running the auction loop.
Instead the control flow can be managed manually through the context menu calls:

Test Start Auction
GoToNextAuctionRound (Creates a BiddingRound from the current AuctionStage object)
Place Random Bids (Place bids on a random item per player - can trigger simulated bidding wars)

. Repeat as many times as you like (and inspect _EDITORONLY_ActiveBiddingRound for insight in what's happening)

FinishAuctionRound (Distributes the items and draws tokens from player inventories according to bids placed)
Test Stop Auction

>:(

Ready for re-review! 🥳


Docs reference a button that is no longer available

In the Project view, select the Import Project from Database button

Not sure how to phrase the title but the docs state "In the Project view, select the Import Project from Database button " but in my Azure Data Studio v. 1.47.0 there is no button for Importing Project from Database

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

ID: fd8cdae4-cb58-336f-dc47-36aadb131f0c
Version Independent ID: d528ec41-6726-15ca-071a-7f2f4284d11b
Content: Create a project for a local Azure SQL Database development environment - Azure SQL Database
Content Source: azure-sql/database/local-dev-experience-create-database-project.md
Service: sql-database
GitHub Login: @scoriani
Microsoft Alias: scoriani

In the three dots menu of the Database Projects panel you should find both "Create" (from the scratch) and "Update" menu items for importing from a database. We'll make it more clear in the doc.

Ah. I see. Thank you.


look at AtScript

the concept is real similar to better.js

description

https://docs.google.com/document/d/11YUzC-1d0V1-Q3V0fQ7KSit97HnZoKVygDxpWzEYW0U/mobilebasic

pointed out by joey twiddle
https://twitter.com/joeytwiddle/status/552216693804519424

this is something which seems part of angularjs

http://eisenbergeffect.bluespire.com/all-about-angular-2-0/


cli print "Malformed message"after timeout

hi.
version: netopeer2-0.7-r1 and sysrepo (v0.7.7)
I used netopeer2-cli  to get the interface state first, and it timed out due to my own reason, but the next operation returned a 'Malformed message'. After that, getting anything returns  'Malformed message'.
> get --filter-xpath /ietf-interfaces:*
ERROR
        type:     application
        tag:      operation-failed
        severity: error
        message:  np2srv_sr_get_items_iter failed (sysrepo: Timeout has expired).

> get --filter-xpath /ietf-interfaces:*
ERROR
        type:     application
        tag:      operation-failed
        severity: error
        message:  Malformed message

> get --filter-xpath /device-info:*
ERROR
        type:     application
        tag:      operation-failed
        severity: error
        message:  Malformed message

log as follow:
Aug  1 17:53:47 localhost netopeer2-server[10559]: np2srv_sr_get_items_iter failed (sysrepo: Timeout has expired).
Aug  1 17:53:53 localhost netopeer2-server[10559]: SSH key exchange timeout.
Aug  1 17:54:02 localhost sysrepod[9225]: [ERR] Time out waiting for operational data expired before all responses have been received, session id =<PHONE_NUMBER>, req = 286
Aug  1 17:54:07 localhost netopeer2-server[10559]: SSH key exchange timeout.
Aug  1 17:54:19 localhost netopeer2-server[10559]: np2srv_sr_get_items_iter failed (sysrepo: Timeout has expired).
Aug  1 17:54:21 localhost netopeer2-server[10559]: SSH key exchange timeout.
Aug  1 17:54:34 localhost sysrepod[9225]: [ERR] Time out waiting for operational data expired before all responses have been received, session id =<PHONE_NUMBER>, req = 291
Aug  1 17:54:35 localhost netopeer2-server[10559]: SSH key exchange timeout.
Aug  1 17:54:49 localhost netopeer2-server[10559]: SSH key exchange timeout.
Aug  1 17:54:50 localhost sysrepod[9225]: [ERR] State data arrived after timeout expiration or session id=1378662113 is invalid (msg=286, session->req=0).
Aug  1 17:54:50 localhost vnet[4406]: vl_msg_api_send_shmem:748: WARNING: client input queue at 1301cea40 is stuffed...
Aug  1 17:55:00 localhost systemd: Starting Cleanup of Temporary Directories...
Aug  1 17:55:00 localhost systemd: Started Cleanup of Temporary Directories.
Aug  1 17:55:03 localhost netopeer2-server[10559]: SSH key exchange timeout.
Aug  1 17:55:17 localhost netopeer2-server[10559]: SSH key exchange timeout.
Aug  1 17:55:31 localhost netopeer2-server[10559]: SSH key exchange timeout.
Aug  1 17:55:45 localhost netopeer2-server[10559]: SSH key exchange timeout.
Aug  1 17:55:46 localhost sysrepod[9225]: [ERR] State data arrived after timeout expiration or session id=1378662113 is invalid (msg=291, session->req=0).
Aug  1 17:55:59 localhost netopeer2-server[10559]: SSH key exchange timeout.

Sincerely,
Nick.

Hi Nick,
this is a know issue, unfortunately. We do not really plan on fixing it, timeout should never occur.
Regards,
Michal


Vercel Turso integration returning 401 for @libsql/client

Description
Hi!
When accessing data from my site hosted on Vercel, I'm getting a 401 HTTP status code being thrown from the @libsql/client and I have no clue why. When I connect to the database locally, I simply cannot reproduce the issue.
I tried recreating the database, recreating the group, and tweaking the Drizzle configuration, but none of it seemed to work. I have no idea what's throwing this exception and why the request from Vercel isn't getting authorized properly.
If more information is necessary, I'd be more than happy to provide this!
Thanks in advance!

More details

Stacktrace
LibsqlError: SERVER_ERROR: Server returned HTTP status 401
    at mapHranaError (file:///var/task/node_modules/.pnpm/@libsql+client@0.14.0/node_modules/@libsql/client/lib-esm/hrana.js:268:16)
    at file:///var/task/node_modules/.pnpm/@libsql+client@0.14.0/node_modules/@libsql/client/lib-esm/http.js:76:23
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async LibSQLPreparedQuery.get (file:///var/task/node_modules/.pnpm/drizzle-orm@0.35.3_@libsql+client-wasm@0.14.0_@libsql+client@0.14.0_react@19.0.0-rc-cae764ce-_beykhe332nz34cv7xpk57h4rsy/node_modules/drizzle-orm/libsql/session.js:155:18)
    at async login (file:///var/task/build/server/nodejs-eyJydW50aW1lIjoibm9kZWpzIn0/index.js:505:17)
    at async file:///var/task/build/server/nodejs-eyJydW50aW1lIjoibm9kZWpzIn0/index.js:1955:20
    at async Object.callRouteAction (/var/task/node_modules/.pnpm/@remix-run+server-runtime@2.13.1_typescript@5.6.3/node_modules/@remix-run/server-runtime/dist/data.js:36:16)
    at async /var/task/node_modules/.pnpm/@remix-run+router@1.20.0/node_modules/@remix-run/router/dist/router.cjs.js:4719:19
    at async callLoaderOrAction (/var/task/node_modules/.pnpm/@remix-run+router@1.20.0/node_modules/@remix-run/router/dist/router.cjs.js:4785:16)
    at async Promise.all (index 2) {
  code: 'SERVER_ERROR',
  rawCode: undefined,
  [cause]: HttpServerError: Server returned HTTP status 401
      at errorFromResponse (file:///var/task/node_modules/.pnpm/@libsql+hrana-client@0.7.0/node_modules/@libsql/hrana-client/lib-esm/http/stream.js:352:16)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
    status: 401
  }
}

package.json
{
	"name": "[REDACTED]",
	"private": true,
	"sideEffects": false,
	"type": "module",
	"scripts": {
		"build": "remix vite:build",
		"dev": "run-p dev:*",
		"dev:app": "remix vite:dev",
		"dev:turso": "turso dev --db-file './drizzle/db/data.db'",
		"dev:drizzle": "drizzle-kit studio",
		"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
		"start": "remix-serve ./build/server/index.js",
		"db:push": "drizzle-kit push",
		"db:generate": "drizzle-kit generate",
		"db:migrate": "dotenv -e .env -- tsx ./drizzle/migrate.ts",
		"db:seed": "dotenv -e .env -- tsx ./drizzle/seed.ts",
		"db:studio": "drizzle-kit studio",
		"typecheck": "tsc",
		"format": "prettier --check --cache .",
		"prepare": "husky"
	},
	"dependencies": {
		"@conform-to/react": "^1.2.2",
		"@conform-to/zod": "^1.2.2",
		"@epic-web/invariant": "^1.0.0",
		"@epic-web/totp": "^2.0.0",
		"@libsql/client": "^0.14.0",
		"@paralleldrive/cuid2": "^2.2.2",
		"@radix-ui/react-dialog": "^1.1.2",
		"@radix-ui/react-dropdown-menu": "^2.1.2",
		"@radix-ui/react-label": "^2.1.0",
		"@radix-ui/react-popover": "^1.1.2",
		"@radix-ui/react-select": "^2.1.2",
		"@radix-ui/react-separator": "^1.1.0",
		"@radix-ui/react-slot": "^1.1.0",
		"@radix-ui/react-tooltip": "^1.1.3",
		"@react-email/components": "^0.0.25",
		"@remix-run/node": "^2.13.1",
		"@remix-run/react": "^2.13.1",
		"@remix-run/router": "^1.20.0",
		"@remix-run/serve": "^2.13.1",
		"@t3-oss/env-core": "^0.11.1",
		"@vercel/remix": "^2.13.1",
		"bcryptjs": "^2.4.3",
		"class-variance-authority": "^0.7.0",
		"clsx": "^2.1.1",
		"cmdk": "^1.0.0",
		"drizzle-orm": "^0.35.3",
		"input-otp": "^1.2.4",
		"isbot": "^5.1.17",
		"lucide-react": "^0.453.0",
		"react": "rc",
		"react-dom": "rc",
		"remix-themes": "^1.5.1",
		"resend": "^4.0.0",
		"sonner": "^1.5.0",
		"spin-delay": "^2.0.1",
		"tailwind-merge": "^2.5.4",
		"tailwindcss-animate": "^1.0.7",
		"zod": "^3.23.8"
	},
	"devDependencies": {
		"@eslint/js": "^9.13.0",
		"@faker-js/faker": "^9.0.3",
		"@remix-run/dev": "^2.13.1",
		"@total-typescript/tsconfig": "^1.0.4",
		"@types/bcryptjs": "^2.4.6",
		"@types/react": "npm:types-react@rc",
		"@types/react-dom": "npm:types-react-dom@rc",
		"autoprefixer": "^10.4.20",
		"dotenv-cli": "^7.4.2",
		"drizzle-kit": "^0.26.2",
		"eslint": "^9.13.0",
		"eslint-config-prettier": "^9.1.0",
		"eslint-import-resolver-typescript": "^3.6.3",
		"eslint-plugin-import-x": "^4.3.1",
		"eslint-plugin-jsx-a11y": "^6.10.2",
		"eslint-plugin-perfectionist": "^3.9.1",
		"eslint-plugin-react": "^7.37.2",
		"eslint-plugin-react-hooks": "^5.0.0",
		"eslint-plugin-react-refresh": "^0.4.14",
		"globals": "^15.11.0",
		"husky": "^9.1.6",
		"lint-staged": "^15.2.10",
		"npm-run-all": "^4.1.5",
		"postcss": "^8.4.47",
		"prettier": "^3.3.3",
		"prettier-plugin-tailwindcss": "^0.6.8",
		"tailwindcss": "^3.4.14",
		"tsx": "^4.19.1",
		"typescript": "^5.6.3",
		"typescript-eslint": "^8.11.0",
		"vite": "^5.4.10",
		"vite-tsconfig-paths": "^5.0.1"
	},
	"overrides": {
		"@types/react": "npm:types-react@rc",
		"@types/react-dom": "npm:types-react-dom@rc"
	},
	"engines": {
		"node": ">=20.0.0"
	},
	"packageManager"<EMAIL_ADDRESS>	"lint-staged": {
		"*": "prettier --write --ignore-unknown"
	}
}

app/db/index.ts
import { createClient } from "@libsql/client";
import { drizzle } from "drizzle-orm/libsql";

import { env } from "~/lib/env.server";

import * as schema from "./schema";

export const connection = createClient({
	authToken: env.TURSO_AUTH_TOKEN,
	url: env.TURSO_DATABASE_URL,
});

export const db = drizzle(connection, { schema });

app/routes/temp._index/route.tsx
import { json } from "@remix-run/node";
import { useLoaderData } from "@remix-run/react";

import { db } from "~/db";

export async function loader() {
	const users = await db.query.user.findMany();

	return json({ users });
}

export default function Route() {
	const data = useLoaderData<typeof loader>();

	return (

Users

{JSON.stringify(data, null, 2)}

	);
}

drizzle.config.ts
import { defineConfig } from "drizzle-kit";

export default defineConfig({
	dbCredentials: {
		authToken: process.env.TURSO_AUTH_TOKEN || undefined,
		// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
		url: process.env.TURSO_DATABASE_URL!,
	},
	dialect: "turso",
	out: "./drizzle/migrations",
	schema: "./app/db/schema.ts",
});

I’ve created a reproduction application which is simply the Remix Vercel template with a Turso Drizzle integration following the steps from the Drizzle documentation
This is giving the same error as mentioned before. What is going on here?
https://github.com/petervmeijgaard/remix-drizzle-vercel

I've also faced the same issue, and solved the problem by changing the libsql:// scheme to wss:// scheme.
I got the clue from this demo from vercel.
I think it relates to vercel's infrastructure of not handling specific schemes such as libsql://, but I'm not sure since it seems to lack documentation and I didn't dig deep into the problem for right now.


ci: upload exe files

Summary
Upload exe files to the google bucket so the release will consume those binaries

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-05-24T10:38:01.663+0000

Duration: 9 min 30 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
73

Skipped
0

Total
73

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

/test all : Re-trigger the build for all the stages.


Only blank entries after succesfully opening CSV

Describe the bug
When I run 0.9rc2, and successfully import a csv, then the rest of the worklow shows only blank titles+abstracts.
To Reproduce
Steps to reproduce the problem:

I installed latest version by downloading whl: Successfully installed asreview-0.9rc2
Run asreview in oracle mode
exported a dataset from a search query from https://www-computer-org.proxy.library.uu.nl/csdl/search/default?type=basic&basicSearchText="virtual research environment" OR "VRE"
created new project, drag exported file into the project
When searching for records to include, only blank titles are shown
etc.

Screenshots

If applicable, add screenshots to help explain your problem.

Version information

OS: MacOS 10.13.6
ASReview version 0.9rc2

Additional context
Add any other context about the problem here.

Thanks for letting us know! We'll come back to you as soon as we found a solution!

Thanks @maartenhoog. Export is with title case for column labels like title and abstract.  This is accepted on file validation in ASReview, but is seems not possible to retrieve later on. This is a bug.
@qubixes Can you fix this and write a unit test.
"Title","Authors","Affiliations","Abstract","Publication","Category","DOI"
"A Virtual Research Environment (VRE) for Bioscience Researchers","Savas Parastatidis, Roger S. Barga, Stephen Andrews",,"In this paper we present the Research Information Centre (RIC), a virtual research environment being jointly developed by the Technical Computing Group at Microsoft and The British Library. We view researchers as extreme information workers and the purpose of the RIC is to support researchers in managing the increasingly complex range of tasks involved in carrying out research. Our first implementation of the RIC is focused on the biomedical researcher, leveraging commercial off-the-shelf software to the extent possible. However, the base architecture of RIC is designed so that it can be re-used for research in other domains.","Advanced Engineering Computing and Applications in Sciences, International Conference on","Conference Publication","10.1109/ADVCOMP.2007.14"
"Towards Grid Services for a Virtual Research Environment","Simon Grange, Les A. Carr, Gary B. Wills, Lester Gilbert, Wendy Hall, Hugh C. Davis, Quintin Gee, David E. Millard, Tim Miles-Board",,"VOEU is a virtual university which we designed,  implemented and deployed in the Wessex Region of the  UK for use by Higher Surgical Trainees in the  Orthopaedic domain. A particularly original part of  this virtual university is the Virtual Research  Environment (VRE) which provides the infrastructure  to support trainee surgeons in carrying out and  publishing research and clinical trails. The current  implementation of the VRE is tightly coupled, but we  are now engaged in a new project to redeploy the VRE  as loosely coupled grid services. This paper describes  the VRE, and discusses the advantages that will be  achieved by implementing it as grid services.","Proceedings. 5th IEEE International Conference on Advanced Learning Technologies","Conference Publication","10.1109/ICALT.2005.290"

@maartenhoog It now works. Thanks for reporting and we are working on unit tests


about train.h5 file you used in training

Thank you for your code and work!
I want to reproduce your results in the paper.
But train.h5 files are not exactly same because of the randomness when we generate the train.h5 file. I want to train the model using the train.h5 you used.
Can you upload or share the train.h5 file?

Thank you for the information.
I uploaded the train.h5 file, could you try it?
https://www.dropbox.com/s/4s01829s5ky3vx4/train.h5?dl=0

Thank you! I downloaded it.
Thank you very much!


chore(deps): update dependency @types/semver to v6

This PR contains the following updates:

Package
Type
Update
Change

@types/semver
devDependencies
major
5.5.0 -> 6.2.0

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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


Review of README.md

There are no dependencies given, though when reading through the instructions it is clear that a working Node.js installation with npm is needed and python 2.7.x is also needed (pity python 3 is not supported as python 2 has reached end of development and is rapidly approaching end of life - April 2020).
Prerequisite knowledge - there is the assumption that the developer is already familiar with Node-RED (open Node-RED menu, use palette manager to install nodes, deploy...)
Install Node-RED section : The Node-RED editor or Web User Interface can be accessed on http://localhost:1880 - dashboard is used to refer to the UI created by the dashboard nodes and is found on http://localhost:1880/ui
confusing instructions - Install Node-RED ends with the command to start Node-RED then the next step, Install the TensorFlow.js node asks the developer to restart Node-RED without saying how, then Import the Node-RED flow starts with the instruction to "Start your Node-RED application"
Clarity - Run on a RaspberryPi vs Run from a browser.  Isn't all Node-RED run from a browser?  Maybe it would be better if this said Running on a Raspberry Pi vs Running on a laptop or workstation.  The distinction is where the Node-RED server is running?

thanks. README has been updated to try to clarify on the above comments. let me know if anything is missed or additional updates required.


Add LAST_INSERT_ID to MySQL upsert query

It fixes an error caused by a query that uses the last insert ID to populate default values for structs after an upsert query at https://github.com/vattle/sqlboiler/blob/master/templates/17_upsert.tpl#L200, currently using 0 as the ID:
models: unable to populate default values for <model>: sql: no rows in result set

So we already have functionality in there to utilize the last insert id. I get the feeling you're looking for something else. We're going to need more details on what you're trying to accomplish and what's not working in order to figure out the proper solution. At first glance this doesn't seem necessary. Can you elaborate on what's going on?

I was trying to do something like this:
type Team struct {
    ID         int
    ExternalID int
    Name       string
    Initials   string
}

type TeamStore struct {
    db *sql.DB
}

func (s TeamStore) SaveTeam(t *Team) error {
    o := models.Team{
        ExternalID: t.ExternalID,
        Name:       t.Name,
        Initials:   t.Initials,
    }
    err := o.Upsert(s.db, []string{"name", "initials"})
    t.ID = o.ID
    return err
}

ExternalID is a field I'm using to store a unique ID from a third-party API.
But it kept returning this error:
models: unable to populate default values for teams: sql: no rows in result set

I noticed that the value of o.ID was 0, then I checked the docs for something that could fill the last insert ID correctly but I failed to find a way to do it. So I decided to take a look at the upsert query and it looked like this:
INSERT INTO teams (`external_id`, `name`, `initials`) VALUES (?,?,?) ON DUPLICATE KEY UPDATE `name` = VALUES(`name`),`initials` = VALUES(`initials`)

And the query for updating default values that runs immediately after looked like this:
SELECT `id` FROM `teams` WHERE `id`=?
0

Then I tried to modify the query to "return" the last insert ID by adding id = LAST_INSERT_ID(id), which sets id to the current ID if an update has occurred.

@tpisani Sorry I was on vacation. Back now :)
So the code I mentioned before is supposed to do this by getting the last_insert_id from the mysql driver. Maybe you're using a mysql driver that doesn't support it? Can you tell me which driver you're using?
It's possible it has a bug, but again I don't think Pull Request isn't the answer.
Is it possible you can give me the mysql schema involved here for the Team model?

It's OK. 😉
Maybe the problem is the driver I'm using then: https://github.com/go-sql-driver/mysql.
Here is the create statement for teams table:
CREATE TABLE `teams` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `external_id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `initials` varchar(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `external_id` (`external_id`)
);

Thank you for your time and patience.

Fixed in v3 branch. Sorry for the year delay :)


Update Iban4j to 3.2.1

Does it work for you after upgrade? Travis fails with the compilation errors:
/home/travis/build/Codearte/jfairy/src/main/java/io/codearte/jfairy/producer/payment/IBANProvider.java:26: error: cannot find symbol
	String generateRequiredData(BbanStructureEntry.EntryType type);
	                                              ^
  symbol:   class EntryType
  location: class BbanStructureEntry

No, it was just a try :) I will make a new pull request

@arnzel You can just rebase this one rebase -i + push --force-with-lease.


W1,W2 background is over-subtracted around many systems

Issue reported by Si-Yue Yu:
I am recently using the SGA images to understand the galaxy structure. However, I found that the WISE images
are a bit abnormal. For example, the attached NGC0895_W1.png is the W1 image of NGC0895
([NGC0895-image-W1.fits.fz](https://portal.nersc.gov/project/cosmo/data/sga/2020/data/035/NGC0895/NGC0895-image-W1.fits.fz)).
There are some black (negative value) regions around the galaxy. It looks like the background is somehow
over-subtracted. The attached NGC0895_W1_model.png is its W1 model image
([NGC0895-largegalaxy-model-W1.fits.fz](https://portal.nersc.gov/project/cosmo/data/sga/2020/data/035/NGC0895/NGC0895-largegalaxy-model-W1.fits.fz)). '
Instead, there are many small black holes around the galaxy.

I also independently found this issue in my own work, and it looks like turning off UNWISE_MODEL_SKY_DIR fixes the problem in many cases (probably dependent on galaxy diameter). E.g., here's the data mosaic for NGC3162 with UNWISE_MODEL_SKY_DIR off (left) and on (right), so things look much better.


Screen doesn't scale on android

MarsLanderA.zip
This has fixed screen res at 780 x 430 for GunRoar to test. No scaling or resizing. Rename MarsLanderA.zip to MarsLanderA.love

MarsLanderB.zip
This is using ASPECT.LUA  (seems to work well!)  rename .zip to .love


Centralise transaction service selectors

How this PR fixes it
There was a redundant selector for interacting with the transaction service, as well as dynamic URL creation dotted around the project.
The redudant safe info request URL has been removed. The other URL creation 'selectors' have been moved to the config file.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 6 (33.33%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 32.489%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/logic/contracts/api/masterCopies.ts
0
1
0.0%

src/utils/decodeTx.ts
0
1
0.0%

src/config/index.ts
2
4
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
3086

Relevant Lines:
8467

💛  - Coveralls


Move Members filtering to Members page

The "Members" filtering bar on the left side of the homepage would make more sense if it were shifted onto the [Members page] (https://codeforphilly.org/people).

[ ] Add Members link to top navbar
[ ] Move Members filtering sidebar to Members page
[ ] Remove Members filtering sidebar from home page

@bennovack this has already been added, right?
Currently:

Members link in top navbar
members filtering added to /people
members filtering removed from home sidebar

@schlos yep, good catch!


[Popover] pass "useLayerForClickAway" property

This fixed issue #2707

Thanks again :+1: :tada:

I haven't tested it, but I think it's changing the behaviour of some of our component that use it.

@oliviertassinari I didn't notice anything. But I'll keep an eye out. if this had a bad effect it's definitely a bug on other components.


Add python APIs for serialization that accept modules as string arguments

Request description
Users that have StableHLO built in a separate shared library cannot use the current API's since passing an MLIRContext across shared library boundaries causes issues.
def serialize_portable_artifact_str(module_str, target) -> bytes
def deserialize_portable_artifact_str(artifact_bytes):  -> str

Should we perhaps just change the existing API to take a string instead of a module?

Closed by #1461


pull request for e2e test at 01/15/2017 21:15:13

:white_check_mark: Validation status: passed
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.


typo change in footer and testuser added to db

simple change but it also tests whether I am using git correctly 😇


Port everything to JSON - About Us Page

This is a sub-issue for issue #170
port the text information in to JSON files so we can move them to our new website after it is built and at the same time have information to be used in the current version of the website.

I'll do this one


chore(deps): upgrade-logger-to-2.0.1

Updated logger package to version 2.0.1 and adjusted code in generator and unit tests.
Most critical changes: According to https://pub.dev/packages/logger/changelog the init , destroy and close method are now async.
Closes #15.

@ferrarafer can you please have a look at this one?

@ferrarafer & @FilledStacks any news for this one?

@FilledStacks & @ferrarafer is there a reason why not to upgrade to logger v2?

@sebastianbuechler I think the logger package upgrade could break the package because we already did it and something went wrong. I will take a look as soon as possible.

This would be a breaking change for the framework, we'll have to see how we can do it without causing a break first.
If we can't we need to have the documentation ready to migrate over.

@ferrarafer Any news on this? It seems to be blocking some other upgrades and increasing.

@sebastianbuechler we'll release this on a beta branch as it's a breaking change.
Sorry for the delay.


Use CSS Grid

Modify components to function within a container with display: grid. This should give users of the library the greatest flexibility when it comes to how to lay out the components.

https://github.com/perseids-tools/treebank-react/commit/d0ca17c392a3c1be592dad28976119fce6c8f28f


Expose functions llama_load_session_file and llama_save_session_file

These two functions are useful for persisting sessions and are currently not exposed in the Rust wrapper.

thanks, looks good.


TST: Speedup some slow plotting tests

Chipping away at https://github.com/pydata/pandas/issues/8450
Unfortunately I wasn't able to find too much. Most of those tests are slow because they're checking a lot of things.
This will only shave about 30s off the test time. It's a start...

closing pls reopen if/when updated


Consider enabling react/jsx-wrap-multilines

I am just curious if there is a reason react/jsx-wrap-multilines has been disabled. Could it be renabled?

I must admit that this was a mistake. It will be re-enabled.

This issue should go to https://github.com/gajus/eslint-config-canonical.


Update status code for CRUD operations

This commit updates the status code from 200 to 202 for create, update
or delete APIs.
Fixes: #25
Signed-off-by: Vivek Singh<EMAIL_ADDRESS>
Description

Motivation and Context

[x] I have raised an issue to propose this change (required)

Fixes: #25
How Has This Been Tested?

Tested on local swarm cluster.
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:45 Forwarded [PUT] to /system/functions - [404] - 0.007258 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:45 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:45 Forwarded [POST] to /system/functions - [400] - 0.007525 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:45 Forwarded [PUT] to /system/functions - [404] - 0.003527 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:45 Forwarded [POST] to /system/functions - [400] - 0.005835 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:50 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:55 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:57 Forwarded [PUT] to /system/functions - [404] - 0.006341 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:57 Forwarded [POST] to /system/functions - [202] - 0.006329 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:57 Forwarded [PUT] to /system/functions - [404] - 0.003409 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:24:57 Forwarded [POST] to /system/functions - [202] - 0.004641 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:00 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:05 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:10 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:11 Forwarded [PUT] to /system/functions - [202] - 0.012306 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:11 Forwarded [PUT] to /system/functions - [202] - 0.006914 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:15 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:20 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:25 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:30 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:35 <nil>
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:36 Forwarded [DELETE] to /system/functions - [202] - 0.008955 seconds
func_gateway.1.kvkck8zyiva2@linuxkit-025000000001    | 2018/09/22 09:25:36 Forwarded [DELETE] to /system/functions - [202] - 0.009504 seconds

faas-cli deploy --network=func_functions
Deploying: go-hello-world.

Deployed. 202 Accepted.
URL: http://<IP_ADDRESS>:8080/function/go-hello-world

Deploying: python-hello-word.

Deployed. 202 Accepted.
URL: http://<IP_ADDRESS>:8080/function/python-hello-word

➜  of-cloud-test-fn git:(master) ✗ faas-cli deploy --network=func_functions
Deploying: go-hello-world.

Deployed. 202 Accepted.
URL: http://<IP_ADDRESS>:8080/function/go-hello-world

Deploying: python-hello-word.

Deployed. 202 Accepted.
URL: http://<IP_ADDRESS>:8080/function/python-hello-word

➜  of-cloud-test-fn git:(master) ✗ faas-cli remove
Deleting: go-hello-world.
Removing old function.
Deleting: python-hello-word.
Removing old function.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to 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've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Can you both confirm that you built and tested the code with the CLI and with the certifier?
https://github.com/openfaas/certifier
Thanks,
Alex

ID                  NAME                MODE                REPLICAS            IMAGE                              PORTS
p6misxu7ccoi        func_alertmanager   replicated          1/1                 prom/alertmanager:v0.15.0
hgxwb82oe6m0        func_faas-swarm     replicated          1/1                 viveksyngh/faas-swarm:latest-dev
r0cz69k05mg7        func_gateway        replicated          1/1                 openfaas/gateway:0.9.2             *:8080->8080/tcp
zqeluv52r4lo        func_nats           replicated          1/1                 nats-streaming:0.6.0
tvalw7og8lmb        func_prometheus     replicated          1/1                 prom/prometheus:v2.3.1             *:9090->9090/tcp
vqq5i6vt5o6k        func_queue-worker   replicated          1/1                 openfaas/queue-worker:0.4.8

make test-swarm
docker service rm stronghash env-test env-test-labels env-test-annotations env-test-verbs test-secret ; docker secret rm secret-api-test-key
Error: No such service: stronghash
Error: No such service: env-test
Error: No such service: env-test-labels
Error: No such service: env-test-annotations
Error: No such service: env-test-verbs
Error: No such service: test-secret
secret-api-test-key
./create-swarm-secret.sh
y7ja308dvlwy3u8mci60a0pui
Swarm secret created
gateway_url=http://<IP_ADDRESS>:8080/ time go test -count=1 ./tests -v
=== RUN   Test_Access_Secret
=== RUN   Test_Access_Secret/Empty_QueryString
--- PASS: Test_Access_Secret (16.08s)
    --- PASS: Test_Access_Secret/Empty_QueryString (16.07s)
    	verify.go:52: [1/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/test-secret
    	verify.go:52: [2/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/test-secret
    	verify.go:52: [3/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/test-secret
    	verify.go:52: [4/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/test-secret
    	verify.go:52: [5/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/test-secret
    	verify.go:52: [6/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/test-secret
    	verify.go:52: [7/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/test-secret
    	verify.go:52: [8/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/test-secret
    	verify.go:71: [9/30] Got correct response: 200 - http://<IP_ADDRESS>:8080/function/test-secret
=== RUN   Test_Deploy_Stronghash
--- PASS: Test_Deploy_Stronghash (0.01s)
=== RUN   Test_Deploy_PassingCustomEnvVars_AndQueryString
=== RUN   Test_Deploy_PassingCustomEnvVars_AndQueryString/Empty_QueryString
=== RUN   Test_Deploy_PassingCustomEnvVars_AndQueryString/Populated_QueryString
--- PASS: Test_Deploy_PassingCustomEnvVars_AndQueryString (12.07s)
    --- PASS: Test_Deploy_PassingCustomEnvVars_AndQueryString/Empty_QueryString (12.05s)
    	verify.go:52: [1/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test
    	verify.go:52: [2/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test
    	verify.go:52: [3/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test
    	verify.go:52: [4/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test
    	verify.go:52: [5/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test
    	verify.go:52: [6/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test
    	verify.go:71: [7/30] Got correct response: 200 - http://<IP_ADDRESS>:8080/function/env-test
    --- PASS: Test_Deploy_PassingCustomEnvVars_AndQueryString/Populated_QueryString (0.00s)
    	verify.go:71: [1/30] Got correct response: 200 - http://<IP_ADDRESS>:8080/function/env-test?testing=1
=== RUN   Test_Deploy_WithLabels
--- PASS: Test_Deploy_WithLabels (12.07s)
	verify.go:52: [1/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-labels
	verify.go:52: [2/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-labels
	verify.go:52: [3/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-labels
	verify.go:52: [4/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-labels
	verify.go:52: [5/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-labels
	verify.go:52: [6/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-labels
	verify.go:71: [7/30] Got correct response: 200 - http://<IP_ADDRESS>:8080/function/env-test-labels
=== RUN   Test_Deploy_WithAnnotations
--- PASS: Test_Deploy_WithAnnotations (12.07s)
	verify.go:52: [1/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-annotations
	verify.go:52: [2/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-annotations
	verify.go:52: [3/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-annotations
	verify.go:52: [4/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-annotations
	verify.go:52: [5/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-annotations
	verify.go:52: [6/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-annotations
	verify.go:71: [7/30] Got correct response: 200 - http://<IP_ADDRESS>:8080/function/env-test-annotations
=== RUN   Test_InvokeNotFound
--- PASS: Test_InvokeNotFound (0.00s)
	verify.go:71: [1/30] Got correct response: 502 - http://<IP_ADDRESS>:8080/function/notfound
=== RUN   Test_Invoke_With_Supported_Verbs
=== RUN   Test_Invoke_With_Supported_Verbs/GET
=== RUN   Test_Invoke_With_Supported_Verbs/POST
=== RUN   Test_Invoke_With_Supported_Verbs/PUT
=== RUN   Test_Invoke_With_Supported_Verbs/PATCH
=== RUN   Test_Invoke_With_Supported_Verbs/DELETE
--- PASS: Test_Invoke_With_Supported_Verbs (12.08s)
    --- PASS: Test_Invoke_With_Supported_Verbs/GET (12.06s)
    	verify.go:52: [1/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-verbs
    	verify.go:52: [2/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-verbs
    	verify.go:52: [3/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-verbs
    	verify.go:52: [4/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-verbs
    	verify.go:52: [5/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-verbs
    	verify.go:52: [6/30] Bad response want: [200], got: 502 - http://<IP_ADDRESS>:8080/function/env-test-verbs
    	verify.go:71: [7/30] Got correct response: 200 - http://<IP_ADDRESS>:8080/function/env-test-verbs
    --- PASS: Test_Invoke_With_Supported_Verbs/POST (0.00s)
    	verify.go:71: [1/30] Got correct response: 200 - http://<IP_ADDRESS>:8080/function/env-test-verbs
    --- PASS: Test_Invoke_With_Supported_Verbs/PUT (0.00s)
    	verify.go:71: [1/30] Got correct response: 200 - http://<IP_ADDRESS>:8080/function/env-test-verbs
    --- PASS: Test_Invoke_With_Supported_Verbs/PATCH (0.00s)
    	verify.go:71: [1/30] Got correct response: 200 - http://<IP_ADDRESS>:8080/function/env-test-verbs
    --- PASS: Test_Invoke_With_Supported_Verbs/DELETE (0.00s)
    	verify.go:71: [1/30] Got correct response: 200 - http://<IP_ADDRESS>:8080/function/env-test-verbs
PASS
ok  	github.com/openfaas/certifier/tests	64.422s
       65.59 real         0.60 user         0.67 sys


remove spaces before newline

@toy Thanks for the PR. Could you run the test suite as well? It needs an update to account for the whitespace change.

@jeremy I've pushed the change so tests are green


Add state to address

Used in the delivery and billing addresses in the transaction object.

this is also available

correct, closed


Add a link next to the global run ID to download logs for a completed run

As a follow-up to https://github.com/eclipse-apoapsis/ort-server/issues/293 and independent of https://github.com/eclipse-apoapsis/ort-server/issues/168 I believe we should already be able to get logs via the https://ort-api.scw.doubleopen.io/api/v1/runs/${runId}/logs endpoint. This functionality should be made available via the UI, e.g. on the run details page in the "Global run ID" row, like
Global run ID | 155 (download log)

Can be closed now, with #862?

Let's use the opportunity and leave this open to make a fine refinements:

Only logs of stages that were actually enabled for the run should be requested. So if e.g. the advisor stage was disabled, no advisor logs should be requested. Otherwise we end up with dummy 0-byte files in the archive, see

The downloaded file should have a unique name and not always be named log.zip, to ease handling of multiple log archives. I propose to add include the global run ID, like logs-global-run-NNN.zip.
My original idea as mentioned above was to add the download button "in the Global run ID row" in order to not waste vertical screen space. But I guess we can leave it in the new row now until we have decided where stage-specific logs would be shown.

The downloaded file should have a unique name

See https://github.com/eclipse-apoapsis/ort-server/pull/865.

Only logs of stages that were actually enabled for the run should be requested.

See https://github.com/eclipse-apoapsis/ort-server/pull/869.

My original idea as mentioned above was to add the download button "in the Global run ID row"

IMO we can now make good use of the fact that the download button is on its own row by adding some radio buttons / a combo box that allows to choose the log level once #869 is merged.

See #871. I believe all the tunings for this issue are now done.

I believe all the tunings for this issue are now done.

Once every PR is actually merged, yes.