Error installing yt-dlp.yt-dlp

Brief description of your issue
I can't install yt-dlp.yt-dlp.
Steps to reproduce
winget install -e --id "yt-dlp.yt-dlp"
Expected behavior
yt-dlp.yt-dlp is installed.
Actual behavior

An unexpected error occurred while executing the command:
0x80070057 : The parameter is incorrect.

Environment
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.2130
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

It should be fixed now. Can you try again?

It should be fixed now. Can you try again?

I just tried and got the same error message. No other details.

I just tried this in my sandbox session and it seemed to install just fine using the latest version of winget.
@congqiao - Are you still experiencing this issue?


enhancement request: amazon linux 2 support

amazon linux 2 has a suite of numerous updates and improvements
however, with the bump in centos it's based on, it now uses systemd instead of supervisord, so I suspect the install script will need testing and additional environment checks to use the appropriate installation method

Agreed. I think at this point, systemd is available as a process supervisor by default on most major distros (Ubuntu, Amazon Linux, CentOS), so we should probably move that that. PRs for that are very welcome.


What devices are supported?


 Blowing up a block under a lava flow with the explodey tool doesn't cause the lava to flow down. You have to destroy a block normally to trigger the flow. Probably the same with water, and likely not too hard to figure out, might even be contributor friendly :-)

Yep! That's not integrated into the fancy explosion tool yet. Easy to fix/extend - anyone up to it?


File google-services.json is missing Build failed

Hi Kulichin
I placed the google-services.json in {ProjectName}\Build\Android\ as documentation instructed
When i Make Development Build everything Works fine but i try to make Shipping Build then  google-services.json missing Error came up during Building Apk process
I also Enabled Distribution option
I am Using unreal engine 5.1.1
Thanks

same issue here


Array of embeddable with date property always updated

Describe the bug
always updated the row, maybe related with https://github.com/mikro-orm/mikro-orm/issues/4078
/* istanbul ignore file */
/* eslint-disable */
import { Embeddable, Embedded, Entity, PrimaryKey, Property } from '@mikro-orm/core';
import { MikroORM } from '@mikro-orm/postgresql';

@Embeddable()
export abstract class Animal {
  @Property()
  public readonly birthday!: Date;
}

@Entity()
export class Owner {
  @PrimaryKey()
  id!: number;

  @Embedded(() => Animal, { array: true })
  pet!: Animal[];
}

let orm: MikroORM;

beforeAll(async () => {
  orm = await MikroORM.init({
    entities: [Owner],
    debug: true,
    allowGlobalContext: true,
  });

  await orm.schema.refreshDatabase();
});

afterAll(async () => {
  await orm.close(true);
});

it('doing some update when shouldnt', async () => {
  await orm.em.insert(Owner, {
    id: 1,
    pet: [
      {
        birthday: new Date(),
      },
    ],
  });
  await orm.em.findOneOrFail(Owner, 1);
  await orm.em.flush();
});

The solution to this will be the same as for #4362, which is enforcing the conversion via the custom type instead of relying on the driver. Will close this as a duplicate, please subscribe there.
As a workaround, you can specify the custom type explicitly:
@Property({ type: DateTimeType })
birthday!: Date;

This was actually a bit different issue that I originally though, but it will be also resolved by #4391.


Use spanned tokens

Currently, this:
#[derive(Debug, Eq, PartialEq)]
struct SubTest {}
#[derive(BinRead, Debug, Eq, PartialEq)]
struct Test {
    a: SubTest
}

prints this error:
error[E0277]: the trait bound `SubTest: BinRead` is not satisfied
   --> binrw/tests/derive/struct.rs:514:14
    |
    |     #[derive(BinRead, Debug, Eq, PartialEq)]
    |              ^^^^^^^ the trait `BinRead` is not implemented for `SubTest`
    |

It would be better to have it point to SubType rather than BinRead.
It's an issue with attributes too:
#[derive(BinRead, Debug, Eq, PartialEq)]
struct Test {
    #[br(pad_size_to="a")]
    a: u8
}

prints this error:
error[E0606]: casting `&'static str` as `i64` is invalid
   --> binrw/tests/derive/struct.rs:512:14
    |
    |     #[derive(BinRead, Debug, Eq, PartialEq)]
    |              ^^^^^^^
    |

which is not really helpful if it does not point to "a".

Closing in favor of #71. Thank you for the documentation on these two examples.


Fix early DOM access

I'm not sure if this fix makes sense. In production the main script has the defer attribute which is supposed to wait until after the parse. But I'm not sure what else explains the crashes we see here. Leaving here as a draft to ponder.

I also can't repro document.readyState < interactive in a minimal setup (even with a large DOM). I wonder what's going on here.

I think this is based on a misunderstanding. There must be another explanation. Closing.


preset is not working on Babel 6

I tried to add preset in my Babel options. However, it doesn't work.
 babel: {
      presets: ['es2015', 'es2016', 'es2017', 'stage-2'],
      plugins: ['transform-decorators-legacy']
  },

At this time the only options we support are passed directly to babel-preset-env (which does not have anpreset option).
It is possible for us to add the ability to configure additional presets like you have shown, but we need to think through the ramifications and whatnot...

Stumbled upon this as well.
Presets would be quite useful for when you want to transpile stage-2 features down to latest, so that env can take it from there.

Yes, totally agreed.

Cool, maybe I can get around to submit a PR. In the meantime I just manually include all plugins, that I actually use. In order to DRY it up, I've moved that to an extra util. If I recall correctly, you were the one who suggested that on Slack. Thanks!
Should anyone have the same issue, here's what I do. :slightly_smiling_face:
// lib/utils/setup-babel.js
module.exports = function(app) {
  app.options = app.options || {};
  const babel = app.options.babel = app.options.babel || {};
  babel.plugins = babel.plugins || [];

  for (const plugin of plugins) {
    if (!babel.plugins.includes(plugin)) {
      babel.plugins.push(plugin);
    }
  }
};

const plugins = module.exports.plugins = [
  'transform-class-properties',
  'transform-decorators-legacy',
  'transform-object-rest-spread'
];

// ember-cli-build.js
const EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function(defaults) {
  const env = EmberApp.env();

  const app = new EmberApp(defaults, {
    babel: {
      plugins: require('./lib/utils/setup-babel').plugins
    }
  });

  return app;
};

// lib/in-repo-addon/index.js
const setupBabel = require('../utils/setup-babel');

module.exports = {
  name: 'in-repo-addon',

  init() {
    this._super.init && this._super.init.apply(this, arguments);
    setupBabel(this);
  }
};

Closing as v6 is not supported anymore.


Convert PDFPageViewBuffer to a standard class, and use a Set internally

Please refer to the individual commit messages.

/botio unittest

/botio-linux preview

/botio integrationtest

This looks great; thank you for doing this!


Toast bugs on IE11

Overview of the problem
Buefy version: 0.5.2
Vuejs version: ??
OS/Browser: Windows/IE11
Description

Toast is aligned on the top left, even when instructed to be at the top in the middle or on any other position.
Toast appears only once, even when called multiple times.

Steps to reproduce

On Windows IE11
Go to https://buefy.github.io/#/documentation/toast
Click "Launch toast (default)". Toast shows on the left.
Click "Launch toast (default)" once more. Toast doesn't appear.

Expected behavior
It is expected that the toast behaves in IE11 the same way as in other browsers, e.g. in Chrome.
On step 3 it should appear a t the top in the middle.
On step 4 it should appear every time user clicks the button.

Actual behavior
Described in the steps to reproduce.

I've fixed some issues about IE undefined javascript functions.
However style might not work correctly at the moment but as you can see IE it's not completely supported


Update requirements

Description
updated requirements.txt with packages that were outdated

@CVilla17 I updated packages that were outdated in requirements.txt because it was quick in my IDE and I thought this would be faster than making an issue for it and coming back to it later.
However, I did not test them at all to see if something broke with the new changes. If you get a chance and can test them then that would be great, and if not then I can test them later when I have some time.


server-client ping-pong: Server should timeout

Presenting problem
For simplicity, I will phrase this in terms of the TcpSuite server-client ping-pong test,
but the problem is general to at least that Suite.    I will also talk about accept() but
the fix is probably has to do with the socket_fd used for listen().
The issue is that sometimes one wants a server to sit and accept() connections for
the lifetime of the program.  Other times,  often if a human is waiting at the other
end, one wants to wait only a specified period and then timeout, perhaps to
do something about the lack of connection.
Currently,  when there is some failure on the client path, ping-pong server hangs until it is
interrupted by user action (^C).  Not good for an automated test.
If it is a culturally appropriate idiom, the server accept() ought to timeout.
Discussion
The crude hammer of alarm() can be mentioned and skipped over.
Linux has a concept of timerfds.  I have not done it, but from
reading, these can be registered with epoll and used as one
of the events it monitors.
The may be some complexity.  Somebody may need to
epoll on the listen_fd and the timer_fd.  If the listen_fd
reports an suitable event, the C accept() is called.
I have not traced the epoll.scala accept call to look
at implementation. I first need to understand
the cultural milieu.

Note that in the TcpSuite, which uses cats.effect.IO, you can timeout any IO action simply by adding .timeout(...) to it.
https://typelevel.org/cats-effect/api/3.x/cats/effect/IO.html#timeout[A2>:A](duration:scala.concurrent.duration.FiniteDuration):cats.effect.IO[A2]

Thank you.  I will look at that URL, learn some cats, and try in my experimental program.
Of course, now I have gone and hacked around what was causing the hang.
This Issue will serve as a reminder that I need to create a PR after I understand & get it working.
Rapid turn around progress.

I spent time tracing this one out. I feel like a hobo trying to catch a fast train, but I
will get there... I understand the Resource concept, and that I have one (serverCh).
Now I just need to access the IO part of that and set the timeout in a way that
the results can be passed further down the chain.
I have the timeout code executing several places without either harm or benefit,
so I have that part down.   The cats doc gave a Scala FiniteDuration as the argument,
which meant that I had to introduce, in my scratch work, a scala import. It was the
first one, and I am always reluctant to introduce such.  Too much time spent
working in javalib.
More next sprint (or the one thereafter).

Thank you for posting the reproducer in https://github.com/armanbilge/epollcat/pull/29#issuecomment-1238324651.
The problem is that accept as-written is uncancelable, which means it will not resolve until it either errors or accepts a connection. I think this can be fixed.


version 3.2.0-beta : modules not found in jquery-ui

Latest jquery-ui version is 1.14.0 . Some files are missing in jquery-ui/ui (jquery-ui/ui/ie.js , ... ), so modules are not found, compilation failed and styles are not loaded. My temporary fix is a resolution in package.json ("rails_admin/jquery-ui": "1.13.3"). Hope it will help. (Thanks for rails-admin ; it helps me everyday)
ruby 3.1.6
rails_admin 3.2.0-beta
devise 4.9.4
Ubuntu 22.04.4 LTS (64bits)

Sorry ; it seems like another issue :  jquery-ui version #3692


[palette_generator] PaletteGenerator is returning a wrong dominant color

Steps to Reproduce
PaletteGenerator is returning a wrong dominant color,  I'm using this image as example:

As you can see, on that image the most dominant color is the black color, but the package is returning wrong colors.

Gray and green should be after the black color.
  /// Returns a list of colors in the [paletteColors], sorted from most
  /// dominant to least dominant color.
  Iterable<Color> get colors sync* {
    for (final PaletteColor paletteColor in paletteColors) {
      yield paletteColor.color;
    }
  }

Reading the doc about the dominant color:
  /// The dominant color (the color with the largest population).
  PaletteColor? get dominantColor => _dominantColor;

Expected results:
Black should be first on the list.
Actual results:
Green and gray before black color.

Code sample
class DemoPalette extends StatefulWidget {
  const DemoPalette({Key? key}) : super(key: key);

  @override
  State<DemoPalette> createState() => _DemoPaletteState();
}

class _DemoPaletteState extends State<DemoPalette> {
  List<Color> _colors = [];

  Future<void> _getColors() async {
    final paletteGenerator = await PaletteGenerator.fromImageProvider(
      const AssetImage('assets/my_image.png'),
    );
    setState(() {
      _colors = paletteGenerator.colors.toList();
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        crossAxisAlignment: CrossAxisAlignment.stretch,
        children: [
          Expanded(
            flex: 3,
            child: Center(child: Image.asset('assets/my_image.png')),
          ),
          Expanded(
            flex: 2,
            child: ListView.builder(
              scrollDirection: Axis.horizontal,
              itemCount: _colors.length,
              itemBuilder: (context, index) {
                return Padding(
                  padding: const EdgeInsets.symmetric(horizontal: 8.0),
                  child: CircleAvatar(
                    backgroundColor: _colors[index],
                  ),
                );
              },
            ),
          ),
          Expanded(
            flex: 1,
            child: Center(
              child: MaterialButton(
                color: Colors.greenAccent,
                child: const Text('PRESS HERE'),
                onPressed: _getColors,
              ),
            ),
          ),
        ],
      ),
    );
  }
}

Logs
version: palette_generator 0.3.3
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.3 21E230 darwin-arm, locale en-PE)
    • Flutter version 2.10.3 at /Users/diegoveloper/fvm/versions/2.10.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (13 days ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/diegoveloper/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = /Users/diegoveloper/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

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

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

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

[✓] VS Code (version 1.64.0-insider)
    • VS Code at /Users/diegoveloper/.Trash/Visual Studio Code - Insiders.app/Contents
    • Flutter extension version 3.32.0

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

Reproducible on stable and master.

screenshot

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

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

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

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

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

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

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

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

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

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.103, on macOS 12.2.1 21D62 darwin-arm,
    locale en-GB)
    • Flutter version 2.13.0-0.0.pre.103 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 509ddfda5c (4 hours ago), 2022-03-15 21:10:18 -0700
    • Engine revision dc22c4c7fe
    • Dart version 2.17.0 (build 2.17.0-202.0.dev)
    • DevTools version 2.11.4

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

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

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

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

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

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

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

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

• No issues found!

complete project

This is the documented behavior:
  /// Create a [PaletteGenerator] from an [ImageProvider], like [FileImage], or
  /// [AssetImage], asynchronously.
  ...
  /// The [filters] specify a lost of [PaletteFilter] instances that can be used
  /// to include certain colors in the list of colors. The default filter is
  /// an instance of [AvoidRedBlackWhitePaletteFilter], which stays away from
  /// whites, blacks, and low-saturation reds.
  ...
  static Future<PaletteGenerator> fromImageProvider(

Your sample code is using the default filter.


Move .pm6 files to packages/

@tbrowder++ recently modernized the roast by renaming .pm files to .pm6. Now is a good time for someone to take another step in that direction.
There are lots of modules that reside alongside test files, such as S11-modules/InnerModule.pm6 These should be moved to packages/ for both organizational reasons and speed reasons ( related to how many files/directories have to get checked for module loading ). packages/ should eventually be restructured as well into folders grouping the modules -- which for the most part is either a single file, or grouped with similarly named files -- so I would suggest moving these files to packages/FooBar/lib, packages/BazQix/lib, etc. ( using the lib naming convention to set a good example, and possibly back/test the roast with CompUnit::Repository::Installation in addition to CompUnit::Repository::FileSystem ).
The hardest part of this will be rerunning the roast to find out which tests you need to update to point to the new location.

Resolved with https://github.com/perl6/roast/commit/f92a49240db8c5a64f978e1856049bf2446c111c


v5.11.16

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

@siriwatknp I just merged #36775. Could you include it as well please?

sure!


How to use eea_sendTransaction API of Eth-signer with goquorum?

I am trying to use the eea_sendTransaction API of Ethsigner with goquorum network.But encountered with an error "eea_sendRawTransaction" doesnot exist.
Attaching the Eth-signer logs:-(Getting 200 response in the logs)

But in postman throws an error of ""eea_sendRawTransaction" doesnot exist."Attaching Screenshots!!!

Hi @Sugam31 please could you confirm the following:

besu version and config
ethsigner version and config
eea_sendTransaction request details, including body

Hi @siladu ,

We are using the goquorum(version 21.7) instead of besu
ethsigner version is 21.10.3 and downstream ports of goquorum node
eea_sendTransaction body contains the below paylaod:-

We were not able to go through with the eea_sendTransaction method of Ethsigner it throws an error of eea_sendRawTransaction not available so we tried with tessera transaction Manager and  eth_storeRaw/eth_sendRawPrivateTransaction methods worked fine.

Hi @Sugam31,
If you are using GoQuorum you need to use eth_sendTransaction and not the eea_sendTransaction. GoQuorum does not support the eea_sendRawPrivateTransaction endpoint as you have unfortunately found out.
You should be able to just change the above request to use the eth_sendTransaction with the same body for it to work with GoQuorum.


Improvement of CSS portion

Description
I would like to improve the css portion of the website and also add some pages
Also the live deployment link is not working I want to fix it too
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Please assign this to me @mdazfar2

Hey @noobremon, firstly, we don't use any CSS file. Can you please describe in detail where and exactly what place you want to improve? You just raised the issue and described it in two sentences, which doesn't provide enough context. I can't understand the issue based on a two-line description that doesn't make sense. You must explain it properly so I can understand and assign the issue to you.

Please don't do this again.


Instructions on how to build it?

I've tried to download Avalonia but I can't get it to work. it says that I need to build it but it returns nothing

Btw i'm using vscode with .net 8

Managed to compile it to mac (kinda, as it doesn't recognize my ffmpeg path)

well if it says its missing ffmpeg - you didn't put in the lib folder it doesn't look for a globally installed version

Alright, fixed. I had to change path in Cfgmanager.cs
Now it returns this
 Unhandled exception. System.IO.IOException: Read-only file system : '/fabuz'    at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)    at System.IO.Directory.CreateDirectory(String path)    at CRD.Utils.Helpers.EnsureDirectoriesExist(String path) in /Users/fabuz/Crunchy-Downloader/CRD/Utils/Helpers.cs:line 101    at CRD.Downloader.Crunchyroll.CrunchyrollManager.DownloadVideo(VideoItem chosenVideoSegments, CrDownloadOptions options, String outFile, String tsFile, String tempTsFile, CrunchyEpMeta data, String fileDir) in /Users/fabuz/Crunchy-Downloader/CRD/Downloader/Crunchyroll/CrunchyrollManager.cs:line 1676    at CRD.Downloader.Crunchyroll.CrunchyrollManager.DownloadMediaList(CrunchyEpMeta data, CrDownloadOptions options) in /Users/fabuz/Crunchy-Downloader/CRD/Downloader/Crunchyroll/CrunchyrollManager.cs:line 1087    at CRD.Downloader.Crunchyroll.CrunchyrollManager.DownloadEpisode(CrunchyEpMeta data, CrDownloadOptions options) in /Users/fabuz/Crunchy-Downloader/CRD/Downloader/Crunchyroll/CrunchyrollManager.cs:line 221    at CRD.ViewModels.DownloadItemModel.StartDownload() in /Users/fabuz/Crunchy-Downloader/CRD/ViewModels/DownloadsPageViewModel.cs:line 186    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)    at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()    at Avalonia.Threading.DispatcherOperation.Execute()    at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)    at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)    at Avalonia.Threading.Dispatcher.Signaled()    at Avalonia.Native.Interop.Impl.__MicroComIAvnPlatformThreadingInterfaceEventsVTable.Signaled(Void* this) --- End of stack trace from previous location ---    at Avalonia.Native.DispatcherImpl.RunLoop(CancellationToken token)    at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)    at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)    at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)    at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)    at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action1 lifetimeBuilder)
at CRD.Program.Main(String[] args) in /Users/fabuz/Crunchy-Downloader/CRD/Program.cs:line 15
`

as stated in the build guide, I do not provide support for issues when you build the project yourself. If you choose to compile it independently, any issues that arise are your responsibility. I only offer support for the prebuilt version available on GitHub

it also says mkvmerge not found in system path, how t fix that on macos


bug: Unable to run wagmi generate: Dynamic require of "child_process" is not supported

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.3.0 (cli)
Current Behavior
I'm trying to run yarn wagmi generate using the foundry plugin.
import { defineConfig } from '@wagmi/cli'
import { foundry } from '@wagmi/cli/plugins'

export default defineConfig({
  out: 'src/generated.ts',
  contracts: [],
  plugins: [
    foundry({
      project: './contracts/duel',
    }),
  ],
})

I'm using yarn 3.6.1 .
I've tried to do some research on the issue and it seems like a greater bundling + building issue.  This is way out of my expertise so I was wondering what some may suggest to try.
A side note is that a verbose flag would probably be useful.
$ yarn wagmi generate

Dynamic require of "child_process" is not supported

Expected Behavior
Wagmi generate runs as expected, links abis + deployed addresses from foundry
Steps To Reproduce
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

Thanks for reporting. This issue is temporarily closed due to lack of information. Please provide a minimal reproducible example and reopen this issue.


A few districts of Gujarat are not highlighted upon hover

Describe the bug
All the cities are highlighted in Gujarat's map upon hover except below(spelled as in the list):

MAHESANA
KACHCHH
GIR SOMNATH

I think it is happening because the spelling of these cities is wrong on the map. In the map they are spelled correctly as below:

MEHSANA
KUTCH
The district of Gir Somnath is not there on the map.

To Reproduce
Steps to reproduce the behavior:

Open the list of the districts of Gujarat
Hover over any of the districts listed above

Expected behavior
The cities should be highlighted upon hover.
Screenshots
Notice that KACHCHH is not highlighted on the map

Additional context
Map of Gujarat for the reference: https://en.wikipedia.org/wiki/South_Gujarat#/media/File:Map_GujDist_South.png

This should be resolved by fix #521


Failing on some (large?) content images

I get this error with images of any significance larger than those in the example. Haven't tested the exact threshold where this occurs, but it occurred on a 840x840 content image with the skrik style image.
terminate called after throwing an instance of 'std::runtime_error'              |
  what():  src/image/img2win.cu:56: invalid configuration argument
Aborted (core dumped)

It's not giving me anything other than that, but I think it's coming from deeppy/cudarray. I have a Tesla M2090.  Don't think it's a memory issue.
Using CUDA 7.5 without cuDNN (my GPU is too old for cuDNN)
EDIT:  Same issue also occurs with large style images as well.

Hi, sorry about the lateness of my reply - I will look into this soon. In the meantime, you can work around the problem by installing CUDArray with cuDNN.

Unfortunately cuDNN does not support my GPU.


For --input-folder parameter, add checking for expected files

The files must have the expected name. Add checks to the start of the process so it doesn't produce empty reports when files are not named right.

Fixed in https://github.com/Snowflake-Labs/sfgrantreport/releases/tag/2<IP_ADDRESS>


fix: FluentAutocomplete does not have an ElementReference

🐛 Bug Report
I want to set focus on a FluentAutocomplete control. Unfortunately the Element property won't be set correctly
💻 Repro or Code Sample
@page "/test"

<FluentAutocomplete
    @ref="AutocompleteReference"
    TOption="string"
    AutoComplete="off"
    Width="250px"
    OnOptionsSearch="@OnSearchAsync"
    MaximumSelectedOptions="1"
    @bind-SelectedOptions="@SelectedItems"/>

    Selected: @(String.Join(" - ", SelectedItems))

@code
{
    public FluentAutocomplete<string> AutocompleteReference { get; set; }

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
            //This will fail: System.InvalidOperationException: ElementReference has not been configured correctly.
            //Element.Id and Element.Context are null
            await AutocompleteReference.Element.FocusAsync();
    }

    IEnumerable<string> SelectedItems = Array.Empty<string>();

    private async Task OnSearchAsync(OptionsSearchEventArgs<string> e)
    {
        var allCountries = new string[] { "germany, usa, france, sweden" };
        e.Items = allCountries.Where(i => i.StartsWith(e.Text, StringComparison.OrdinalIgnoreCase))
            .Order();
    }
}

🤔 Expected Behavior
It should create a valid ElementReference for the Element Property
😯 Current Behavior
No ElementReference will be set.
Exception

System.InvalidOperationException: ElementReference has not been configured correctly.
at Microsoft.AspNetCore.Components.ElementReferenceExtensions.GetJSRuntime(ElementReference elementReference)
at Microsoft.AspNetCore.Components.ElementReferenceExtensions.FocusAsync(ElementReference elementReference, Boolean preventScroll)
at ACO.Smart.Frontend.Blazor.Components.Pages.Remove.OnAfterRenderAsync(Boolean firstRender) in

💁 Possible Solution
It would be also nice and probably even better if FluentAutocomplete would implement FocusAsync method like  https://github.com/microsoft/fluentui-blazor/issues/157
🌍 Your Environment
.net 8 and FluentUi 4.2.1

For anyone interested in the Foucs method, here is a workaround:
public class MyAutoComplete<TOption> : FluentAutocomplete<TOption> where TOption : notnull
{
	[Inject] private IJSRuntime JsRuntime { get; set; } = default!;

        //only call after rendered (e.g. in OnAfterRender)
	public async Task Focus()
	{
		ArgumentNullException.ThrowIfNull(Id);
		await OnDropDownExpandedAsync();// this will open the menu
		await JsRuntime.FocusElementById(Id);// this will focus the input
		await InvokeAsync(StateHasChanged);// this will notify blazor that the element has changed
	}
}
//...
public static class JsRuntimeExtensions
{
	public static async Task FocusElementById(this IJSRuntime jsRuntime, string id)
	{
		var element = await jsRuntime.InvokeAsync<IJSObjectReference>("document.getElementById", id);
		await element.InvokeVoidAsync("focus");
	}
}

Hi Max,
This isn't working at the moment because the @ref gets created on the FluentAutoComplete component itslef where in this case you want to target the FluentTextFiled inside the autocomplete. I have a fix for that and am checking with @dvoituron if it meets our standards. If it does, we will include it in tthe next release and then you can just keep on using
 if (firstRender)
     AutocompleteReference?.Element?.FocusAsync();

(Both AutocompleteReference and Element are nullable in this case. FocusAsync is declared as async void and will be made proper async Task in next major)

Would be great to get milestones attached to issues to know when a given fix has shipped. Thanks! 🙏

I've added two milestones (for now):

Let's see how well we are going to tag issues...


OpenWrt Makefile

Could you please share the Makefile (if already existent) to be integrated into openwrt.git?

Happened here https://git.openwrt.org/?p=openwrt/staging/jow.git;a=commit;h=e2f30bfa2e4eed14744baf03e0e792f31fa9317f


Design interface for class provider and factory for providers

The class providers should have common interface which has to be designed. Also some factory of these class providers should be designed.

All required interfaces were created.


Package Manager Interface delays in showing bot selection UI

Describe the bug
When using a multi-bot project and navigating to the package manager, there can be a long delay in getting the bot navigation to load and show in the UI.  There is no communication that it is still loading, it just pops up after about 30 seconds.
Version

Browser

[X] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[X] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Create a multi-bot project using the Calendar Assistant template
Click on Package Manger
Wait for all UI to load

Expected behavior
I would expect that the navigation of multi-bot to be loaded before the NPM feed finishes, this seems to be done after it loads the package list, which seems odd.
Screenshots

This is the same issue as the main nav - it takes a long time for calendar to load and appear in the application state.
We hide this nav if there is only 1 bot, and we don't know there are more than 1 bot until they load...
I think this will be solved by a redesign of the multi-bot nav and optimizations around loading.

Closing


Upgrade pallas_call to include block specs

So, what are the desired semantics of pallas_call now? If you don't specify a BlockSpec for an argument they you get a pointer, and if you do... you get a value of the block? What about outputs?

You get the whole array as a block (i.e. replicated in pjit terms).

Why do block specs and up leaking to primitive rules?

It is bug fixes for aspects of the lowering that weren't robust to the offsets that the BlockSpec introduces.


A temporary workaround for our problem with having multiple copies of React

Normally when you import an NPM package that uses React as one of its dependencies, Node will use your application's copy of React to resolve that dependency instead of installing two copies of React (one for your application and one for the module). However, while we're in a development environment, we've had two copies of React installed simultaneously, because our package.json in the periqles/ directory requires one, and so does the package.json in /todo/. This causes problems when the todo application is trying to resolve the React dependency of a PeriqlesForm imported from outside its own source folder. There's also something about React not allowing you to import components from other folders outside the source folder, but that's over my head.
In the future, we can use Webpack or another build tool to compile a minified version of our PeriqlesForm.jsx and import that into the application instead of the full file. This will be more analogous to using a real NPM module, and I think Node will know to use the application's copy of React instead of installing multiple copies. There's also something about a terminal command called npm link that we can use to control which copy of a module Node uses to resolve the application's dependency.
In the meantime, this PR pushes a quick fix by moving the PeriqlesForm components into the application's own source folder. It swaps out the introspect + generatePeriqlesForm strategy for a higher-order component strategy. Now, PeriqlesForm is a wrapper component that sends an introspection query to find out just a subset of the schema — the input type corresponding to the given mutation name — and then, once that query finishes, renders a PeriqlesFormComponent that does the important stuff: crunches all the data, builds a form, and handles user input. I'm not wedded to these component names — we could, for example, call the outer component Periqles and the inner one PeriqlesForm.
To use PeriqlesForm, all that's needed now is to import PeriqlesForm, add the tag to an existing component, and pass it all the usual props plus the RelayEnvironment instance being used by the current component.

Resolved merge conflicts and improved logic for enumerated fields. They display nicely now, as dropdowns!


how to add tags for articles?

I tried many times to enter tags for new post. But it doesn't work. Does the tag need a format?

@Tricrepe did you figure it out? I was looking for the same information

I reproduce with node express as described at: https://github.com/gothinkster/node-express-realworld-example-app/pull/116
I then put a print on the server:
diff --git a/routes/api/articles.js b/routes/api/articles.js
index c17ca61..401448f 100644
--- a/routes/api/articles.js
+++ b/routes/api/articles.js
@@ -126,6 +126,8 @@ router.post('/', auth.required, function(req, res, next) {
   User.findById(req.payload.id).then(function(user){
     if (!user) { return res.sendStatus(401); }

+    console.error('asdf');
+    console.error(req.body.article);
     var article = new Article(req.body.article);

     article.author = user;

and when I create a new article it gives:
{ title: 'ti3', description: 'ab3', body: 'bo3', tagList: [] }

which suggests that it is a bug in React not sending the tags.
Ermm, actually the reference instance also has broken tags: https://demo.realworld.io/#/ ... but it is based on Angular instead of React...

Found it out: you have to hit the Enter key, updated that info in my above comment.


[Bug] Toolip overlapes - High

Problem:
Currently most sever accidents have overlapping tooltips:

Also, that map boundaries are limited due to the card size and shape
Solution:

make 3 variation of this card (tooltip with date only, date + time, date + complete description)
Make odd tooltips appear left of the marker, and even tooltips on the right side.

Notes:
This is a minimal efforts solution - should we consider a better one?

Posponed: make 3 variation of this card (tooltip with date only, date + time, date + complete description)
Currently we show only date, in order to make a minimal version without tooltip overlaps


packaging/suse: updated the templates for the release script

Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

Merging myself, this has already been tested in OBS :smile:


Extend kmstools to get Encryption Context from CLI

This commit modifies kmstool-instance to be able to pass Encryption context from command line arguments. Context shall be passed using the new --encryption-context KEY=VAL argument. User can specify multiple key-value pairs via an invocation like --encryption-context KEY1=VALUE1 --encryption-context KEY2=VALUE2.
Application kmstool-enclave has been modified to process Encryption context from the received command, and pass it further to the KMS API.
Issue #143

Can/will the same change be done for kmstool-enclave-cli?

Can/will the same change be done for kmstool-enclave-cli?

Can do, but probably in a separate PR. The reason is, Encryption contexts should also supported for the genkey command, which means, that aws_kms_generate_data_key_blocking API needs to be also extended to support encryption contexts.


FORM_PREFIX in example/doc and code don't match for version 0.12.0

Rasa Core version:0.12.0
Python version: 3.6
Operating system (windows, osx, ...):osx
Issue:
The FORM_PREFIX is form:  in training/structures.py while in examples/formbot/data/stories.md and document, the sample is
## happy path
* request_restaurant
    - restaurant_form
    - form{"name": "restaurant_form"}
    - form{"name": null}
    - utter_slots_values

And in training/dsl.py, it use FORM_PREFIX to do regex match. I believe we should update sample and doc. Also, as FORM_PREFIX is used in regex match, I suggest we can remove the space from FORM_PREFIX for more compatible usage.
elif re.match(r'^[*\-]\s+{}'.format(FORM_PREFIX), line):

Content of domain file (if used & relevant):

Thanks for raising this, but these are two different things. Take a look at the documentation here:
https://rasa.com/docs/core/slotfilling/
https://rasa.com/docs/core/interactive_learning/#section-interactive-learning-forms


ARROW-15958: [Java][Docs] Improve and document StackTrace

This can be useful to identify the origin of a leaked buffer.
While there's a "public" API, it wasn't actually usable because it has a parameter of package-private type. This adds an overload that doesn't take that parameter so the API is actually usable.

CC @davisusanibar

I'll open PRs to bump the timeout on the docs build (looks like we're getting close to the current 30 minutes) and fix some of those Sphinx warnings I'm seeing


change ajax to update on changed content

this should fix #36
i also duplicated the waiting transcode icon to be a placeholder waiting icon (see #37). this just stops the console 404 errors and made debugging easier
all the merge commits are me updating my branch to be level with yours

btw the build failed because of a credit thing Job has been terminated due to insufficient credits balance


Use project linter versions

I don't think these action improvements require a major version bump as they remain compatible without changing the other repos

Testing running this against ops:
https://github.com/scene-connect/zuos-operations/pull/1191

https://github.com/scene-connect/zuos-operations/actions/runs/5942323854


Building with custom p12 files is only copying "P12_GENESIS_FILE_NAME"

I was doing a build with my own custom p12 files.  I used the cl-wallet.jar to create 3 different p12 files. I placed the 3 new p12 files in "source/p12-files" and removed the default p12 files.
I edited the .env file with all of the correct information.
I thought everything went fine.
I did the hydra install and hydra build with no issue (that I knew).  But when I did the hydra start_genesis it loaded all the images... but when it got to, "Joining currency l1 containers to build the cluster", it never was able to join them. No error or anything it just went through all of the tries (it actually tried 11/10 times). Then it moved on through the rest of the process.
I noticed 2 of the cluster node urls failed. 9300 and 9400 failed to load.
So... I decided to try building each separately.
I ran --only currency-l1 and I noticed it would copy "techware-key.p12" which in my .env file is "P12_GENESIS_FILE_NAME"
I ran --only currency-l0 and it copied the same file "techware-key.p12".
I ran --only global-l0 and it copied the same file "techware-key.p12".
It never tried to copy my other p12 files.  Only the "P12_GENESIS_FILE_NAME".

Here is the relevant portion of my .env file...
P12_GENESIS_FILE_KEY_ALIAS=techware-key
P12_GENESIS_FILE_PASSWORD=********

P12_NODE_2_FILE_NAME=techware-key-1.p12
P12_NODE_2_FILE_KEY_ALIAS=techware-key-1
P12_NODE_2_FILE_PASSWORD=********

P12_NODE_3_FILE_NAME=techware-key-2.p12
P12_NODE_3_FILE_KEY_ALIAS=techware-key-2
P12_NODE_3_FILE_PASSWORD=********```

Here is the build output from when I performed the build.  Notice it only ever copies techware-key.p12.
[+] Building 12.2s (8/8) FINISHED
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 1.02kB                                     0.0s
 => [internal] load .dockerignore                                          0.1s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/ubuntu-with-java-and-s  0.0s
 => [internal] load build context                                          0.0s
 => => transferring context: 77B                                           0.0s
 => CACHED [1/3] FROM docker.io/library/ubuntu-with-java-and-sbt           0.0s
 => [2/3] COPY p12-files/techware-key.p12 techware-key.p12                 0.1s
 => [3/3] RUN apt-get install wget -y &&     echo "Getting global-l0 jar  11.0s
 => exporting to image                                                     1.0s
 => => exporting layers                                                    0.9s
 => => writing image sha256:3f20112fbc5f17a09cbd619fca7217e59db7976f2edca  0.0s
 => => naming to docker.io/library/global-l0                               0.0s
 Building Currency L0 image... (NO CACHE)
[+] Building 47.2s (10/10) FINISHED
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 686B                                       0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/ubuntu-with-java-and-s  0.0s
 => CACHED [1/5] FROM docker.io/library/ubuntu-with-java-and-sbt           0.0s
 => [internal] load build context                                          0.0s
 => => transferring context: 18.58kB                                       0.0s
 => [2/5] COPY project/techware-metagraph codebase/techware-metagraph      0.1s
 => [3/5] COPY p12-files/techware-key.p12 techware-key.p12                 0.1s
 => [4/5] RUN cd codebase/techware-metagraph  &&     sbt currencyL0/asse  42.0s
 => [5/5] RUN mv codebase/techware-metagraph/modules/l0/target/scala-2.13  0.8s
 => exporting to image                                                     4.0s
 => => exporting layers                                                    4.0s
 => => writing image sha256:3e7a18a6c5fbcc01d67a4de222c24e264be798b04e335  0.0s
 => => naming to docker.io/library/currency-l0                             0.0s
Global L0 image built
Currency L0 image built
Building Currency L1 image... (NO CACHE)
[+] Building 48.1s (10/10) FINISHED
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load build definition from Dockerfile                       0.1s
 => => transferring dockerfile: 749B                                       0.0s
 => [internal] load metadata for docker.io/library/ubuntu-with-java-and-s  0.0s
 => CACHED [1/5] FROM docker.io/library/ubuntu-with-java-and-sbt           0.0s
 => [internal] load build context                                          0.0s
 => => transferring context: 1.91kB                                        0.0s
 => [2/5] COPY project/techware-metagraph codebase/techware-metagraph      0.1s
 => [3/5] COPY p12-files/techware-key.p12 techware-key.p12                 1.0s
 => [4/5] RUN cd codebase/techware-metagraph &&     sbt currencyL1/assem  41.7s
 => [5/5] RUN mv codebase/techware-metagraph/modules/l1/target/scala-2.13  0.8s
 => exporting to image                                                     4.3s
 => => exporting layers                                                    4.3s
 => => writing image sha256:5776c6707e0e92916c03fd20b7f90a1248ce76ff4893a  0.0s
 => => naming to docker.io/library/currency-l1-initial-validator           0.0s```

Using the most recent develop branch still has an issue when using custom p12 files.  Building with the default P12 files doesn't seem to have any issues.

Docker Compose v2 found. Using command: docker compose

Creating docker custom-network...

Network created

Starting global-l0 image ...

[+] Running 1/1

 ✔ Container l0-global  Started                                                                                0.7s

global-l0 image started

global-l0 still booting... waiting 30s (1/10)

global-l0 still booting... waiting 30s (2/10)

global-l0 still booting... waiting 30s (3/10)

global-l0 still booting... waiting 30s (4/10)

global-l0 still booting... waiting 30s (5/10)

global-l0 still booting... waiting 30s (6/10)

global-l0 still booting... waiting 30s (7/10)

global-l0 still booting... waiting 30s (8/10)

global-l0 still booting... waiting 30s (9/10)

Could not find the global-l0 instance, make sure to run the global-l0 container```

Hey @Proph151Music, so I've just tested with custom p12 files (different from the default ones) and it works smoothly. Can you please run again and then run this docker logs --follow l0-global in another terminal while the global-l0 is starting? Maybe we are having another issue that we need to check. Be sure to build again the global-l0 before running.

What is the proper way to create custom P12 files for the SDK?  I have tried 2 different ways but I have the same issue either way.  This log all I did was edit the .env with the details I wanted to use for all 3 p12 files and renamed the default p12 files in the source/p12-files directory.

21:53:44.059 [io-compute-blocker-1] INFO  o.t.s.a.TessellationIOApp - App environment: Dev

21:53:44.062 [io-compute-blocker-1] INFO  o.t.s.a.TessellationIOApp - App version: 2.0.0-alpha.2

java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted file.

	at org.bouncycastle.jcajce.provider.keystore.pkcs12.PKCS12KeyStoreSpi.engineLoad(Unknown Source)

	at org.bouncycastle.jcajce.provider.keystore.util.AdaptingKeyStoreSpi.engineLoad(Unknown Source)

	at java.base/java.security.KeyStore.load(KeyStore.java:1479)

	at org.tessellation.keytool.KeyStoreUtils$.$anonfun$unlockKeyStore$3(KeyStoreUtils.scala:140)

	at delay @ org.tessellation.keytool.KeyStoreUtils$.$anonfun$unlockKeyStore$2(KeyStoreUtils.scala:140)

	at as @ com.monovore.decline.effect.CommandIOApp$.addVersionFlag(CommandIOApp.scala:67)

	at delay @ org.tessellation.keytool.KeyStoreUtils$.unlockKeyStore(KeyStoreUtils.scala:139)

	at flatTap @ org.tessellation.keytool.KeyStoreUtils$.unlockKeyStore(KeyStoreUtils.scala:139)

	at delay @ org.tessellation.keytool.KeyStoreUtils$.reader(KeyStoreUtils.scala:115)

	at main$ @ com.monovore.decline.effect.CommandIOApp.main(CommandIOApp.scala:12)

	at main$ @ com.monovore.decline.effect.CommandIOApp.main(CommandIOApp.scala:12)

	at main$ @ com.monovore.decline.effect.CommandIOApp.main(CommandIOApp.scala:12)

	at flatMap @ org.tessellation.sdk.app.TessellationIOApp.$anonfun$main$8(TessellationIOApp.scala:84)```

The other method I tried was creating my own p12 files by exporting the details:
export CL_KEYALIAS="techware-genesis"
export CL_PASSWORD="MyPassword"```

and then running this command:
**java -jar cl-keytool.jar generate**

Then I edit the .env and overwrite the files in source/p12-files.

Both methods end with the same results.  So maybe I am doing something wrong?

hey @Proph151Music, what's your java version?

java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.292-b10, mixed mode)
techware@techware-box:~/euclid-development-environment$ npm -v
9.6.4

thanks. this one and java 11 are supported, so that's not a case here :+1:

Could it be because I use a $ in my password?

@Proph151Music try without, you'll see

Will make a new build now and report back...

docker logs --follow l0-global

I have the same issue without the $ in the password.
Here is my .ENV file (privacy parts edited)
GITHUB_TOKEN=ghp_********
PROJECT_NAME=techware-metagraph
DEFAULT_TESSELLATION_PROJECT_VERSION=v2.0.0-alpha.2
DEFAULT_TESSELLATION_PROJECT_VERSION_TEMPLATE=2.0.0-alpha.2
P12_GENESIS_FILE_NAME=techware-gen.p12
P12_GENESIS_FILE_KEY_ALIAS=techware-gen
P12_GENESIS_FILE_PASSWORD=********
P12_NODE_2_FILE_NAME=techware-node2.p12
P12_NODE_2_FILE_KEY_ALIAS=techware-node2
P12_NODE_2_FILE_PASSWORD=********
P12_NODE_3_FILE_NAME=techware-node3.p12
P12_NODE_3_FILE_KEY_ALIAS=techware-node3
P12_NODE_3_FILE_PASSWORD=********

Oh man guys... I'm so sorry.  This was user error! :face_with_spiral_eyes:
My dumbass didn't realize I was copy/pasting an extra character into the export password field. So it was different then what I was putting in my .env file! LMAO
All I can do is laugh at myself. LOL


New-User: Error when ExternalId or ExternalType are not defined

ExternalId and ExternalType are not mandatory parameters for New-User cmdlet. They have a default value on Set-User but not on New-User.
So, when you call New-User without defining those fields (e.g. New-ApcUser -Svc $svc -Name $name -Mail $mail;) , then you get error:
System.Management.Automation.ParameterBindingArgumentTransformationException: Cannot process
argument transformation on parameter 'ExternalId'. Cannot convert value "" to type
"System.Guid". Error: "Unrecognized Guid format." --->

Suggestion : adding the default values [$ExternalId = [guid]::NewGuid(), $ExternalType = 'Internal'] for those parameters on New-User.ps1 too.

One more point for user cmdlets: create/update two users with the same combination of external id and external type is allowed right now. If it shouldn't be allowed there should be an error handling on Set-User and New-User scripts

@seilc1 can you take a look and let me know if I should go on and fix those?

@pbimpisidis
ExternalId:
$ExternalId parameter has to be changed to be mandatory and has to be validated to not be null or whitespace (PoSH annotation). Furthermore $ExternalId has to be a string instead of a [guid] as the backend accepts strings. Defining a default value is not a good idea.
ExternalType:
$ExternalId parameter has to be changed to be mandatory and has to be validated to not be null or whitespace (PoSH annotation).
@pbimpisidis @stevenpi will fix that bug.

Fixed by PR #107


Resolves #31

Removed deprecated PdfMerger as in #31 and replaced with PdfReader and PdfWriter. No changes made to test_case as functionality seems to be exactly the same.

Good job @kommade!
I just approved this PR.
I'll let @MartinThoma review those changes as well before merging,
as he may want to perform extra checks himself to ensure the behaviour of pdfly has not changed,
or maybe suggest new unit tests.
By the way, are you contributing as part of https://hacktoberfest.com @kommade?

@MartinThoma : do you think that this could be merged? 🙂

@kommade I'm very sorry that it took me so long to review / merge this PR :see_no_evil:
I remember that I had a quick glance, but wanted to add a few tests. Then I didn't have time for that and forgot :sweat_smile:
Always feel free to gently remind me of PRs - just like Lucas did :-)
Good work with the PR! There was a small off-by-one that was easy to fix with more tests.
Your contribution will be on PyPI latest tomorrow :-)

@Lucas-C Thank you for pinging me about this :hugs:  And also for your help with the other issues/PRs/discussions :heart:

Hi! I actually just wanted to try contributing to public projects on github and it just happened to be hacktoberfest too! I'm glad it was accepted, no worries on the delay I wasn't too concerned anyway


Java indexer: don't generate anchors for implicit constructors [phab:D386]

Created by schroederc at 2015-07-08 21:02:48:

zarko accepted this revision at 2015-07-08 22:47:01

schroederc closed via commit 56fc6fbce03c33a0a3db2f57917a38bf3b4324e8 at 2015-07-08 23:07:19


Bump aws-amplify version from 2.2.6 to 3.2.16

Issue #, if available:
Description of changes:
Bump aws-amplify version from 2.2.6 to 3.2.16
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closing in favor of #45.

Closing in favor of #45.


1-entry enum compile error

To keep track of the conversation on d4ecf002be3490e27a1cd50bd00a12837beaffb1

(repeating my comment from d4ecf00)
ULit.minWidth requires a minimum width of 1, which is incompatible with zero-width wires.  Should it be defined as n.bitLength instead of 1 max n.bitLength?

I can confirm that on my old version rocket-chip  that change solves the issue, will submit a PR in a sec.

Edit: firrtl is not able to generate verilog for that firrtl :(

When is it fixed? I think it's urgent but simple?


[Question] Retrieving all variables instead of compliance only in API

First off, labeling is only available for contributors, so I can't tag this issue as a question.
As I see it right now, it's not possible to retrieve all the variables from the verbose print. The compliance object only has flags for each category (for example registry) but I would like to retrieve all flags within the registry flag. Basically, I want the print in the screenshot instead of the condensed information in the next cell:

Is there a plan to add this feature or did I just overlook it?

Hello and welcome @beld78!
Unfortunately, this is not possible at the moment. We anticipate that we'll add something like that to the public API though. There is a somewhat cryptic issue here: https://github.com/fair-software/howfairis/issues/269. We'll need to add this feature to have more detailed reporting in fairtally.
In the meantime, if you need to throw together something quickly, you could run these methods
https://github.com/fair-software/howfairis/blob/008552b7266e229bd38553631d7dfe3554df18b2/howfairis/mixins/registry_mixin.py#L15-L24 (self refers to an instance of Checker there)
Good luck, and let us know how you get on,
-Jurriaan

Thanks @beld78 for reporting and @jspaaks for the answer. We are running into the same issue. This is definitively an important feature to have. What is your timeline for this feature?
I had a look at the internal structure, but it seems to be not very straightforward to implement. Outside of the https://github.com/fair-software/howfairis/tree/main/howfairis/cli submodule, nothing should print to stdout I think. For example, this method should not print to stdout directly (or the entire class shouldn't):
https://github.com/fair-software/howfairis/blob/008552b7266e229bd38553631d7dfe3554df18b2/howfairis/mixins/registry_mixin.py#L8-L33
After this is refactored, it seems to be straightforward to make a JSON export option.
Feel free to tag me in any issues regarding this topic. Happy to contribute somewhere during the development of this feature.

We won't be able to work on this for the coming weeks, resources have been allocated elsewhere. But after that, my guess is we'll pick this up as one of the first things. We can ping you then if you'd like to contribute? Would be good to get more opinions and use cases


Revert to jest-extended dependency

Recently swapped jest-extended dev dependency for @overlookmotel/jest-extended.
@overlookmotel/jest-extended is a fork containing a fix for slow expectations bug contained in PR https://github.com/jest-community/jest-extended/pull/545.
Once that PR is merged, switch back to original jest-extended.

These changes have now been merged and new version of jest-extended released:
https://github.com/jest-community/jest-extended/releases/tag/v3.2.1


Make Colab out of this

Perhaps make the notebooks runnable as a Colab, this would enable people to try training the models without even installing the code

Won't fix. Instead consider codespaces


The RefreshCounter in Payload executor is 32-bits

Hi,
Longer running tests using the at_refresh feature can get discrepancies in their behavior when the counter overflows.  This takes about 4 hours.  Would it be possible to expand this to 64 bits to avoid this situation?

A question related to this: if we disable the memory controller-issued REFs right before the memory training, we still always observe around 3.5M REFs after the FPGA booted up. Do we correctly assume that this means the FPGA starts sendings REFs to the DRAM device immediately after booting up (already before the memory training started)?


Refactor CompareHands.java

Currently the CompareHands.java doesn't calculate the winner when two hands are the same (ie: pair vs pair) and instead declares it a tie or says the player wins. Also figure out how to make it consider players that have folded and not calculate their hand when determining the winning hand.

This is not as easy as it might seem at first glance. The current code will compare two hands (so for example, it will decide that a straight beats a pair). However, this gets more difficult with an arbitrary number of players. It should be a really fun problem though. I would suggest doing some research into how this is usually done. I'm sure there are a lot of good resources online to help.

W18 OK (200 pts)


docs(notifications): split to multiple docs and add more info

Hey, I just made a Pull Request!

split docs to 3 different pages; getting started, processors and usage
add information about email notifications
add information about scaffolder module

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Not stale

@drodil could you maybe rebase here to see if we can fix the microsite build? :pray:

Will do as soon as I beat this 40 degree fever 🤒

oh... it seems I had a bad/wrong reference. 😮  Definitely not intended.
Thanks @benjdlambert

Not stale

Hi @drodil, I was going to merge this as it's been triple approved but seems the CI is not passing, prettier is unhappy. Can you give it a look, please?

@awanlin fix'd! ✅

Sorry, I was too slow with this and conflicts got in again :(

@awanlin new try with rebase (hope I got it right... 😆 )


PNG format image

I hope there is a way to get the image as png instead of jpg

Are you referring to the photo of the barcode as it was captured, or an image generated from the barcode data?
For the photo PNG is a bad choice.
For generating an image from a barcode, you can use this to generate a Bitmap, then convert that to PNG:  https://github.com/journeyapps/zxing-android-embedded/blob/master/zxing-android-embedded/src/com/journeyapps/barcodescanner/BarcodeEncoder.java


[PE-D][Tester D] Suggestion on GUI and parameter constraints

You did some modifications on the GUI and set some parameter constraints, these are good.
However, the bottom-left command box may cause issue to user who use hidden task bar as the task bar likely to emerge every time the user wants to input a new command.
Also, some constraints that are near to real life situation should also be considered. Such as, the person name for a parcel need not to be a real person name (it could even be an emoji), so wider checking constraint should be considered. However, our phone number usually limited to a fixed length, hence the constraint for phone number should be narrower.

Labels: severity.Low type.FeatureFlaw
original: laihuiqi/ped#12

Refer to image:


UserPassCredentials showing password in debug mode

Hello,
I'm using the UserPassCredentials class from azure.common.credentials.
When initializing an instance of the class with a logging level at DEBUG, the password is shown in plain text at at least three locations:

03/30/2018 06:16:46 PM (DEBUG): Supplying headers {'Accept': 'application/json', 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'} and data {'resource': 'https://vault.azure.net', 'grant_type': 'password', 'client_id': '------', 'username'<EMAIL_ADDRESS>'password': '_______}

03/30/2018 06:16:52 PM (DEBUG): Request body was resource=https%3A%2F%2Fvault.azure.net&grant_type=password&client_id=----------&username=r_______%40microsoft.com&password=--------

03/30/2018 06:16:52 PM (DEBUG): Prepared fetch token request body grant_type=password&client_id=-------&password=--------&resource=https%3A%2F%2Fvault.azure.net&username=r______%40microsoft.com

Is this something done on purpose? It seems a bit 'unsafe' to me.

Supposed to be fixed, and the backend is being rewritten anyway in msrestazure 0.6.0 (https://github.com/Azure/msrestazure-for-python/pull/94)


Error messaging in admiral: review & rework

Background Information
From our 2024 roadmap call, @bundfussr made great points about some of the limitations of our error messaging in admiral - e.g. errors thrown when required variables are missing from dataset/dataset_add don't indicate in which dataset they are missing. We should carry out a review across our admiral functions, exploring where error messaging can be improved in terms of: verboseness and detail.
Improvement of our error messaging would be a great enhancement to the admiral experience with minimal (no?) breaking changes, perfectly embodying our admiral post-1.0 ethos.
Definition of Done

Review of error messages across admiral functions (focus on key ones first) to identify any gaps/confusion. Perhaps with a document outlining all the potential improvements? This document could then be reviewed by the team in order to decide on an action plan.
Issues created to improve error messaging.

@bundfussr I have assigned you to this issue as this was originally your suggestion - feel free to proceed with this if you like, or unassign yourself if you would not. I also think more than one person can be involved.

Potential idea: can we get a console message when users are using superseded functions?

Potential idea: can we get a console message when users are using superseded functions?

I feel like this should be a separate issue from the error/warning to users.

@bundfussr I have assigned you to this issue as this was originally your suggestion - feel free to proceed with this if you like, or unassign yourself if you would not. I also think more than one person can be involved.

I think this should be done in a breakout group with some more in-depth discussion.  As this will need some investigation as well as thoughtful discussion.

I think this should be done in a breakout group with some more in-depth discussion. As this will need some investigation as well as thoughtful discussion.

Agree - honestly by initially assigning @bundfussr I was hoping that you could produce a review document, like the one for the function reword effort, that could form the basis of the work of such a group! It was so helpful that maybe we could replicate this modus operandi.

https://cli.r-lib.org/index.html

I'm going to move this to a Discussion as this is a large issue that needs to be broken into smaller chunks to tackle.  Daniel has a presentation for us on Wednesday to help orient us from another project?? @ddsjoberg
https://www.danieldsjoberg.com/ARD-onboarding/05-cli-conditions.html


Remove unimplemented symv declarations

This PR removes the complex symv declarations from wrappers.hh, as these are currently not included in BLAS++.
The presence of these declarations cause a linking error if they are used, whereas without them uses safely fall back to the generic templated implementation in symv.hh.
Until these are moved back from LAPACK++ to BLAS++, as apparently is intended, this PR fixes the linking error.

Superseded by #91.


Can't enable predictive mode on v7.0/v8.0

Video attached. Keyboard is enabled, Eng dictionary loaded, unloaded then reloaded still doesn't display predictive text as a usable mode. Version used in the video is v8.0, though the issue has persisted since v7.0. (I might just be missing something obvious). Phone is a Xiaomi F21 Pro.
https://streamja.com/eERQX (video works best when in fullscreen).

This is probably, because you are trying to use it in the Firefox search bar. Could please try in any other text field? It could even be inside a web page, where it is possible to enter text. Just don't try with this one.

I double checked this.
In some specialized text fields (e.g. password, URL, search, e-mail) Predictive mode is delibaretely forbidden. This logic was implemented by the original author of TT9, many years ago, and I kept it.
As for passwords or emails, I think enabling text predictions is out of the question, because it will lead to more mistakes. However, I see how it can be useful when typing a URL.
Bottom line is: it doesn't bother me, so I do not plan to do it at the moment. But if more people like the idea, I'll do it. Anyone is welcome to give thumbs up to r0usch.

That's definitely a valid point.


Data source phpipam_subnet returns gateway_id as empty string when number is expected

Affected Resource(s)
phpipam_address data source
Provider Version
v1.3.6
Terraform Version
v1.1.9
Terraform Script
data "phpipam_subnet" "subnet" {
  subnet_address = "${var.subnet}"
  subnet_mask    = "${var.cidr}"
}

data "phpipam_first_free_address" "next_address" {
  subnet_id = data.phpipam_subnet.subnet.subnet_id
}

resource "phpipam_address" "ip" {
  subnet_id   = data.phpipam_subnet.subnet.subnet_id
  ip_address  = data.phpipam_first_free_address.next_address.ip_address
  hostname    = "${var.vmname}"
  description = "Managed by Terraform"

  lifecycle {
    ignore_changes = [
      subnet_id,
      ip_address,
    ]
  }
}

#// Determine Gateway IP by gateway_id
data "phpipam_address" "gateway" {
  address_id    = data.phpipam_subnet.subnet.gateway_id
}

Output

Error: Incorrect attribute value type
on ../../../../terraform-modules/vsphere/test-node-phpipam/main.tf line 26, in data "phpipam_address" "gateway":
26:   address_id    = data.phpipam_subnet.subnet.gateway_id
data.phpipam_subnet.subnet.gateway_id is ""
Inappropriate value for attribute "address_id": a number is required.

Expected Behavior:
I was expecting Terraform to look up and return the gateway IP address but it fails with data.phpipam_subnet.subnet.gateway_id returned as an empty string when an integer is needed.

@pavel-z1 Some ideas here?

Hi @gcamblin
This is the same issue https://github.com/lord-kyron/terraform-provider-phpipam/issues/42
Related to the bug in the phpipam API.
Try to write to the phpipam project to fix API response


outputStream in org.takes.rs.RsPrint.printBody(OutputStream) never closes

@yegor256 take a look at this issue please and dispatch it somehow, see par.21

@simonjenga this is by design, we should not close it, since we don't open it. It's not ours.


[Bug/Crash]: Error when exporting project

What happened?
When exporting the project for the first time after loading into it, Godot gives an error message. After the first time this happens, it doesn't happen again when exporting until the project is reloaded. The exported game works fine.
I only tested this with the default Windows Desktop and Linux/X11 export presets, but it's possible that it happens with the rest of the presets as well.
Also tell us, what did you expect to happen?
I expected to not get any errors when exporting.
Version
1.5
Godot Version
v4.0.2.stable.official [7a0977ce2]
GDScript
# main scene file

func _ready():
	Discord_Activity.app_id = <my id>
	print("is discord working: " + str(Discord_Activity.get_is_discord_working()))
	Discord_Activity.details = "asdf"
	Discord_Activity.start_timestamp = int(Time.get_unix_time_from_system())
	Discord_Activity.refresh()

Godot output
editor/export/editor_export_plugin.h:125 - Required virtual method EditorExportPlugin::_get_name must be overridden before calling.

Additional information
No response
Checks

[X] I tried reinstalling the addon or tried to fix it myself with other methods.

yes

The weird thing is ths is a normal godot function tatshould justwork but i'll try to fix it in 2.0

fixed in #21

Is in fact not fixed sorry but i found out the message only appears first time exporting

but i found out the message only appears first time exporting

Didn't I state that in the issue?

Didn't see that

Ok. I mean if it doesn't break the whole addon and is just an annoying message it's fine.

when 2.0 releases let me know if it worked for you but for me its working


NPM Build Assumes window.THREE Exists

While this library has module loader support by way of:
// Module loader support:
if ( typeof define === 'function' && define.amd ) {
    define( 'spe', SPE );
}
else if ( typeof exports !== 'undefined' && typeof module !== 'undefined' ) {
    module.exports = SPE;
}

Using module.exports to expose the SPE object is not sufficient without also requiring THREE as a dependency. Therefore, this library--always--needs to be shimmed to even function when loaded via NPM.

Thanks, I'm on it (finally).


Allow provisioner to be configured to force on-demand nodes & disable auto-upgrade

On a cluster-wide basis, allow the TPU Provisioner to ignore requests for reservation and spot node pools.
ALSO: Disable auto-upgrade for node pools as this would be disruptive to a running job

/gcbrun


BUG: Players still able to use weapons

-Players still able to override this script by going into another server where they have all weapons, set up a loadout and coming back in the server, spawn their loadout and the script does not remove the weapons away from them.

The guns will do no damage and will eventually get removed


Remove the node protocol from the require statement

This should improve the situation for certain JavaScript bundlers in the ecosystem which do not like the node:crypto require statement, see #225 and #243.

Urgh, this is probably a no-go too, if we remove the node: prefix we break Cloudflare:
✘ [ERROR] Could not resolve "crypto"

    ../../lib/util.js:95:21:
      95 │     crypto = require("crypto").webcrypto;
         ╵                      ~~~~~~~~

  The package "crypto" wasn't found on the file system but is built into node.
  Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility.


cannot make on Ubuntu

Hi,
I have managed to compile ULTRA on an M2 mac. However, I would rather use it on our server, running Ubuntu 20.04. Unfortunately 'make' results in a whole load of errors.
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.hpp:64:3: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’?
64 |   std::vectorstd::string *consensi;
|   ^~~
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.hpp:91:8: error: ‘vector’ in namespace ‘std’ does not name a template type
91 |   std::vector<RepeatRegion *> *SplitRepeats(const int depth, const int cutoff);
|        ^~~~~~
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.hpp:91:3: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’?
91 |   std::vector<RepeatRegion > SplitRepeats(const int depth, const int cutoff);
|   ^~~
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp: In constructor ‘RepeatRegion::RepeatRegion()’:
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp:213:3: error: ‘consensi’ was not declared in this scope; did you mean ‘consensu ’?
213 |   consensi = nullptr;
|   ^~~~~~~~
|   consensus
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp:214:3: error: ‘splits’ was not declared in this scope
214 |   splits = nullptr;
|   ^~~~~~
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp: In destructor ‘RepeatRegion::~RepeatRegion()’:
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp:266:7: error: ‘splits’ was not declared in this scope
266 |   if (splits != nullptr) {
|       ^~~~~~
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp:268:12: error: type ‘’ argument given to ‘delete’, expected pointer
268 |     delete splits;
|            ^~~~~~
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp:272:7: error: ‘consensi’ was not declared in this scope; did you mean ‘consensu ’?
272 |   if (consensi != nullptr) {
|       ^~~~~~~~
|       consensus
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp:274:12: error: type ‘’ argument given to ‘delete’, expected pointer
274 |     delete consensi;
|            ^~~~~~~~
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp: At global scope:
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp:644:30: error: no declaration matches ‘std::vector<RepeatRegion> RepeatRegion::SplitRepeats(int, int)’
644 | std::vector<RepeatRegion > RepeatRegion::SplitRepeats(const int depth,
|                              ^~~~~~~~~~~~
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp:644:30: note: no functions named ‘std::vector<RepeatRegion> RepeatRegion::SplitRepeats(int, int)’
In file included from /media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.cpp:6:
/media/data1/bin/ULTRA-b89df73b5644395eeafd15a328227c0f6929716c/src/repeat.hpp:24:7: note: ‘class RepeatRegion’ defined here
24 | class RepeatRegion {
|       ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/ultra.dir/build.make:141: CMakeFiles/ultra.dir/src/repeat.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/ultra.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Fixed - thanks!

Thanks!
Any chance you could also make the necessary corrections to the version outputting bed files, please (ULTRA-b89df73b5644395eeafd15a328227c0f6929716c)? Quite a useful feature.

I’m on paternity leave right now, but our official 1.0 release (which includes BED support and has the build-fix) will be completed and pushed to our main branch in the upcoming week(s). Until then, if you encounter the error at compile time you can add “#include ” to the top of src/repeat.hpp and everything will compile fine on Ubuntu. Thanks once again!

Looks like github removed part of Daniel's comment.  It should say:
add
#include <vector>
to src/repeat.hpp


Add redis.Scan() to scan results from redis maps into structs.

The package uses reflection to decode default types (int, string etc.) from Redis map results (key-value pair sequences) into
struct fields where the fields are matched to Redis keys by tags.
Similar to how encoding/json allows custom decoders usingUnmarshalJSON(), the package supports decoding of arbitrary
types into struct fields by defining a Decode(string) errorfunction on types.
The field/type spec of every struct that's passed to Scan() is cached in the package so that subsequent scans avoid iteration
and reflection of the struct's fields.
Issue: https://github.com/go-redis/redis/issues/1603

:+1: I've left some comments - hopefully it is not too much :) Also please set "Allow edits from maintainers" on the PR so I can add commits...
Let's move the code to internal/hscan package for now so all types are private. And the public API could look like err := rdb.HGetAll(ctx, "key").Scan(&strct).

:+1: I've left some comments - hopefully it is not too much :) Also please set "Allow edits from maintainers" on the PR so I can add commits...
Let's move the code to internal/hscan package for now so all types are private. And the public API could look like err := rdb.HGetAll(ctx, "key").Scan(&strct).

Incorporated all the changes you suggested and moved the package to internal/hscan.
PS: Did a force push because it was mostly hygiene fixes.

Incorporated all the changes you suggested and moved the package to internal/hscan.
PS: Did a force push because it was mostly hygiene fixes.

@knadh I've pushed few small changes, but this looks good already.
Could you add SliceCmd.Scan and a test (or two :)?

@knadh I've pushed few small changes, but this looks good already.
Could you add SliceCmd.Scan and a test (or two :)?

Could you add SliceCmd.Scan and a test (or two :)?

Yep, will push this.

Could you add SliceCmd.Scan and a test (or two :)?

Yep, will push this.

Could you add SliceCmd.Scan and a test (or two :)?

Added here: https://github.com/go-redis/redis/pull/1631/commits/a4144ea98eb00abe3eb5f78621d93c1c8c229493

Could you add one end-to-end test or maybe even an example? That will help people to get started
rdb.HSet(..)
rdb.HSet(...)

rdb.HGetAll(ctx, "key").Scan(&dst)

I just realised, StringStringMapCmd will also need to support Scan() for HGetAll() to work. Okay to add?

@knadh I've pushed a change with StructValue so StringStringMapCmd.Scan  can be slightly more efficient. I think this PR is ready to be merged if you are happy with that change. It will be part of v8 but marked unstable so we can change it based on the feedback.

missing test for mget command, we should complete it.
and...if it is 386 platform, there may be ERROR: "strconv.ParseInt: parsing "1234567890123456789": value out of range".
reflect.Int64、reflect.Uint64、reflect.Float64,
but I’m not sure if we still need to be compatible with the 386 platform
`
redis <IP_ADDRESS>:6379>> set key<PHONE_NUMBER>123456789
type Temp struct {
Key int64 redis:"key"
}
`
it should run normally.

missing test for mget command, we should complete it.

Added test https://github.com/knadh/redis/commit/f8a546b4820de9e52fe0d244e24dca155688abef. @monkey92t I guess you could add platform specific parsing.

@knadh I've pushed a change with StructValue so StringStringMapCmd.Scan can be slightly more efficient. I think this PR is ready to be merged if you are happy with that change. It will be part of v8 but marked unstable so we can change it based on the feedback.

@vmihailenco looks fine. Please go ahead.

:partying_face:

Hello,
What if in this case I have a slice like []interface{} instead of an interface only? I'm getting this redis.Scan(non-struct *[]models.Price)
I see that in the code you check for if v.Kind() != reflect.Struct
I need it to be a slice since the result I'm getting from MGet is a slice.
Any ideias on what I'm doing wrong?

Hello,
What if in this case I have a slice like []interface{} instead of an interface only? I'm getting this redis.Scan(non-struct *[]models.Price)
I see that in the code you check for if v.Kind() != reflect.Struct
I need it to be a slice since the result I'm getting from MGet is a slice.
Any ideias on what I'm doing wrong?

under normal circumstances, the data format of redis is as follows:
<IP_ADDRESS>:6379>>set id 100
<IP_ADDRESS>:6379>>set name monkey
<IP_ADDRESS>:6379>>set age 20

<IP_ADDRESS>:6379>>mget id name age
//["id": 100, "name": "monkey", "age": 20]

//golang
type Per struct {
	ID   int    `redis:"id"`
	Name string `redis:"name"`
	Age  int    `redis:"age"`
}
p := &Per{}
err := redis.Mget(ctx, "id", "name", "age").Scan(p)

// p.ID = 100
// p.Name = monkey
// p.Age = 20

i don’t know what you mean by []interface, if i don’t understand correctly, you can add an example to describe your problem in detail.

Hello,
What if in this case I have a slice like []interface{} instead of an interface only? I'm getting this redis.Scan(non-struct *[]models.Price)
I see that in the code you check for if v.Kind() != reflect.Struct
I need it to be a slice since the result I'm getting from MGet is a slice.
Any ideias on what I'm doing wrong?

under normal circumstances, the data format of redis is as follows:
<IP_ADDRESS>:6379>>set id 100
<IP_ADDRESS>:6379>>set name monkey
<IP_ADDRESS>:6379>>set age 20

<IP_ADDRESS>:6379>>mget id name age
//{"id": 100, "name": "monkey", "age": 20}

//golang
type Per struct {
	ID   int    `redis:"id"`
	Name string `redis:"name"`
	Age  int    `redis:"age"`
}
p := &Per{}
err := redis.Mget(ctx, "id", "name", "age").Scan(p)

// p.ID = 100
// p.Name = monkey
// p.Age = 20

i don’t know what you mean by []interface, if i don’t understand correctly, you can add an example to describe your problem in detail.

I have hundreds of keys like price/tokenX-tokenY, so for what I see I should create a struct with all the keys, which would not be possible. And each value is a JSON structure.
The response from MGet is something like this:
[ {"id":1,"base":"X","quote":"Y", "price": 1} ]
I'm a little lost here on what I have to do :')

Hello,
What if in this case I have a slice like []interface{} instead of an interface only? I'm getting this redis.Scan(non-struct *[]models.Price)
I see that in the code you check for if v.Kind() != reflect.Struct
I need it to be a slice since the result I'm getting from MGet is a slice.
Any ideias on what I'm doing wrong?

under normal circumstances, the data format of redis is as follows:
<IP_ADDRESS>:6379>>set id 100
<IP_ADDRESS>:6379>>set name monkey
<IP_ADDRESS>:6379>>set age 20

<IP_ADDRESS>:6379>>mget id name age
//{"id": 100, "name": "monkey", "age": 20}

//golang
type Per struct {
	ID   int    `redis:"id"`
	Name string `redis:"name"`
	Age  int    `redis:"age"`
}
p := &Per{}
err := redis.Mget(ctx, "id", "name", "age").Scan(p)

// p.ID = 100
// p.Name = monkey
// p.Age = 20

i don’t know what you mean by []interface, if i don’t understand correctly, you can add an example to describe your problem in detail.

I have hundreds of keys like price/tokenX-tokenY, so for what I see I should create a struct with all the keys, which would not be possible. And each value is a JSON structure.
The response from MGet is something like this:
[ {"id":1,"base":"X","quote":"Y", "price": 1} ]
I'm a little lost here on what I have to do :')

I resolved it by doing the following:
res := Cli.MGet(ctx, keys...)

var prices []models.Price

str := fmt.Sprintf("%+v", res.Val())
rawIn := json.RawMessage(str)

bytes, err := rawIn.MarshalJSON()

json.Unmarshal(bytes, &prices)

Thanks!

@mdelclaro The Scan() function is specifically for scanning Redis values by their keys into structs. This is useful for MGET, HGETALL etc. In your example, you are pulling JSON strings as values from Redis and scanning keys of JSON strings, not keys from Redis. So, you indeed have to use json.Unmarshal.

Scan doesn’t seem to work on nested structures: https://github.com/go-redis/redis/issues/1806. Based on the comments in this PR, it seems that “the package supports decoding of arbitrary
types into struct fields by defining a Decode(string) error function on types” was not actually implemented. Is this correct? If yes, will it be implemented anytime soon?

Decoding time.Time could be a big win.

cannot scan redis.result 2021-12-28T11:31:45.611441+08:00 into struct field UpdatedAt of type time.Time, error-redis.Scan(unsupported time.Time)

Hi guys, when scan will support time.Time?

The issue with time.Time is the format to parse. Since 2021-12-28T11:31:45.611441+08:00 is the default format that's stringified, maybe we can hardcode scanning for just this one format and document that. @vmihailenco what do you think?

See #2317


Snap turning not working with HP Reverb G2

When checking out the latest main, I noticed that snap turning is not working anymore (using HP Reverb G2).
While the turning itself works, every time I turn I also move (probably strafe).
Tested it with both Godot 4.1.1 and 4.0.3.

I believe this will be fixed by https://github.com/GodotVR/godot-xr-tools/pull/482

This should be fixed now, could you check out the main branch and try again.

Thx a lot, it is fixed.


Add fix for jobs to not enqueue if they're already past

The Bug
We discovered that our crons were running at strange times after our deploys, and isolated it down to this: sidekiq-cron will check if jobs have been previously run, but if that data is saved in sidekiq, there will be no history of a job once the server spins up for the first time. This can be a problem for rapid deployment.
Our Use Case
We have a cron that runs once a month (or is supposed to), but we found out that it was running pretty close to each time we deployed on that specific server and believe it's isolated to the reason above.
What This PR Does
This PR verifies that when a job is caught in the poller, it hasn't already passed it's scheduled run window. The poller will run every 10 seconds and if a job comes in that is more than a minute late, it won't enque!

Investigating the failing tests.

Looks like the tests actually fail in master as well, and the tests that fail locally are different than what fails in Travis.

Still looking into the tests, but it turns out it the root of the problem wasn't the history-erasing issue like I thought, it has something to do with a race condition. When I queue up a job 10_000 times it runs even when it's not supposed to.

Any interest in merging this kind of failsafe? We find it very useful in our production system where we have a monthly job that we don't want to kick off each time redis gets cleared.

It looks like the most recent sync with the changes in master fixed the failing specs. Also, I can confirm this did fix our issue for certain.

@ondrejbartas we have been using this PR in one of our production systems for over a month now and it has been working well for us. Is there any other evidence we can provide for why this change is valuable?

bump, would love to see this fixed

bumped to new version 0.4.2

thank you guys...


ROM editor

[x] Load ROM data from file
[x] Save ROM data to file
[x] Allow larger words (e.g. 32 or 48-bit words) and split the output into multiple pins.

ROM files are and should be placed inside the user's data folder, in a subfolder names "roms" and should have a ".rom" extension.

In case the ROM has a word size larger than 16 bits, multiple outputs are generated. Output values are calculated from the LSB to the MSB, from top to bottom. Max word size is 64 bits.


Make verify email browsable

Verify email was not browsable. get function added in order to solve that.
Fix issue: https://github.com/Tivix/django-rest-auth/issues/558

Hi @brunomichetti,
I'm confused. The title of this PR is "Make verify email browsable", but the code change raises  MethodNotAllowed('GET'), which would make it NOT browsable. What am I missing?

Hi @brunomichetti,
I'm confused. The title of this PR is "Make verify email browsable", but the code change raises MethodNotAllowed('GET'), which would make it NOT browsable. What am I missing?

Hello @iMerica thanks for the review!
When you develop, you should be able to test manually the registration/verify-email/ endpoint. Right now, if you go to that endpoint, this error raises:

Whit the fix I added, you can now use the browser to test it manually. You will see something like this:

Sorry maybe I should add this image when I created the PR.
The Method not allowed is because the GET method shouldn't be available to that endpoint.
Let me know any other question you may have.
Thanks!

Hi @brunomichetti,
I'm confused. The title of this PR is "Make verify email browsable", but the code change raises MethodNotAllowed('GET'), which would make it NOT browsable. What am I missing?

Hello @iMerica thanks for the review!
When you develop, you should be able to test manually the registration/verify-email/ endpoint. Right now, if you go to that endpoint, this error raises:

With the fix I added, you can now use the browser to test it manually. You will see something like this:

Sorry maybe I should have added this image when I created the PR.
The Method not allowed is because the GET method shouldn't be available for that endpoint.
Let me know any other question you may have.
Thanks!

PS: Now obviously you can test it manually but without the browser.

Thanks for the clarification 👍


Update PrepareAssetsForCookingCommandlet.cpp

UnrealEngine API for version 4.26 doesn't have the method GameDir anymore

Description
Replaced the call to GameDir with ProjectDir
Fixes #
A build issue with the dev branch

Platform(s): All
Python version(s): 3.8
Unreal Engine version(s): 4.26

Possible Drawbacks
..

This change is

Hi @ShoofLLC, I think you were trying to compile the master branch (which corresponds to 0.9.11 and UE4.24) with UE 4.26. The dev branch already includes this fix with the rest of required changes for the engine upgrade.
For future reference, PR should be directed to the dev branch and not the master branch, which corresponds to the latest released version.

Hi @ShoofLLC, I think you were trying to compile the master branch (which corresponds to 0.9.11 and UE4.24) with UE 4.26. The dev branch already includes this fix with the rest of required changes for the engine upgrade.
For future reference, PR should be directed to the dev branch and not the master branch, which corresponds to the latest released version.

Alright, sorry for the confusion


Define colours in CSS

Would it be possible to define the "dark" and "light" colours in CSS? That feels like a better place to be doing it. Could be via custom properties, or maybe conditionals?

Idk if it helps, but in your postcss config, you can do this:
import resolveConfig from 'tailwindcss/resolveConfig';
import tailwindConfig from './tailwind.config.js';
const twConfig = resolveConfig(tailwindConfig);

//...

require('postcss-contrast')({dark: twConfig.theme.colors.primary})