Error with bower_components not found or unreadable

Hi!
This is my first time with this theme and also my first time attempting npm/grunt/bower. I followed the directions from the main page under "Quick Start" and am running the npm run watch command.  However every time I update my project, I'm getting this error in terminal:
'

file to import not found or unreadable: ../bower_components/foundation/scss/foundation/components/grid
Current dir: /usr/local/zend/apache2/htdocs/project-name/wordpress/wp-content/themes/my-theme/scss/
Line 15  Column 9  scss/foundation.scss
Warning:  Use --force to continue.`

It doesn't appear any of my changes are showing on the front-end due to this error. I noticed I don't actually have this bower_components folder in my FoundationPress custom theme. So I tried following the original Foundation Docs. I followed "How to install the CLI". Bower appears to be installed.
I tried to physically create the bower_components/foundation/scss path in my FoundationPress custom theme too. Still getting the error.
If it helps, I did comment out components in the grunt.js folder as well as foundation.scss.
Am I missing a step? Was that bower_components directory supposed to set itself up at some point?
Thanks. :-)

Update: I just tried running npm run watch  on a fresh copy of FoundationPress and receive the same error after installing npm in that theme. So it doesn't appear to be any customizations I made, rather something I'm missing?

Resolved in https://github.com/olefredrik/FoundationPress/issues/375 - basically needed bower to install correctly, but it was a permissions issue. Then had to re-build node sass.

:+1:


Refactor unittest folder structure

See the unittest structure of mmaction2 as a reference

Refactor unit test folder structure in #386

#386 has been merged


NUC not shutting down itself automatically when entering the post-provisioning stage

Therefore, it requires the user to manually shutdown.

This issue was moved to resin-os/resinos#70


New features not appearing on index page in 0.25.2

Problem
After upgrading to 0.25.2 across a couple apps, we noticed that when adding a new feature (through flipper-ui), we could make changes to the flipper (add new actors, etc), but when returning to the index page, new features were not listed.
Adding the feature again would show the individual feature edit page with the previous settings still respected, but again it would not show up on the index page.
When downgrading back to 0.25.1, the previously added feature still didn't appear, but when attempting to add it once again under 0.25.1 it finally showed up on the index page (still retaining the settings from 0.25.2)
Reproduction Steps

Open index page from flipper-ui (/features)
Click 'Add Feature'
On the create feature page (/features/new), enter a feature name and click Add Feature
Add an actor on the feature edit page (/features/<feature name>), so that you can determine the settings are retained
Navigate back to the index page (/features)
Note the new feature is not there
Go through steps 1-6 again, but note that the previous settings were retained on the edit page

Detail
We're using Redis as the backend for Flipper.
Versions
flipper=0.25.2
flipper-ui=0.25.2
flipper-redis=0.25.2
redis=4.8.0
redis-namespace=1.9.0
rails=<IP_ADDRESS>
ruby=3.1.2

I see that you're using Redis 4.8.0, so this issue must be related to the changes in #660.

@dmarcoux didn't #660 actually fix the issue with redis 4.8.0 and was included in flipper 0.25.2 ? (I didn't bump into this issue, but was just checking for any open issues related to 0.25.2 before upgrading)

@garyjohnson I can't reproduce this. I setup a stock Rails app with redis 4.8, ruby 3.1 and flipper, flipper-ui and flipper-redis gems 0.25.2.
I went to features, add new feature, added feature, added actor, went back to index and got this:

I've done it multiple times and each feature shows up. Something else weird must be going on -- maybe with redis-namespace?
Can you drop your redis configuration in here and any specific flipper config you may have?
I'm closing the issue to keep things tidy but happy to keep helping and will re-open if we can confirm the problem is with flipper.

Thanks for looking into this. I’ll work on setting up a test with / without redis-namespace and see if it’s needed for reproduction.

I can reproduce this with redis-namespace. If I create an adapter with Redis::Namespace and add features, they do not appear in my index. If I then create an adapter without the namespace, the features I added in the namespaced adapter appear in my index (along with new ones I add). So it looks like the features get created but not in the namespace I want them.
I have set up a new Rails app with just flipper, flipper-redis, flipper-ui and redis-namespace as extra gems: https://github.com/VeraCologne/redis-flipper-namespace-test
Tested with redis-server version 5.0.5
versions in my gemfile:

redis 4.8.0
flipper 0.25.2
redis-namespace 1.9.0

this is my config/initializers/flipper.rb
require 'flipper/adapters/redis'

options = {
  url: 'redis://<IP_ADDRESS>'
}

# this works
adapter = Flipper::Adapters::Redis.new(Redis.new(options))

# this does not work
# adapter = Flipper::Adapters::Redis.new(Redis::Namespace.new('test_flipper', redis: Redis.new(options)))

Flipper.configure do |config|
  config.default { Flipper.new(adapter) }
end

features = %w[foo bar baz]

features.each { |feature| Flipper.add feature }

@jnunemaker The issue here seems to be that redis-namespace doesn't handle sadd? yet, so its not applying the namespace when making the sadd? call.
I'm temporarily working around this with a monkey patch in my initializer:
module Flipper
  module Adapters
    class Redis
      private
      def redis_sadd_returns_boolean?
        false
      end
    end
  end
end


Provide a sitemap to Google

What's your idea?
This would improve the search experience

We'll skip this for now.


⚠ Bofrost.de has degraded performance

In aebb3d6, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1183 ms

Resolved: Bofrost.de performance has improved in a0aac88.


New Content Update Request: New Partner

Link where content currently exists
https://techqueria.org/supporters/
Updates you'd like to make
Update should happen under bronze supporters
Any additional context?
This was requested because its a new partner.

I can take care of this


Plugin does not start with VSCode on MacOS

It just leaves this error:
[Error - 11:19:38] Starting client failed
Error: spawn Unknown system error -8
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:720:9)
at /Users/ludek/.vscode/extensions/hbohlin.vhdl-ls-0.5.0/dist/extension.js:26190:40

i guess there is no support for MacOS.
In the file "extension.ts" you can see that only binaries for windows and linux are considered.
const isWindows = process.platform === 'win32'; const languageServerName = isWindows     ? 'vhdl_ls-x86_64-pc-windows-msvc'     : 'vhdl_ls-x86_64-unknown-linux-musl';

We do not build binaries for MacOS so that is why there is no support. It should probably be easy to setup if anyone is willing to spend time on it.


Design change not possible

Is there a way to change design? I dont see any options in the docs for this.

https://developers.facebook.com/docs/accountkit/webjs/customizing


Run snakeyaml without java.desktop module

I am experimenting with jlink trying to create a small (headless) JDK while still using snakeyaml. I created a small sample program in Demo.java file:
import java.util.Map;
import org.yaml.snakeyaml.Yaml;

public class Demo {

    public static void main(String[] args) {
        Yaml yaml = new Yaml();
        String document = "hello: 25";
        Map map = (Map) yaml.load(document);
        Object h = map.get("hello");
        System.out.println("h: " + h);
    }
}

I compile it and run successfully with JDK21:
$ jdk21/bin/javac -d . -cp snakeyaml-1.28.jar  Demo.java
$ jdk21/bin/java -cp .:snakeyaml-1.28.jar Demo
h: 25

however when I try to run it without java.desktop module, everything fails.
To reproduce
First of all let's build a small JDK via jlink command. I use:
$ jdk21/bin/jlink --output smalljdk --add-modules java.base

this generates a small, restricted JDK in smalljdk directory. Running with regular snakeyaml-1.28 then fails with a linkage error:
$ smalljdk/bin/java -cp .:snakeyaml-1.28.jar Demo
Exception in thread "main" java.lang.NoClassDefFoundError: java/beans/IntrospectionException
        at org.yaml.snakeyaml.constructor.BaseConstructor.getPropertyUtils(BaseConstructor.java:559)
        at org.yaml.snakeyaml.constructor.BaseConstructor.addTypeDescription(BaseConstructor.java:579)
        at org.yaml.snakeyaml.constructor.Constructor.<init>(Constructor.java:103)
        at org.yaml.snakeyaml.constructor.Constructor.<init>(Constructor.java:80)
        at org.yaml.snakeyaml.constructor.Constructor.<init>(Constructor.java:62)
        at org.yaml.snakeyaml.constructor.Constructor.<init>(Constructor.java:48)
        at org.yaml.snakeyaml.Yaml.<init>(Yaml.java:66)
        at Demo.main(Demo.java:7)
Caused by: java.lang.ClassNotFoundException: java.beans.IntrospectionException
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)

the problem is that PropertyUtils class is referencing java.beans classes (part of java.desktop JDK module) and those are not available. One of these classes is even in the signature of the isTransient method and thus the JDK verifier refuses to load the PropertyUtils class.
This PR fixes that by restructuring the code, so only MethodProperty class references the java.beans package. As this class isn't used in BeanAccess.FIELD mode, the following passes with the new snakeyaml JAR file:
snakeyaml$ smalljdk/bin/java -cp .:target/snakeyaml-2.3-SNAPSHOT.jar Demo
h: 25

These changes are not only useful for our project, but for everyone trying to use snakeyaml on a headless JDK without java.desktop. Please consider accepting my refactoring.

Can this refactoring be considered for integration? Right now I have to patch your library and it doesn't feel comfortable.

Can you please expose instruction how to use it ? Is there a link to a wiki ?
It will be delivered in version 2.3
https://bitbucket.org/snakeyaml/snakeyaml/wiki/Changes

Thank you for accepting my contribution!


fixed issue #8970

Issue Reference
Fixed issue #8970
Fixed issue #8969

@shivendra-webkul To calendar is going down. it should be the same as the design. Here

@Amitk-webkul Input data is longer in date time format so its overlap on the calendar icon so I break the input fields its not an issue.

@shivendra-webkul Okay, functionality is working fine.

@shivendra-webkul  pelase check the PR again.


Memory Leak: WidgetInspectorServiceExtensions.screenshot does not dispose created ui.Image.

Is there an existing issue for this?

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

Steps to reproduce
WidgetInspectorServiceExtensions.screenshot does not dispose created ui.Image instance.
Test to reveal the leak:
import 'dart:convert';
import 'dart:ui' as ui;

import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart';

import 'widget_inspector_test_utils.dart';

void main() {
  _TestWidgetInspectorService.runTests();
}

class _TestWidgetInspectorService extends TestWidgetInspectorService {
  // These tests need access to protected members of WidgetInspectorService.
  static void runTests() {
    final TestWidgetInspectorService service = TestWidgetInspectorService();
    WidgetInspectorService.instance = service;

    testWidgetsWithLeakTracking('Leak', (WidgetTester tester) async {
      await tester.pumpWidget(
        const Center(
          child: RepaintBoundary(
            child: ColoredBox(
              color: Colors.red,
              child: Padding(
                padding: EdgeInsets.all(100.0),
                child: SizedBox(
                  height: 100.0,
                  width: 100.0,
                ),
              ),
            ),
          ),
        ),
      );

      final Element repaintBoundary =
          find.byType(RepaintBoundary).evaluate().single;

      // Verify we get the same image if we go through the service extension
      // instead of invoking the screenshot method directly.
      final Future<Object?> base64ScreenshotFuture = service.testExtension(
        WidgetInspectorServiceExtensions.screenshot.name,
        <String, String>{
          'id': service.toId(repaintBoundary, 'group')!,
          'width': '300.0',
          'height': '300.0',
        },
      );

      final TestWidgetsFlutterBinding binding =
          TestWidgetsFlutterBinding.ensureInitialized();
      final ui.Image screenshot = (await binding.runAsync<ui.Image>(() async {
        final String base64Screenshot =
            (await base64ScreenshotFuture)! as String;
        final ui.Codec codec =
            await ui.instantiateImageCodec(base64.decode(base64Screenshot));
        final ui.FrameInfo frame = await codec.getNextFrame();
        return frame.image;
      }))!;
      addTearDown(screenshot.dispose);
    }, leakTrackingTestConfig: LeakTrackingTestConfig.debugNotDisposed());
  }
}

Test output
Expected: leak free
  Actual: <Instance of 'Leaks'>
   Which: contains leaks:
          # The text is generated by leak_tracker.
          # For leak troubleshooting tips open:
          # https://github.com/dart-lang/leak_tracker/blob/main/doc/TROUBLESHOOT.md
          notDisposed:
            total: 1
            objects:
              Image:
                test: leak
                identityHashCode: 13383695
                context:
                  start: >
#6_______flutterEventToLeakTracker_
test_widgets.dart:24
#7______MemoryAllocations.dispatchObjectEvent_
memory_allocations.dart:241
#8______MemoryAllocations._imageOnCreate_
memory_allocations.dart:315
#9______new_Image.__(dart:ui/painting.dart:1717:15)
#10______NativeScene.toImage.<anonymous_closure>.<anonymous_closure>_(dart:ui/compositing.dart:71:26)
                    #11_____FfiTrampoline___toImage$Method$FfiNative$Ptr_(dart:ffi)
#12______NativeScene._toImage_(dart:ui/compositing.dart:78:20)
#13______NativeScene.toImage.<anonymous_closure>_(dart:ui/compositing.dart:67:54)
#14______futurize_(dart:ui/painting.dart:6946:35)
#15______NativeScene.toImage_(dart:ui/compositing.dart:67:12)
#16_____OffsetLayer.toImage_
layer.dart:1554
#17______ScreenshotPaintingContext.toImage_
widget_inspector.dart:615
#18_____WidgetInspectorService.screenshot_
widget_inspector.dart:2096
#19_____WidgetInspectorService.initServiceExtensions.<anonymous_closure>_
widget_inspector.dart:1287
#20_____TestWidgetInspectorService.testExtension_
widget_inspector_test_utils.dart:100
#21______TestWidgetInspectorService.runTests.<anonymous_closure>_
widget_inspector_1_test.dart:43
                    <asynchronous_suspension>
#22_____testWidgetsWithLeakTracking.wrappedCallBack_
test_widgets.dart:127
                    <asynchronous_suspension>
#23_____testWidgets.<anonymous_closure>.<anonymous_closure>_
widget_tester.dart:168
                    <asynchronous_suspension>
#24_____TestWidgetsFlutterBinding._runTestBody_
binding.dart:1013
                    <asynchronous_suspension>
#25_____StackZoneSpecification._registerCallback.<anonymous_closure>_
stack_zone_specification.dart:114
                    <asynchronous_suspension>

package:matcher                                                  expect
expect
widget_tester.dart:458
_tearDownTestingWithLeakTracking
test_widgets.dart:82
===== asynchronous gap ===========================
dart:async                                                       _CustomZone.registerBinaryCallback
configureLeakTrackingTearDown.<fn>
test_widgets.dart:59

Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.14.0-14.0.pre.580, on macOS 13.0.1 22A400 darwin-arm64, locale en-GB)
    • Flutter version 3.14.0-14.0.pre.580 on channel master at /Users/ksokolovskyi/dev/flutter_master
    • Upstream repository git@github.com:ksokolovskyi/flutter.git
    • FLUTTER_GIT_URL = git@github.com:ksokolovskyi/flutter.git
    • Framework revision ba1d6147ba (28 hours ago), 2023-09-30 04:52:24 -0400
    • Engine revision f726438d4d
    • Dart version 3.2.0 (build 3.2.0-218.0.dev)
    • DevTools version 2.28.1

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

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2023.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • 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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 117.0.5938.92

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

• No issues found!

cc @polina-c


Add matrix format output spec

For review

@mckinsel the integration tests are probably failing here because this branch is not up to date with the master branch.

@mckinsel Can this be merged in?

@chrisfarnham


snakehelper: overwrite_dir()

run test if there is enough space - and exit if not

hard coded requirement for at least 100GB (as of v2.0.0)


Upgrade cpython

This change updates the cpython dependency to 0.2. There are various changes in the 0.2 cpython release that make it easier to specify the python interpreter at build time. See:

https://github.com/dgrunwald/rust-cpython/commit/61ab92e977b215504178cffaeba65bc3384cdb93#diff-fe52cdca0106226d05cf00d7c92c89ee
https://github.com/dgrunwald/rust-cpython/commit/e7abe40cd1eb6636a7a3cf1ace42ec69acdc0436#diff-fe52cdca0106226d05cf00d7c92c89ee

This change updates the release version to "0.3", so that dependencies can opt into this change.

0.3.0 released :tada:


Deprecate DataBuffer.__len__

When a DataBuffer is really large, len(DataBuffer) can cause Python to complain about overflow.
Although this is not easy to trigger now -- a large enough DataBuffer that triggers the issue will crash BN first. Since we are allocating a concrete buffer for the DataBuffer.

The situation is gonna change once I add support for a sparse storage in DataBuffer


Scroll to top on every route

Description
I have added a ScrollToTop Component that helps user land to the top of page whenever the user navigate between routes.
Fixes #250
Type of Change:

Bug Fix

How Has This Been Tested?
I tried navigating to multiple routes and now the portal lands me on the top of the page.
Checklist:

[x] My PR follows the style guidelines of this project
[x] I have performed a self-review of my own code or materials
[ ] I have commented my code or provided relevant documentation, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] New and existing unit tests pass locally with my changes

Hey @satyampgt4
I am not sure if this is deployed as i cannot see the changes reflecting. Can you please confirm?

Hey @satyampgt4
I am not sure if this is deployed as i cannot see the changes reflecting. Can you please confirm?

It is not updated with the live site. There is the different branch for production.


ModuleNotFoundError: No module named 'sklearn.cross_validation'

Need to change sklearn.cross_validation. It is no longer supported

I believe that this repo is discontinued


docs: fix 404 link as it has been removed

Fixes https://github.com/apideck-io/developer-docs/issues/619

Superseded by https://github.com/apideck-io/unify/pull/7349


Update exercise docs and metadata

Just the results of running ./bin/configlet sync --docs --filepaths --metadata -uy

@loziniak, I'm fairly sure there's been updates since this PR was opened so I'll rerun configlet sync this weekend.

Okay, I've synced changes since August so this is up-to-date,


Debugger does not start

OS: Windows 10 Pro Build 19041
VSCode version:  1.47.2 User
Extension version: 1.5.3
Toolchain version: rustc 1.46.0-nightly (also on latest stable
Build target: x86_64-pc-windows-msvc
Python version: Python 3.7.4
When starting the debugger, it does not work. The terminal(PowerShell) contains:
  & '
>> '
& : The term '
' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.
At line:1 char:4
+  & '
+    ~
    + CategoryInfo          : ObjectNotFound: (
:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Nothing happens until the stop button is pressed, which causes a message saying "timeout after 1000ms" after one second. It appears that a new instance of codelldb.exe is started every time debugging is attempted. A new breakpoint is added at @7ff7057a019e..7ff7057a0269, on line 33.
Debug log
Running `cargo test --no-run --bin="..." --message-format=json`...
    Finished test [unoptimized + debuginfo] target(s) in 0.29s
Raw artifacts:
{
  fileName: 'c:\\Users\\...\target\\debug\\deps\\...',
  name: 'hazard',
  kind: 'bin'
}
configuration: {
  type: 'lldb',
  request: 'launch',
  name: 'Cargo test',
  program: 'c:\\Users\\...\\target\\debug\\deps\\...',
  args: [],
  relativePathBase: 'c:\\Users\\...',
  sourceLanguages: [ 'rust' ]
}

Please try setting "lldb.terminalPromptClear": null in VSCode user settings (or change VSCode terminal shell to cmd)

Now it says:
& 'c:\Users\...\.vscode\extensions\vadimcn.vscode-lldb-1.5.3\adapter\codelldb.exe' 'terminal-agent' '--port=64893'
Error: Os { code: 10061, kind: ConnectionRefused, message: "No connection could be made because the target machine actively refused it." }


"Compact chat" making the chat "blank"

The two picture below will provide the issue, as how the title stated
The lastest version

The 1.1.1 version runs fine

What server is this on, @Scarlaid?

its just my SMP man

well, joining other servers also make the chat like that

Interesting, will look into it.

Fixed in v1.2.1 - You can now download it on the releases page, or on modrinth.
Thank you for the bug report @Scarlaid!


Issues with Greasemonkey under Firefox.

Since the Dec02 update, this script hasn't worked, so I've been using an older version until I had the time to figure out why it wasn't functional.  The debug console is spammed with '$ is undefined', so I figured it was an issue loading jQuery.
I pasted the jQuery source above the script, and modified the addJQuery function, and it seems to be functional now.  I'm assuming this is a Greasemonkey thing.
(Including a library that large for getting the width of an element seems over kill to me.)

Pushed a fix in version 1.3


Active Battery Control feature for SofarSolar Hybrid Inverters

Dear EVCC team,
could you please add the „active battery control“ feature for SofarSolar hybrid inverters.
Thank you so much.
Best, Max

Unless we can get a spec axactly how to do that: no…

ref. 16113


How do I know if IMiddleware is registered as scoped or transient?

In the introduction, the following is mentioned: "The middleware is registered as a scoped or transient service in the app's service container."
Is there any way to determine which one is chosen?  It's not mentioned further in the document, yet the phrasing here makes it sound like automatic behaviour as part of the registration.

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

ID: 76f5eb44-55e5-d4a5-0ab1-5122c29a1db5
Version Independent ID: 0b8da6a7-8333-5d8f-23a5-05bf0ca661f9
Content: Factory-based middleware activation in ASP.NET Core
Content Source: aspnetcore/fundamentals/middleware/extensibility.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

See https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection
Lifetime and registration options uses UseMiddleware

Hmm, that's not what I'm observing presently. I have a middleware that gets instantiated during a request, then injected for another request-scoped middleware.  But when I request the same service in my controller, I get a totally new instance.

request-scoped

That's not a lifetime
Services can be registered with one of the following lifetimes:
Transient
Scoped
Singleton
https://docs.microsoft.com/en-us/dotnet/core/extensions/dependency-injection#service-lifetimes

Well, you took a very literal interpretation there, but yes.  Request-scoped or scoped, they're usually used interchangably.


Refactor codebase

Description
Closes #55
Branch name: feature/refactor-code
Codebase iets opgeschoont.
Type of change
Please select the option that is relevant

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation
[x] Refactor

Checklist

[x] I have commented my code, particularly in hard-to-understand areas.
[x] All the required documentation is added.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.

@iSirThijs NPM RUN LINT VOORDAT JE PUSHT !!!111!!!!!!!!!1111!!22##$$$$@!!!!!


✨ Add webhook support to Messages (Fixes #52)

This adds a ->webhook() method that will send messages in a channel through a webhook to allow for further customization such as username & avatar.
It can be used in two ways:
When passing no argument, Laracord will attempt to create a webhook in the destination channel with the same name as the bot. It will then re-use that webhook when sending webhook messages in that channel in the future:
$this
    ->message()
    ->username('Example')
    ->avatar('https://example.com/avatar.png')
    ->content('Hello world!')
    ->webhook()
    ->channel($channel);

The second way would be to pass a webhook URL of which already exists for the destination channel:
$this
    ->message()
    ->username('Example')
    ->avatar('https://example.com/avatar.png')
    ->content('Hello world!')
    ->webhook('https://discord.com/api/webhooks/...')
    ->channel($channel);

This will attempt to retrieve the Webhook part from DiscordPHP's WebhookRepository using the URL and then send the message using the webhook.
A future improvement might be to allow sending directly to any webhook URL instead of using DiscordPHP (or the bot).
Change log
Enhancements

✨ Add webhook support to Messages (Fixes #52)
🧑💻 Add a clearAuthor() method to clear the default Message embed author/icon
🧑💻 Add an avatar() method that aliases avatarUrl() for improved DX

at the moment, it names the created webhook the same name as the bot its self to easily identify/re-use it in the future.

could also have it add the bot's user ID or something to ensure the identifier is unique, but it'd get a little awkward if it were to be used without specifying a username (despite Laracord doing that for you by default).


Error: TypeError: Cannot read property 'testsuites' of null

Hello,
It would be so much nicer to switch between debugger breakpoints divided in e.g profiles (so that every profile has its own list of breakpoints) -> from my perspective it will add much more flexability than manually turning off breakpoints or other hacky techniques.
**UPDATE
labeled as type-bug, so it is required to report any:
Happens during running/discovery tests:
Python Test Log
Error: TypeError: Cannot read property 'testsuites' of null
It was reported under the link below, but adding __init__.py__ doesnt seem to solve that problem for me.
https://github.com/microsoft/vscode-python/issues/14107
Environment data
Version: 1.58.0 (user setup)
Commit: 2d23c42a936db1c7b3b06f918cde29561cc47cd6
Date: 2021-07-08T06:54:55.083Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.18363
[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
XXX
Actual behaviour
XXX
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

XXX

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Thanks for the bug report! We just wanted to quickly acknowledge we received it and we will triage this as soon as we can.
The breakpoint profile support has to come from VSCode itself, so please open a issue at https://github.com/microsoft/vscode for that.

Getting the following out put when attempting to debug a Django project with pytest-django.
Error: TypeError: Cannot read property 'testsuites' of null

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.


.dist files in webspaces are ignored by .gitignore

The .dist files in the webspaces folder are ignored, since there is a '/*' missing at the end. If all content should be ignored in the webspaces folder including the .dist files, line 30 is meaningless.

For me it works as it should: all files in the webspaces folder ending with .dist are versioned by git, and all others are ignored. So I don't really know what's your problem here.

I've retried now and the modification of files gets versioned, but new .dist files are ignored.

Ok, looks like you already know the change to make, can't you quickly make a PR (it's just your line and a changelog entry :wink:)


Hidden and disabled tabs cause issues with next/previous.

Let's say I have three tabs.  Tab 2 is hidden and disabled.  If I press next on Tab 1, nothing happens.

I have exactly the same problem with the remove tab. I fix the problem with a hard $("#idTabs").remove() and the next works.

same issue I am facing. @stefann42 you have the solution for this issue. Please let me know.


Feat: log the failures of files for error handling

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

35 of 47 (74.47%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 82.863%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

charon/pkgs/maven.py
10
13
76.92%

charon/pkgs/npm.py
14
17
82.35%

charon/pkgs/pkg_utils.py
11
17
64.71%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
1146

Relevant Lines:
1383

💛  - Coveralls


Error in running Progress Tool on Sakai 19 and 20

Hi, I am trying to evaluate Progress Tool. Initially I had Sakai 19. But I tried to built it in Sakai 19. I faced little issues which were programmatic and not due to difference in versions. So I was able to fix them.
However I was not able to resolve following error
Bean named 'org.sakaiproject.progress.impl.ImplementationChooserImpl' is expected to be of type 'org.sakaiproject.progress.api.ImplementationControllerInterface' but was actually of type 'org.sakaiproject.progress.impl.ImplementationController'
Here is the bean definition.
<bean         id="org.sakaiproject.progress.impl.ImplementationChooserImpl"         class="org.sakaiproject.progress.impl.ImplementationController">     </bean>
Code is crashing here when trying to inject bean.
@Resource(name = "org.sakaiproject.progress.impl.ImplementationChooserImpl")   private ImplementationControllerInterface implementationChooser;
I then undeployed progress tool and switched to sakai version 20 branch. Then cloned progress tool again and built whole project. But I am still getting above same error.
Traceback of code can be found in following link https://paste.ubuntu.com/p/BtYzfVsdPh/
Any suggestion and response will be greatly appreciated.

Hi,
I am facing the same error. Any help would be much appreciated.

Hi,
Am also facing the same issue in Sakai 20. Is there any solution?
Any suggestion and response will be greatly appreciated.

Hello, this project is not continued. But if you find a solution, feel free to send a pull request and we can merge it.  Thanks

For Sakai 19.3 with MySql  i dont have error, if you need help, writen in<EMAIL_ADDRESS>


Roll engine back to 96061d62281d1840af3ee75fefa41d1cf254fce6

Revert #51693
Revert #51689

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

When you merge, add that this triggered a regression tracked in https://github.com/flutter/flutter/issues/49300 to the commit comment.

Landing on red due to clean revert to unblock dev roll.


Mobile Audio Jitter

Links and Research
Android Webview Supporting Chrome, therefore better Web Audio API
https://productforums.google.com/forum/#!topic/nexus/Ni35XW6eRR0
https://developer.android.com/about/versions/nougat/android-7.0.html#webview
Polyfills for Web Audio API
https://github.com/shinnn/AudioContext-Polyfill
https://github.com/jonathantneal/AudioContext
Articles on Web Audio API
https://www.airpair.com/ionic-framework/posts/using-web-audio-api-for-precision-audio-in-ionic
Web Audio API Docs
https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API
Mobile Audio Discussion
https://www.lexaloffle.com/bbs/?tid=30573

I can't provide any insight here, but I did want to point out that I have a Android 8.1.0 device (Galaxy J3) and am getting the same "jitter" effect. So I don't believe it's isolated to versions below 7.
Just didn't want anyone chasing the wrong rabbit, since the readme hints that the issue may be related to older Android versions :P

@stickboyc
Yeah so unfortunately, I think it's an issue with PICO-8 itself. Now that I've written WasmBoy, and know the WebAudioAPI better, it has to be something with how they handle audio in emscripten. So there's nothing I can do about it. You'll notice the same effect if you go on the PICO-8 bbs with your phone.


reverting profile picture force reload hack

Since the cache issues have been solved, this hack is not necessary anymore

ok for me


[WIP] Always show deploy option

This PR removes the check to show the deploy button only if there is a diff between deployed code and the git repo.
This check didn't consider other possible conditions needing a re-deploy, even when there is no change in deployed app code base.
Changes in chef code base, base instances change etc, are a few such cases.

@TanmayaA could you please add a little background description/explanation to this PR.

LGTM

LGTM

:+1: LGTM

@TanmayaA Is this ready to merge?  Please remove [WIP] when ready.

@seikoudoku2000 I didn't realize the WIP tag is still there. This has been running on staging goship for some time now, hence removing WIP.

Thank you!


Master branch code will soon change

The lexer code will be merged into master branch within a day or two. When that happens the parser code will be removed.
This is considered as a major step forward to complete Cherow 2.0.
Be aware the entire code structure have changed so it's not possible to merge with current master.
Finishing the parser code is my next focus after this land.
Key changes for lexer;

onToken for tokenization
Improved comment scanning with comment attachment code
OnComment option
total refactor of internal state
Average 9 million ops/sec faster than Esprima and 12 mill opts/sec vs. Acorn

Cc / @fkleuver @Aladdin-ADD @g-plane

I'm sorry for this, but I'm merging to Master branch now, and will follow up with a few small PR's.


New best weights after supervised learning from large pgn files using optimize with generator

Trained for about four days using supervised learning feeding large pgn files (CCRL) directly to new version of optimize.py with fit_generator.
Did several passes reducing learning rate from .01 to .001 and finally .0001
Used batch size of 2,048 and increased number of steps to 100,000 for LR .0001 (that took 3 days).
Win rate v prior best weights 96.6% after 29 games.

Great!! Thank you very much for your effort, @benediamond. Do you think there is still place for better results with our model?

Nice job! I find that the opening overfit is less pronounced but surprisingly it still gives away material in the middlegame and endgame. Have you had a chance to compare it to leela-chess?

First big thanks to @Zeta36 , @Akababa , @benediamond, (and any others I am overlooking), for all of your work and sharing it.  Yes, I am waiting for leela-chess to really get going (nearly there).  In parallel with that, I am trying a somewhat modified approach.  My thinking is that we simply don't have the massive hardware resources that alpha-zero-chess used.  So, instead of starting tabula rasa, I am trying to use millions of games that have already been played.  Using some material adjudication and EGTBs are also options.  Ultimately, I would like flexibility in being able to easily change the NN input (like using some or all of the 8 prior moves, with or without threefold repetitions, castling options, etc), along with of course, changing the NN model (how deep, etc).
Since on my PCs it takes so long to generate the SL play data files and they take a large amount of space, I thought just using the pgn files as input might be a good idea.  So, I am using data generators (and currently adding validation).  With a quite consistent 140 average move plies per game, the 100,000 steps of 2,048 in the new best weights above represent about 1.4 million games.  This took 3 days (after the much faster 1,000 and 10,000 step runs with LR .01 and .001).  Before ramping up to many more games, there are some constraints that need to be addressed.
I noticed that my GTX1070 was not very busy, so a lot of the time seems to be spent in preparing the sample batches.  I am still relatively new to Python (so concatenate and slicing takes me hours to figure out), and am looking at how to speed things up with multiple fit_generator queues and workers (incidentally, I have taken out the threads for SL and self play)  In addition, I am adding graceful pausing and stopping (using https://github.com/samyzaf/kerutils with modifications for multiple outputs and Python3).  I also have a crude "restart" capability just using game offsets (per python-chess).
All of this will hopefully give me some monitoring tools to see when a model is over/under fitting, when to add more games (input samples), etc.  Right now another run with 20 3x3 is up to 50,000 steps.  Then, I have to figure out how to run evaluation matches (using cutechess or xboard) to have different models (not just the same model with different weights) play each other.  So, the first step will be comparing the 7 layer model with the 20 layer one.  I think I can shorten the 3-days by quite a lot too (at least 4x).
Finally, back to LCZ, I am quite familiar with Stockfish, but less so with TF in C++, so I prefer things at the Keras framework level.  Another future speed boost could come from using Stockfish C++ pgn routines with Python Keras training.  As the author of a mediocre chess engine (Tinker), the chess engine side of things is not the issue, it just takes me a while to figure out the Python (the Python 2 to 3 transition was/is painful, and still learning the basics like lists v tuples and numpy, iterators v generators, etc) and ML (moving targets there too as I started with FANN to learn just piece values, then Keras/Theano on Win7, then went to Keras/TF when Windows support got better) side of things, and broken backwards compatibility has cost me a lot of time.  I have gradually transitioned from only Windows to also using Ubuntu (but still just a Linux noob).    I can usually tweak something to incrementally add to it.  Like now I want to learn how to add to the config (mini, normal) files and pass arguments that way instead of hard coding them in.
Any comments and suggestions would be welcome.
  Best of luck.

@Akababa
Nice job! I find that the opening overfit is less pronounced but surprisingly it still gives away material in the middlegame and endgame. Have you had a chance to compare it to leela-chess?

I have a notion about why it gives away material.  So far, the games are all computer v computer, and engines never drop material within their search horizons unless forced to.  Thus, there are almost no samples from which to learn.  I am thinking of doing the training in phases starting with lower-ranked players that make blunders, and then increasing the rating range.

@Akababa
Nice job! I find that the opening overfit is less pronounced but surprisingly it still gives away material in the middlegame and endgame. Have you had a chance to compare it to leela-chess?
I have a notion about why it gives away material. So far, the games are all computer v computer, and engines never drop material within their search horizons unless forced to. Thus, there are almost no samples from which to learn. I am thinking of doing the training in phases starting with lower-ranked players that make blunders, and then increasing the rating range.

@matteopincherle Well, I don't recall exactly, as I am still not being systematic and taking notes for fully reproducible results.  In case you missed it in the earlier post, one of the key things is that I modified optimize.py to feed the training using a generator instead of the processed output of the "sl".  I used a CCRL 40/4 file with about 1.5M games, but I don't think it got thru them all.  The runs with learning rates of  .01 and .001 took about a day, and then there was a long run for 3 days at .0001  The PC is an old i920 overclocked to 4GHz with 24GB RAM and an 8GB GTX1070 gpu, so while old, it is still moderately fast, IMO.  Since this weights update, I have modified it further to use int8 input to the NN, which cuts RAM use a ton.  I am trying to use raw pgn input as I want to be able to experiment with things like the number of history planes, and it seems like "big data" FTW ("for the win") with NNs, at least from what I've read.  Of course, Leela Chess Zero is taking a more "pure" tabula rasa approach, but with minuscule h/w relative to Google, I am going the supervised route.  I am also currently looking at Nadam and ELU.  I'm still pretty much a noob with Ubuntu, Python, and NNs, so I'm learning as I go.  It took a whole day to figure out how to superimpose my blue testing graph on the orange training runs in tensorboard.  Another day to figure out the lambda for converting the int8 input to float32 on the fly, you get the idea.


feat: Airdrop test

wip

What's difference between this and #19 ?

What's difference between this and #19 ?

This PR only includes reading and testing airdrop test data, and #19 just adds a getter function that has nothing to do related with it. totally different.


Multiple issues

Admin Controller(AC) - The text field is not working (no letters appear after typing, just adresses vanish and come back depending on the letter you pressed)
Cant Dial abydos with AC - it dials and then error after chevron 7, same with dhd checked with energy crystals and all, but just in some worlds
same with nether address sometimes a nether address is shown in AC but unable to dial it, went there the old way but no gate on the coordinates.
when you stand in front of the dhd, you cant reach all buttons some just dont trigger, i had to jump on the dhd for dialing abydos
and i think something with your redstone door in abydos temple is wrong

I had a similar issue with #4, but it appears to be some kind of mod conflict, as when I ran the mod alone the issue disappeared.

Should be fixed in dev
Nether generation isnt finished yet - so gate is in network, but physicaly is missing here
Is DHD stand on 1 block and other ground surrounding blocks are air?
Bugged observer - we need to fix structure


[HOLD] collection managers can allow custom rights statements

Why was this change made? 🤔
close #3097
[HOLD] for Amy's review
How was this change tested? 🤨
manually in local dev environment, unit tests
video running through the basic interactions, demonstrates:

the dynamic fieldset hiding/showing
blanking out no longer applicable fields when saving (e.g. blanking out custom instructions when switching back to default instructions)
saving chosen options and reloading them on the edit page
not saving on cancel

https://github.com/sul-dlss/happy-heron/assets/7741604/cf1c9240-2d40-4b22-a82f-164312ab7f61
This video only demos using a draft collection, but in my local testing things also worked with deposited updates.  That's a bit more circuitous and slow to test on localhost (because you have to switch back to terminal to run rake complete_deposits), which would've led to an even longer demo video.
⚡ ⚠ If this change involves consuming from or writing to another service (or shared file system), run integration test create_object_h2_spec.rb and/or test manually in [stage|qa] environment, in addition to specs. ⚡
Does your change introduce accessibility violations? 🩺
none AFAICT

no regressions according to existing a11y tests in test suite
fixed issues found by firefox accessibility inspector -- right click on new form section -> Inspect Accessibility Properties

no issues with new section found after that by SiteImprove browser plugin

⚡ ⚠ Please ensure this change does not introduce accessibility violations (at the WCAG A or AA conformance levels); if it does, include a rationale. See the Infrastructure accessibility guide for more detail. ⚡
other notes

Though not in the mockups/requirements, I added the Choose the source of the custom use statement to deal with an accessibility complaint about that fieldset being unlabelled.
For the default instructions, I used the text from the mockups, which I later realized differs from the text in the requirements doc.  Happy to change that if desired, it's a setting, so that's easy to edit.
The requirements document and the mockups didn't mention showing the settings, so I didn't think about that being missing till I had the editing of the settings working.  I guess we should file a follow up ticket for that if there isn't already one?
For your consideration when reviewing: an in the weeds data model question... A change suggested by @justinlittman when I was first running into unit test trouble was to model this in a slightly different way.  Instead of using a boolean allow_custom_rights_statement field, and determining where the custom rights statement comes from based on a combo of that and the presence of provided_custom_rights_statement (see Collection#custom_rights_statement_source_option), he'd suggested something like a custom_rights_statement_option enum, with values like no_custom, provided_by_collection, and entered_by_depositor.  That should let us trade the allow_custom_rights_statement? and custom_rights_statement_source_option methods on the model for one custom_rights_statement_option method that maps directly to the database field.  That might then make for a slightly more understandable Collection class, and I think would also eliminate the use of Reform virtual fields from this PR.  Which might make the model and reform code slightly more maintainable.  The one downside I can see is that it'd make the form a bit weird, in that i think it'd lead to three radio buttons (No, Provide specific terms, and Allow depositor to enter their own terms) across two different fieldsets being mapped to one option field, and it'd make the Yes radio button solely a UI thing with no real form submission or collection update effect.  When the intuition might be that the No and Yes radio buttons go together for one field (as it is right now).  Not sure which approach would be easier to maintain overall, but the real reason I didn't end up trying out that data model change was that I spent more time than planned yesterday figuring out accessibility stuff (mostly association of a label with both a radio button and a text area), and we'd already agreed in standup that I should timebox the data model change, since this ticket is blocking other work needed to complete this feature.  If people decide that data model change is worth it, we should probably do it in this PR, so that subsequent work that builds on this doesn't need changing too.  I'd be slightly in favor of just going with this data model at this point, but happy to do otherwise if that's the consensus.
requirements doc says: "Field should support hyperlinks, i.e. a fully written out hyperlink in this box should work as a hyperlink on the purl page."  That seemed like more of a display-time issue, so nothing in that PR addresses that, but something to consider when reviewing.

@peetucket 💬

2. I didn't realize there was so much code duplication on the DraftCollectionForm and the CollectionSettingsForm  ... oh well, nothing to do here

yeah, that's not the best, and while this PR didn't introduce that problem, it did dig us into it slightly more.  but agreed this PR isn't really the occasion to dig us out.  i guess that might've been one more point in favor of the other data modeling approach, is that there'd have been less code to add to the deserialize! methods in each of those classes.  but i don't know that it'd have gotten us away from adding any code to those two methods, so probably a very marginal difference between the two approaches in terms of DRYness.  might be worth a tech debt ticket to explore refactoring?  but also, there's not an enormous amount of code in either class, and our form handling approach may drastically change if we ever move away from reform.  so maybe not worth worrying about, or at least not in the near term? 🤷

see also #3295 (ticket for tracking the merge of this feature branch)


Create GET/POST API /replayhost

POST and GET both have the following

instance id
private id
associate job id
initialized time (Null when terminating)
terminate time (Null when initializing)

helps support job timeout feature needed for spot instances


Docs.MS Release Updates for azure_communication_nspkg

Update docs metadata and targeting for release of azure_communication_nspkg

Docs Build status updates of commit 158d956:
:clock10: Full build: the average full build time is 184 min(s) 2 sec(s), this is based on the last 609 build(s) for this repository.

Docs Build status updates of commit 158d956:
:warning: Validation status: warnings

File
Status
Preview URL
Details

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.task_any.yml
:warning:Warning
View (azure-python-preview)
Details

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.task_all.yml
:warning:Warning
View (azure-python-preview)
Details

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.new_uuid.yml
:warning:Warning
View (azure-python-preview)
Details

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.continue_as_new.yml
:warning:Warning
View (azure-python-preview)
Details

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.call_http.yml
:warning:Warning
View (azure-python-preview)
Details

ci-configs/packages-preview.json
:white_check_mark:Succeeded

docs-ref-services/communication-nspkg-readme-pre.md
:white_check_mark:Succeeded
View (azure-python) View (azure-python-preview)

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.task_any.yml

[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.task_any) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.yml.

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.task_all.yml

[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.task_all) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.yml.

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.new_uuid.yml

[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.new_uuid) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.yml.

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.continue_as_new.yml

[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.continue_as_new) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.yml.

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.call_http.yml

[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.call_http) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.yml.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[aws2sqs] Add deleteQueue operation to aws2sqs component

When testing camel-quarkus I have stumbled upon missing operation for deleteQueue

Thanks


Nuget Dependency

Do you have separate packages for Drive Api without dependency of log4net and Bcl ?

We don't have a version without those dependencies, but it's an open source library. You can download the code from https://developers.google.com/resources/api-libraries/download/drive/v2/csharp and this repository, change the build to .net 4.5, remove the dependencies of bcl & log4net, and compile & build it yourself. I'm closing the issue now, feel free to reopen.

thanks already started doing it thanks anyway.Once done will share the link for everyone.


Failed to load fasterrcnn_resnet50_fpn by libtorch

There is no detailed documentation on loading fasterrcnn_resnet50_fpn by libtorch.
I change the c++ code by following [1407]
#include <torch/script.h> // One-stop header.
#include <iostream>
#include <memory>

#include <iostream>
#include "torch/script.h"
#include "torch/torch.h"
#include "torchvision/vision.h"
#include "torchvision/ROIAlign.h"
#include "torchvision/ROIPool.h"
#include "torchvision/empty_tensor_op.h"
#include "torchvision/nms.h"
#include <cuda.h>

using namespace std;

static auto registry =
        torch::RegisterOperators()
                .op("torchvision::nms", &nms)
                .op("torchvision::roi_align(Tensor input, Tensor rois, float spatial_scale, int pooled_height, int pooled_width, int sampling_ratio) -> Tensor",
                    &roi_align)
                .op("torchvision::roi_pool", &roi_pool)
                .op("torchvision::_new_empty_tensor_op", &new_empty_tensor);

int main(int argc, const char* argv[]) {
  if (argc != 2) {
    std::cerr << "usage: example-app <path-to-exported-script-module>\n";
    return -1;
  }

  torch::jit::script::Module module;
  try {
    // Deserialize the ScriptModule from a file using torch::jit::load().
    module = torch::jit::load(argv[1]);
  }
  catch (const c10::Error& e) {
    std::cerr << "error loading the model\n";
    return -1;
  }

errors

CMakeFiles/example-app.dir/example-app.cpp.o: In function `ROIAlign_forward(at::Tensor const&, at::Tensor const&, double, long, long, long)':
example-app.cpp:(.text+0x128f): undefined reference to `ROIAlign_forward_cpu(at::Tensor const&, at::Tensor const&, float, int, int, int)'
CMakeFiles/example-app.dir/example-app.cpp.o: In function `ROIAlign_backward(at::Tensor const&, at::Tensor const&, float, int, int, int, int, int, int, int)':
example-app.cpp:(.text+0x14bd): undefined reference to `ROIAlign_backward_cpu(at::Tensor const&, at::Tensor const&, float, int, int, int, int, int, int, int)'
CMakeFiles/example-app.dir/example-app.cpp.o: In function `ROIPool_forward(at::Tensor const&, at::Tensor const&, double, long, long)':
example-app.cpp:(.text+0x1796): undefined reference to `ROIPool_forward_cpu(at::Tensor const&, at::Tensor const&, float, int, int)'
CMakeFiles/example-app.dir/example-app.cpp.o: In function `ROIPool_backward(at::Tensor const&, at::Tensor const&, at::Tensor const&, float, int, int, int, int, int, int)':
example-app.cpp:(.text+0x19cc): undefined reference to `ROIPool_backward_cpu(at::Tensor const&, at::Tensor const&, at::Tensor const&, float, int, int, int, int, int, int)'
CMakeFiles/example-app.dir/example-app.cpp.o: In function `nms(at::Tensor const&, at::Tensor const&, double)':
example-app.cpp:(.text+0x1d40): undefined reference to `nms_cpu(at::Tensor const&, at::Tensor const&, float)'
collect2: error: ld returned 1 exit status
CMakeFiles/example-app.dir/build.make:110: recipe for target 'example-app' failed
make[2]: *** [example-app] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/example-app.dir/all' failed
make[1]: *** [CMakeFiles/example-app.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error **2**

*.h files

#include "torchvision/vision.h"
#include "torchvision/ROIAlign.h"
#include "torchvision/ROIPool.h"
#include "torchvision/empty_tensor_op.h"
#include "torchvision/nms.h"

These *.h files are copied from https://github.com/pytorch/vision/tree/v0.5.0/torchvision/csrc

model saved code

import torch
import numpy as np
from PIL import Image
from torchvision import transforms
from torchvision.models.detection import fasterrcnn_resnet50_fpn

model = fasterrcnn_resnet50_fpn(pretrained=True)
im =Image.open('Himalayan-seated.jpg')
transform = transforms.Compose([
    transforms.Resize((500, 500)),
    transforms.ToTensor(),])
im_input = transform(im).unsqueeze(0)
model.eval()
predictions = model(im_input)

torch._C._jit_set_profiling_executor(False)
traced_model = torch.jit.script(model)

torch.jit.save(traced_model, 'rcnn.pt')
load_model = torch.jit.load('rcnn.pt')

CMakeLists.txt

mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH=/path/to/libtorch ..
cmake --build . --config Release

envs

libtorch: https://download.pytorch.org/libtorch/nightly/cu101/libtorch-shared-with-deps-latest.zip
PyTorch version: 1.5.0.dev20200204
Is debug build: No
CUDA used to build PyTorch: 10.1

OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMake version: version 3.6.2

Python version: 3.8
Is CUDA available: Yes
CUDA runtime version: 10.1.243

Nvidia driver version: 430.40
cuDNN version: /usr/local/cuda-10.1/targets/x86_64-linux/lib/libcudnn.so.7.6.3

Versions of relevant libraries:
[pip] numpy==1.18.1
[pip] torch==1.5.0.dev20200204
[pip] torchvision==0.6.0a0+7741c84
[conda] blas                      1.0                         mkl    defaults
[conda] mkl                       2019.4                      243    defaults
[conda] mkl-service               2.3.0            py38he904b0f_0    defaults
[conda] mkl_fft                   1.0.15           py38ha843d7b_0    defaults
[conda] mkl_random                1.1.0            py38h962f231_0    defaults
[conda] pytorch                   1.5.0.dev20200204 py3.8_cuda10.1.243_cudnn7.6.3_0    pytorch-nightly
[conda] torchvision               0.6.0.dev20200204      py38_cu101    pytorch-nightly

@ljd16 have you tried installing the library and using the config package? You shouldn't need to copy the header files manually.
Here's a list of commands that should work (on linux):

Ensure you have python development libraries (eg. sudo apt install python3-dev)
Install pybind11 (not needed after #1850)
Build and install torchvision:

git clone https://github.com/pytorch/vision.git
cd vision
mkdir build && cd build
cmake -DCMAKE_PREFIX_PATH=/path/to/libtorch -DCMAKE_INSTALL_PREFIX=/where/to/install/torchvision -DCMAKE_BUILD_TYPE=Release [-DWITH_CUDA=ON] ..
cmake --build . [-j n]
cmake --install .

In your project's CMakeLists.txt:

[...]
find_package(TorchVision REQUIRED)
target_link_libraries(target-name PUBLIC TorchVision::TorchVision)
[...]

When invoking cmake in your project's build folder:

cmake -DCMAKE_PREFIX_PATH="/path/to/libtorch;/where/to/install/torchvision" [other options] ..

Thanks for you reply.
This is works on cpu, but still exists error on gpu.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Not compiled with GPU support
The above operation failed in interpreter.
Traceback (most recent call last):
Serialized   File "code/__torch__/torchvision/ops/boxes.py", line 41
    _11 = torch.slice(offsets, 0, 0,<PHONE_NUMBER>854775807, 1)
    boxes_for_nms = torch.add(boxes, torch.unsqueeze(_11, 1), alpha=1)
    _9 = __torch__.torchvision.ops.boxes.nms(boxes_for_nms, scores, iou_threshold, )
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
  return _9
def box_area(boxes: Tensor) -> Tensor:
  File "/home/leijd/anaconda3/envs/py37torch14/lib/python3.8/site-packages/torchvision/ops/boxes.py", line 36
        by NMS, sorted in decreasing order of scores
    """
    return torch.ops.torchvision.nms(boxes, scores, iou_threshold)
           ~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
Serialized   File "code/__torch__/torchvision/ops/boxes.py", line 54, in nms
    scores: Tensor,
    iou_threshold: float) -> Tensor:
  _18 = ops.torchvision.nms(boxes, scores, iou_threshold)
        ~~~~~~~~~~~~~~~~~~~ <--- HERE
  return _18

Aborted (core dumped)

torchvision's CMakeLists.txt and cmake version 3.13.0

+set(pybind11_DIR /path/to/pybind11/share/cmake/pybind11)

@@ -47,7 +49,8 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/TorchVisionConfig.cmake
   DESTINATION ${TORCHVISION_CMAKECONFIG_INSTALL_DIR})

 install(TARGETS ${PROJECT_NAME}
-  EXPORT TorchVisionTargets)
+  EXPORT TorchVisionTargets
+  DESTINATION lib)

Build and install torchvision:

git clone https://github.com/pytorch/vision.git
cd vision
cd build && rm * -rf
cmake -DCMAKE_PREFIX_PATH=/path/to/libtorch -DCMAKE_INSTALL_PREFIX=/path/to/torchvision -DCMAKE_BUILD_TYPE=Release -DWITH_CUDA=ON ..
cmake --build . -j 20
cmake --install .
make install

project's CMakeLists.txt:

cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(custom_ops)

set(pybind11_DIR /path/to/pybind11/share/cmake/pybind11)

find_package(Torch REQUIRED)
find_package(TorchVision REQUIRED)

add_executable(example-app example-app.cpp)
target_link_libraries(example-app "${TORCH_LIBRARIES}" TorchVision::TorchVision)
set_property(TARGET example-app PROPERTY CXX_STANDARD 14)

envs:

PyTorch version: 1.4.0
Is debug build: No
CUDA used to build PyTorch: 10.1

OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMake version: version 3.13.0

Python version: 3.8
Is CUDA available: Yes
CUDA runtime version: 10.1.243

Nvidia driver version: 430.40
cuDNN version: /usr/local/cuda-10.1/targets/x86_64-linux/lib/libcudnn.so.7.6.3

Versions of relevant libraries:
[pip] numpy==1.18.1
[pip] torch==1.4.0
[pip] torchvision==0.5.0
[conda] blas                      1.0                         mkl    defaults
[conda] mkl                       2019.4                      243    defaults
[conda] mkl-service               2.3.0            py38he904b0f_0    defaults
[conda] mkl_fft                   1.0.15           py38ha843d7b_0    defaults
[conda] mkl_random                1.1.0            py38h962f231_0    defaults
[conda] pytorch                   1.4.0           py3.8_cuda10.1.243_cudnn7.6.3_0    pytorch
[conda] torchvision               0.5.0                py38_cu101    pytorch

@ljd16 can you try adding add_compile_definitions(WITH_CUDA) to your project's cmake?

Great, it works!

@bmanga @ljd16 could you send a PR to torchvision adding instructions on how to compile the code which uses faster rcnn such that it works on libtorch?

@fmassa I can volunteer to update the README. Maybe it makes sense to wait until #1850 and #1843 are merged before doing that though?

@bmanga sounds good, I think indeed that updating the README once we merge those PRs is better


Does not work with any formData implementations

I have tried using node-fetch to POST a simple Object JSON to an API without success.
I started using Node-Fetch together with the npm package "form-data". But the response from the API never recognised the value sent through Node-fetch. I have then moved to package "formdata-polyfill/esm.min.js" as suggested by Node-fetch documentation, also without success, and finally tested with package "formdata-node", that also did not work.
The solution was to move away from Node-fetch and use Axios with package "form-data", my original choice.
I have tested appending the JSON to formData in zillions of ways, such as:
formData.append("guest[phone_country_code]","55");

OR
const Guest = {
  phone_country_code: "55",
  country_id: null,
};
formData.append("Guest", JSON.stringify(Guest));

OR
formData.append("guest", "{\"phone_country_code\":55,\"country_id\":null}");

I am running a Meteor.js version 2.3 server application with its pre-installed Node-Fetch package.

Do you have any public GitHub repo and do you use version 2 or 3?

Have been preparing a GitHub repo in order to show you the issue and found a problem in my own code.
I have made it to work with form-data package. Will test again with the other packages and post it back here.
You may close this issue for now.


Explain different Katib installs

Fixes: https://github.com/kubeflow/katib/issues/1467.
I added information about various Katib installs.
Please take a look @RFMVasconcelos @gaocegege @johnugeorge.
/hold for the review

Thank you for the review @RFMVasconcelos and @gaocegege
/hold cancel


Quote the -Path option when cloning via SCVMM

This fixes a JSON parse error that was ultimately caused by spaces within a path name being passed to the New-SCVirtualMachine powershell function. It also adds some logging.
Addresses BZ 1267545.

@supernoodz @bronaghs Please confirm.

@djberg96  - Looks good.
cc @blomquisg

@djberg96 I actually ran into this when I was testing something out with SCVMM.
I think (but can't remember) that you might also have to quote the -Name attribute, too.  Otherwise, we can't allow the provisioned VM to have a space in the name.
Can you double check?  If that's the case, you can either update this PR or submit a new one.

@blomquisg You are correct. Found a similar issue in BZ 1234894. I've update the PR.

@djberg96 Looks good to me.


fix(learn) / title request from "Hello" to "Home page"

Change the text that ask for the title to be "Hello" to "Home page".
This change is necessary in order to pass the "create a new middleware" challenge test, changing this wont affect current challenge tests. Its just a simple syntax change.
https://github.com/freeCodeCamp/freeCodeCamp/issues/16967 checkout this issue to see whats its all about.
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 master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #XXXXX

It will probably need fixed on other languages too

This is patched with the new boilerplate, and it related to this PR as well.
However, seeing as the new boilerplate could take a few days to QA, and the above mentioned PR appears stale, it might make sense to QA this, to get it moving.

There's also the problem that these challenges cannot (last I checked) be completed on Chrome, so the challenge text has to reflect that.  Firefox does work, though.

Im actually doing these challenges in chrome and passing the tests, they have a few problems but this one seems pretty easy to fix (from my noob standpoint without requesting changes in the boilerplate or test scripts).
Finding problems and searching for solutions during this certificate seems like a good way learn problem solving (which is a very important skill imo) but its a bit overwhelming for most ppl from what i can see in the forum and issues threads.

There's also the problem that these challenges cannot (last I checked) be completed on Chrome, so the challenge text has to reflect that. Firefox does work, though.

FWIW, I also completed these challenges on Chrome. 🙂

Duplicate of #38979, so closing this PR.


[Feature] Prevent copy&paste of seed words during keystore setup

I understand it's easy to copy&paste the seed words during a wallet setup e.g. from a local text file. A storage of the seed on the online device shouldn't be encouraged though (even if the file isn't saved but just used for the temporary transfer - due to potentially wrong transfer on paper/steel later, after the wallet has been created).
To stop the behaviour, I suggest to disabel copying seed word strings during setup (I think Electrum also enforces this).
But I get it if this isn't a loved feature, as there are valid use cases for copy&pasting seed words from the online device (recording of instruction videos with trough away wallets, creating multiple wallets for just a couple of small transactions etc.)

To stop the behaviour, I suggest to disabel copying seed word strings during setup (I think Electrum also enforces this).

Electrum does empty the clipboard between displaying and verifying the seed words. So the conveniant workaround for disposable wallets at electrum is to temporarily paste them somewhere and copy them again when electrum asks for verifying the seed words.

This seems to be a good, balanced approach for both use cases.  For the mentioned quick use cases, one should just simply choose a shorter seed to write it down quickly (e.g. just 12 words).

I think the key point is that seed words should not be easily copyable from the wallet - this discourages online backups. Electrum is substantially different here as it allows copying of all the seed words at once, while with Sparrow you need to copy them one by one.
Pasting all the seed words at once I think is fine - as suggested above it's helpful to have this convenience feature available for certain use cases.

with Sparrow you need to copy them one by one.

This is indeed already a measure to discourage copying, although it could be seen as a bad UX from newcomers. Not being able to copy in the first place makes the point of "don't do this" more clear imho. But then once again - there are legit use cases.
It seems the best trade off is the one implemented. @craigraw from my point of view we can close the issue!?

Agreed, closing this off.


'Exited with status code: 101', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/cargo-chef-0.1.51/src/recipe.rs:176:27

#18 [builder  8/14] RUN cargo chef cook --release --all-targets --recipe-path recipe.json
#18 0.646 error: output of --print=file-names has changed in the compiler, cannot parse
#18 0.646 command was: `/usr/local/cargo/bin/cachepot rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg`
#18 0.646
#18 0.646 --- stdout
#18 0.646 Soon to be the better sccache
#18 0.646
#18 0.648 thread 'main' panicked at 'Exited with status code: 101', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/cargo-chef-0.1.51/src/recipe.rs:176:27
#18 0.648 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
#18 ERROR: process "/bin/sh -c cargo chef cook --release --all-targets --recipe-path recipe.json" did not complete successfully: exit code: 101
------
 > [builder  8/14] RUN cargo chef cook --release --all-targets --recipe-path recipe.json:
#18 0.646 error: output of --print=file-names has changed in the compiler, cannot parse
#18 0.646 command was: `/usr/local/cargo/bin/cachepot rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg`
#18 0.646
#18 0.646 --- stdout
#18 0.646 Soon to be the better sccache
#18 0.646
#18 0.648 thread 'main' panicked at 'Exited with status code: 101', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/cargo-chef-0.1.51/src/recipe.rs:176:27
#18 0.648 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------
Dockerfile:33
--------------------
  31 |     COPY --from=planner /app/recipe.json recipe.json
  32 |     # Build dependencies - this is the caching Docker layer!
  33 | >>> RUN cargo chef cook --release --all-targets --recipe-path recipe.json
  34 |
  35 |     COPY . /build
--------------------
ERROR: failed to solve: process "/bin/sh -c cargo chef cook --release --all-targets --recipe-path recipe.json" did not complete successfully: exit code: 101
Error: Process completed with exit code 1.

This looks a cachepot error, not a cargo-chef one.

I will play around a bit and report back with more details. Thanks for the first hint.


Update botocore service definition versions

Fixes https://github.com/rusoto/rusoto/issues/468.
Not a lot of updates since cloudsearch, lambda, rds, etc... aren't implemented yet.
I'd prefer to do a release before merging this, but ready for feedback.

Looks good to me.  Just waiting for the CI to come back.

Appveyor has been compiling pretty slowly lately.  I may need to requisition a Windows machine for further testing that issue.

Please leave PR open until new Rusoto release.


Feature request: Minimal repo to install theme from

Description
The quick start recommends to "Clone jekyll-TeXt-theme from github." or "Download and unzip the file to your Jekyll site directory.".
However, the repo has the entire TeXt theme documentation and thus a lot of unnecessary things for most people using the theme. This means that the first step for everyone setting up a new TeXt site is to delete a lot of files manually.
It would be much easier if:

there were a repo that were only the TeXt theme with demo pages (home, archive, layout examples) and a separate git repo for the TeXt documentation website. This is how many other sites do it.
OR, you provide a script in the git repo that removes everything except the small demo site and templates etc.

You could just remove /test/ and /docs together with Readme.md and Readm-cn.md
I have managed to clean my homepage repo


Escape characters in reco and playlist urls

<a href="[https://music48.streamlit.app/?song=Love+Me+Like+You+Do+-+From+"Fifty+Shades+Of+Grey](https://music48.streamlit.app/?song=Love+Me+Like+You+Do+-+From+%22Fifty+Shades+Of+Grey)"" target="_self">Love Me Like You Do - From "Fifty Shades Of Grey"

Something like this
https://stackoverflow.com/questions/18935754/how-to-escape-special-characters-of-a-string-with-single-backslashes


address: Replace ualarm with setitimer

ualarm has been deprecated and may not be available in the libc.
Signed-off-by: Rosen Penev<EMAIL_ADDRESS>

Done

Merged, thanks.


Build fails if generateNavGraphs=false and mode=navgraphs

I have the plugin automatically applied to all UI modules for convenience. Not all of these modules contain destinations but only common components.
If I enable the nav-graph generation in this automatism for all of the modules, the code generation fails with IllegalDestinationsSetup: Use argument start = true in the @Destination annotation of the 'Common' nav graph's start destination!. But since there is no destination I cannot specify a start.
I could now disable the nav-graph generation if I know that there is no destination in this module and later enable it again if I add one, but I think it would be helpful if the code-generation succeeds without generating anything.

Actually there was a destination so this explains the issue. Also tried to disable navGraph generation with generateNavGraphs=false in this module, but already found in the docs that this is only compatible with the singlemodule mode and I have to use mode=destinations instead.
Will close the issue


Request: add devdoc.net to the filter

Evidence: http://devdoc.net/web/developer.mozilla.org/en-US/docs/Web/API/Notification/requireInteraction.html
Original: https://developer.mozilla.org/en-US/docs/Web/API/Notification/requireInteraction
SEO spam, and very out of date, with some articles from 2016 and 2017.

Thanks a lot!


[docs-infra] Add icon to callouts

Closes #38519
This PR adds icons to the documentation callouts! We also took advantage of the opportunity to clean instances of it that were using emojis instead of the built-in icons. There might be more spread out throughout the docs ⎯ it was just a quick check.
https://deploy-preview-38525--material-ui.netlify.app/experiments/docs/callouts/

Light
Dark

To-dos:

[x] Put the correct SVG path in the icons (<symbols/> ids are already correct)
[ ] Improve the CSS (I did something crappy to highlight where CSS rules are)

A few duplicated icons

https://github.com/mui/material-ui/issues/38689 created.


Proper fix for #173

Description

proper fix for v12 of got
Related Issue(s)

#173
Checklist

[x] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on flowforge/helm to update ConfigMap Template
[ ] Issue/PR raised on flowforge/CloudProject to update values for Staging/Production

Labels

[ ] Backport needed? -> add the backport label
[ ] Includes a DB migration? -> add the area:migration label

I'm still verifying these changes

Verified against Node-RED 3.0.x and Node-RED 3.1.x


Ver 3 small problem

1st Thank you for all the work you put into this, it works great for me, i use it to connect 2 remotes ( summer home & my work) to my main instances
i just updated to ver 3 and now my connection sensor seems not to work the state is "unknown" and does not change.
jeff

Do you see anything in the log?

the only this i see is
2020-12-09 10:16:18 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-12-09 10:16:18 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook
Logger: aiohttp.websocket
Source: /usr/local/lib/python3.8/site-packages/alexapy/aiohttp/http_websocket.py:599
First occurred: 10:16:18 AM (4 occurrences)
Last logged: 10:16:18 AM
websocket connection is closing.

That's an unrelated error, so not helpful here. What version of Home Assistant are you running on the remote host?

my 3 units are running  118.5 on rp4 and i get that error from both my remotes

btw my setup is yaml

Can you test with code in #80?

sure ..... but you will need to spell it out a little better than that,  for me .... sorry

Have you installed the integration via HACS?
If yes, you can click on "Reinstall" in the options menu of "Remote Home-Assistant" in HACS (next to "Repository"), and then select "master" and "Install".
You'll then have the most up-to-date code with (hopefully) a working bugfix.

Will try and let you knowThank you And be safe !!!On Dec 9, 2020 7:09 PM, Lukas<EMAIL_ADDRESS>wrote:
Have you installed the integration via HACS?
If yes, you can click on "Reinstall" in the options menu of "Remote Home-Assistant" in HACS (next to "Repository"), and then select "master" and "Install".
You'll then have the most up-to-date code with (hopefully) a working bugfix.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

New release published, please reopen this ticket if you still get this error

seems to be working fine after the update
thank you !!!!
Jeff Goldberg
Audio Warehouse
170 Gregg St Unit 3
Lodi, NJ 07644
201-368-2632
On 12/13/2020 5:30:31 AM, Lukas<EMAIL_ADDRESS>wrote:
New release published, please reopen this ticket if you still get this error
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [https://github.com/lukas-hetzenecker/home-assistant-remote/issues/81#issuecomment-743985105], or unsubscribe [https://github.com/notifications/unsubscribe-auth/ANR52GU7673MTMJDQ7WSQI3SUSJULANCNFSM4UTYGTVQ].


Fix typo in common-utils build scripts

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Fix typo in common-utils build scripts
Issues Resolved
Part of #1624
#1790
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1793 (cbef09d) into main (4ada5c4) will increase coverage by 5.51%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #1793      +/-   ##
=============================================
+ Coverage     94.48%   100.00%   +5.51%
=============================================
  Files           173         6     -167
  Lines          3611       105    -3506
  Branches         27        19       -8
=============================================
- Hits           3412       105    -3307
+ Misses          195         0     -195
+ Partials          4         0       -4

Impacted Files
Coverage Δ

src/run_bwc_test.py

src/build_workflow/build_recorder.py

...ts/jenkins/jobs/uploadMinSnapshotsToS3_Jenkinsfile

src/manifests/input_manifests.py

src/sign_workflow/signer.py

src/system/temporary_directory.py

...workflow/integ_test/integ_test_start_properties.py

src/system/execute.py

src/manifests/bundle/bundle_manifest_1_0.py

src/run_integ_test.py

... and 157 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ada5c4...cbef09d. Read the comment docs.

Ouch


Remove Library.get_register_js_function()

Description
This method may be removed as long as the element's JS name (as set in the constructor, defaulting to a camel case representation of its name) is always used.
The JsxParser would receive a full name to process (camel case lib name '.' (?) element js name) and locate the React component name.
The js_name argument to the Element constructor should become react_component.
Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%
[ ] Propagate any change on the demos and run all of them to ensure there is no breaking change
[ ] Ensure any change is well documented

name separator will be _ as . is not supported by JsxParser


fix: TCP request doesn't make any request

This PR fixes #783
Simply, we should immediately end the connection after successfully connecting to the server to avoid a timeout error, because the "data" will not listen if client.write is not emitted.

Can we print out the TCP errors out to the console (through pino) like regular http errors when we get them. Otherwise how would users know they're getting errors?

The TCP error was handled by Promise rejection, I guess it will be printed too. If not, please create a new issue, I'll keep this PR only for fixing the bug :)

Can we print out the TCP errors out to the console (through pino) like regular http errors when we get them. Otherwise how would users know they're getting errors?

The TCP error was handled by Promise rejection, I guess it will be printed too. If not, please create a new issue, I'll keep this PR only for fixing the bug :)

okay!


Doesn't allow opening .md files (grayed out in open dialog)

Markdown files are grayed out in open dialog. What are the plans for fixing it?

Me too

Same Issue the logs tells:
2019-09-30 17:08:09.698 Markoff[76036:1295633] -[NSDocumentController fileExtensionsFromType:] is deprecated, and does not work when passed a uniform type identifier (UTI). If the application didn't invoke it directly then the problem is probably that some other NSDocument or NSDocumentController method is getting confused by a UTI that's not actually declared anywhere. Maybe it should be declared in the UTExportedTypeDeclarations section of this app's Info.plist but is not. The alleged UTI in question is "net.daringfireball.markdown". 2019-09-30 17:08:09.698 Markoff[76036:1295633] An NSDocumentController returned nil when sent<EMAIL_ADDRESS>See the info about new support for UTIs in the Leopard AppKit release notes. 2019-09-30 17:08:09.698 Markoff[76036:1295633] -[NSDocumentController fileExtensionsFromType:] is deprecated, and does not work when passed a uniform type identifier (UTI). If the application didn't invoke it directly then the problem is probably that some other NSDocument or NSDocumentController method is getting confused by a UTI that's not actually declared anywhere. Maybe it should be declared in the UTExportedTypeDeclarations section of this app's Info.plist but is not. The alleged UTI in question is "public.txt". 2019-09-30 17:08:09.698 Markoff[76036:1295633] An NSDocumentController returned nil when sent<EMAIL_ADDRESS>See the info about new support for UTIs in the Leopard AppKit release notes.

same on catalina

#27
#29
#43
#46 <---- I can confirm this is true.  Seems that the file extension settings are bugged and it default to .sh files for some reason.
#47
Looking at the amount of open issues, seems like a long existed problem.
Tbh I am only trying out this app out of curiosity.
Not being able to open markdown files is a MAJOR FLAW as it cannot even do what it is suppose to do.
It is funny tho as the maintainers seems to be working for the Big Sur Version at the moment.

6th July, 2020.
Problem still exists.
Restarted computer as per suggestion.
System Information
MacOS Version: 10.15.5
Markoff Version: 1.0.1 (60)

@ed9w2in6 My current priority is to resurrect this project with a 2.0 release on Big Sur. I reviewed all the current open issues and I will make sure none of them are in the next major release. I might or might not backport some of the fixes to the older branches, since it's a question of affording the time to do so.
The context in which I open-sourced this app is very different from today's context. I would happily accept a PR on the older branches, but it's not a top priority for me now to fix these issues you outlined. Thank you for your understanding.


Fix notification dialogue in light mode

Describe the bug
FIx some colors in light and dark mode
Expected behavior
Make it clearly visible in light and dark mode
Screenshots

Additional context
Color has been change accordingly to default theme.
Are you working on this issue?
Yes

Hello, I understood the issue but could you tell me if this repo is only for GSoC students?

No, it' is an open source repo anyone can contribute in this repo and other CCExtractor projects .


Implement GINConv layer.

Could you post your full error message here?

Sure, here it is: https://gist.github.com/emsal0/e3d208e49c2b7dcd495c0b97a6fcc1ee

It appears something has changed. When I call GINConv using code from this branch I now get the following error:
ERROR: ArgumentError: reducing over an empty collection is not allowed
Stacktrace:
  [1] _empty_reduce_error()
    @ Base ./reduce.jl:299
  [2] reduce_empty(op::Symbol, #unused#::Type{Float32})
    @ Base ./reduce.jl:309
  [3] scatter_empty(op::Symbol, T::Type)
    @ NNlib ~/.julia/packages/NNlib/YKZXm/src/scatter.jl:101
  [4] scatter(op::Symbol, src::Matrix{Float32}, idx::Vector{Int64}; init::Nothing)
    @ NNlib ~/.julia/packages/NNlib/YKZXm/src/scatter.jl:96
  [5] scatter(op::Symbol, src::Matrix{Float32}, idx::Vector{Int64})
    @ NNlib ~/.julia/packages/NNlib/YKZXm/src/scatter.jl:93
  [6] aggregate_neighbors
    @ ~/projects/foss_contribs/GeometricFlux.jl/src/layers/msgpass.jl:47 [inlined]
  [7] propagate(gn::GINConv{NullGraph, Float64}, adj::Vector{Vector{Int64}}, E::FillArrays.Fill{Float32, 2, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}}}, V::Matrix{Float32}, u::FillArrays.Fill{Float32, 1, Tuple{Base.OneTo{Int64}}}, naggr::Symbol, eaggr::Nothing, vaggr::Nothing)
    @ GeometricFlux ~/projects/foss_contribs/GeometricFlux.jl/src/layers/gn.jl:61
  [8] propagate(mp::GINConv{NullGraph, Float64}, adj::Vector{Vector{Int64}}, E::FillArrays.Fill{Float32, 2, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}}}, X::Matrix{Float32}, aggr::Symbol)
    @ GeometricFlux ~/projects/foss_contribs/GeometricFlux.jl/src/layers/msgpass.jl:56
  [9] propagate(mp::GINConv{NullGraph, Float64}, fg::FeaturedGraph{Matrix{Float32}, Matrix{Float32}, FillArrays.Fill{Float32, 2, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}}}, FillArrays.Fill{Float32, 1, Tuple{Base.OneTo{Int64}}}}, aggr::Symbol)
    @ GeometricFlux ~/projects/foss_contribs/GeometricFlux.jl/src/layers/msgpass.jl:51
 [10] (::GINConv{NullGraph, Float64})(fg::FeaturedGraph{Matrix{Float32}, Matrix{Float32}, FillArrays.Fill{Float32, 2, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}}}, FillArrays.Fill{Float32, 1, Tuple{Base.OneTo{Int64}}}})

@yuehhua @CarloLucibello should I squash before requesting further review?

I guess squashing is better. Could you add the layer to the documentation in docs/?

Done, but forgot to squash. How can I preview my changes, formatted?

Manually squashing is ending up being more complicated than anticipated (due to the merge from master in the middle of the commit log), I think I will just leave it to the automatic squasher once review is done.


Compile to_snake regex for improved performance

Codecov Report

Merging #178 (a6e99bd) into main (05fbb56) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #178   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           26        24    -2
=========================================
- Hits            26        24    -2

Impacted Files
Coverage Δ

camel_converter/__init__.py
100.00% <100.00%> (ø)

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


tfsec: 0.60.1 -> 0.61.0

Motivation for this change
Update to latest upstream release 0.61.0
Change log: https://github.com/aquasecurity/tfsec/releases/tag/v0.61.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 147526 run on x86_64-linux 1

1 package built:

tfsec


Fixing Links in charts

Changed the text on the main page to eliminate visible URLs.

Thanks @threepears Sorry for the delay.  I am trying to move away from actively managing this project.  I appreciate you doing those fixes though :+1:

No problem......but I don't see the changes on the site.  Did something go wrong?  Hope I didn't make an error.....

That's expected, I have to push a tag for it to move to the AWS Instance and based on prior experience I am hesitant to do that until I pull he commit and see it myself. I'll take a look at it later and make sure it gets pushed. No worries!
Jon Staples, M.S.2
Data Scientist
NextGxDx
Phone:<PHONE_NUMBER>
Twitter: @civic_hax

On Aug 14, 2015, at 3:06 PM, threepears<EMAIL_ADDRESS>wrote:
No problem......but I don't see the changes on the site. Did something go wrong? Hope I didn't make an error.....
—
Reply to this email directly or view it on GitHub.


Fix flexbox styling in Safari

It seems like display: 'flex' still doesn't work in Safari
And can be fixed by adding display: '-webkit-box' according to this trick: https://css-tricks.com/using-flexbox/
But inline style in react didn't support same key with different value, https://github.com/facebook/react/issues/2020, hence this weird hack. (This approach has also been used in material-ui: https://github.com/callemall/material-ui/pull/1226/files)

I should probably be using an autoprefixer tool.
But regarding the small number of style, that should be enought.

@yuchien302 Thanks. I'm gonna do a release.

Cool! Autoprefixer is definitely the way to go we have time!


Add text below or above QR-image

Hello I'm working on webapp for our company and i was asked to create QR Code generator with text above or below Code. Is tthere any way to add this texts in to image?

That's a Data Matrix on your picture, not a QR Code.
Anyway, it's just an image so you could use any image manipulating tool to add text.


Known issue: Canceling the UAC dialog after clicking "Edit winget settings as admin (UAC)" causes a mild exception.

Forgot to put in an exception handler for it, but it'll be fixed in version 0.1.4.

Guess this can be closed now, since people will still be able to see it pinned.


Allow users who register via anonymous submissions to sign in and view their status

Currently it's impossible for these users to sign in, as they are stuck in an account created but email not verified (and no way to resend the verification email that wasn't actually sent)

Feature request to show QR code of walk ons immediately after form completion.


GIX-1044: Add method to get transaction fee

Motivation
Expose method to get SNS ledger transaction fee.
Changes

Add "transactionFee" method to sns ledger canister.
Add "transactionFee" method to sns wrapper canister.

Tests

Test for new methods.

@peterpeterparker @mstrasinskis please review


Internal DNS resolving to ip not in endpoint_table

Base info:
Docker version:  Server Version: 17.12.0-ce
Host Ubuntu 16.04
Kernel: Linux docker-linux-4 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Container on overlay network is not resolving to the correct ip address, even though the endpoint_table has the correct ip addresses for the services being looked up
Machine 1:
    name: docker-linux-2
  service: person
network:
        name: core-conversion
          id:  dhsn7wq8901i
 endpoint_id:  d67ed4c06ee9476e89a27643811c84d92edbd14cb36bba8deb0bd360ccac579d
container ip:  <IP_ADDRESS>/24
      vip ip:   <IP_ADDRESS>/24

Machine 2: (this is the host with the issue)
    name: docker-linux-4

If I console into a container running on docker-linux-4 run the command ping person  it resolves to an incorrect ip address.
                                IN      A

;; ANSWER SECTION:
person.                 600     IN      A       <IP_ADDRESS>
person.                 600     IN      A       <IP_ADDRESS>

;; Query time: 0 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Thu Jun 21 18:01:24 UTC 2018
;; MSG SIZE  rcvd: 68

I enabled network diagnostics as per https://github.com/docker/libnetwork/blob/master/cmd/diagnostic/README.md and queried the internal table
docker-linux-4:/etc/docker# curl "localhost:3650/gettable?tname=endpoint_table&nid=dhsn7wq8901i"
OK
total entries: 15
9) k:`d67ed4c06ee9476e89a27643811c84d92edbd14cb36bba8deb0bd360ccac579d` -> v:`CjJjb3JlLWNvbnZlcnNpb25fcGVyc29uLjEud3A4NHI0dDdob2xjYzRlNWQyN2g3d3dnMBIWY29yZS1jb252ZXJzaW9uX3BlcnNvbhoZNXlhdGhtemVybzNha3BpN2JzbDJ1ampwMyILMTAuMC43MC4yMDQqCjEwLjAuNzAuNjY6BnBlcnNvbkIMNjZmOTk5NmExZWJm` owner:`docker-linux-2-87452fddc35d`

decoded
2core-conversion_person.1.wp84r4t7holcc4e5d27h7wwg0core-conversion_person5yathmzero3akpi7bsl2ujjp3"<IP_ADDRESS>*
<IP_ADDRESS>:personB66f9996a1eb

Clearly the docker engine on docker-linux-4 has the correct information for the service in it's internal state; however, when the container running on that host tries to resolve the name to an ip it is getting back incorect information
journalctl logs
Jun 21 14:16:00 docker-linux-4 dockerd[16215]: time="2018-06-21T14:16:00.677029300-04:00" level=debug msg="Name To resolve: person."
Jun 21 14:16:00 docker-linux-4 dockerd[16215]: time="2018-06-21T14:16:00.677049998-04:00" level=debug msg="[resolver] lookup name person. present without IPv6 address"
Jun 21 14:16:00 docker-linux-4 dockerd[16215]: time="2018-06-21T14:16:00.677089713-04:00" level=debug msg="Name To resolve: person."
Jun 21 14:16:00 docker-linux-4 dockerd[16215]: time="2018-06-21T14:16:00.677107232-04:00" level=debug msg="[resolver] lookup for person.: IP [<IP_ADDRESS> <IP_ADDRESS>]"

@liqdfire 17.12.0-ce is not anymore supported, can you try to see if 18.03.1-ce has the same issue?
Feel free to reopen it if that is the case