Allow filtering based on modfile.filename.

Since we will only support showing/downloading mods with a certain extension (due to being portable, somewhat similar to .umod for those that spent too much time with UT; actually just zip files that contain a mod.json file with some data we use, and the files for the mod), it would be nice to do that filtering when submitting the query.
It should be working (unless I'm missing something in the documentation), but the below example does not seem to do what it should.
curl --request GET 'https://api.mod.io/v1/games/57/mods?api_key=use_your_own&filename-lk=*.zip'
curl --request GET 'https://api.mod.io/v1/games/57/mods?api_key=use_your_own&filename-lk=*.zio'

Both return the same results (5, that is), while I would expect the second one to not return any result, as the only files present are some demo.zip files (which also does not seem to have the same md5sum as the filehash would indicate).

The filtering is working correctly, however, because filename is nested within the modfile object the filter is not being applied. It does not return an error because its an invalid filter so the api simply ignores it. If you supply a filter that is an invalid type (for instance you try to filter the id column by a string) it will return an error. This is what was meant by the documentation stating that only bottom/base level objects can be filtered by. This is something I want to support in the near future, but for the meantime, if you wanted to filter by the filename you would have to do:
curl --request GET 'https://api.mod.io/v1/games/57/mods/{id-here}/files?api_key=use_your_own&filename-lk=*.zip'

Thanks, makes sense given the update to #35.
About invalid filters not returning an error, but invalit types doing so that seems slightly strange. I guess not complaining about the former is easier than actually checking if they exist, but from a logical point of view filtering based on x and nothing having x so the filter does not match would make me expect not getting any result.


JAVA-1035: Update Host API in anticipation of JAVA-739.

This commit exposes both broadcast_address and listen_address.

Force-pushed to rebase on current 3.0.
I also fixed a small issue in TokenIntegrationTest and changed the message (sorry I was not happy with my initial jira ticket name :) )

LGTM :+1:
I pushed a few extra changes in a separate commit.


help needed, what I am missing

trex-2.87/trex-core/scripts$ sudo ./t-rex-64 -i -c 4
[sudo] password for ubuntu:
Starting Scapy server.... Scapy server failed to run
Output: b'Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)\n  File "/home/ubuntu/trex-2.87/trex-core/scripts/automation/trex_control_plane/interactive/trex/scapy_server/scapy_zmq_server.py",
line 8, in     from ..stl.api import *  File "/home/ubuntu/trex-2.87/trex-core/scripts/automation/trex_control_plane/interactive/trex/stl/api.py",
line 7, in     from .trex_stl_client import STLClient, PacketBuffer
File "/home/ubuntu/trex-2.87/trex-core/scripts/automation/trex_control_plane/interactive/trex/stl/trex_stl_client.py",
line 8, in     from ..utils import parsing_opts, text_tables\n  File "/home/ubuntu/trex-2.87/trex-core/scripts/automation/trex_control_plane/interactive/trex/utils/parsing_opts.py",
line 7, in     from ..common.trex_vlan import VLAN
File "/home/ubuntu/trex-2.87/trex-core/scripts/automation/trex_control_plane/interactive/trex/common/trex_vlan.py",
line 8, in     from scapy.layers.l2 import Dot1Q, Dot1AD  File "/home/ubuntu/trex-2.87/trex-core/scripts/external_libs/scapy-2.4.3/scapy/layers/l2.py",
line 18, in     from scapy.arch import get_if_addr, get_if_hwaddr
File "/home/ubuntu/trex-2.87/trex-core/scripts/external_libs/scapy-2.4.3/scapy/arch/init.py",
line 28, in     from scapy.arch.bpf.core import get_if_raw_addr  File "/home/ubuntu/trex-2.87/trex-core/scripts/external_libs/scapy-2.4.3/scapy/arch/bpf/core.py",
line 31, in     LIBC = cdll.LoadLibrary(find_library("libc"))  File "/usr/lib/python3.10/ctypes/util.py",
line 341, in find_library    _get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))  File "/usr/lib/python3.10/ctypes/util.py",
line 147, in _findLib_gcc    if not _is_elf(file):  File "/usr/lib/python3.10/ctypes/util.py",
line 99, in _is_elf    with open(filename, 'br') as thefile:\nFileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a''
Could not start scapy daemon server, which is needed by GUI to create packets.
If you don't need it, use --no-scapy-server flag.
ERROR encountered while configuring TRex system

fixed


Secure kafka support

Is your feature request related to a problem? Please describe.
We should support secure kafka connection
Describe the solution you'd like
We should support secure kafka connection
Describe alternatives you've considered
Additional context

Implemented in v0.0.10.
Example:
  #SSL configurations
  secureConnection: true
  #Config support env variable "$HOME/example/..."
  rootCAPath: "example/stretch-kafka/rootCA.pem"
  interCAPath: "example/stretch-kafka/interCA.pem"
  scramUsername: "username"
  scramPassword: "password"


Monitor autoscale examples

I hope this helps someone else since it can't be found on their official docs at all.
If you want to create a rule to autoscale via a guest vm metric enabled from diagnostic extensions, you have to use the counterSpecifier field from az vmss diagnostics get-default-config
Eg: az monitor autoscale rule create -g {rg} --autoscale-name test --condition "/builtin/memory/percentavailablememory > 80 total 5m" --scale out 1
@MSFT, it would be really helpful to update this doc to reflect an example of that.

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

ID: 25999d81-221d-052e-03b8-601585f71e3a
Version Independent ID: ee988a97-bcf4-0ea2-9ab7-cd6af5e98237
Content: az monitor autoscale rule
Content Source: src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/_help.py
Service: monitoring-and-diagnostics
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Where are you supplying the counter specifier in your command?

Right after --condition in my example.

/builtin/memory/percentavailablememory?

This is now possible with configuring guest metrics via Windows Azure Diagnostic (WAD) to custom metrics in Azure Monitor and setting up autoscale over these custom metrics.
https://azure.microsoft.com/en-us/blog/a-new-way-to-send-custom-metrics-to-azure-monitor/
We are looking at producing a doc for this scenario.

The problem with the +/- percentage is it varies alot if it's scaled at 2 units or 10 units, it would be nice to allow for a mechanism to reflect this.  i.e. if my thing is at 13 machines I want it to downscale if both memory & cpu fall below 80%, but I don't want that to happen if it's at 2 machines, I would want that number to be closer to 40%.  similarly the converse is true for the scale up.  I guess it may be possible with a rule for each machine count if that's avail, I'll need to look...


Error on mtime for a dead symlink

When checking for changes in cache, we do an mtime check for all of the files found with Dir.glob. If one of these files is a symlink that links to a non existing file, mtime throws an error. Instead of checking for mtime of the symlinked file, we should probably check for a symlink itself with File.lstat(file_name).mtime
/cc @rkh

The file changes are now detected by md5 checksums.


Questions!

Ask if he/she want to have several desktops installed and work some days with one and others with another one
Ask if he/she prefers to install each 6 months a new release or never have to  install a new release (Rolling Release)
Ask if you want to be bleeding edge or wait a little bit and be more stable
Ask if you want to use a lot of software out of the main repos or you are not so experimental
Ask if you prefer a big repo as AUR for all the out of main software or a lot of little ones as PPAs

:+1:

Edit:
Question suggestion 1: Won't be included.
Question suggestion 2: Included with the today's update
Question suggestion 3: Is included with suggestion 2
The other suggestions are not important enough for beginners (for them is the ldc made), so I will not include them.


Added Ruby lang

Added a linter for Ruby lang.
Name of an extension you are adding
ruby-rubocop
...
Why do you think this extension is awesome?
Yes, It is a must for ruby development
...
Make sure that:
[ ] Screenshot/GIF included (to demonstrate the plugin functionality)
[ ] ToC updated

Hi, we have Ruby section in Syntax. PR will require additional work of moving things around [to Lint/IntelliSense section] (see Golang per example)


Does not render properly on mobile devices.

Fix CSS

Seems to work since the fixes for the BSidesSF CTF.  Maybe.


OptionsViewOpenDirection.up in (Raw)AutoComplete makes the autocomplete list disappear.

Steps to reproduce
The issue was already addressed (and purportedly resolved) in #138773, but is still reproducible in the exact same way with the latest stable flutter version, even in the online editor. I will add the same reproduction because the issue still persists.

Go to https://api.flutter.dev/flutter/material/Autocomplete-class.html
In any of the code samples, add optionsViewOpenDirection: OptionsViewOpenDirection.up, to the Autocomplete widget and click Run.
Type 'a' in the text field
No options show up
Change OptionsViewOpenDirection.up to OptionsViewOpenDirection.down, click Run again and type 'a' in the text field. It works.

Expected results
The list with options appears above the textfield
Actual results
Nothing appears
Code sample
Code sample
import 'package:flutter/material.dart';

/// Flutter code sample for [RawAutocomplete].

void main() => runApp(const AutocompleteExampleApp());

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('RawAutocomplete Basic'),
        ),
        body: const Center(
          child: AutocompleteBasicExample(),
        ),
      ),
    );
  }
}

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

  static const List<String> _options = <String>[
    'aardvark',
    'bobcat',
    'chameleon',
  ];

  @override
  Widget build(BuildContext context) {
    return RawAutocomplete<String>(
      optionsBuilder: (TextEditingValue textEditingValue) {
        return _options.where((String option) {
          return option.contains(textEditingValue.text.toLowerCase());
        });
      },
      fieldViewBuilder: (
        BuildContext context,
        TextEditingController textEditingController,
        FocusNode focusNode,
        VoidCallback onFieldSubmitted,
      ) {
        return TextFormField(
          controller: textEditingController,
          focusNode: focusNode,
          onFieldSubmitted: (String value) {
            onFieldSubmitted();
          },
        );
      },
      optionsViewOpenDirection: OptionsViewOpenDirection.up,
      optionsViewBuilder: (
        BuildContext context,
        AutocompleteOnSelected<String> onSelected,
        Iterable<String> options,
      ) {
        return Align(
          alignment: Alignment.topLeft,
          child: Material(
            elevation: 4.0,
            child: SizedBox(
              height: 200.0,
              child: ListView.builder(
                padding: const EdgeInsets.all(8.0),
                itemCount: options.length,
                itemBuilder: (BuildContext context, int index) {
                  final String option = options.elementAt(index);
                  return GestureDetector(
                    onTap: () {
                      onSelected(option);
                    },
                    child: ListTile(
                      title: Text(option),
                    ),
                  );
                },
              ),
            ),
          ),
        );
      },
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.4.1 23E224 darwin-arm64, locale en-BE)
    • Flutter version 3.24.0 on channel stable at /Users/ghijs/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (13 days ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2

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

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

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

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

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

[✓] Connected device (3 available)
    • iPhone 15 (mobile)              • 5E510911-C117-479B-93E4-3F8281DA7A19 • ios          • com.apple.CoreSimulator.SimRuntime.iOS-17-4
      (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64 • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin       • macOS 14.4.1 23E224 darwin-arm64
    ! Device emulator-5562 is offline.

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

! Doctor found issues in 1 category.

Reproducible using the sample provided above.
This is not a recent regression, it seems like the fix didn't take. I tested on stable 3.22.0,3 as well as the latest stable and master and the issue reproduced on all versions. (3.22.0 is the first stable version the fix for this appears in)

flutter doctor -v
[!] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    • Flutter version 3.24.0 on channel stable at /Users/nexus/dev/sdks/flutter
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (13 days ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Flutter (Channel master, 3.24.0-1.0.pre.546, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    • Flutter version 3.24.0-1.0.pre.546 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8e18b5a331 (10 hours ago), 2024-08-11 23:34:29 -0400
    • Engine revision 1a5e2e58d3
    • Dart version 3.6.0 (build 3.6.0-134.0.dev)
    • DevTools version 2.38.0

We think this falls under text input, but totally fine to kick it back if not. Thanks!

This was mentioned in https://github.com/flutter/flutter/pull/143249#issuecomment-2036191457 and should be fixed in https://github.com/flutter/flutter/pull/143249, but that PR is a bit backed up at the moment. Thank you for opening an issue for this and hopefully I can get that moving soon..


Basic parsing

Codecov Report

Merging #2 (df18a51) into main (63aa640) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage   70.00%   70.00%
=======================================
  Files           2        2
  Lines          10       10
=======================================
  Hits            7        7
  Misses          3        3

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


iOS 10 - Notification only for Lock accessroy

Hi,
I was able to integrate with the Apple Home app which is available in iOS 10 beta and it works !!!.
But I am not sure why I get a notification when I change the Lock Status to On/Off and not for other accessories . I tried adding a motion sensor accessory and triggering the MotionDetected.
I am not able to get the notification like the one that I get for the Lock accessory .
￼

thats ok. the lock is the only accessory that will Five this notifikation.

Thanks, is that a kind of limitation or so ? I was planning to trigger the notification using a motion sensor.

Hey, as of iOS 9 HomeKit can only send push notifications fro Security Systems, Locks, Electric Doors and Windows. They might have changed that in iOS 10. You can check in your system settings:
Notifications -> HomeKit -> Bottom switches.

I have a Schlage Sense lock and I don't get any HomeKit notifications even though my iPhone is setup to receive them. I have no ideas why!! I'd like to get the notifications of course.

Current iOS only supports sending notification for a small collection of services/characteristics (mostly security related.)
@leoneleone for Bluetooth LE accessory like Schlage, it will need a firmware update to show notification. Please contact Schlage for more details.


Update organizations doc for Console with info about membership requirements

Thanks, @cnunciato! @davidwrede I'll hold off merging this until you've had a chance to glance at this well.

Thank you all for the review! I'll merge this once the latest PR build passes.


Why not use H5_DEFAULT_PLUGINDIR to set the plugin directory?

hdf5 defines H5_DEFAULT_PLUGINDIR in H5pubconf.h, why not use it to set the plugin path by default?

Because you are the first to suggest it! ;-)
I did not even know it existed. Are you suggesting we take whatever value of H5_DEFAULT_PLUGINDIR is in h5pubconf.h and install plugins there?

That would be my suggestion for a default value.  That is where hdf5 will look in the absence of HDF5_PLUGIN_PATH.

I looked at the code. The flag H5_DEFAULT_PLUGINDIR is intended as an HDF5 CMake build option of the form:
-DH5_DEFAULT_PLUGINDIR:PATH=location

It does not to be ever used as an environment variable.

I never said it was an environment variable.

The H5_DEFAULT_PLUGINDIR value in /usr/include/hdf5/serial/H5pubconf.h is also exposed through pkg-config:
$ grep H5_DEFAULT_PLUGINDIR /usr/include/hdf5/serial/H5pubconf.h
#define H5_DEFAULT_PLUGINDIR "/usr/lib/x86_64-linux-gnu/hdf5/serial/plugins"

$ pkg-config --variable=PluginDir hdf5
/usr/lib/x86_64-linux-gnu/hdf5/serial/plugins

Although this is a customization in the hdf5 Debian package.
Extracting the value from the include file is most reliable, e.g.:
$ cat hdf5-plugin-dir.c
#include <stdio.h>
#include "H5pubconf.h"

int main () {
    printf("%s\n", H5_DEFAULT_PLUGINDIR);
}
$ gcc -I /usr/include/hdf5/serial hdf5-plugin-dir.c && ./a.out
/usr/lib/x86_64-linux-gnu/hdf5/serial/plugins

I do not understand your point. Even if exported as an environment variable,
it is never used in the code at run-time. It is only used when hdf5 is built.

As mentioned in #2429:

The default path (/usr/local/hdf5/lib/plugin) is also incorrect when using -DCMAKE_INSTALL_PREFIX=/usr and -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu. A better default would be ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/hdf5/plugin.

/usr/local/hdf5/lib/plugin is a bad default value:
IF(ENABLE_PLUGIN_INSTALL AND PLUGIN_INSTALL_DIR STREQUAL "YES")
    # Default to last dir (lowest search priority) in HDF5_PLUGIN_PATH
    IF(DEFINED ENV{HDF5_PLUGIN_PATH})
      SET(PLUGIN_PATH "$ENV{HDF5_PLUGIN_PATH}")
    ELSE()
        IF(ISMSVC OR ISMINGW)
          SET(PLUGIN_PATH "$ENV{ALLUSERSPROFILE}\\hdf5\\lib\\plugin")
        ELSE()
          SET(PLUGIN_PATH "/usr/local/hdf5/lib/plugin")
        ENDIF()
    ENDIF()
ENDIF()

# If user wants, then install selected standard filters
AC_MSG_CHECKING([whether and where we should install plugins])
AC_ARG_WITH([plugin-dir], [AS_HELP_STRING([--with-plugin-dir=<absolute directory>|no|--without-plugin-dir],
              [Install selected standard filters in specified or default directory])],
              [],[with_plugin_dir=no])
AC_MSG_RESULT([$with_plugin_dir])
if test "x$with_plugin_dir" = xno ; then # option missing|disabled
    with_plugin_dir=no
    with_plugin_dir_setting="N.A."
    enable_plugin_dir=no
elif test "x$with_plugin_dir" = xyes ; then # --with-plugin-dir, no argument
    # Default to last dir (lowest search priority) in HDF5_PLUGIN_PATH
    PLUGIN_PATH="$HDF5_PLUGIN_PATH"
    if test "x${PLUGIN_PATH}" = x ; then
        if test "x$ISMSVC" = xyes || test "x$ISMINGW" = xyes; then
            PLUGIN_PATH="${ALLUSERSPROFILE}\\hdfd5\\lib\\plugin"
        else
            PLUGIN_PATH="/usr/local/hdf5/lib/plugin"
        fi
    fi
    # Use the lowest priority dir in the path
    if test "x$ISMSVC" = xyes || test "x$ISMINGW" = xyes; then
      PLUGIN_DIR=`echo "$PLUGIN_PATH" | tr ';' ' '`
    else
      PLUGIN_DIR=`echo "$PLUGIN_PATH" | tr ':' ' '`
    fi
    for pp in ${PLUGIN_DIR} ; do last="$pp"; done
    PLUGIN_DIR="$last"
    with_plugin_dir_setting="$PLUGIN_DIR"
    # canonical form is all forward slashes
    with_plugin_dir=`echo "$PLUGIN_DIR" | tr '\\\\' '/'`
    enable_plugin_dir=yes
    AC_MSG_NOTICE([Defaulting to --with-plugin-dir=$with_plugin_dir])
else # --with-plugin-dir=<dir|path>
    with_plugin_dir_setting="$with_plugin_dir"
    enable_plugin_dir=yes
fi

These parts of the CMake and Autotools build systems should be updated to use the value of H5_DEFAULT_PLUGINDIR and only if that is not set/available fall back to hardcode /usr/local/hdf5/lib/plugin.
Using the value of H5_DEFAULT_PLUGINDIR will make it work for most cases, instead of requiring HDF5_PLUGIN_PATH to be set because the default value is bad.

I see my confusion. When you said:

That would be my suggestion for a default value. That is where hdf5 will look in the absence of HDF5_PLUGIN_PATH.

I interpreted that to mean that it was another environment variable.
I now see that you you are saying that instead of hard-coding
e.g. /usr/local/hdf5/lib/plugin, we should get the value from the HDF5 build.
I note the following:

It looks like this was added in the 1.10.x version of HDF5.
that path (and the windows equivalent) are hard-wired into the hdf5 documentation.
If netcdf-c is built without HDF5 but with NCZarr, then we do not have access to that HDF5 value, so we should do the same thing for the NCZarr code, but of course it would need to be coordinated with the HDF5 value. Alternatively, we could add an option for this (like HDF5 does). This does not seem an unreasonable idea since it only matters if the builder was already doing it for HDF5.

We have actually added that default directory.
This issue can be closed.


Feature/161 cli password reset

Added a method to update a user password from CLI

Apart from the tweaks you suggested, @rhigman , I've also added the option to add publisher permissions for a new account (upon registration)


Get microphone usage

Discussed in https://github.com/timmo001/system-bridge/discussions/1221

Originally posted by rschuiling January  8, 2022
Would it be possible for System Bridge to detect an online call in progress? E.g. by detecting when the webcam or microphone is in use?

[ ] Model: TBD
[ ] Backend: TBD
[ ] Home Assistant: TBD

Unable to find solution for this. If anyone can find a way of programatically seeing if the microphone is in use then please comment here.


Stele silently crashes when starting up with a bad URL

For example, if you're pointing at a local server http://localhost:3000/ in Settings, the launch Stele after stopping your server, Stele will crash without throwing an error.

I'm running into this issue right now, and it would be really nice if someone who knew more about it could document where Stele stores its settings; even after I delete the repo and reclone, the settings are still somehow preserved.

Should probably reset if you delete the config.json here: library>application support>electron

Or for a really thorough scrub: rm -rf ~/Library/Application\ Support/stele; rm -rf ~/Library/Application\ Support/Electron; rm -rf dll; rm -rf node_modules; rm -rf yarn.lock; yarn; say done; yarn start;

Moved to Jira - https://smm.atlassian.net/browse/EXTCH-56


email validation and umlauts

The email validator validates an email like<EMAIL_ADDRESS>as correct.
I think umlauts are not allowed in localpart.

Your mileage might vary as to if it will work or not, but it is supported by standards and some mail services (like gmail)
https://en.wikipedia.org/wiki/International_email#Email_addresses
https://stackoverflow.com/a/15152095/8279


Make ShimmerLinesView inherit ShimmerView init

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
According to Apple docs, "superclass initializers are automatically inherited if certain conditions are met." A couple things were wrong with the implementation done during tokenization that didn't meet those conditions and thus would break API upon going into devmain:

lineCount, firstLineFillPercent, and lastLineFillPercent need to be properties so that they can have a default value
ShimmerLinesView cannot have its own init

Verification
Tested init of ShimmerLinesView
Pull request checklist
This PR has considered:

[ ] Light and Dark appearances
[ ] iOS supported versions (all major versions greater than or equal current target deployment version)
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] iPad Pointer interaction
[ ] SwiftUI consumption (validation or new demo scenarios needed)
[x] Objective-C exposure (provide it only if needed)

Microsoft Reviewers: Open in CodeFlow

can we also add test cases in the demo app calling these apis and properties, please?


Unable to Login to Admin Panel in Production Environment after Vercel Deploy - Possible CORS and Database Connection Issue

Issue Description:
I have encountered an issue where I am able to successfully deploy the admin interface to Vercel but am unable to log in after. This problem seems to be related to a mistake in the CORS settings or the database connection. While everything works fine locally, the database connection appears to be malfunctioning in the production environment.
Console:
see attachment

Configuration Details:

ADMIN_CORS

Environments: Development, Preview, Production
Value:  https://admin.wantsandneeds.nl

STORE_CORS

Environments: Development, Preview, Production
Value: /https?:\/\/.+/ (Regex pattern to allow all HTTPS URLs)

COOKIE_SECRET

Environments: Development, Preview, Production
Value: secret

JWT_SECRET

Environments: Development, Preview, Production
Value: secret

DATABASE_TYPE

Environments: Development, Preview, Production
Value: postgres

MEDUSA_ADMIN_BACKEND_URL

Environments: Development, Preview, Production
Value: https://admin.wantsandneeds.nl

DATABASE_URL

Environments: Development, Preview, Production
Value: SUPABASEURISTRING

I don't see anything wrong with that setup.

Is your store API working properly? E.g. GET <MEDUSA_URL>/store/products
Are you sure the user account exists on the live db?
Can you try to create a new user and see if the issue persists?

If you're sure about the credentials and the issue persists, I'd suggest posting this at the main repo as it's not related to this Starter project.

I have had this problem since yesterday and had to go back to the drawing board on what is the admin, backend and storefront. I think the Medusa team can correct me if I am wrong. Link to Doc.
The gist is the deployment you have made is the 'admin' only.
The backend is not up. This is where you get the backend url e.g heroku.url, d-ocean.url the place where your backend is running.
Vercel in itself cannot host the backend, again correct me if I am wrong here, but it hosts the 'frontend' of the admin part.
As it is you are trying to connect to the backend but it is not on Vercel. Correct me if I am getting this right. This https://admin.wantsandneeds.nl/ is just the frontend of the admin with a vanity url saying 'admin'. The backend url should be retrieved from another provider. Unless I am way off too.
And I think the Medusa team should do more official intro videos into the product from the start (creation) to the end, deployment. There is one on Netlify but the backend part is left out

@kevinrobert3 So yesterday I also thought of this, but it wouldnt make any sense that they have this Deploy admin to Vercel guide up without mentioning anywhere that the backend needs to be hosted somewhere else in tandem.
Do you now have everything set up? Then I'll just try to follow the route with the backend on heroku and rest on vercel

I decided to use local first, with databases online on supabase. Everything is working.
A good example is the Admin on local starts up on localhost:7001 (browser), but the calls to backend api e.g login, on the NextJs Storefront and the Admin itself go to localhost:9000 where the backend is running on.
And for some reason, Medusa does not print out (mention) anything in the terminal about this "server" that has been started on port 9000. You have to go deep in docs and find that a server gets started
I'll host the backend much later, for now, i'll be on local only

In the end, is the best option not to host the backend on Vercel?

Yes, I ended up moving it to Heroku. I don’t think it’s possible through Vercel (only admin/front end).
Groet,
Martijn van der Pas
Op 8 apr 2024 om 19:00 heeft Eduardo Collado @.***> het volgende geschreven:

In the end, is the best option not to host the backend on Vercel?
—
Reply to this email directly, view it on GitHubhttps://github.com/medusajs/nextjs-starter-medusa/issues/273#issuecomment-2043245147, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEL5BM374F5BFGLTY6OXHDLY4LEL5AVCNFSM6AAAAABDRM47NKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGI2DKMJUG4.
You are receiving this because you modified the open/close state.Message ID: @.***>


Modals don't prevent tapping lower elements

On the Button demo, notice the bounding box of the bug blue button in the middle.  Tap any button to pull up the modal, then tap OK within the confines of the big blue button.  the OK will close the modal, but the big blue button will trigger a new one, both reacting to a single event.

Should be fixed, thanks!


Usage of entity_linker with pyspark on databricks

I am trying to use entity_linker with pyspark and wanted to register it as an UDF function, with the following
from pyspark.sql.types import ArrayType, FloatType, StringType
import spacy
def getUmls(text):
    html = markdown(text)

    # remove code snippets
    html = re.sub(r'
(.*?)
', ' ', html)
    html = re.sub(r'(.*?)', ' ', html)
    html = re.sub(r'(.)\1{5,}', ' ', html)
    # extract text
    soup = BeautifulSoup(html, "html.parser")
    text1 = ' '.join(soup.findAll(text=True))
    text1 = " ".join(text1.split())
    doc=nlp_sci(text1)
    umls=[ent_id for ent in linker(doc).ents for ent_id, score in ent._.umls_ents]
    return umls

spark.udf.register("getUmls", getUmls, ArrayType(StringType()))

Getting the following error:
Traceback (most recent call last):
  File "/databricks/spark/python/pyspark/serializers.py", line 476, in dumps
    return cloudpickle.dumps(obj, pickle_protocol)
  File "/databricks/spark/python/pyspark/cloudpickle/cloudpickle_fast.py", line 72, in dumps
    cp.dump(obj)
  File "/databricks/spark/python/pyspark/cloudpickle/cloudpickle_fast.py", line 540, in dump
    return Pickler.dump(self, obj)
TypeError: cannot pickle 'nmslib.dist.FloatIndex' object
PicklingError: Could not serialize object: TypeError: cannot pickle 'nmslib.dist.FloatIndex' object

Is the work around for such issue

Hi, sorry this seems more like a pyspark/databricks question. The entity linker is indeed not serializable and I'm not sure what a workaround might be because I am not an expert with pyspark/databricks. You may have better luck searching elsewhere for how to use pyspark/databricks with a UDF that is not serializable.


stack: band replace operator

https://github.com/bcgov/bcws-psu-research/blob/master/cpp/band_splice.cpp


Do not have source data to run m-files correctly

Hello, I admire your code! However I cannot run them correctly because I do not have the data you used. Could you please list your data sources on the readme file? Good luck!

@molguitianzn Please give me your e-mail address, I will send you the test data.

<EMAIL_ADDRESS>

@molguitianzn  Sent.


Week 3 - Part 4 - Requests

Add form element to main page and doPost() function to DataServlet file

I am able to write comments and they populate to /data. I'm not sure if that was the correct way I was supposed to implement it.


log process ID when using -v (feature)

What should restic do differently? Which functionality do you think we should add?
I tried multiple -v -v -v and didn't see the process ID listed. Is it possible to add it?
Also in the docs, I couldn't find N documented, where --verbose=N
What's the max and min of N?
What are you trying to do? What problem would this solve?
I have a script calling restic and I'm trying to troubleshoot locking issues. Something aborts or causes locks to be left on the repository.

The highest verbosity level that's used is 3 according to the source code.


allow custom branding of installers

Problem description
The installers are branded with the WPN-XM default installer images.
We have individual images per installer type: full, lite, standard, web.
Expected behavior
It should be possible to use custom images on the installer to brand it.
This allows to style an installer for a specific binary or PHP application.
For instance, a seperate NodeJS installer with Node logo or a Lite installer with Wordpress with Wordpress logo.
Possible solution

introduce build constant branded_installer or custom_installer with the software name
add an innosetup installer asset folder to the submodules  software and php-software

{software}\innosetup\assets

modify the innosetup installer to load the assets from the software folder, instead of the main asset folder
additionally: create a placeholder asset pack for the innosetup installer

so that people have something to work with and can easily modify the images

Lack of interest by the PHP community at large.
Why should i work for random CMS communities.

@jakoch just wanted to let you know that I am a long-time user of WPN-XM and I greatly appreciate your efforts in maintaining this project. Like myself, I'm sure that there are many others out there that also benefit from using WPN-XM.
I understand that each person can have very little time in their lives and that everyday life and its problems often take the best of us, but please to not let that put you off.

Why should i work for random CMS communities and do the integration for them...

For the same reason these CMS communities (talking about open-sourced ones) work in providing the respective projects out there for the people of this earth to put to good use.
I personally have very limited time in my life and terrible personal circumstances, having to spend most of the year away ("away" as in the other side of the world) from my wife and 5yo daughter (she was only 2yo when I left my country). Despite all that, if you check my GitHub profile, you will see that I am very active, trying to contribute as much as I can in open source. This gives me great pleasure and takes my mind off of all the bad thoughts that no matter what I do keep creeping in my brain every single day.
Please keep up the good work knowing that there are people out there whose life you make easier. Then these people go on developing open-source projects that in turn help other people build communities that help this world become a better place. And you are a part of all this. Never forget that.

Thank you for writing these lines, but it simply doesn't work out...
I get requests for the next version, but i can't deliver, because there are still open issues.
I can place any bounty on a ticket, but i don't get any contributions.
I've tried to find developers to join the team, but failed.
Maintaining a stack like this needs teamwork. But for the project it's like there is nobody out there.

How open-source works:


Rework deployments to use a common bucket

Documentation for https://github.com/api3dao/airnode/issues/1402

Partly done in https://github.com/api3dao/api3-docs/pull/1046 and the rest is tracked in https://github.com/api3dao/api3-docs/issues/1047. Closing.


Out of date instructions for global WAF rules

The directions and screenshots for creating a global WAF exclusion are no longer up to date with the current Azure UI and it is unclear how best to complete the task.

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

ID: b4cf0428-ac89-d265-d2c2-0a0d932c99c9
Version Independent ID: 8200ffa3-22ec-39a8-6227-ed1cbe9043a4
Content: Web application firewall exclusion lists in Azure Application Gateway - Azure portal
Content Source: articles/web-application-firewall/ag/application-gateway-waf-configuration.md
Service: web-application-firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@lostchopstik
Thanks for your feedback! We will investigate and update as appropriate.

@lostchopstik
Just checked the current UI for WAF policy Managed rules. The article still matches the current UI:

Perhaps you can include some additional details to help repo what you are seeing...


Change or allow output to stream

jsonlite has the stream_out() function, which allows to write the data out in streams. This requires ndjson format, which is appropriate for the dataframe portion of the file. This should realistically help performance for writing larger files.

Redundant with #35


Add binding list command

Changes

List available Kamelet bindings and print information as table
Improve test data generation and reduce duplicate test code

Fixes #54

/approve
/lgtm


krew installs an old version of view-secret plugin

Hi,
I have view-secret plugin installed using krew 0.3.0 and I've run into the issue fixed by https://github.com/ahmetb/kubectl-extras/pull/4. Turns out that krew installs an older version of the plugin (from before that fix) and believes it's the latest available. I'm not sure what has to be updated where but it would be nice to have the latest version easily available.
Thank you!

I haven't been releasing new versions to krew, mostly because I'm trying to find new owners for these plugins (e.g. #7).
Maybe I should just release a new version.

@ahmetb Hi, i can help with maintaining and releasing them - lmk if you want me to take it

See #9 and #12. Other people said they might also take over the plugin but we didn't go anywhere.


chore(package): update nyc to version 10.2.0

https://greenkeeper.io/

Changes Unknown when pulling 5174b9c25398aa154bb165a10bdd2f8f2a318d8d on greenkeeper/nyc-10.2.0 into ** on master**.


Write method for AdlerPlanetoid class that builds SQL queries

As it is, I've hardcoded them in, which means that if the query changes (i.e. to add date ranges, filters) it needs to be changed in several different places. A simple method that can build the SQL query for all of the DataSchema classes with some sensible arguments would be more maintainable.

Closing because we discussed this and decided against it for now.


Please check validity of the block starting from line   Fatal

@keyframes #{pulsate}-#{$i} {
0% {
-webkit-transform: rotate($i) scale(1);
-moz-transform: rotate($i) scale(1);
-ms-transform: rotate($i) scale(1);
-o-transform: rotate($i) scale(1);
transform: rotate($i) scale(1);
}
50% {
-webkit-transform: rotate($i) scale(1.5);
-moz-transform: rotate($i) scale(1.5);
-ms-transform: rotate($i) scale(1.5);
-o-transform: rotate($i) scale(1.5);
transform: rotate($i) scale(1.5);
}
100% {
-webkit-transform: rotate($i) scale(1);
-moz-transform: rotate($i) scale(1);
-ms-transform: rotate($i) scale(1);
-o-transform: rotate($i) scale(1);
transform: rotate($i) scale(1);
}
}
What version of Sass Lint are you using?
V1.9.1
Actually, using https://www.npmjs.com/package/gulp-sass-lint which picks up 1.9.1
Please include any relevant parts of your configuration
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
What actually happened? Please include any error messages given to you by Sass Lint.
If you're using a IDE plugin have you tried the CLI too?

Hi @nithin123456 This is an error with the AST we use Gonzales-pe could you please search for or report the issue there.
Thanks

Just a heads up that this fix https://github.com/tonyganch/gonzales-pe/pull/215 will solve this problem.

@bgriffith @DanPurdy Would https://github.com/tonyganch/gonzales-pe/pull/215 fix issues like the following:
Errors

ERROR: Please check validity of the block starting from line

Problem seems to be with the -- after the interpolation.
#{$SELECTOR}--range {
  // ... styles
}

Valid
// Workarounds
#{$SELECTOR}/--range {
  // ... styles
}

#{$SELECTOR}#{--range} {
  // ... styles
}

// Valid, but not the desired output
#{$SELECTOR}__range {
  // ... styles
}

#{$SELECTOR}-range {
  // ... styles
}

I'd be happy to make a ticket if this is a separate issue.
Cheers!

Hey @tommycoppers - I can confirm that it's fixed in the latest branch of gonzales. So once a new version is released it'll get fixed. Hopefully not too long.

Wonderful!  Thanks for the hard work!

VERIFIED! I grabbed the dev branch and ran that locally with sass-lint and it worked like a charm.

@tommycoppers your issue is fixed in the latest release.
@nithinankam there is still an issue but this now appears to be down to the fact that your @keyframe rule starts with a capital K - this will be fixed in the next release.

These issues are now fixed v1.11.1


IGN in Korean not displayed properly

Ign
displayed as

This project uses Tesseract OCR with English language: https://github.com/tmarenko/mff_auto/blob/master/lib/functions.py#L31-L34
Displaying proper IGN isn't a mandatory feature. IGN is never used anywhere inside the code of any gamemode so it doesn't matter if it displayed properly or improperly.
Adding Korean language (additional 20Mb in size for .traineddata file) only for this minor feature isn't worth it.


ObservableEventTrackers are not tested

For example, ObservableArduinoSessionTester contains a test that does nothing.
Why are there even Observables in ArduinoSession, while there are also event for the same things?
I.e. CreateAnalogStateMonitor() vs  event AnalogStateReceived ?

Also, I think it's bad practice to return the ObservableEventTracker as an IDisposable in ObservableEventTracker.Subscribe(IObserver observer)
as this opens the way to dispose the ObservableEventTracker multiple times.
It can handle it, but it gives the wrong expectation that the result of Subscribe is a new instance of some disposable class instead of an instance shared with all subscribers.


Please add Access-Control-Allow-Origin *

I am writing a tool that requires information of Elm packages. The easiest way by far is to use package.elm-lang.org, but without that access control header I have to setup a proxy server in order to make requests from a browser. Enabling it for API endpoints that only provide information should not be a security problem.

I need access to similar info in a project I'm working on at the moment. For my use case, since I just need access to the list of packages from /new-packages in a static site, it's sufficient to just download this with a separate script and then pass it to my app as a flag; I can see how this would be useful when doing similar things though.
I came across this similar issue when I was investigating this, but this was 2 years ago so things may have changed. Like you say, I can't see a big risk from exposing the read-only endpoints apart from the risk of overloading the server, but then this could happen anyway.

I do not want people leaning on the Elm servers for their projects. I think it would be better to grab the info you need periodically (like every hour or every day) and do most of the serving from your own setup.


mavlink: ATTITUDE_QUATERNION instead of ATTITUDE

A while ago the consensus was to move to quaternions instead of euler
angles. This switches the default mavlink messages to Quaternions.
@LorenzMeier @jgoppert thoughts?

I think being able to plot roll pitch yaw in qgc is valuable. As long as we still have that available I support the switch.

The issue is with some OSDs and other peripherals which stop working with this.

ok, should we leave it for OSDs then?

not only for OSD's but for payload camera orientation and image post processing that are expecting the current attitude fields to be euler.

Yep. I'm closing this. Feel free to send the quaternion in addition on some of the links.


#78 issue fixation

Fixed #78 issue and some other issues that were being generated
Description
This pull request fixe the issue of pop up that was being generated everytime we open the website. It turns out the error being generated was due to login/ signup authentication. Some routes were wrong in the code that I have corrected and now login signup is also working fine. That issue also I have fixed. Please consider increasing the level of the issue as it was not at all level-1 issue . I had to go through the whole codebase to find out where the error is.
Related Issue
Issue : #98 is also about the login / signup issue which I have tried solving
Changes Made

In Authcontroller file checkauthstatus function was commented out due to which authentication was failing as a result login/signup was failing
In some of the pages file components was written with small 'c' but it was originally 'C' which was causing issue

Checklist

[x] I have tested my code and it works as expected.
[x] I have added/updated documentation where necessary.
[ ] I have included tests for new features.
[x] I have followed the project's coding standards.

Please let me in case of any fixation required.

@tanushrigoel your branch having conflicts


js8spotter script not executing correctly

Script is not running properly to change into directories for users and creat a working executable desktop shortcut.

Script is updated. Tested on vm running baseline ubuntu 22.10 and panasonic cf-30 running cutom ubuntu 22.10 Emcomm-Tools OS Community from TheTechPrepper. Both were successfully installed and ran as desired.


Parametrized test fails if only non-testable deployment is defined

If Spock specification has parameterized feature and is supposed to be executed only on the client-side through marking @Deployment as non-testable, the test will fail with exception mentioned in https://github.com/arquillian/arquillian-testrunner-spock/issues/26#issuecomment-536157490.
Why is  that happening

test executor is not aware that test is supposed to be executed only on the client side (currently that's only working when test method or class is marked with @RunAsClient)
therefore it wipes out data provider for parameterized test, assuming this needs to be executed in the container (so it prevents from n^2 test execution described in #17)

Any progress here, @bartoszmajsak?

@kriegaex thanks for pinging. I didn't have time yet to work on the implementation.


New feature from PR #4181 causes "EPERM: operation not permitted, symlink" on Windows

Describe the bug
The changes to link.ts introduced in #4181 render the CDK unusable on my Windows installation. This problem could affect many Windows users.
Windows blocks the creation of symlinks for non-administrative users by default.
Expected Behavior
The CDK should successfully complete common operations such as cdk ls.
Current Behavior
The CDK crashes with the following error message, caused by a default Windows policy that blocks the creation of symlinks for non-administrative users.
Jsii EPERM: operation not permitted, symlink<EMAIL_ADDRESS>-> 'C:\Users\<redacted>\AppData\Local\Temp\jsii-kernel-45S6Uu\node_modules\@aws-cdk\asset-awscli-v1'
Error: EPERM: operation not permitted, symlink<EMAIL_ADDRESS>-> 'C:\Users\<redacted>\AppData\Local\Temp\jsii-kernel-45S6Uu\node_modules\@aws-cdk\asset-awscli-v1'
    at symlinkSync (node:fs:1816:3)
    at link (C:\Users\<redacted>\AppData\Local\Temp\jsii-java-runtime1812729864297267298\lib\program.js:10445:38)
    at extractViaCache (C:\Users\<redacted>\AppData\Local\Temp\jsii-java-runtime1812729864297267298\lib\program.js:11493:29)
    at Object.extract (C:\Users\<redacted>\AppData\Local\Temp\jsii-java-runtime1812729864297267298\lib\program.js:11450:81)
    at C:\Users\<redacted>\AppData\Local\Temp\jsii-java-runtime1812729864297267298\lib\program.js:9916:127
    at Kernel._Kernel_debugTime (C:\Users\<redacted>\AppData\Local\Temp\jsii-java-runtime1812729864297267298\lib\program.js:10365:24)
    at Kernel._Kernel_load (C:\Users\<redacted>\AppData\Local\Temp\jsii-java-runtime1812729864297267298\lib\program.js:9916:105)
    at C:\Users\<redacted>\AppData\Local\Temp\jsii-java-runtime1812729864297267298\lib\program.js:9653:181
    at Kernel._Kernel_debugTime (C:\Users\<redacted>\AppData\Local\Temp\jsii-java-runtime1812729864297267298\lib\program.js:10365:24)
    at Kernel.load (C:\Users\<redacted>\AppData\Local\Temp\jsii-java-runtime1812729864297267298\lib\program.js:9653:96)

Reproduction Steps

Initialize a new sample app on Windows using the latest CDK and jsii: cdk init sample-app --language java
Execute maven package or cdk ls.  Maven must be installed.

I suspect that other languages are affected as well, so you might be able to reproduce this with any other language.
Possible Solution
The Windows Developer Mode disables the policy and allows the creation of the symlinks: https://learn.microsoft.com/en-gb/windows/apps/get-started/enable-your-device-for-development
Developer mode disables several other safeguards and allows i.e. the installation of untrusted apps, so it should be avoided if not strictly needed.
There are a few potentially better options:

Don't enable the symlink performance optimization for Windows by default.
Use links of type junction instead of a directory symlink. Windows allows the creation of these by default, but there might be implications I don't know of.

Additional Information/Context
No response
SDK version used
versions that contain PR #4181, e.g. jsii 1.86.1
Environment details (OS name and version, etc.)
Windows 11 Pro 22621.1992

I was having the same issue on Windows 11. I found a workaround for now in #4207 by setting the environment variable JSII_RUNTIME_PACKAGE_CACHE to "disabled".
You can test if that works by setting the variable in Powershell
$env:JSII_RUNTIME_PACKAGE_CACHE="disabled"

Afterwards you can set it as a user environment variable, so you don't have to set it all the time.

Setting $env:JSII_RUNTIME_PACKAGE_CACHE="disabled" worked for me.

I've also been affected by this, and setting JSII_RUNTIME_PACKAGE_CACHE="disabled" resolved the issue for me.


Storybook: Content Card - Delivery Information

Description
Content Card - Delivery Information.
Fixes # (issue)
How to test?
Please provide a short summary how your changes can be tested?
Checklist

[x] I have performed a self-review of my own code
[x] I have followed the name conventions for CSS Classnames and filenames, Components names and filenames, Style filenames, if you are in doubt check the the project README.MD and here https://github.com/HackYourFuture-CPH/curriculum/blob/master/review/review-checklist.md
[x] I have commented my code, particularly in hard-to-understand areas, if you code was simple enough mark the box anyway
[x] I have made corresponding changes to the documentation, if you code was simple enough mark the box anyway
[ ] This PR is ready to be merged and not breaking any other functionality

Hi Yasser,
I have already worked on this component from this issue: https://github.com/HackYourFuture-CPH/fp-class18/issues/7

Bug fixes

Closed due to being similar to: Storybook: Delivery Information Form #7


[Fix] Fix configs

Motivation
Easy to use.
Modification
Add teacher checkpoints, channel_cfg and mutable_cfg to configs.

There are some related docs that need to update:

https://github.com/open-mmlab/mmrazor/tree/master/configs/nas/spos#subnet-retraining-on-imagenet
https://github.com/open-mmlab/mmrazor/tree/master/configs/nas/detnas#step-4-subnet-retraining-on-imagenet
https://github.com/open-mmlab/mmrazor/tree/master/configs/nas/detnas#step-5-subnet-fine-tuning-on-coco
https://github.com/open-mmlab/mmrazor/blob/master/docs/en/train.md
https://github.com/open-mmlab/mmrazor/tree/master/configs/pruning/autoslim#subnet-retraining-on-imagenet

It is best to show two usages,  modify in config directly or modify it through cfg-options


fix(curriculum): add missing quotation marks

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes ##45455

Hi @anjiqbal. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


feat: pass in closure to Driver to signal backend opcode support

Related issue(s)
Related to #1102 as it makes the backend dependency explicit.
Description
Summary of changes
This PR makes the Noir compiler frontend's dependency on a backend explicit as we now pass in a closure to describe which opcodes it supports to use when dealing with foreign functions.
For now this still uses the default support function but should be updated once https://github.com/noir-lang/acvm/pull/273 makes its way into this repository. Once this is done then we can remove those functions for the 0.13.0 release of ACVM.
Dependency additions / changes

Test additions / changes

Checklist

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt with default settings.
[x] I have linked this PR to the issue(s) that it resolves.
[x] I have reviewed the changes on GitHub, line by line.
[x] I have ensured all changes are covered in the description.

Documentation needs

[ ] This PR requires documentation updates when merged.

Additional context

This is technically breaking to the driver. I'm inclined to mark this as non-breaking however as it doesn't break nargo/noir_wasm and we don't make stable releases of the driver.


Hitting enter while in preview mode will not try to send empty messages

When enter is hit in preview mode a validation check is performed using validate() in the compose.js file. There is also finish() which seems also calls validate() and gets me a similar result. I'm trying to figure out which is appropriate to use.
Tests have not been written. I am working on testing. I have to quickly get re-familiarized with writing the js tests.
Fixes #5574

Automated message from Dropbox CLA bot
@hollywoodno, it looks like you've already signed the Dropbox CLA. Thanks!

I think compose.finish is the correct one to use; that takes care of the related UI updates that we want to make around sending a message.

Hi @hollywoodno I took a look at your changes and would like you to ponder a bit upon making use of the finish function to fix this. finish function is what handles sending message in other normal view I believe.
Doing something like this might be the way to get around the current issue
exports.enter_with_preview_open = function () {
    exports.clear_preview_area();
    if (page_params.enter_sends) {
        // If enter_sends is enabled, we just send the message
        exports.finish();
    } else {
        // Otherwise, we return to the compose box and focus it
        $("#new_message_content").focus();
    }
};

I would test this out and then make changes to the node tests as required.
What do you think?

@hollywoodno What is the current status of this PR?  I think the node tests here are still kind of verbose.

@showell I am finish with the PR. In what ways can suggest I improve the node tests and still reach appropriate coverage levels?

Didn't we have some discussion on chat about making the tests more concise?  I think you can stub the finish method and just make sure it's called.

@showell we had some discussion around it. I'm looking over the zulip docs on using stubs in js. I will follow up on chat.

I will briefly move this to an WIP as I have updated the node tests. It's currently failing because I added additional assertions. If enter_sends is enabled when messages are sent, when they fail to send, it makes sense that enter_sends should still be enabled. I should be done with this later today.

I modified the node test for test_enter_with_preview open. I didn't stub out finish because both it and validate fails fast. The modifications therefore narrow in on those failures and test for only for the most specific UI updates that were not previously covered .

@hollywoodno  I think your test changes were a good compromise between testing too much and still getting some nice integration checking.  Thanks for your patience on this.  Merged!


change line height/ padding / letter spacing on save for later buttons

Sent with GitHawk

Fixed on create.  Need to add changes to update.


Stunner - Add Intermediate Timer Event properties

jenkins retest this

jenkins please retest this

+1

Thanks @jlindop I'll wait for Jenkins to give this the green light again (before merging).
Please do however think about using JIRAs now for Stunner changes - IMO it was fine committing ad-hoc when you were using @romartin fork, but now this is in "core" I think we should use JIRA references in the commits.

@manstis Yes, I agree that using JIRA's makes sense now that we're working in kie-wb-common.


Added a method to modify the cache policy. The default cache policy rema...

...ins the same. A problem occured where I had to change the cache policy in order to create a backend for an app. I found this is a good way to do so.

@thefosk Updates on this?
I'm actually waiting for this to get merged! :stuck_out_tongue:

@rcpfuchs:
What can I do to have my pull requested changes also in cocoapods?
Instead of
pod 'Unirest', '~> 1.0'

use
pod 'Unirest', :git => 'https://github.com/rcpfuchs/unirest-obj-c.git', :commit => 'd05ca371dc635207ba637ceeb3c33905f21df8f8'

:smiley:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Error - The specified CGI application encountered an error and the server terminated the process.

Hi All I am facing issue "The specified CGI application encountered an error and the server terminated the process." after hosting it on Azure Web Sites. On Local it works fine. I have developed application on asp.net core 1.0 and deployed on Azure.
Is there any timeout issue or any thing missing when deployed code on azure ?
Please help me out regarding this issue.

@ankurjasoria  sorry for late response. Are you using java language? seems the issue is submitted in wrong place. This repo provdes Spring boot starters which is java framework. Not related with .net or ASP.

@ankurjasoria We will close this issue because it is not related to our repo. In this repo, we host code for Spring Boot support on Azure. Spring Boot is a framework for Java language.
You can find more reference at here and post your comment.

I am facing this issue "the specified cgi application encountered an error and the server terminated the process" on deploying jar file.

I am facing this issue "the specified cgi application encountered an error and the server terminated the process" on deploying jar file.

hi i am facing this issue while deploying spring boot war file to azure app service . Can anyone guide

"The specified CGI application encountered an error and the server terminated the process."
My WebConfig :


Panoramax: Becomes a blur when switching between imagery

URL
No response
How to reproduce the issue?
Ref #9941
Occasionally on switching from Panoramax imagery to Mapillary or Bing and back, or through images too quickly perhaps, Panoramax becomes a -zoomed in- blur.
workaround: reload page
Sidenote: Similar to Mapillary, which can also becomes pixelated blur. (issue(s) already exist)
Chrome 127.0.6533.73 on Windows 10
Screenshot(s) or anything else?

Which deployed environments do you see the issue in?
Development version at ideditor.netlify.app
What version numbers does this issue effect?
2.30.0-dev
Which browsers are you seeing this problem on?
Chrome

I can reproduce this issue easily at the following location when switching between mapillary and panoramax 360° photos:
https://ideditor.netlify.app/#map=20.55/48.84149/2.57693&photo=panoramax/98c886c2-11a5-48fa-bcd9-378e1aa0d027&photo_overlay=streetside,panoramax
I noticed that resizing the panellum viewer fixes the blurriness. Here' the code handling the resize event. Just a guess, but perhaps the problem is that while a viewer is hidden it has a size of "0x0", and therefore improperly scales the photos. I stirred around a little bit in the code, and found that switching the following two lines seems to resolve the issue: https://github.com/openstreetmap/iD/blob/b4eaeb3/modules/services/panoramax.js#L489-L490 – @mattiapezzotti can you take a deeper look please?

I tried to replicate the bug, but I can't replicate it consistently.
It is something involving the frame, since it is shared between multiple providers; but I am not sure if it is a size issue, since the frame does not actually change if you change services (if you enlarge the frame for panoramax, it will keep the same size for mapillary and bing as well).
Swapping the two lines of code does not seem to work; I will check the frame class better.

Swapping the two lines of code does not seem to work

True, it also does not work here for me when testing it now again. I must have been "lucky" that one time. :shrug:

I can't get it consistently.

For me this does it quite consistently (testing in Chromium v127): Open the above URL -> select the filter to only show 360° photos -> select either a Bing Streetside or Panoramax photo -> resize the viewer a little bit -> click on an image of the other provider -> blurred :boom: .  The initial resize seems to be relevant to trigger this for whatever reason.

Ok so I think i found the issue, when resizing the pannellum all the hidden pannellum get a 0 width and a 0 height size. I just forced a resize whenever an image gets selected. For some reason this only fixes on Panoramax but not on Bing Streetside, maybe it is handled in another way idk

this only fixes on Panoramax

yeah, I would think that a similar fix as #10385 would also be needed for the other street level imagery providers that are not yet using the panellum_photo.js module, but instead manage their own panellum scenes. For bing streetside it would be around here for example. Or, better, it would be good if these services would be switched to use the panellum_photo.js module.


DOC: rm np import

Thanks for the FYI. Guessed it would go one way or the other.

I guess that's good to go, then. thanks @raybellwaves


Lint settings

Added settings for .clang-format and .clang-tidy. For Visual Studio code, it will require the Clang Format and Clang Tidy plugins to provide lint support.
The .clang-format file sets up formatting rules, which can be configured to autoformat on save.
The .clang-tidy file sets up linting, which will throw errors and warnings for not using the specific naming convention and a few other common pitfalls.
It's an opinionated setup, but we don't have to go with everything here.

Thanks Austin,
I changed one of the rules which was providing warnings for function declarations to use the auto keyword.
It wants: auto main() -> int instead of int main()
I thought I disabled this, but it was still showing up. It is now disabled with the new change.

Closed because I merged the lint changes with the basic build PR.


Space Application Supporter can access specific app GET endpoints

Issue
Allow space application supporter to access specific app endpoints.
Context
We are introducing a new role and we want to make sure it has the right access.
Expected result
A space application support should be able access the following endpoints:

[x] GET /v3/apps/:guid
[x] GET /v3/apps
[x] GET /v3/apps/:guid/builds
[x] GET /v3/apps/:guid/droplets/current
[x] GET /v3/apps/:guid/relationships/current_droplet
[x] GET /v3/apps/:guid/permissions

Acceptance
A space application supporter would see the same info as a space developer assigned to the same space for these and only these endpoints.
Documentation
When I browse to any of these endpoints on v3 docs I can see the Space Application Supporter role in the list of permitted roles with an indication that this role is not fully implemented and the permissions will be changing.

@ctlong and I aren't finding the requested documentation changes despite this issue being closed. Was this missed in the PR?

Good catch, thanks @MerricdeLauney ! Looks like we did miss it, as it's just docs changes I've added them in this commit. and confirmed that the changes load correctly when running the docs locally. We'll do a second round of acceptance just on the docs once the changes get through the pipeline before closing out the issue again.

The commit made it through the pipeline and I've double checked that the role is indicated on the endpoints included in this issue


Update issue templates

If we do add this I'd rather it was actually useful rather than copy and pasted from something.


portusctl: added missing options

Moreover, I've created a small test to check that the config.yml file and
portusctl are always in sync in this regard.
Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

Maybe we should backport this to v2.0. It may include options only available for the next release (let me take a look). That being said, even if this is the case it should do any harm.

The change looks fine. Can you take a look at the broken tests?
Also I'm a bit worried about what could happen in the future to portusctl, I would not want to add all the possible portus configuration values in here. I fear it would be really messy

Now it should be fine.

Also I'm a bit worried about what could happen in the future to portusctl, I would not want to add all the possible portus configuration values in here. I fear it would be really messy

Hopefully, we won't be adding lots of new configuration options. Right now I don't see a way to avoid this mess :(

LGTM


⚠ Bofrost.be has degraded performance

In eb72635, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1299 ms

Resolved: Bofrost.be performance has improved in c659d03 after 37 minutes.


Can we have the glow as component?

Can we have the MahApps Window Glow as a decoupled component (or control), so we can use only the glow and custom our windows without bring with us all MahApps library?

@e200  I will not decouple the glow window behavior.


[TECU]: Add ISOBUS Heartbeat Message

Describe your changes

Added an interface which manages sending and receiving the ISOBUS heartbeat.
The heartbeat message is used to determine the integrity of the communication of messages and parameters being transmitted by a control function. There may be multiple instances of the heartbeat message on the network, and CFs are required transmit the message on request. As long as the heartbeat message is transmitted at the regular time interval and the sequence number increases through the valid range, then the heartbeat message indicates that the data source CF is operational and provides correct data in all its messages.
This interface is enabled by default, but can be disabled if you want to stop your heartbeat(s) or don't care about the safety-critical path of the machine.
https://www.isobus.net/isobus/pGNAndSPN/2507?type=PGN
How has this been tested?

[X] Added unit test for heartbeat interface
[x] Tested with seeder example

Some initial feedback, I haven't been able to test it yet but it looks promising

I think I addressed all your comments/suggestions in the latest diff, and I tested with the seeder example and it appeared to start sending a compliant heartbeat on request, which is great! The counter appeared to start at 251, roll over to 0, and reset once 250 was crossed as expected.
I also fixed the seeder example's manufacturer code (was 64) to be our code.

Sounds good, I re-opened one of them, but other than that looks good! I'm thinking it might be


fix(build): Fixed build error introduced in last commit

PR related to this trello task --> https://trello.com/c/cpJfQful

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Freezes when calling server-side methods on the client-side in v5

Environment
System:

OS: macOS 10.15.2
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Memory: 1.98 GB / 32.00 GB
Shell: 3.2.57 - /bin/bash

Binaries:

Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
Yarn: 1.21.1 - ~/.yarn/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm

Reproduction
https://github.com/donaldpipowitch/styled-components-v5-bug
Steps to reproduce
Inside the given repo run:
$ yarn add<EMAIL_ADDRESS>$ yarn start
# visit http://localhost:4200 - BROWSER FREEZES

Expected Behavior
Works like v4. Everything is rendered correctly. You see "If you see this, everything is working." in your app.
Actual Behavior
Browser freezes. You see the loading state forever.

I'm also seeing major freezes in an app where v4 worked flawlessly. It's when I ask it to render a lot of items, not sure if there is a specific style that it fails on. But the styles that it should render have many interpolations.
As it is now, I cannot upgrade to v5 as it is unusable.

I'm sorry to hear that, without more info (ideally a reproduction or detailed Chrome devtools trace) there's really no way to help you.

@probablyup while I can probably create a reproduction, there is already a reproduction in the  OP which I suspect is the same issue that I'm seeing. If that doesn't cover it I'll whip something up.

A more minimal repro that didn't include TS would be helpful. There's a lot in that project.

If TypeScript is a problem for the debugging process I'll try to remove it 👍

@probablyup I removed TypeScript and other stuff. I also tested v5.0.1. Same results.

So I've looked into this and I'll have to check why this stopped working, but to have a preliminary finding: Your reproduction has a server-side component that's called client-side. Now that's not great and pretty much an anti-pattern from a React and styled-components standpoint. But I'm looking into why this has stopped working right now.
@danieldunderfelt It sounds like your issue is possibly unrelated. We can't tell because we don't have a reproduction, but creating your own issue with a reproduction would probably lead to some clarity.

@kitten indeed, I don't have any server-side styled-components. I'll create a new issue and a reproduction!

@donaldpipowitch I've narrowed this down to malformed CSS that is generated by stylis that doesn't work well with our Rehydration code. Ironically a different method of rehydration would've worked well here but was scrapped, so it comes down to a regex that we'll need to fix.
If you don't mind, I'll open a separate issue that's more specific. I'll link it back to this one 🙌
cc @probablyup

@danieldunderfelt So your bug may actually be related if you're seeing a freeze during rehydration after SSR and your SSR'd CSS includes a /*! comment.

Thank you for looking into this 👍👋

Could y'all give this build a try<EMAIL_ADDRESS>

Could y'all give this build a try<EMAIL_ADDRESS>
The error is gone with that build. 👍🥳

Your reproduction has a server-side component that's called client-side. Now that's not great and pretty much an anti-pattern from a React and styled-components standpoint.

Thanks for the feedback. Can you point me to the exact component you think of...? I thought it was quite a common use case to prerender my components the way I did...?

I'm not sure why you're not using a css-loader there though?

I'm pretty sure I ran into https://github.com/webpack-contrib/mini-css-extract-plugin/issues/73.


Tag this repo mill-plugin and mill-module

So that it shows up in https://github.com/topics/mill-plugin

Done, thanks @joan38! That reminds me that I need to bring this repo up to date with DavidGregory084/sbt-tpolecat


coroutine '' was never awaited

Hey,
I am using your library and everything works fine for "normal" requests.
Problem arises, when I want to call cached method from within the same service.
My route:
@router.get('/get-fiat-currency-choices')
@cache()
def get_fiat_currency_choices():
    response_data = requests.get(f'{CURRENCY_EXCHANGE_API_URL}/currencies').json()

    choices = []
    for symbol, name in response_data.items():
        choices.append(
            {
                'symbol': symbol,
                'name': name,
            }
        )

    return choices

I am trying to call it with:
    @validator('currency')
    def validate_currency(cls, val):
        allowed_currencies = [currency['symbol'] for currency in get_fiat_currency_choices()]
        if val not in allowed_currencies:
            raise ValidationError('Currency is not supported.')
        return val

Error I am getting:
RuntimeWarning: coroutine 'get_fiat_currency_choices' was never awaited
2021-08-14T17:24:37.540579531Z   allowed_currencies = [currency['symbol'] for currency in get_fiat_currency_choices()]
2021-08-14T17:24:37.540585575Z RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Would appreciate any help, thanks!
P.S. The same thing occurs when I am using similar library 'fastapi-cache2' (https://github.com/long2ice/fastapi-cache)

Weird! I am getting the same error. Did you ever figure this one out...?


[WIP] when backing up PVCs, also back up claimed PVs

Signed-off-by: Steve Kriss<EMAIL_ADDRESS>Fixes #15

@ncdc PTAL at the revisions to this. I moved resource resolution into the discovery helper and built up a map for APIResource fetching there during Refresh().

got this approach working, have some fine-tuning to do on the design but generally looks good.

@ncdc the code here still needs some fine-tuning but would appreciate a review on the design/refactoring to allow actions to trigger backups of additional items directly.

Two notes:

if both PVs and PVCs are being backed up, we need to force PVCs to go first so that the relevant PVs are backed up as part of that. I'll probably just hardcode this logic for now.
we need something like https://github.com/heptio/ark/issues/15#issuecomment-335637360 to really make this use-case work as expected. this PR helps with the backend but doesn't address the UX.

retest this please


Float is rounded to nearest int value

Hello,
My XML file has something like that,
     <Bond class1="OW" class2="HW" length="0.09572" forceconst="502080.7"/>

In my c++ code,
 float bond_fc = bond_type.attribute("forceconst").as_float();  // just relevant line

I expect bond_fc to be 502080.7, but it is 502081. Looks like strtod is responsible for that. I wonder how to avoid this unwanted rounding to the nearest int value.

The value is not rounded to nearest int value - the tool you're using to print/view the value is truncating it.
~/pugixml $ cat test.cpp
#include "pugixml.hpp"
#include <stdio.h>

int main()
{
	pugi::xml_document doc;
	doc.load_string("<Bond class1='OW' class2='HW' length='0.09572' forceconst='502080.7'/>");
	float bond_fc = doc.child("Bond").attribute("forceconst").as_float();
	printf("%f\n", bond_fc);
	double bond_fc_d = doc.child("Bond").attribute("forceconst").as_double();
	printf("%f\n", bond_fc_d);
}
~/pugixml $ g++ test.cpp src/pugixml.cpp -I src && ./a.out
502080.687500
502080.700000

Single precision floating point numbers can't represent decimals exactly in general, but also have little decimal precision left for large numbers, so the value above has an error (when represented as floats) of ~0.0125. If that error is significant, you can always use double instead.


Feat: Updated text alignment of paragraph in contribute route

Fixes #4601
Describe the changes you have made in this PR -
Updated the text alignment to center in the contribute route which  has previous CSS on paragraph as text-align: justify . I have changed to  text-align: center.
Screenshots of the changes (If any) -
After

Hence solves the issue #4601
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Sorry, but already some other contributor has been assigned to the issue #4601, so that I am closing this PR.
Get yourself first assign to the issue before raising the PR.
Best luck for your next contribution.


Can't add tag for release definitions via logging commands.

I have been using the option to add a tag for current build via logging command. At this moment there's no such functionality for release definitions (or at least not documented yet).
How can it be accomplished and used? Maybe through the REST API, but I can't find it neither. I think it would be great to have this implemented as a logging command.

This repo is for these tasks:  https://github.com/Microsoft/vsts-tasks/tree/master/Tasks
You'll need to follow up with RM team.  Perhaps in the vsts-agent repo (where logging commands are)


How should I use the tools/prepare_dataset_objaverse.py?

Hi, I'd like to use the tools/prepare_dataset_objaverse.py to preprocess gobjaverse dataset, could you tell me how to use this script?

Is this right?

 Is this right?

Yes, I think so.


Cryptomatte Fusion Crash / Offset

I'm using the new Cryptomatte features out of Redshift and I'm having issues getting the output to work correctly in Fusion 9.0.2.  I'm told this output works correctly in Nuke.  I get different issues depending on the resolution.
With smaller resolution, when I pick an ID the image is is offset. With larger resolution like 1080p when I pick an ID Fusion will outright crash.

CryptoMatte_Redshift_EXRs.zip
Thanks,
Dan

Hi @kanooshka
First of all thanks for using Cryptomatte and sorry for the inconvenience!
Second, I never tested Redshift for the Fusion node, but it seems like you're experiencing the same issue as for Houdini Mantra images. When you enable DoD (domain of definition) in the Fusion viewport displaying either one of your "CryptoMatte_540_Offset" or "CryptoMatte_1080_FUSIONCRASH" files, you'll see that your datawindow is smaller than your displaywindow. This is sadly not supported yet, but it is in the top three of the road map.
I will keep you posted on this fix, which should allow Fusion Cryptomatte to work correctly with both Mantra and Redshift.
Cheers
Cedric

Hi Cedric, thanks for getting back to me, is this something that can be adjusted on Redshift's side, or is this purely a fusion side issue?
Thanks,
Dan

Hi @kanooshka
No problem, you are being part of improving Cryptomatte for Redshift support as we speak.
To answer your question, Fusion side, well actually my side.
I don't know if this is possible in Redshift, but if you can render full canvas, so that the datawindow will not be different than the display window, then all should go fine.
Cheers
Cedric

Just wanted to put an update in here.  Redshift now can output cryptomatte with a full datawindow and works now.  It would still be good to get this fixed for if the autocrop option is enabled in Redshift but I'm glad to say it's usable now!
Cheers,
Dan

Hi @kanooshka
So I've heard from a few happy users, thanks!
About the auto-crop, stay tuned, coming real soon.
Cheers
Cedric

Hi @kanooshka
1.2.2 is released, meaning autocrop is supported!
I've attached the demo comp I used with your frames to confirm the fix while developing.
Enjoy!
Cheers
Cedric
redshift.zip


IO::Socket::Async::ListenSocket is undocumented

The problem
IO::Socket::Async::ListenSocket, the type returned by IO::Socket::Async.listen(...).tap(...) is undocumented
Suggestions
Document it, along with .socket-host, .socket-port, and .native-descriptor (once that's merged).

It's part of Rakudo. We've done this usually with other classes, only it should be very clear it's not spec.

Ah, my mistake.

No mistake at all. Usual policy is that if it's returned from some specced method, it's also documented, and this definitely should be, I think. Thanks for raising the issue.


Add isBottomSheetOpen parameter.

We have a ScaffoldState.isDrawerOpen property amongst others, which are based on if the corresponding methods are called on ScaffoldState. Can we add one for if a BottomSheet is being displayed?

https://github.com/flutter/flutter/issues/51720

Why is #51720 referenced?

Hi @ThinkDigitalSoftware
I believe the features you are proposing make sense in general
and even more sense bundled together, just my opinion.
I added the reference for visibility.

Oh, awesome. Thank you, sir

I'm here looking for an issue linked to a regression in the bottomSheet, so since I read this, I will inform you that if this is something urgent in your project, there is a lib that does just what you want:
https://pub.dev/packages/get


[TW#23092] Bluetooth Classic HID client demo (IDFGH-881)

Environment

Development Kit:      ESP32-DevKitC
Kit version (for WroverKit/PicoKit/DevKitC): v2
Core (if using chip or module): ESP-WROOM32
IDF version: Unknown (arduino-espressif32 @ 9570b77)
Development Env:		VSCode with PlatformIO
Operating System:		Windows
Power Supply:         USB

Problem Description
I'm trying to connect to a Xbox One S gamepad using bluetooth. Since the gamepad uses classic bluetooth I can not use the (very good) BLE library available for arduino, neither use the BLE examples as a reference.
I used the discovery example as a reference and can now discover the HID service offered by the gamepad - but I could not figure out how to actually connect to the discovered gamepad because I could not find an example for this case.
Is the functionality for BTC HID already implemented and/or are there any examples on how to communicate with such a device?
Thanks,
Denis

Hi @Lunatix89  Sorry to tell you that,  we haven’t implemented this feature yet.

Okay, but that's good to know.
Any chance that this will be implemented in the future?

At present, we do not have this plan yet.
I will inform you if we have plans to begin.
Thanks.

Is there any other problems?

@Lunatix89 did you find out how to do it? I'm trying to do more or less the same thing.
@blueMoodBHD
I might be able to find out how to do the HID thing myself, but I would need a sample that shows to to interact with l2cap. Any link? Thanks!

@ricardoquesada
Do you have any news, I would like to control my esp32 with xbox controller.

@ricardoquesada
Do you have any news, I would like to control my esp32 with xbox controller.

yes. I'm not using bluedroid from esp-idf. Instead I'm using btstack: https://github.com/bluekitchen/btstack/
which supports BT Classic + HID. It is a commercial project, but free for open source.
And I implemented support for gamepads (Xbox One included) in this project:
https://retro.moe/unijoysticle2/
(which is open source, feel free to reuse the code, but you have to comply with BlueKitchen license)

Thank @ricardoquesada for following up. I currently use my labtop open javascript html5 webpage to send my controller keystroke to ESP32 web server. It for my personal use. Thanks, your method is better than mine. I will try.


Documentation for Omni Core specific options

The following options should be documented:

-alertallowsender=source (multi string, authorize alert senders, can be any)
-alertignoresender=source (multi string, ignore alert senders)
-autocommit (boolean, create or broadcast transactions, enabled by default)
-disclaimer (boolean, explicitly show QT disclaimer on startup, disabled by default)
-omnidebug=category (multi string, enable log categories, can be all, none)
-omnilogfile=file (string, log file, omnicore.log by default)
-overrideforcedshutdown (boolean, overwrite shutdown, triggered by an alert, disabled by default)
-startclean (boolean, clear persistence files, disabled by default)

The options -datacarrier and -datacarriersize might be mentioned, given that those have an impact on whether class B or class C transactions are created.
Alternatively, and this is what I'd prefer, we add an explicit option to set the limit for class C transactions. I'd favor it, because this allows to use different values, and if we do this, I suggest to set the client's default relay value to 80 byte, but the default cutoff for class C transactions to 40 byte, to support larger OP_RETURN transactions, while ensuring the transactions created by Omni Core are not delayed. The size of 80 byte is the new default for Bitcoin Core 0.11, but I think we should have expressed "support" ideally yesterday.

I agree, though honestly I'd like to give our documentation a thorough going over in it's entirety (hasn't been done since 0.0.8 IIRC) - I still get people asking support questions about where to put the mastercoin_balances.txt file which hasn't been used for eons.
Basically along with this release I think we should have a proper documentation endeavor:

Up to date API documentation

How-to's for the QT client

Tutorials, blog posts and such

Go through and update existing/old tutorials and blog posts etc to point to this new content

The size of 80 byte is the new default for Bitcoin Core 0.11, but I think we should have expressed "support" ideally yesterday.

I did not know this - good news :)

Yeah, there are a few places, which would benefit form an update - the README for example.
Speaking of: did you run Master Core 0.0.9 on mainnet recently? Since it's based on Bitcoin Core 0.9.3, there is very, very likely a status warning with "Warning: This version is obsolete, upgrade required!", and getinfo also shows a warning:
$ bitcoin-cli getinfo
{
    "version" : 99900,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : 0.09009278,
    "blocks" : 358898,
    "timeoffset" : -1,
    "connections" : 54,
    "proxy" : "",
    "difficulty" :<PHONE_NUMBER>3.62500763,
    "testnet" : false,
    "keypoololdest" :<PHONE_NUMBER>,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00000010,
    "errors" : "Warning: This version is obsolete, upgrade required!"
}

This is from another 0.9.3~ node, and I'm unable to test it with Master Core at the moment, because my datadirs are "polluted" with out of order blocks.
The warning is shown, because there were more than 50 % version 3 blocks recently mined.

Confirmed (OmniChest.info runs 0.0.9):
ubuntu@ip-172-30-0-109:~$ ./mastercored getinfo
{
    "version" : 90300,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 358898,
    "timeoffset" : -40,
    "connections" : 8,
    "proxy" : "",
    "difficulty" :<PHONE_NUMBER>3.62500763,
    "testnet" : false,
    "keypoololdest" :<PHONE_NUMBER>,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : "Warning: This version is obsolete, upgrade required!"
}
ubuntu@ip-172-30-0-109:~$ ./mastercored getinfo_MP
{
    "mastercoreversion" : "<IP_ADDRESS>9999999999996-dev",
    "bitcoincoreversion" : "0.903",
    "commitinfo" : "",
    "block" : 358898,
    "blocktime" :<PHONE_NUMBER>,
    "blocktransactions" : 0,
    "totaltrades" : 0,
    "totaltransactions" : 24052,
    "alert" : {
    }
}

Hm.. that's not cool.
Do you think this justifies a <IP_ADDRESS> release?

Do you think this justifies a <IP_ADDRESS> release?

It's basically irrelevant for non-miners, but the warning might be annoying.

It's basically irrelevant for non-miners, but the warning might be annoying.

Sadly I get the very distinct impression integrators do not poll for alert warnings (Bitcoin or Omni) :(

Well, we should use the safe mode in the future (instead of a shutdown). You could give it a try and start with -testsafemode and then use send_OMNI (or so). :)

I thought safe mode still allowed you to query RPC?  This is just as bad (probably more risky) than allowing sends...

RPC calls, which are tagged as non-safemode-safe are rejected. Actions via UI go through though..

OK cool - well since all of our RPC calls are blocked in safe mode what's the 'value' to failing back to safe mode instead of a plain shutdown - both are going to get attention :)

Actions via UI go through though.

We could work up the UI to kind of display N/A for everything when in safe mode perhaps.  The critical thing for me is that no-one sees an incorrect balance anywhere (RPC or UI), as this can be exploited (RPC example fake deposits, UI example social engineering).
I guess my gut feeling is there is no value in safe mode for us, as we essentially shutdown all Omni functionality - thus why try and leave the client running?

It's less invasive, and some parts might still be usable (Bitcoin Core calls for example).
In the long run I think we should reconsider the idea of blackholes. And for the next release we probably should define a bunch of transaction types/versions, which are likely going to be live in a forseeable future, and already plan ahead in one way or another, though I'm still not really sure how exactly.
The basic idea is something like: if we know that transaction type 10 (just an example) is going to be balance-reducing, then we could add minimal logic to consider transaction type 10 transactions as balance reducing, and maybe get away with not shutting down clients, once transaction type 10 is live.

I'm supportive of the idea of blackholes - but only once a solution has been proposed that is provably safe - I think that will require some careful thinking & work :)

I started with a close-to-placeholder here:
https://github.com/dexX7/bitcoin/blob/oc-0.10-rebrand-to-omni/src/omnicore/doc/configuration.md
It should be refined, with proper descriptions, and maybe other categories.
Logging categories should be mentioned.


Cant upload to Appstore with SnapKit installed as submodule.

I get errors when trying to upload to appstore.
Because I have other pods which cant use the use_framework tag I had to install SnapKit as a submodule.
I followed the instructions on http://snapkit.io/docs/

@arbitur unfortunately you cannot use embedded frameworks regardless of compilation method for iOS 7 targets. The docs are probably not the most clear as it does say you can embed the framework but only for non app store apps.

While SnapKit supports iOS 7.0, frameworks are not supported for iOS 7.0 so you must manually embed the framework for non app store apps or integrate the source files directly.

You need to do a submodule git checkout but drag the source files manually into your project.

@robertjpayne  Its that easy?? :D

@arbitur it's easy but also very frustrating :( Conflicts are much easier when embedding swift source than using it via frameworks.
But yes if you simply add the source files to your project you should be good to go ( maybe fix a conflict if any arise ).


duplicate selected features

Hi,
Thanks for the cool work! When I run this code on my own data, I find that the selected features are not unique. In my case, I have around 1600 features, and I try to select a subset of features using your algorithm. However, there are 880 unique features if I set the k_selected paramter to 1500. The duplication is true even if i choose a small subset of features, for example, 200 out of 1600.
My question is, how can I get exact K distinct features if k_selected==K? I want to figure out the minimal number of features needed for my task.

Thanks for your reply.
I use standard scaler on my dataset before training.
Sorry I cannot share my data for some reason, but the phenomenon can be reproduced using the two moon data. I modify your orginal notebook in following ways: 1) set the parameter d in create_twomoon_dataset to 1600 (the number of features in my data), 2) set num_epochs to 30 (for fast reproduce). 3) select 1500 features other than 2. Finally, I only get 1047 unique features although the algorithm outputs 1500 features.
I think the problem could be in the selection procedure,
        feats = torch.argmax(self.logits, dim=0)
In my mind, this can not guarantee the uniqueness of selected features as the largest number of different columns may appear in the same row. Maybe I miss something here.
Another interesting phenomenon is, when I set d to 100 in the two moon dataset, even if I want to select two features, I didn't get the 0 and 1 indexes (which I should have).


Any plan to make the data and pretrain code publicable?

您的邮件已成功到达，何羽鑫将会及时查收。Your mail has arrived successfully. Yuxin He will handle it later.------------------------------by: 自动回复


fix auto-generated pkgconfig files for libsapi

fix auto-generated pkgconfig files to allow us to install libsapi.a into a customized directory, e.g. /opt/xxx

the previous /opt/xxx/lib/pkgconfig/*.pc doesn't work for me, because:

"Cflags" was improperly set to sub-directories  "include/tcit/" and "include/sapi/"
While the correct directory should be just the @includedir@ itself.
"Libs" should provide a gcc link option "-L@libdir@" in case we're going to install libsapi.a into a customized directory

See the original issue I've posted on tpm2-tools: https://github.com/01org/tpm2-tools/issues/402

LGTM. Thanks @liuqun

Many 3rd party projects are still using #include <tpm20.h>
Since our previous changes on sapi.pc may break their code, I suggest we might just place another fake "tpm20.h" at the top level of "@@includedir@@"
For example:
/*
 * This "tpm20.h" is placed at top level for those 3rd party code who might use `#include <tpm20.h>` currently
 */
#include <sapi/tpm20.h>


can't scroll to change steak selection on vivoactive devices

This device has a weird button layout and doesn't appear to support touch. The regular prev/next doesn't work on it because we'll have to support whatever those buttons are manually.

In the vivoactive 4 and 3 it works for me. Although no visible buttons, but a click anywhere on the screen seems to be accept. And a scroll up (click+keep pressed for a second and up or down with the mouse) or down and also works. I havent figured out how to "back."

The rounds ones and the HR seem to work, but the original rectangular vivoactive is weird. The simulator shows a left and right button but only one seems to do anything. The devices.xml says it's a touch device with swipe support, but we don't get any swipe messages from it.
I was just making a pass at the layouts to see how things looked and found this.. will have to look some more to see what we can do about it.

I managed to click up and down in the vivoactive.

However, it works on the time selection menu. It does not work in the Grill menu. Perhaps we're using a different event?

the buttons are just all weird on this device. You are correct, the scroll works there but doesn't work properly on the steak menu. However, swipes and such DO work properly on the HR and other slightly newer devices. going to look a little more to see if we can handle this cleanly as it seems to be the only device that does this.

ok it works it's just a really clumsy interface.
swipe from right to left across the screen sends onNextPage, swipe from left to right across the screen sends onPreviousPage and the selection works as-is.
then, for whatever reason as you found tapping the top and bottom of the screen scrolls the menu. I think this is probably because it was the or one of the first touch devices and they made the firmware fake the regular keypresses instead of using swipe events.
Closing this, it works as well as any other app on this device would.


Does it support react?

First of all, thank you for providing a powerful development framework.
Do you have any plans to develop based on React framework?

No, we're sticking to Vue.js


If a theme is applied, use the theme's token in the List component

Which package has an issue?
@yamada-ui/react
Package Version
1.3.0
Description
Currently, styling values in components ignore theme tokens. If a theme is applied, you should use the theme's token.
Yamada UI's style system provides fallback functions. If the value of the token in the first argument does not exist, it returns the second argument, the fallback value.
/**
 * The CSS `gap` property.
 *
- * @default '0.5rem'
+ * @default '2'
 */
gap?: CSSUIObject["gap"]

const {
  className,
  children,
  styleType: listStyleType = "none",
  stylePosition: listStylePosition,
-  gap = "0.5rem",
+  gap = "fallback(2, 0.5rem)",
  ...rest
} = omitThemeProps(mergedProps)

Link to Reproduction
No response
Steps to Reproduce

Go to '...'
Click on '...'
Scroll down to '...'
See error

Browser
None
Operating System

[ ] macOS
[ ] Windows
[ ] Linux

Do you know how to fix the issue?
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix?
None
Additional Information
No response

@GensIto
Thanks for the comment!
Yes, please.
I'll assign this issue to you.