Exception after typing search term and press enter (remote)

I initially typed:
?dev.list

and after a while, the help window showed up for that function.
I then pressed the Home button, but it didn't seem to work.  After some time I typed plot in the help window search bar and pressed enter. It almost immediately crashed VS.
From event viewer:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.HttpListenerException
   at System.Net.HttpResponseStream.BeginWrite(Byte[], Int32, Int32, System.AsyncCallback, System.Object)
   at System.IO.Stream+<>c.<BeginEndWriteAsync>b__53_0(System.IO.Stream, ReadWriteParameters, System.AsyncCallback, System.Object)
   at System.Threading.Tasks.TaskFactory`1[[System.Threading.Tasks.VoidTaskResult, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]].FromAsyncTrim[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.IO.Stream+ReadWriteParameters, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon, ReadWriteParameters, System.Func`5<System.__Canon,ReadWriteParameters,System.AsyncCallback,System.Object,System.IAsyncResult>, System.Func`3<System.__Canon,System.IAsyncResult,System.Threading.Tasks.VoidTaskResult>)
   at System.IO.Stream.BeginEndWriteAsync(Byte[], Int32, Int32)
   at System.IO.Stream.WriteAsync(Byte[], Int32, Int32, System.Threading.CancellationToken)
   at System.IO.Stream+<CopyToAsyncInternal>d__27.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.Common.Core.StreamExtensions+<CopyAndFlushAsync>d__0.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(System.Threading.Tasks.Task)
   at Microsoft.R.Host.Client.BrokerServices.RemoteUriWebService+<GetResponseAsync>d__4.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.R.Host.Client.BrokerServices.WebServer+<DoWorkAsync>d__22.MoveNext()
   at Microsoft.Common.Core.TaskExtensions+<>c.<DoNotWaitThreadContinuation>b__6_0(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

It didn't repro a second time. Will let you know if I see it again.

Okay, it did repro a second time.  One thing that I noticed is that the help server seemed to stop (there was a message to that effect in REPL) after I hit home.

I was not able to repro this, please re-open if this happens again. I suspect the server failure was caused by WebException protocol error that was not handled correctly. The fix for that is already in #2347 (change #2382 ).


The game decides to ask about refreshing the beatmap during the replay

https://osureplayviewer.xyz/view.php?id=5ab128d051340
The game is showing the option about refreshing the beatmap listing during the replay.

Fixed !


Issue in ingesting Boeing data

There is an error ingesting Boeing data in dev version of RACK.  The data is present on RedShare and dated 4/2/2021. The dev versions which gave this error are

dev version pulled on 4/14/2021 and being run in Docker on a windows machine
dev version being run in Docker on a mac

This issue may be related to SemTK.
@glguy @russell-d-e : please add additional details as needed.

Download   BoeingData_v5.1_20210402.zip from RedShare MockMessageCourier.
run Load-BoeingData.sh

Reproduced the failure in a windows dev environment.

I've gotten a handle on this.

I do not see a change in SemTK that would have caused this
I do see how to change SemTK to prevent it from happening again

I'll push a new -dev docker some time today.


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
4b213f4d76f223a9dff46c0ac364efb335f894fd
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


[Feature request] command line flag to capture the values of locals in the printed traceback

In
https://github.com/UKGovernmentBEIS/inspect_ai/blob/d76c54d83e57901a92e5b72e0c2cea83b26773a3/src/inspect_ai/log/_log.py#L430-L437
there should be a command line flag to allow changing
https://github.com/UKGovernmentBEIS/inspect_ai/blob/d76c54d83e57901a92e5b72e0c2cea83b26773a3/src/inspect_ai/log/_log.py#L435
to show_locals=True.
This would make debugging significantly easier.

Interestingly, we originally had show_locals=True but then multiple people noticed that it was possible for this to leak API keys into the logs. We will add an option to manually re-enble this though as I agree it's very good for debugging.


Feature: Dwonload CSV for  Newsflash/road segment

Feature description
Downloading a text file of accidents and injureds according to a news flash/road segment
main functionality

A file in txt / csv format that will be downloaded when user click the button (see image).
The data refer to the selected road section (according to the news flash or according to the search panel)
The output is a list of accidents and casualties
The time period will be a fixed period of 5 years (if possible... the period also selected from the menu that is interactive according to the user's choice 3, 5, 8 years)
Target audience:  common user / journalists.

Visualization

File structure and fields
TBC
Work steps

Checking the scope of implementation and required effort
Implementation

Additional context
Target audience: The data will be presented in a simple and clear manner for the common user / journalists.
Column headings will appear in Hebrew:
תאריך, חומרה, פצועים קשה, פצועים בינוני...״ וגם הערכים:  ״קלה, קשה, קטלנית

Can we add a specification of how exactly the download URL will look like?


cleanup: remove h2UpgradeMap

Signed-off-by: Zhonghu Xu<EMAIL_ADDRESS>Please provide a description of this PR:
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
26796907e58c79d2e5a315a73acdab4f4a18b140
link
true
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
26796907e58c79d2e5a315a73acdab4f4a18b140
link
true
/test release-notes_istio

lint_istio
26796907e58c79d2e5a315a73acdab4f4a18b140
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
26796907e58c79d2e5a315a73acdab4f4a18b140
link
true
/test lint_istio

release-notes_istio
6b490d6006e11c1cfe4174ec7925cabcfc6f5fc6
link
true
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Yes, just a minor refactor.


Crash on IOS Simulator launch

🐛 Bug Report

When trying to build the app using eas, I am getting an error when launching the app on IOS Simulator:
Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit
It was because I totally forgot to add this line from the readme:
[[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
Now, I am writing an expo plugin to add all the necessary config, we don't want to manually manage native code.
But when launching the app, I get the following error:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                	       0x1187fd89b __exceptionPreprocess + 226
1   libobjc.A.dylib               	       0x1123dfba3 objc_exception_throw + 48
2   CoreFoundation                	       0x118885019 -[__NSCFString characterAtIndex:].cold.1 + 0
3   CoreFoundation                	       0x11888f7d0 -[__NSPlaceholderDictionary initWithCapacity:].cold.1 + 0
4   CoreFoundation                	       0x118870243 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 251
5   CoreFoundation                	       0x1187fc4dd +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
6   RAHADEV                       	       0x102b0c761 -[EXDevLauncherController _ensureUserInterfaceStyleIsInSyncWithTraitEnv:] + 193
7   RAHADEV                       	       0x102b0bf92 __62-[EXDevLauncherController _initAppWithUrl:bundleUrl:manifest:]_block_invoke + 706
8   libdispatch.dylib             	       0x113f817fb _dispatch_call_block_and_release + 12
9   libdispatch.dylib             	       0x113f82a3a _dispatch_client_callout + 8
10  libdispatch.dylib             	       0x113f9232c _dispatch_main_queue_drain + 1338
11  libdispatch.dylib             	       0x113f91de4 _dispatch_main_queue_callback_4CF + 31
12  CoreFoundation                	       0x11875cb1f __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
13  CoreFoundation                	       0x118757436 __CFRunLoopRun + 2482
14  CoreFoundation                	       0x1187566a7 CFRunLoopRunSpecific + 560
15  GraphicsServices              	       0x11d2c928a GSEventRunModal + 139
16  UIKitCore                     	       0x1292c5ad3 -[UIApplication _run] + 994
17  UIKitCore                     	       0x1292ca9ef UIApplicationMain + 123
18  RAHADEV                       	       0x102851680 main + 96 (main.m:7)
19  dyld_sim                      	       0x11034e2bf start_sim + 10
20  dyld                          	       0x208096310 start + 2432

To Reproduce

clone the reproduction repo from here
Go inside the project then type yarn to install all the packages.
yarn build:plugin (this is a custom command added to package.json, so I can write plugins in typescript and compile them in javascript).
yarn expo prebuild (works without any issue, but if you are using M1, you may need to add arch -x86_64 before the command like arch -x86_64 yarn expo prebuild).
yarn ios or arch -x86_64 yarn ios if you are on M1
5)The build should be okay, but when the simulator tries to open the app, it will just crash and not open

Expected Behavior

The app should build and launch without any issue.
Code Example

The link to the reproduction repository: react-native-fbsdk-next-reproduction-repo
The plugin that I am trying to implement (you will find it inside the project inside plugins/src/withReactNativeMapIOS.ts file:

import {ConfigPlugin, withAppDelegate} from "@expo/config-plugins";

const withFaceBookSDKIOS: ConfigPlugin = (config) => {
  config = withAppDelegate(config, (config) => {
    const contents = config.modResults.contents;
    const addedImportContent = contents.replace(
      `#import <React/RCTConvert.h>`,
      `#import <React/RCTConvert.h>
  #import <FBSDKCoreKit/FBSDKCoreKit-swift.h>`,
    );
    const addedSetupContent = addedImportContent.replace(
      `[super application:application didFinishLaunchingWithOptions:launchOptions];`,
      `[[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];`,
    );

    config.modResults.contents = addedSetupContent;
    return config;
  });
  return config;
};

module.exports = withFaceBookSDKIOS;

Environment

Device: Apple Macbook Pro M1 Pro
IDE: Visual Code Studio
package.json(non-exhaustive):
 "dependencies": {
    "expo": "~47.0.9",
    "expo-app-loading": "~2.1.1",
    "expo-application": "~5.0.1",
    "expo-build-properties": "^0.4.1",
    "expo-constants": "~14.0.2",
    "expo-dev-client": "~2.0.1",
    "expo-device": "~5.0.0",
    "expo-font": "~11.0.1",
    "expo-image-picker": "~14.0.2",
    "expo-linear-gradient": "~12.0.1",
    "expo-linking": "~3.3.0",
    "expo-localization": "~14.0.0",
    "expo-location": "~15.0.1",
    "expo-permissions": "~14.0.0",
    "expo-secure-store": "~12.0.0",
    "expo-splash-screen": "~0.17.5",
    "expo-status-bar": "~1.4.2",
    "expo-system-ui": "~2.0.1",
    "expo-tracking-transparency": "~3.0.1",
    "expo-updates": "~0.15.6",
    "graphql": "^16.5.0",
    "i18next": "^21.8.11",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "react-hook-form": "^7.33.0",
    "react-i18next": "^12.0.0",
    "react-instantsearch-hooks": "^6.30.2",
    "react-native": "0.70.5",
    "react-native-fbsdk-next": "11.1.0",
  },

My app.config.ts plugin section:
[
      "react-native-fbsdk-next",
      {
        appID: facebookAppID,
        clientToken: facebookClientToken,
        displayName: facebookDisplayName,
        isAutoInitEnabled: true,
      },
    ],
[
      "expo-build-properties",
      {
        ios: {
          deploymentTarget: "13.0",
          useFrameworks: "static",
        },
      },
    ],
    "./plugins/build/withReactNativeMapIOS.js", // Fix for ios
    "./plugins/build/withFaceBookSDKIOS.js",

I updated the issue with minimal reproduction repository:

I had the same issue. Because i'm using use_frameworks! in my podfile.
So I've added this.
Podfile
target 'myapp' do
  $static_framework = []
  use_frameworks! :linkage => :static

  $static_framework += [
    'FBSDKCoreKit_Basics',
    'FBSDKCoreKit',
    'FBSDKGamingServicesKit'
  ]

pre_install do |installer|
  Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
      installer.pod_targets.each do |pod|
          if $static_framework.include?(pod.name)
              def pod.build_type;
              Pod::BuildType.static_library # >= 1.9
          end
      end
  end
end
end

I had the same issue. Because i'm using use_frameworks! in my podfile. So I've added this.
Podfile
target 'myapp' do
  $static_framework = []
  use_frameworks! :linkage => :static

  $static_framework += [
    'FBSDKCoreKit_Basics',
    'FBSDKCoreKit',
    'FBSDKGamingServicesKit'
  ]

pre_install do |installer|
  Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
      installer.pod_targets.each do |pod|
          if $static_framework.include?(pod.name)
              def pod.build_type;
              Pod::BuildType.static_library # >= 1.9
          end
      end
  end
end
end

And here's my full Podfile for reference
require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking")
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '13.0'
install! 'cocoapods', :deterministic_uuids => false

$RNFirebaseAsStaticFramework = true

target 'myapp' do
  $static_framework = []
  use_frameworks! :linkage => :static
  use_expo_modules!
  rn_maps_path = '../node_modules/react-native-maps'
  pod 'react-native-google-maps', :path => rn_maps_path

  pod 'JWT', '3.0.0-beta.12'

  pod 'GoogleSignIn', '~> 6.1.0'

  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"

  config = use_native_modules!

  $static_framework += [
    'react-native-maps',
    'react-native-google-maps',
    'Google-Maps-iOS-Utils',
    'GoogleMaps',
    'RNPermissions',
    'Permission-LocationWhenInUse',
    'Permission-Notifications',
    'FBSDKCoreKit_Basics',
    'FBSDKCoreKit',
    'FBSDKGamingServicesKit'
  ]

  # Flags change depending on the env values.
  flags = get_default_flags()

  use_react_native!(
    :path => config[:reactNativePath],
    # Hermes is now enabled by default. Disable by setting this flag to false.
    # Upcoming versions of React Native may rely on get_default_flags(), but
    # we make it explicit here to aid in the React Native upgrade process.
    :hermes_enabled => true,
    :fabric_enabled => flags[:fabric_enabled],
    # Enables Flipper.
    #
    # Note that if you have use_frameworks! enabled, Flipper will not work and
    # you should disable the next line.
    # :flipper_configuration => FlipperConfiguration.disabled,
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  # ****** THIS IS THE MAGIC ******
  pre_install do |installer|
    Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
        installer.pod_targets.each do |pod|
            if $static_framework.include?(pod.name)
                def pod.build_type;
                Pod::BuildType.static_library # >= 1.9
            end
        end
    end
  end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  # use_flipper!()
  post_install do |installer|
    react_native_post_install(
      installer,
      # Set `mac_catalyst_enabled` to `true` in order to apply patches
      # necessary for Mac Catalyst builds
      :mac_catalyst_enabled => false
    )
    __apply_Xcode_12_5_M1_post_install_workaround(installer)

    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
      end

      if (target.name&.eql?('FBReactNativeSpec'))
        target.build_phases.each do |build_phase|
          if (build_phase.respond_to?(:name) && build_phase.name.eql?('[CP-User] Generate Specs'))
            target.build_phases.move(build_phase, 0)
          end
        end
      end
    end

  end
end

Hi @mehdyouras ,
Thank you for you answer. Yes, I added useFramework: "static" inside the app.config
But when I do this and I add the code you provided, I am getting the following error in my build:
⚠  Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: The following Swift pods cannot yet be integrated as static libraries:

The Swift pod `FirebaseCoreInternal` depends upon `GoogleUtilities`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.

I added back the useFramework: "static" and kept your changes and it works on the reproduction repo.
The issue seems to be with react-native-maps package

if you are still getting error after updating AppDelegate.m file please check info.plist and client secrete token e.g FacebookClientToken
81566xxxxxxxxxxxxxxxxxx
https://developers.facebook.com/apps/1789247454774331/settings/advanced/
in advanced settings on facebook developers go in security and copy client secrete

Thank you @Bilalwarind.
The tokens have already been added in the app.config.ts, which is used by expo and this is not the issue.
I suspect it comes from another plugin we have so I am trying to figure out which.

Okay, so after investigating, the problem is coming from the package "expo-dev-client": "~2.0.1"
The app only crash when both are used together, latest version.
There was no issue using the following versions of the packages:
"expo": "^44.0.6",
"expo-dev-client": "~0.8.6",
"react-native-fbsdk-next": "^8.0.2",

Awesome, thanks!
On Tue, Jan 3, 2023, 7:58 PM Nazam Muhammad @.***>
wrote:

Okay, so after investigating, the problem is coming from the package "expo-dev-client":
"~2.0.1"
The app only crash when both are used together, latest version.
There was no issue using the following versions of the packages:
"expo": "^44.0.6","expo-dev-client": "~0.8.6","react-native-fbsdk-next": "^8.0.2",
—
Reply to this email directly, view it on GitHub
https://github.com/thebergamo/react-native-fbsdk-next/issues/368#issuecomment-1369863534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQK7L6T3Q7QJIPFVYWTZ5LWQQ5APANCNFSM6AAAAAATI7YCXI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Okay, so I have a really strange issue.
It is working with the latest version compatible with expo.
But with 2 conditions:

I have to build it locally (eas or just with expo)
I need to remove the plugin
So I am quite lost now

Ok, so the solution was actually a mismatch between packages versions, I changed to the following:
"expo": "~47.0.9" => "expo": "~47.0.12"
"react-native-web": "~0.18.7" => "react-native-web": "~0.18.9"
"@babel/core": "^7.18.6" => "@babel/core": "^7.12.9"
"@types/react": "~18.0.0" => "@types/react": "~18.0.14"

It works now.


DOOM question

If I want to specify another IWAD show can this be done in the feed json or can it be done currently, thanks.

Unfortunately, not supported currently.
This is supported for Quake, and will ultimately be added for Doom.
Chris.
On Sun, Jun 9, 2024 at 10:44 AM Rowan Hamilton @.***>
wrote:

If I want to specify another IWAD show can this be done in the feed json
or can it be done currently, thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/webrcade/webrcade-docs/issues/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKG7CTDO46HSQ6BV6NWLVTZGSH7ZAVCNFSM6AAAAABJBCACZ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DEMZZHE4DQNY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Unfortunately, not supported currently.
This is supported for Quake, and will ultimately be added for Doom.
Chris.
On Sun, Jun 9, 2024 at 10:44 AM Rowan Hamilton @.***>
wrote:

If I want to specify another IWAD show can this be done in the feed json

or can it be done currently, thanks.

—

Reply to this email directly, view it on GitHub

https://github.com/webrcade/webrcade-docs/issues/8, or unsubscribe

https://github.com/notifications/unsubscribe-auth/ABKG7CTDO46HSQ6BV6NWLVTZGSH7ZAVCNFSM6AAAAABJBCACZ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DEMZZHE4DQNY

.

You are receiving this because you are subscribed to this thread.Message

ID: @.***>

Thanks for the reply, closing.


Use TypeScript decorators

We can use decorators to set object types, generate "is" functions or load data from RDF. This would allow us to decrease and simplify model code.
https://www.typescriptlang.org/docs/handbook/decorators.html

If I am correct, decorators themselves cannot generate functions. We can use normal functions and TypeScript magic to generate boilerplate in runtime.


POI localrank

Basic version is implemented in the localrank branch https://github.com/geometalab/osm2vectortiles/tree/feature/localrank.
But stuff still needs to be improved.
CREATE OR REPLACE FUNCTION rank_poi(type VARCHAR) RETURNS INTEGER
AS $$
BEGIN
    RETURN CASE
        WHEN type IN ('public_building', 'police', 'townhall', 'courthouse') THEN 10
        WHEN type IN ('stadium') THEN 90
        WHEN type IN ('hospital') THEN 100
        WHEN type IN ('zoo') THEN 200
        WHEN type IN ('university', 'school', 'college', 'kindergarten') THEN 300
        WHEN type IN ('park') THEN 350
        WHEN type IN ('supermarket', 'department_store') THEN 400
        WHEN type IN ('nature_reserve', 'swimming_area') THEN 500
        WHEN type IN ('attraction') THEN 600
        ELSE 1000
    END;
END;
$$ LANGUAGE plpgsql IMMUTABLE;

And then create the local rank for each tile in a 128 px grid when returning the POIs.
rank() OVER (PARTITION BY LabelGrid(geometry, 128 * !pixel_width!)
                           ORDER BY rank_poi(type) ASC) AS localrank,

This works ok. But somehow I am not really sure the LabelGrid is working. At higher zoom levels !pixel_width! might be 0 and then the pixel width of LabelGrid is also 0 which would then result in a weird grouping with a lot of POIs having a 1 as localrank.

[ ] Check LabelGrid pixel width setting - could perhaps be better or ensure that it always is at least 1px
[ ] POIs that have a high scalerank should also have a high localrank (just to stay consistent).
[ ] In the moment ordering is not quite perfect. Police stations and parks are favored too much but it should actually be more like transport points and other public buildings.

Local rank in OSM Bright is actually only relevant in the zoom level 17 (in all other cases either everything is shown or stuff is filtered according to it's scalerank).

We improved the scalerank significantly so that the local rank does no longer play such a huge role and seems to be at adequate level.


PHP MySQL driver missing

Hello, and many thanks for the effort :)
I'm implementing this framework for some practising, and I have the following problem:
When I perform the Database connection, following the steps described in the readme file:
$cfg->addConnection('mysql', 'mysql://user:password@localhost/database_name');
An error prompts saying 'An exception occured in driver: could not find driver'
This is because there are not mysql driver added for php (I checked that in phpinfo())
Could I access somehow to the locally installed ubuntu server created by vagrant, in order to add some driver?
Currently, if I try ti acces it, it shows:
vagrant-ubuntu-trusty-64 login:
but I don't have the login data.
Thank you in advance, and thanks again for the work!

Forgot to say I'm using Spot2 ORM

I found the way. Sorry for the inconvenience.
For those who want to know, just type vagrant shh


How Install in my site?

Hi...
This great tool, but how to use in my site domain?
Sorry i'm noob.

do you use nodejs


Email artsy admin on primer onboarding completion

"Can Sarah<EMAIL_ADDRESS>get an automated email notification when users complete onboarding? Right now, she would need to manually check the user profile to see if anything has been updated."

@cab yes we can do that if the onboarding email lives in sailthru. We can trigger a custom script that sends an email and I'm 80% sure that can be to whomever we want.  However, for the pilot of this project these emails will not live in sailthru so I think we have some time to figure it out...

Question- if there are only 10 users for this program...do we really need an automated email that one of those ten have completed onboarding? Can we just do it manually?
And if we do want to automate it, it does seem like an email living in Sailthru (being triggered) would be how we go about doing it, so I'm a bit confused what still needs to happen.
Was this PR sufficient? https://github.com/artsy/force/pull/1073 This is the one that sets those artsy_primer vars in ST. Couldn't that be the thing that triggers this notification to Sarah?

For this test, correct, we're not doing any automated emails since it's only 10 people and there wasn't sufficient notice to create/build them in time for launch and yes that PR is sufficient (the trigger to send the email is on my side, which I'm still working on). There was one outstanding issue with the format of the date (https://github.com/artsy/force-private/issues/5485) but it's non-urgent.

Ah got it, so besides the date thing we are good?
(I'll move that issue for you btw, you made it in our now deprecated closed source repo!).

oops!

Yes, otherwise we're good

Should be fixed by #1105

Closing, @sperle confirmed this is working.


Fix tablet output area is not updated when switching fullscreen and borderless mode on MacOS with metal renderer.

Log of fetchWindowSize
Window Size:{Width=1792, Height=1067} Drawable Size: {Width=3586, Height=2134}
Window Size:{Width=1792, Height=1067} Drawable Size: {Width=3584, Height=2134}
Window Size:{Width=1304, Height=537} Drawable Size: {Width=3584, Height=2134}
Window Size:{Width=1304, Height=537} Drawable Size: {Width=2608, Height=1074}
Window Size:{Width=1304, Height=537} Drawable Size: {Width=2608, Height=1074}
****Window Size:{Width=1792, Height=1120} Drawable Size: {Width=2608, Height=1074}
Window Size:{Width=1792, Height=1120} Drawable Size: {Width=3584, Height=2240}
Window Size:{Width=1792, Height=1120} Drawable Size: {Width=3584, Height=2240}
Window Size:{Width=1792, Height=1120} Drawable Size: {Width=3584, Height=2240}

The drawable size is updated at the beginning of the frame, so the client size and window size might not be synchronised.
https://github.com/ppy/osu-framework/blob/19cbb8f4a681b4e8cb7838127ddcf91b71870cea/osu.Framework/Graphics/Veldrid/VeldridRenderer.cs#L206-L212
The tablet driver takes the wrong client size, as the event is only triggered when the window size changes.
https://github.com/ppy/osu-framework/blob/19cbb8f4a681b4e8cb7838127ddcf91b71870cea/osu.Framework/Input/Handlers/Tablet/OpenTabletDriverHandler.cs#L123-L144

Could you open an issue showing the bug you're seeing. Preferably with a screen recording and full logs attached. And also test (and show your logs) on non-metal rendered. If you are modifying the code to get additional logging, please post the git diff of that.
Also, you say you're switching between fullscreen and borderless, but it seems you're also switching displays:

moved to issue #5879.


Dev/background image

Adding ability to collect a background image. Inserted this as a function in the camera class. This seems like a function of the camera, rather than the microscope? But we can discuss if others disagree. The camera class returns a background image which is median filtered over N frames. This is saved as a tiled TIFF (per Cameron's request) within the exaspim.py file.
Adding anatomical axes to the config, which are logged in the schema.
Reordered and reorganized some schema logging statements to be more accurate/human readable.

This looks OK to merge...


Update Composer dependencies (2020-06-19-00-09)

Visual regression test passed!
View the visual regression test report


Add the possibility to control a subset of coordinates in IK::CoMTask

The same as #356 but for the CoM.
Blocked by #356
cc @paolo-viceconte

@S-Dafarra the PR is ready to be reviewed


NotFoundHttpException

I have created a module called Booking, and a Route::resource() for it routes but it doesn't work. So I created a single route out of any modules, and it works perfectly.

booking/http/routes.php

Route::group(['middleware' => ['web'], 'prefix' => 'booking', 'namespace' => 'Modules\Booking\Http\Controllers'], function()
{
	Route::resource('/', 'BookingController', ['names' => [
        'edit' => 'booking.edit'
    ]]);
});

Even the command "php artisan route:list" shows something weird:

If I try access any route like "/booking/56a57bd0be93698c25000029" or "/booking/edit/56a57bd0be93698c25000029" I receive the follow message error:

"Sorry, the page you are looking for could not be found."

and with stack:

NotFoundHttpException in RouteCollection.php line 161:
in RouteCollection.php line 161
at RouteCollection->match(object(Request)) in Router.php line 802
at Router->findRoute(object(Request)) in Router.php line 670
at Router->dispatchToRoute(object(Request)) in Router.php line 654
at Router->dispatch(object(Request)) in Kernel.php line 246
at Kernel->Illuminate\Foundation\Http{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Kernel.php line 132
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
at Kernel->handle(object(Request)) in index.php line 54

Please read the laravel documentation.
You need to give the resource a name.
Route::resource('something', 'BookingController', ['names' => [
        'edit' => 'booking.edit'
    ]]);

I understood, but the URL it goes be like "booking/book".
Should I remove prefix from the route?

If you want only booking as url, yes. You could just move the route resource outside the route group.

Really great!
Thank you for your answer, and sorry for my lack of attention.

Awesome! No worries. :smile:


Ticket ID to be included in Donorfy Acknowledgement email

For now the ticket ID is showing in the 'Acknowledgement Text' field. We want it to be able to show the 'Ticket ID' in another place in the email.
To be discussed

AcknowledgementText seems like the best place to put the ID.
The Donorfy transaction api offers specific fields in which to pass data but does not appear to allow custom placeholders.
We could try adding one but I doubt it would work.

Ok let's keep the current solution for now.


how to fix this ( cannot import name 'FromOriginalVAEMixin' from 'diffusers.loaders')

try to update 'diffusers'

My current version of 'diffusers' is '0.28.2' now,which version do I need to update?

My current version of 'diffusers' is '0.28.2' now,which version do I need to update?

update your code: git pull
https://github.com/aigc-apps/EasyAnimate/blob/main/easyanimate/models/autoencoder_magvit.py#L24C5-L24C57


request lacks valid signature

Running with beta keys (and adjusting the endpoint) yields:
>>> itbit_api_conn.get_all_wallets().json()
{u'code': 10002, u'description': u'Your request lacked a valid signature, and could not be authenticated.', u'requestId': u'7693dc59-a03f-4753-8f6b-e5e1cbcbf831'}

never mind - it appears that the signing mechanism is sensitive to a trailing '/' on the endpoint


Create translation.json

You don't need to create this file, the translation will be automatically generated from your it.po file (by running./scripts/compile_translations.ts)


⚠ Bofrost.at has degraded performance

In 8a7aefa, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1928 ms

Resolved: Bofrost.at performance has improved in ede732c after 6 minutes.


Support for Gravity Forms 2.5+ Markup

The new version of Gravity Forms (v2.5) has new markup when not in legacy mode.
Mostly the form uses divs instead of unordered lists, and things like checkboxes, radio buttons, complex fields (address fields, name fields, date fields, etc.) now use fieldsets with legends instead of labels to group things.
I've forked this repo, but there's some slow cognitive debt behind making the changes and I'm wondering if the plugin can be updated by someone more familiar with it before I get around to attempting a fix.

i'm not sure when i'll be able to dedicate any time to that, nor have i really dug into the new markup they're using and how the existing filters will work.

No worries, I am almost done making the changes on my local version and have it working.


Consistent build dir

Creates a consistent build directory according to this specifications:

sources

SIRF
STIR

 builds

SIRF

 build
 stamp
tmp

STIR

install

Adds also the option BUILD_OPENMP but is currently not used.
Builds fine and tests run and checked.
Closes #16

could you rename BUILD_OPENMP to something like STIR_USE_OPENMP (check best naming)? It'll be the only one that we have. Otherwise we give the impression that SIRF itself uses OPENMP.
Then forward to STIR (relevant option is called STIR_OPENMP).
To me, the variable name SOURCE_DOWNLOAD_CACHE makes no sense
set(${proj}_SOURCE_DIR "${SOURCE_DOWNLOAD_CACHE}/sources/${proj}" )
set(${proj}_BINARY_DIR "${SOURCE_DOWNLOAD_CACHE}/builds/${proj}/build" )
set(${proj}_DOWNLOAD_DIR "${SOURCE_DOWNLOAD_CACHE}/downloads/${proj}" )

I'd say
set( DOWNLOAD_CACHE ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH
    "The path for downloading external source directories" )
set(SOURCE_ROOT_DIR "${DOWNLOAD_CACHE}/sources/"  CACHE PATH "blabla")
set(BUILD_ROOT_DIR "${DOWNLOAD_CACHE}/builds/"  CACHE PATH "blabla")

and then use those. I guess I'd make them Advanced variables.
can do this later of course.

Why would you call it DOWNLOAD_CACHE when it is really the build directory?

well ok, call it something else then that serves the function, but not SOURCE_DOWNLOAD_CACHE :-) In fact, if you follow my suggestion to have lots of variables, the SOURCE_DOWNLOAD_CACHE variable will nowhere be used anymore, so problem solved :-; Arguably, it serves very little purpose, as people have the option to create a build-dir already (i.e. it serves exactly the same purpose as CMAKE_CURRENT_BINARY_DIR)
it would still be useful to have the variable for the user to set, but it's going to create trouble with expectations of changing it but not updating all other cached variables. so either have the main one cached, or the derived ones, but not both.

all builds are failing by the way

it's a travis problem. The build runs fine and the test are 100% positive on travis.
What's wrong is that travis is
cat SIRF-prefix/src/SIRF-build/Testing/Temporary/LastTest.log which now doesn't exist.
https://travis-ci.org/CCPPETMR/SIRF-SuperBuild/jobs/340409909#L6059

:-;
keeps you busy

To be honest, I only see a reason to set the source directory different from the CMAKE_CURRENT_BINARY_DIR, as users might want to fix something on the source and being able to commit back to the original packages.
The sources are currently inside the build directory, which is unnatural. So, I'd propose another thing:
set( SUPERBUILD_WORK_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH
    "The path for binary and work directories" )
set(SOURCE_ROOT_DIR "${CMAKE_SOURCE_DIR }/../sources/"  CACHE PATH "The path for external source directories")

I'm very reluctant to let it write by default outside of the build-dir. It's entirely non-standard. You don't know if they have CMAKE_SOURCE_DIR on a network share that could be read-only for instance. I'm alright with have just 2 variables cached of course. so let's use
set( SOURCE_ROOT_DIR "${CMAKE_CURRENT_BINARY_DIR/sources/"  CACHE PATH
    "The path for external source directories")

closes #16
closes #83


Make using JAX (or any accelerator) a toggle

This PR overhauls how the accelerator logic is chosen, and gives that power to the MBAR instantiation process as well as if someone is just using the functional solver library itself.
This is a re-thinking on how to handle different libraries with identical functioning methods where we only want to select one or the other in Python. This also adds some future-proofing if other accelerators are wanted in the future.

Importing is all handled through an init_accelerator method with matching name (i.e. init_numpy or init_jax).
All items which need to be set in the mbar_solvers namespace are set through the global word of Python in the init_X method and therefore are cast up to the full mbar_solvers namespace.
The mbar_solvers module now has state of the whole module and exists as ONE OR THE OTHER at any given time depending on when the last time the accelerator was set. I.e. You cannot have one MBAR object set as numpy and another set as JAX in the same code and expect them to operate with different libraries.
Default is JAX
I'm calling numpy an "accelerator" even though its the fall back.

Given the drastically different way the mbar_solver library is loaded relative to most other Python codes, I would like to formally request input from @mikemhenry and @mrshirts about this approach, as well as anyone else who wants to comment.
@invemichele this is the full implementation of the outlined API and features in #496, so any input you have would also be appreciated.
A possible future task is to split out all the import logic into a different submodule/folder just to make the mbar_solvers module simpler to read, especially if we get more accelerators in the future

This is an incredibly naïve question, but is there a way that the accelerators could all subclass an MBARAccelerator` base class with a simple API that exposes the major computations that the accelerator needs to perform?
Each accelerator could be implemented in a separate module (file), and the __init__.py that controls how the pymbar.accelerators subpackage is loaded could load all available accelerators and provide a way to retrieve the current "fastest" and available ones.
The complexities with jax are that the JIT requires some time to create the JITed methods, and that this is currently managed by various decorators at the file level. But these functions could be created and JITed in the initmethod by callingjit(...)` directly.
Could this reduce the complexity in allowing each accelerator to simply be a subclass that manages its own specialized code, or fails at initialization with a common exception if the accelerator cannot be used in the current environment?

could all subclass an MBARAccelerator base class with a simple API that exposes the major computations

Yes, we could do that, and that would be a much more Pythonic way to do it that doesn't require global methods which are very non-standard in most python codes I've seen. The main reason I didn't is because the mbar_solvers module is functional in its use, not class based.
I had thought of putting all of the actual functional code into a single abstract class, and then each accelerator can implement their own accelerator methods for things like pad and s_; and still keep the actual solver code identical, which has been really useful for implementing JAX without having to rewrite a fully unique solution for JAX and non-JAX.
However, doing so requires changing the API of mbar_solvers to be instance based, which would require bumping the major API version (i.e. pymbar 4.x -> pymbar 5.x) to keep with semantic versioning. We could in theory set default (jax) based methods in the mbar_solvers module which keeps the API in tact and doesn't require a major version update, which we can then put a DeprecationWarning in if we really want to.
I'd like to not use this init_X method if possible, keep the same codepaths, and not break the API all at the same time, so I'm open to ideas.

The complexities with jax are that the JIT requires some time to create the JITed methods...

Yes, its slightly more complicated by the use-case/issue I've been resolving in PR's leading up to this. Having JAX + decorated (or at module load) JIT calls is the 64-bit bitsize setting. #496 has the use case where using JAX for other code with its default 32-bit bitsize and PyMBAR needed 64-bit mode causes other JAX uses to break due to incompatible JAX-based models. #497 and my own tests confirm we cant really get by with 32-bit in PyMBAR. The PR's I have done before this one do stagger the JIT and the setting of 64-bit mode correctly and safely, allowing the loading of pymbar without breaking other JAX uses.
If we can embed the JIT in a class, we can still stagger it. With JAX caching the JIT'd functions, we should be okay.

I think this a good approach to solve our current problem in a way that keeps the API the same, but I agree that for pymbar 5.x, we should re-work this to not use globals.

a good approach to solve our current problem

I think the current use-case (#496) is mitigated with the earlier PR's (#504 and #505), so this is just an extra feature with a bit of future proofing that I don't know if we even will use any time soon if at all, i.e. other accelerators support.

in a way that keeps the API the same, but I agree that for pymbar 5.x, we should re-work this to not use globals.

I do think I can rework this PR to do what @jchodera suggested of making this much more Pythonic with a class-based abstract class system which preserves code paths to avoid duplication. I would then make the mbar_solvers module try to load a default one like we have now, and then expose the methods to preserve the API so we can keep it as a pymbar 4.{Y+1}. I think I would much rather do that rather than this init_X + global approach I have here if the plan is to scrap it anyways.
How does that sound?

Due to the dramatically different approach I went with to make this much more-pythonic, I am closing this in favor of a new PR to discuss there. I'll migrate relevant discussions from here to it.


RemoteApp not working in Windows 7

I am trying to get RemoteApp working. I am using the wfreerdp server on the remote pc and the wfreerdp client on the local pc. Both the remote pc and local pc are using Windows 7.  I can't seem to figure out why it is not working.
Here is the arguments I am using:
wfreerdp.exe -u myuser -p mypass --rfx --app "||C:\Windows\system32\notepad.exe" -o <IP_ADDRESS>

Working on target release.


My heroku

Hi, @dasmond1
Thanks for the contribution. Here are some considerations:
1: What's the point of adding "@babel/runtime": "^7.16.7" ?
2: Changes in config.json must be undone as they contain personal data.
3: Changes in package.json must be undone as they may bug our integration with NPM
4: Commits must follow the Conventional Commits pattern https://www.conventionalcommits.org/en/v1.0.0/
5: Please submit a new PR containing only modifications and following the standard Commits standard.
6: Please specify what the purpose of PR is, what problem it solves and how we can test/use it
Thank you one more time


nodePackages: update to latest

Description of changes

remove coinmon since it was abandoned and the project disappeared. (cc. @asymmetric)
https://github.com/bichenkk/coinmon#readme

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] 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

[x] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 290138 at aefdb00c run on x86_64-linux 1

2 packages marked as broken and skipped:

emanote
emanote.data

4 packages failed to build:

code-server
discourse
discourseAllPlugins
lv_img_conv

46 packages built successfully:

balena-cli
bat-extras.prettybat
commitlint
concurrently
create-cycle-app
documenso
emacsPackages.lsp-bridge
fast-cli
geph.gui
joplin
kiwitalk
lemmy-ui
lighthouse
lunarvim
mastodon-bot
mpvScripts.mpv-cheatsheet
node2nix
nodehun
openvscode-server
pgrok
pgrok.server
postcss-cli
pot
pulp
pyright
shout
sloc
theLoungePlugins.plugins.closepms
theLoungePlugins.plugins.giphy
theLoungePlugins.themes.flat-blue
theLoungePlugins.themes.flat-dark
uppy-companion
vesktop
vimPlugins.coc-java
vimPlugins.coc-metals
vimPlugins.coc-pyright
vimPlugins.coc-sh
vimPlugins.coc-sqlfluff
vimPlugins.coc-stylelint
vimPlugins.coc-tslint
vimPlugins.coc-vetur
vscode-extensions.ms-python.vscode-pylance
vscode-extensions.rust-lang.rust-analyzer
wasm-text-gen
wrangler
youtube-music

@ofborg build wrangler

Please move any packages of interest out of nodePackages and package them with buildNpmPackage instead.

All of the observed build failures seem to be already broken on master.


Lambda handler class is instantiated for each request

Each invocation of the LambdaFunction calls the constructor of the provided Lambda handler.
This goes against the normal behaviour of the Java runtime, which only instantiates the Lambda handler class on the first invocation. The [custom runtime documentation](Initialization tasks) also mentions that "Initialize the function" should happen in the Initialization step and not when processing tasks.
Looking at the code, I think it is a matter of moving line 207 of LambdaRuntime outside the while(true) loop, but don't have enough context to be sure that does not break anything else.
I might find some time to experiment with this next week.

Yes, I agree with you. I think the only reason it's there, is because if the clazz.getConstructor().newInstance(), throws an Exception, the handleInvocationException(..) method needs to be called.
I'll take a look and see if I can reorganize things.

Fixed in Release 2.2.2


How to bob shake

Describe your problem here.
ok so, i tried to do bobmadshake but its unknown identifier. pls HOWWW
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Yes, just need more features.

Please explain the effect.


Psi CADs can debark trees

Right clicking on a log with a Psi cad debarks it. This happens even if the cad additionally runs a spell. Really odd issue, but looking at the code it makes sense as the CAD declares itself an axe for the sake of being able to harvest all blocks.
Though I doubt its relevant, I am using Using Better With Mods 0.14.2-hotfix1 and Psi 1.0-42, both for 1.10.2

Still happening in Better With Mods 0.14.4 Beta.
I feel like its related to the first part of the function, as playerStack.getItem().getHarvestLevel returning true treats it as an axe, but its a little hard to tell exactly.

Oh yeah, I didn't notice that.


Implementation of feature request 54

Fixes: Feature Request #54

Implementes what I asked for in #54
I will add more stuff to it within the coming weeks like email notification for peers that are down for longer than 3 days same as auto disabling for peers that are longer down than 2 weeks.

Hi,
I've opened #53 in hopes to extend the info presented about why a session is down.  Wondering if you have any thoughts on how to do that.  It might fit in with what you're working on here?
Also, would you mind opening issues for your email notification ideas?  I have some thoughts on that which I'd like to share.

Coverage increased (+0.02%) to 74.231% when pulling 8d280be4a4b5af100bdd4fa2d1a1556c273dea04 on rgarcia89:master into c1c58a48ae3fdc0bcaa568b33d466a7e129a56d4 on respawner:master.

Coverage increased (+0.02%) to 74.231% when pulling 8d280be4a4b5af100bdd4fa2d1a1556c273dea04 on rgarcia89:master into c1c58a48ae3fdc0bcaa568b33d466a7e129a56d4 on respawner:master.

Coverage increased (+0.02%) to 74.231% when pulling 8d280be4a4b5af100bdd4fa2d1a1556c273dea04 on rgarcia89:master into c1c58a48ae3fdc0bcaa568b33d466a7e129a56d4 on respawner:master.


Support additional labels for topologySpreadConstraints

Tell us about your request
I would like to use more labels with topologySpreadConstraints and Karpenter to achieve more flexibility and stability such as node.kubernetes.io/instance-type and karpenter.k8s.aws/instance-category.
Actually in high level I would like karpenter to support topologySpreadConstraints with all node labels I can see using kubectl describe node
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Hello! We would like to increase our safety measures in case of significant spot interruptions from the same instance type. To achieve this, we plan to use labels like node.kubernetes.io/instance-type and karpenter.k8s.aws/instance-category with topologySpreadConstraints and Karpenter scheduling mechanisms. Unfortunately, Karpenter currently only supports three labels for topologySpreadConstraints, namely zone, capacity-type, and hostname, which do not provide the desired spread. We hope to implement the additional labeling soon.
Are you currently working around this issue?
Currently, we are not having any solution for implementing that
Additional Context
No response
Attachments

Currently bad spread across one region example
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Hey,
You can configure it here as per your requirements.

Hey, You can configure it here as per your requirements.

Hey, I want to use it on my workloads, not on the karpeneter controller itself


Add success/failure metrics to imgpublishjob

Allows us to track success/fail metrics for image publish jobs in Windows builds

/lgtm


bluetooth_scanner.py returning rssi of 0 after around 15 iterations

First off, great code, works like a charm! I have it sending the RSSI of certain bluetooth via API, but when I run the bluetooth_scanner.py code, it polls correctly for only around 15 iterations, anything after that always returns 0.
Has anyone experienced anything like this? I am not seeing any errors. Appreciate any help you can provide.
PS - This is running on a raspberry pi.
JJ

I also found that after X number of iterations it keeps returning zero value. I couldn't figure out the root cause of the problem but I did a couple of things to work around it.

Increase the time between polls
After doing above, I still would get into the zero-value problem after running it long enough, so I added a cronjob to reboot my Raspberry Pi nightly.

Hey ,
do you have a new solution for this issue? Or any idea where the problem is?
I am running your code on pi zero
Best regards and i look forward to your reply!


March 22, 2021 Community Meeting

Please add a topic in this thread and add a link to the Github issue associated with the topic.
Please make sure you give folks enough time to review/discuss the topic offline on Github before coming into the meeting
(optional) Paste the image of an animal :smile_cat:

removing unused fields in GitSource (https://github.com/shipwright-io/build/pull/683) -- technically an API change
aligning Go struct field name + YAML/JSON form (https://github.com/shipwright-io/build/issues/516#issuecomment-802208160) -- not an "API change", but breaks Go clients

Update the default branch from master to main: https://github.com/shipwright-io/build/issues/666

EP on support for params in Build. EP for support of configmaps for deployment configuration.
Introduce a catalog of steps for building strategies on demand (git,http,kaniko,builder,etc.)

Meeting minutes:

Docs - preference is for documentation to be in the same tree as code. Tekton has a sync script that brings documentation from code repo to website repo
Removing GitSource - this is an API for an unimplemented feature. OK to remove.
Go file struct renaming - impact to go clients is limited, ok to proceed.
Move to main branch - PR is open to remove OpenShift CI job, @adambkaplan or @qu1queee to create main branch.
@qu1queee discussed forward-looking enhancement proposals:

Formalize parameters for build strategies
Move build controller configuration to a ConfigMap (currently uses environment variables)
Catalog concept that build strategies can use. Discussed potential utility for features like manipulating image labels and image signing.

v0.4.0 release - @adambkaplan to review backlog and report readiness.

/close


Update 翻訳の進め方.md

Description of Issue (if Applicable)
Fixes #your_issue_number_here
What Changes Were Made?
How Was This Tested?
Please provide any screenshots if applicable.
Anything Else We Should Know

Commit Changes


Support for Un-specified Attributes

Sorry if this is the wrong place to put this,
I am working on a project where we intend to use DynamoDB as sort of an "attribute bucket" for any sort of attributes the user can dream of. We would like to use Dynamoid because it's an excellent, full-featured ORM, however the docs don't mention any support of unspecified attributes. Requiring a code-change to add a novel attribute to an object is not feasible.
With Dynamoid, is there a way to add attributes that aren't specified in the model definition? Or am I out of luck? Or is that a feature that is intending to be added (in which case I plan to contribute)?

I will look into this.  I think we may have support for unspecified attributes, but if we do, undocumented.  Will find out.


The text "Tenant Sample" disappears when the page is resized

Describe the bug
The text "Tenant Sample" disappears when the page is resized
https://office.visualstudio.com/OC/_queries/edit/7135035/?triage=true

this has been closed by design.


wip: device cert validation

Signed-off-by: Filip Burlacu<EMAIL_ADDRESS>

Still needs unit tests and some work on defining the rest api

@Moopli this endpoint must also register and associate the device to the user's profile, therefore needs as input the user's sub. We should also accept the AAGUID that identifies the device's model.

Also, endpoint path should be renamed to just /device

Codecov should be fixed.


pivnp -l shows more clients than I created

So Just for curiousity I ran pivpn -l and low and behold there were 5 clients listed. I've only created 4. after running ls -la /etc/openvpn/easy-rsa/pki/issued/ it was determined that the 5th client was actually the first one created on the server. I doubt that someone created one before I could while I was ssh'd into the server. The client name is server_ZemTozqpiKmpg4PI. The crux of the matter is I cannot revoke that cert. pivpn -r server_ZemTozqpiKmpg4pi returns "You pased an invalid cert name: 'server_ZemTozqpiKmpg4PI' " What is this and why can't I get rid of it? And Yes I've tried sudo and no dice there either.

pivpn -l does not show clients but it shows all certificates - the one with "server_..." is the server certificate, openvpn needs to work and which is the "counterpart" for the client certificates.
":::  -l, list             List all valid and revoked certificates"

Ahh, thank you. That's my bad for the misinterpretation of what was going on. I just hadn't seen it before. and I could't find anything about it looking through the code on here, or on google. Thank you again.


[Speech Separation] Reconstruct the custom wav dataset for training

Thank you for your open-source toolkit for speech processing. I have a question related to the dataset preparation for Sepformer training.
The tutorial is for training on WSJ0-Mix2 and WSJ0-Mix3 dataset, and inside the sepformer-customdataset.yaml I saw we need three csv files for train/valid/test set.
Suppose I am having the wav dataset for 3 speakers mixed with wham noise with structure as below:
dataset
--mix_00001
-----mixture.wav
-----s1.wav
-----s2.wav
-----s3.wav
So could you give me some hints on how to reconstruct the dataset and prepare the content for 3 above CSV files for training?
Thank you very much.

@ycemsubakan, could you please share a snippet of how the csv files files should look like?
It should just be mixture_path, target1_path, target2_path, target3_path.
@windspirit95, my suggestion is to run a recipes and take a look at it. It is probably the best way to start.

@windspirit95 , thanks for your interest. I will give some examples for this.

@windspirit95 , Sorry for the delay in my reply.
The code for custom dataset csv generation is here:
https://github.com/speechbrain/speechbrain/blob/2e78d2cc9aca596a68ee54308534b572e702b13a/recipes/WSJ0Mix/prepare_data.py#L55
The current code follows the following structure:
datasetpath
train / test / valid
source1/ source2/ mixture
Maybe to start you can try to make it work with 2 sources.
Then you can simply modify this function to add the noise and the third source.

@ycemsubakan Wow thank you so much ^^

Can you share a sample? code or repo, I want to do the same


checkbox

register manually requires a checkbox, can we also implement it in the app thx

Why tf did you assign me

We'll implement it

why aren't you implementing it, but "will"?

I don't work on the register site really, and I'm working on other projects atm.

@andrewstech Might be able to as I don't know the codebase that well. If I get time I will add it.

So you want a checkbox to say something along the lines of "Website completed and accessable"?
@MaskDuck

ok

Can this be closed?


Android M permissions

I have a problem with run tests on Android 6.0+ (Android M).
Tests doesn't work because I can't grant new Runtime Permission for my app.
How I can grant permission to my app using Robotium?
I've heard about solutions:
-using adb commands
-using gradle tasks
But I can't use this solutions, because my devices are remoted.
Thanks,
Andrew.

Would it be possible for you to share your app or an app that exhibits this
issue?
On Mar 17, 2016 8:09 AM, "Andrew"<EMAIL_ADDRESS>wrote:

I have a problem with run tests on Android 6.0+ (Android M).
Tests doesn't work because I can't grant new Runtime Permission for my app.
How I can grant permission to my app using Robotium?
I've heard about solutions:
-using adb commands
-using gradle tasks
But I can't use this solutions, because my devices are remoted.
Thanks,
Andrew.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/RobotiumTech/robotium/issues/816

Sorry, I can't share my app, but I think this issue will be detected in all apps where app do request on permission.
How it works in my case:
-App starts and do request on any Permission
Then my test case can't continue because this(attached screenshot) window overlaps application.

Hi Guys , Even I am trying to resolve the same issue. Robotium is not able to handle this but can you give us a work around to resolve this issue which all of us are facing?

A solution for this will be added in the next release.

There is workaround to use UIAutomator to click on button Allow/Deny button
Or just grand all permissions to app via adb

The way to handle this now is to add the following to your test class:
 androidTestImplementation "com.android.support.test:runner:1.0.1"
    @Rule
    public GrantPermissionRule automationPermissionRule
            = GrantPermissionRule.grant(Manifest.permission.READ_EXTERNAL_STORAGE,
            Manifest.permission.WRITE_EXTERNAL_STORAGE);

This is part of the android testing support library: https://android-developers.googleblog.com/2017/07/android-testing-support-library-10-is.html
This works with Robotium, Espresso or UIAutomator


Problem when publishing pages with same name

I'm using the plugin to publish content to confluence, but i see strange behaviour.
I've set the parentPageId but it seems to be ignored when there is another page on the space with exact the same name.
e.g. I post a page named Foo with a child page Bar. When there is a page already existing with the name Foo in another place on the space it gets overwritten with the new page and the child page is moved under that page, that doesn't have any relation with the parentPageId supplied to generate the documentation.
My maven config is as following:
<plugin>
    <groupId>org.bsc.maven</groupId>
    <artifactId>confluence-reporting-maven-plugin</artifactId>
    <version>7.0-rc1</version>
    <configuration>
        <childrenFolder>pages</childrenFolder>
        <endPoint>https://****/rest/api</endPoint>
        <failOnError>true</failOnError>
        <parentPageId>${confluence-reporting-maven-plugin.parentPageId}</parentPageId>
        <serverId>confluence</serverId>
        <siteDescriptor>${basedir}/target/site/confluence/site.xml</siteDescriptor>
    </configuration>
</plugin>

My site.xml has the following config:
<?xml version="1.0" encoding="UTF-8"?>
<bsc:site
        xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
        xmlns:bsc='https://github.com/bsorrentino/maven-confluence-plugin'
        xsi:schemaLocation='https://github.com/bsorrentino/maven-confluence-plugin https://raw.githubusercontent.com/bsorrentino/maven-confluence-plugin/master/schemas/site-schema-6.0.xsd'>
    <home name="Foo" uri="foo.md">
        <child name="Bar" uri="pages/bar.md"/>
    </home>
</bsc:site>

Hi @TCke83 I'm bit confused because for what is my experience in Confluence usage I know that is not possible to have two o more page with the same name in a space.
So probably what you call "strange behaviour" is the right one

Hi @bsorrentino thanks for the clarification, i didn't know there was such a kind of restriction on Confluence. I tried making a page manually with the same name and indeed it doesn't allow it to be created because the name already exists.
Thanks for the quick reply!


feat: Enable cgroupv2 support for Azure Linux

What type of PR is this?

What this PR does / why we need it:
Currently in AKS, the condition to turn on cgroupv2 is entirely dependent on whether the distro is Ubuntu 2204 or not. Modify this condition by also including Azure Linux, which will be onboarded to cgroupv2 starting from Kubernetes version 1.27.
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 8 (75.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall First build on lihl/azurelinuxcgroupv2 at 61.514%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/agent/utils.go
4
6
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
61.5%

Covered Lines:
2567

Relevant Lines:
4173

💛  - Coveralls

The changes in this PR should be the last in the sequence for enabling cgroupv2 since we want to make sure the cgroup enabled images are available and selected for nodepools that are deploying with SystemdCgroup = true


new tool: transfer hints

Well I've hit the dreaded situation where I have a VTT hinted family and I need to make some modifications.
Before anyone suggests "Just use file > import > glyph" in VTT. What if you need to replace many ranges of glyphs? it would take many hours to do this correctly. I can think of far better ways for anyone to spend their time. What if you also change the glyph order?
At two other foundries I've worked for, they've had hint transfer scripts.

My C learning is progressing ok. I hope in a few months I'll be able to sit down and work on ttfautohint.

Back in the days I wrote this vttLib, but now I've forgot all the details of how it works :)
https://github.com/daltonmaag/vttLib

it's not on PyPI, but I think if you ask @madig he should be able to publish it
see https://github.com/daltonmaag/vttLib/issues/12

Thanks @anthrotype! vttLib seems to be a compiler for VTT hints. I simply want to take vtt hints from font_a to font_b. I remember writing something similar over four years ago.

oh, you want to transfer the VTT sources that are stored in the private TSI* tables between two TTFs...
the vttLib workflow assumes that those sources are stored as TTX files inside UFO/data directory.
A "hint transfer" for vttLib would mean, either recompiling the TTF from the same UFO -- where something in the meantime has changed (either the VTT ttx data itself, or something else) --, or copying these VTT ttx files to another UFO and compile that to TTF (hoping that all goes smoothly).
vttLib has dump and merge subcommands that respectively export VTT tables from TTF to UFO (dump them as ttx), and import VTT ttx files from a UFO data into a TTF file (so they can be further edited inside VTT).
The compile command takes a TTF which contains VTT TSI tables and creates TrueType bytecode in fpgm, prep, cvt, and glyf tables (optionally stripping the TSI source tables).

the idea was to treat VTT sources as "first class" sources that are committed to version control, not a binary blob that gets obscurely "transferred" by some getto fonttools script which leaves no trace

I wrote something that takes an old font and its TSI3 code (TSI1 isn't handled) and rewrites the instructions to point to the same points in the new font. Again, TSI1 is not handled. I want to eventually upstream this into vttLib, but it's low on the priority list. Maybe it's useful for you still.
vtt_transplanter.zip

the idea was to treat VTT sources as "first class" sources that are committed to version control, not a binary blob that gets obscurely "transferred" by some getto fonttools script which leaves no trace

Nearly fell off my chair laughing at this.
We're in a situation where we may use VTT for 2-3 families just to test the water. I'm hoping/praying we don't do more than this.
For the time being, a script would be sufficient (it may be quicker for me to write this script than to manually tranfer hints in a joseph and his technicolour dreamcoat kind of way)
I agree that treating them as "first class" is the way to go. We're just in playing for now.
@madig thank you kind sir, I will investigate this. I owe you a beer.

@madig the LICENSE is the same as vttLib?

@madig this is the first use of Python types I've seen the wild ;-). Unfortunately it can't construct all the commands which are available in VTT, such as resyanchor etc. Thanks though!

@anthrotype waiting for clarification on this.
@m4rc1e That's a matter of adding the command somewhere. See how the other stuff is implemented.

@madig I had a quick look and it looks pretty good actually, especially that vttparser.py module for parsing TSI3 aka VTTTalk code. I'd like to see this merged into fonttools eventually :)

Some day, some day I tell you. Then, when MS releases their VTT compiler, let's turn it into a Python wheel with wine bundled on Linux and macOS!

when MS releases their VTT compiler, let's turn it into a Python wheel with wine bundled on Linux and macOS!

nah...

I've solved my initial issue.
I now have a script sitting on my desktop called nice_n_spicy.py. It will copy TSI3 instructions from a hinted font to an unhinted font... It's way too dangerous to share. I'm praying I only need to do this once.
I agree with the above. This should really be done in vttlib and the code (apart from that whole type business ;-)) Nikolaus has provided is good.

Closing this since we can just use vttLib which is now pip installable.


fixed scroll to find footer bug

Summary
This PR fixes a bug where users have to scroll to find the footer.
Description
This PR aims to enhance the user experience by removing the scroll on pages which has less content.
Images
Include any relevant images or diagrams that can help reviewers visualize the changes, if applicable
Issue(s) Addressed
Closes #121
Prerequisites

[x] Have you followed all the CONTRIBUTING GUIDELINES?

@kami-codes This PR LGTM.
@krishnaacharyaa, would like to hear your thoughts.

@Mohitsen11 thanks
let me know if any other issue i can take


Multiple faceted fields?

Hello I am using SolrClient in my project.
I want to make faceted fields multiple by using res.get_facet_keys_as_list, I mean I wanna see more fields.
However, it is not correlated with Solr syntax.
In Solr, it is used like this:
"fl":"genres,movie_title,title_year"
Is there any possibility to make it ?
Thanks

Hi,
Solr's fl and facets are two different things. fl specifies which fields to pull in from the documents that are coming back, facets parameters specify which fields to run facet operations on. get_facet_keys_as_list runs on the facet response and just gives you a list of keys. If you want to include multiple facets, just send your request like:
'facet.field':['field1', 'field2']
Then get individual lists like:
res.get_facet_keys_as_list('field1')
res.get_facet_keys_as_list('field2')
Hope it helps.

Cool explanation. Thanks for fast reply and information.

No problem, here to help.


[Event Request] cod456 Job Queue Management - Procedure FindStaleJobsAndSetError - OnAfterFindStaleJobsAndSetErrorErrorSet

Describe the request
Please add the following Event/-s OnAfterFindStaleJobsAndSetErrorErrorSet to Procedure FindStaleJobsAndSetError in cod456 Job Queue Management.
[Event Request] cod456 "Job Queue Management" - Procedure FindStaleJobsAndSetError
    internal procedure FindStaleJobsAndSetError()
    var
        JobQueueEntry: Record "Job Queue Entry";
        JobQueueLogEntry: Record "Job Queue Log Entry";
    begin
        if JobQueueEntry.WritePermission() then begin
            // Find all in process job queue entries
            JobQueueEntry.SetRange(Status, JobQueueEntry.Status::"In Process");
            if JobQueueEntry.FindSet() then
                repeat
                    // Check if job is still running or stale
                    // JQE is stale if it has task no longer exists
                    // If stale, set to error
                    if not TaskScheduler.TaskExists(JobQueueEntry."System Task ID") then begin
                        JobQueueEntry.SetError(JobSomethingWentWrongMsg);
                        // NEW
                        OnAfterFindStaleJobsAndSetErrorErrorSet(JobQueueEntry);
                        // NEW

                        StaleJobQueueEntryTelemetry(JobQueueEntry);
                    end;
                until JobQueueEntry.Next() = 0;
        end;

 [IntegrationEvent(false, false)]
 local procedure OnAfterFindStaleJobsAndSetErrorErrorSet(var JobQueueEntry: Record "Job Queue Entry")
    begin
    end;

Additional context
Replan the Error Job
Internal work item: AB#542557

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


[Q] Why is bot user recommended for mattermost?

I see that using webhooks for mattermost backend is not recommended.
Why?
When running on bot user, you can't override username and avatar and that looks ugly compared to slack's bot pipe, which does this just fine...
The downside for sure is that you can't run outgoing mattermost webhook with private channel...

I added this because bot user is easier to setup for most users. And if it's easier to setup, there are less issues ;-)
Especially the WebhookBindAdress is giving some trouble (firewall, can't find right ip, etc ..)
Also webhooks aren't always available for users, and if they are it doesn't mean that override username is etc..
And the private channel part like you mention
Maybe I should nuance it a bit more, and specify that if you're an advanced user and know what you're doing webhooks are fine :-) I'm planning to make more "advanced" documentation on the wiki, but haven't got the time yet.

Thanks, that's very useful info :)

@42wim would it be possible to use incoming hooks for posting messages and the bot user for observing messages to forward? so that way we can have name & avatar override and use it with private channels?

That is already possible now (slack, mattermost and discord bridges behave like that)
If you have configured username/password  (or token) and webhookURL it uses webhookURL for posting and username/password (or token) for receiving.

So would you say that bot + incoming webhook is the best setup for seamless integration?


No [ ] { } writable on OS X 10.10.3 in CodeArea

Hi,
I was trying to write a code editor with your lib but I can't write brackets or curly braces. I'm using a german layout on a Macbook where brackets are written with ALT + 5/6 and curly braces with ALT + 8/9. To be exact none of the symbols requiring ALT are writable.
I'm not that sure right now but I thought it was working with 10.10.2 as I was testing it some days ago before the third update of 10.10.
I tried both the demos of Java syntax highlighting and using eclipse with this code but I can't write them. Copy pasting them works though.
Also, using Windows 8.1 on the same Macbook running the same demos I am able to write those brackets and curly braces so it seems to be system specific.
If you've got any idea of what's the issue or if I can provide any further information, just let me know.

Thanks for reporting. Can you try whether they work in a plain JavaFX TextArea?

Just tried it with the code from here -> http://www.java2s.com/Code/Java/JavaFX/UsingTextAreatodisplaymorelines.htm
It works flawlessly with the usual TextArea.

Just a little note: I was on a little bit outdated jdk (8_u25) which i noticed this morning but updating to the current version 8_u40 didn't help either. I also noticed that my project in eclipse was set to use jdk 1.5 but as you may expect, changing to 1.8 sadly didn't help.

Please, try this with the new 0.6.4 release.

Now it's working (again).
Thank you for solving the issue.


Week 2 Step 4

Added Comments functionality:

Posting Comments
Viewing posted comments

The commit messages in this PR were very useful and to the point. Maybe you can just list those down in the PR description as well. Thanks!


Subtract 2 STL files

Hi there,
I already use numpy-stl to generate STL files and it works great.
What I need to be able to do is to load up 2 STL files and substract one from the other.
Could this be supported by numpy-stl?
Thanks for any thoughts on this..
Robert

It's definitely not within the current list of features. There are very few manipulation features in the library at this moment since the main purpose is simply loading/saving STL files, not manipulating the mesh.
You can see the methods in the docs. There are methods for rotating and translating for example, but subtracting is ambiguous by definition. It could mean mathematically subtracting or cutting a hole in one of the objects.
Either way, all built-in manipulations can be found on this page: https://numpy-stl.readthedocs.io/en/latest/stl.html


Kill deprecated Input component from react-bootstrap

Coverage increased (+1.005%) to 48.23% when pulling 24d7ef1b4b4e0c366ab8266e3a6d4bd23789dd2e on kill-deprecated-input into 2a2457683a249cab5ee2974d4b442c9bd8cc6f01 on master.

Coverage increased (+0.7%) to 47.942% when pulling bf2296d5ddd11d88f6e032fbd8cdbbb86cec2b92 on kill-deprecated-input into 2a2457683a249cab5ee2974d4b442c9bd8cc6f01 on master.

Coverage increased (+0.7%) to 47.942% when pulling a77bc8cd949bd3a5ce6310b40a7073694db082d6 on kill-deprecated-input into 2a2457683a249cab5ee2974d4b442c9bd8cc6f01 on master.

Coverage increased (+0.7%) to 47.942% when pulling a77bc8cd949bd3a5ce6310b40a7073694db082d6 on kill-deprecated-input into 2a2457683a249cab5ee2974d4b442c9bd8cc6f01 on master.

Coverage increased (+0.7%) to 47.942% when pulling 298ee076fc7dc0f9245c8e13a7462933fadd6734 on kill-deprecated-input into 2a2457683a249cab5ee2974d4b442c9bd8cc6f01 on master.


lwk: add backoff for send

Handles retries  in case of a "missing transaction" error.
It uses an exponential backoff strategy for retries, with a maximum of 5 retries.
fixes: https://github.com/ElementsProject/peerswap/issues/325

Ok I think I've triggered the backoff for this swap attempt:
$ ./builds/peerswap/out/pscli swapin --sat_amt 100000001 --channel_id<PHONE_NUMBER>57274624 --asset lbtc
2024/11/02 09:26:28 rpc error: code = Unknown desc = failed to fund transaction: permanent error: failed to call api request: POST http://localhost:32111 giving up after 1 attempt(s): context deadline exceeded

Though in other canceled attempts I will get this error:
2024/11/01 12:57:11 [DEBUG] [FSM] event:id: 4ee04c58b8a037004b487211584102504413dc6de06e933cf17511b2a7a12eab, Event_SwapInSender_OnSwapInRequested on
2024/11/01 12:57:11 [INFO] [Swap:4ee04c58b8a037004b487211584102504413dc6de06e933cf17511b2a7a12eab] Start new swap-in: peer: 036e680823a129ac9a2eeb8c43514a5b6cb09ae28e3e698a0e34aaa8865d6cc344 chanId: 194668:21:0 initiator: 035ca2fe4793a5e789ce846062eb4834f573c060d9200ce77544a29b48a0aa5923 amount 100000001
2024/11/01 12:57:11 [DEBUG] [FSM] event:id: 4ee04c58b8a037004b487211584102504413dc6de06e933cf17511b2a7a12eab, Event_ActionSucceeded on State_SwapInSender_CreateSwap
2024/11/01 12:57:11 [DEBUG] [FSM] event:id: 4ee04c58b8a037004b487211584102504413dc6de06e933cf17511b2a7a12eab, Event_ActionSucceeded on State_SwapInSender_SendRequest
2024/11/01 12:57:12 [DEBUG] [Messenger] From: 036e680823a129ac9a2eeb8c43514a5b6cb09ae28e3e698a0e34aaa8865d6cc344 got msgtype: a459 for swap: 4ee04c58b8a037004b487211584102504413dc6de06e933cf17511b2a7a12eab
2024/11/01 12:57:12 [DEBUG] [FSM] event:id: 4ee04c58b8a037004b487211584102504413dc6de06e933cf17511b2a7a12eab, Event_SwapInSender_OnAgreementReceived on State_SwapInSender_AwaitAgreement
2024/11/01 12:57:13 [INFO] error getting fee: cannot estimate fee for 7 blocks.
2024/11/01 12:57:13 [DEBUG] using minimum fee rate of 0.1 sat/vbyte
2024/11/01 12:57:13 [INFO] [FSM] Action failure failed to get raw transaction: missing transaction
2024/11/01 12:57:13 [DEBUG] [FSM] event:id: 4ee04c58b8a037004b487211584102504413dc6de06e933cf17511b2a7a12eab, Event_ActionFailed on State_SwapInSender_BroadcastOpeningTx
2024/11/01 12:57:13 [DEBUG] [FSM] Canceling because of failed to get raw transaction: missing transaction
2024/11/01 12:57:13 [DEBUG] [FSM] event:id: 4ee04c58b8a037004b487211584102504413dc6de06e933cf17511b2a7a12eab, Event_ActionSucceeded on State_SendCancel
2024/11/01 12:57:13 [INFO] [Swap:4ee04c58b8a037004b487211584102504413dc6de06e933cf17511b2a7a12eab] Swap canceled. Reason: failed to get raw transaction: missing transaction

Thank you for your investigation.
The core issue lies in the failure to retrieve the result after broadcasting the transaction. In this situation, even though the transaction itself is valid on the network, the system cancels the swap, causing a problem where the balance decreases and cannot be recovered.

Misunderstanding: Initially, I assumed that a missing transaction error occurred during the fund transaction (LWK's send command).
Reality: The fund transaction itself is executed correctly. The issue arises after broadcasting the transaction, where it fails to retrieve the result. Due to this failure, while the swap is canceled, the transaction has already been processed, leading to a decrease in balance that cannot be reclaimed.

Solution
I will introduce backoff handling when retrieving transaction results. This can potentially mitigate errors caused by temporary failures or delays.
Considerations
The case where a swap is canceled even though an opening tx was broadcast may not only occur with LWK/electrs but could also happen with other backends. However, the probability is low.
In the future, it may be necessary to implement a manual fund recovery command. For now, we will focus on stabilizing within the LWK environment and consider further actions if issues arise.
Additional Information
"failed to fund transaction: permanent error" occurs when there’s an error with LWK's send command but does not trigger backoff. Backoff only occurs when a "missing transaction" error is returned.


Add an Object Detector Live Stream sample

Description
Adds a sample that can run the Object Detector MediaPIpe API from a live camera feed.
Fixes

Update the existing Audio Classifier Live Stream sample to use the builtin audio_record module.

Closing this PR because of the CLA issue.


fails to build with musl rust

i tried using nixpkgs pkgsMusl.rustc to build a package that depends on this crate, but it fails due to a glibc-specific function in std::sys being called.

master tests pass on my Alpine Linux machine.

Could you provide more information?

Could you provide more information?

once i'm back at my laptop, sure.
could you provide the output of ldd /usr/bin/ldd?

Maybe related: https://github.com/rust-lang/rust/issues/121980

it fails due to a glibc-specific function in std::sys being called.

Given the error is occurring here, it is very likely that the problem is nothing related to fastrand.
Perhaps the rust-lang/rust issue I linked to above is the cause, but if you are still seeing the problem, please report the issue at where the thing that actually caused the error is defined.


Wireless Receiver Not Deactivating

Minecraft version & Mod Version:
Forge Mod Loader version <IP_ADDRESS>70 for Minecraft 1.12.2
Cyclic 1.17.3
Single player or Server:
Single Player
Describe problem (what you were doing / what happened):
If a wireless redstone transmitter is placed adjacent to a wireless redstone receiver with a single non-transparent block connecting them, the wireless receiver will not stop outputting a redstone signal even when the transmitter is toggled off. If the transmitter is broken before the block connecting them is broken, the receiver will not stop transmitting until broken or the transmitter is replaced. This also happens if the transmitter is placed directly next to the receiver.
Crash log (if any):
This does not cause a crash and does not show any issues in the server log file. I discovered this in the Stoneblock modpack and was able to replicate it with only the latest instances of Forge and Cyclic installed on a custom profile.

This took me a minute to investigate, because it works fine in most arrangement.  The key is if they are adjacent and connected.
The reasons this happens is it because its a loop, the receiver is powered, and it outputs to all sides, and it goes through that one block to the transmitter and that loops around.
If you replace the one solid block with redstone dust it makes lots of sense , see video below
https://i.imgur.com/PiIVXql.gifv

This took me a minute to investigate, because it works fine in most arrangement. The key is if they are adjacent and connected.
The reasons this happens is it because its a loop, the receiver is powered, and it outputs to all sides, and it goes through that one block to the transmitter and that loops around.
If you replace the one solid block with redstone dust it makes lots of sense , see video below
https://i.imgur.com/PiIVXql.gifv

That make's sense. However, the receiver will continue output when it's transmitter is broken, even with block updates to the receiver.


Apex charts buggy since recently (HA 2024.05?)

Checklist

[ x] I updated the card to the latest version available
[ x] I cleared the cache of my browser
[ x] I verified that I'm really running the lastest version in my browser console
[ x] I checked if there is another issue opened with the same problem

Describe the bug
Apex chart 'buggy' since recently. Opening the tabs in the dashboard with an Apex-chart on it:

the desktop browser gets very busy: it takes seconds before the chart displays
the mobile HA-app takes seconds to display, after displaying, the HA-app gets black and stops responding

After creating a number  of charts (about 9 in one dashboard with 13 tabs) about a month ago, the charts worked fine (no significant browser- / app-claim). It took a bit time, but everything was quite responsive. Since then I made no change to the charts.
Please advise on additional information needed to assess the issue.
Last changes:

added a Z-wave-stick (Aeotec)
updated to HA 2024.05

Version of the card
Version: 2.0.4
To Reproduce
This is an example of the configuration I used:

   - type: custom:apexcharts-card
    graph_span: 72h
    yaxis:
      - id: _temperatuur
        decimals: 0
        apex_config:
          tickAmount: 6
      - id: _luchtvochtigheid
        decimals: 0
        opposite: true
        apex_config:
          tickAmount: 4
    apex_config:
      chart:
        zoom:
          type: x
          enabled: true
          autoScaleYaxis: false
        dropShadow:
          enabled: true
        toolbar:
          show: true
          autoSelected: zoom
        xaxis.type: datetime
        height: 150px
    color_list:
      - '#E60000'
      - '#0096C7'
    all_series_config:
      stroke_width: 3
      opacity: 0.3
      type: area
    header:
      show: true
      title: Keuken
      show_states: true
      colorize_states: true
    series:
      - entity: sensor.aqara_temp_hum_keuken_temperatuur
        yaxis_id: _temperatuur
        data_generator: ''
        curve: smooth
        name: Temperatuur
      - entity: sensor.aqara_temp_hum_keuken_luchtvochtigheid
        yaxis_id: _luchtvochtigheid
        data_generator: ''
        curve: smooth
        invert: false
        name: Luchtvochtigheid

Screenshots

Expected behavior
Responsive
Desktop (please complete the following information):

Browser [Chrome]
Version [124.0.6367.78]

Smartphone (please complete the following information):

Device: [iPhone13 pro]
OS: [IOS 17.4.1]
Browser [Chrome]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I have noticed similar issues. One being this was a perfect gradient before. But now all the colours are overlaid on the entire time, it doesn't seem to factor in the unit blocks for the colour change now.
type: custom:apexcharts-card
experimental:
color_threshold: true
apex_config:
chart:
height: 200
stroke:
width: 2
series:

entity: sensor.lux_battery
show:
in_header: false
legend_value: false
color_threshold:

value: 100
color: rgb(255, 0, 201)
value: 80
color: green
value: 60
color: rgb(0, 252, 255)
value: 40
color: orange
value: 20
color: red

Can see all thresholds are overlapping.

I also face issues after the said HA upgrade. Charts take forever to load which for some charts crashes my viewer.

Same, some charts definitely take longer to load than usual,

same here!!! HA is very laggy now!

Should be fixed with the latest beta, please check

For me the latest betas break my (relatively complex perhaps) graphs. While they were lagging a bit before, reducing amount of info solved the problem, but the betas do not work for me. I will do some screenshots later.


Crypto-grade hashing for resource sharing

Currently, we use MesasgeUtil::hash in various places, e.g. SDS, to hash a config source (https://github.com/envoyproxy/envoy/blob/master/source/common/secret/secret_manager_impl.h#L82).
Since our threat model has the control plane as trusted, this isn't a huge issue. But if we make the control plane untrusted in the future, this can be somewhat scary. As an example, imagine an Envoy that has delegated listener config (with SDS) to TrustedControlPlane and another listener config (with SDS) to SuperScaryControlPlane. It's plausible that SuperScaryControlPlane is able to engineer a collision and steal secrets via the dynamic prover's dedupe algorithm, since we're only using the weak xxhash.
This is something we probably should fix before considering Envoy robust to untrusted control plane or ready for arbitrary federation.
CC @antoniovicente @kyessenov

Is use of any form of hash appropriate in this case?  Could we use the actual config provider entity as the map key?

It has to be some structured hash since proto bytes are not deterministic. Alternatively, there could be another (string?) representation for a config source identifier.

It no longer use proto bytes for hashing, it is using text format which is stable and expands any recursively. But if there's a structured hash it will be better.

The config source, as currently constituted, can be extremely large, it's a proto, which can include things like credentials. So, I think a hash or some abbreviated representation is the only thing that can work.

FWIW, we're starting to see the "convert the proto to text and then hash it" show up as non-trivial in config update profiles.


"Bunea Mică", "Colonia Mică", "Jupânești". "Povârgina", "Temerești" are listed in the drop-down menu

Description:
When user writes "Bunea Mică", "Colonia Mică", "Jupânești", "Povârgina", "Temerești " the locations appear in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 2
Write in the search bar "Colonia Mică"
Expected results
The location appears in the drop-down menu as "Sat Colonia Mică, TIMIȘ(FĂGET)"

Step 3
Write in the search bar "Jupânești"
Expected results
The location appears in the drop-down menu as "Sat Jupânești, TIMIȘ(FĂGET)"

Step 4
Write in the search bar "Povârgina"
Expected results
The location appears in the drop-down menu as "Sat Povârgina, TIMIȘ(FĂGET)"

Step 5
Write in the search bar " Temerești "
Expected results
The location appears in the drop-down menu as "Sat Temerești  , TIMIȘ(FĂGET)"


Methods of Android package also included in my JAR for dexcount

Hi i have a JAR which is a library that i have developed for Android devices. I  convert the JAR  into dex and then run the script. But in my JAR, why are the method counts for android and JAVA packages are involved? These methods are native android and JAVA methods and they don't ship into my JAR. So why are these included for the dex count?
android: 650
        animation: 10
        app: 47
        content: 93
            pm: 11
            res: 4
        database: 18
            sqlite: 8
        graphics: 58
            drawable: 8
        location: 20
        media: 20
        net: 20
            wifi: 8
        os: 38
        provider: 3
        support: 23
            v4: 15
                view: 15
            v7: 8
                widget: 8
        telephony: 41
            cdma: 3
            gsm: 3
        text: 1
        util: 15
        view: 101
            accessibility: 2
            animation: 10
        webkit: 50
        widget: 92
   .........
   .........

    java: 381
        io: 36
        lang: 145
            ref: 3
            reflect: 8
        math: 1
        net: 25
        nio: 4
        security: 9
            spec: 1
        text: 5
        util: 156
            concurrent: 37
                atomic: 8
            zip: 1
    javax: 17
        crypto: 14
            spec: 3
        xml: 3
            parsers: 3
    org: 61
        json: 50
        w3c: 10
            dom: 10
        xml: 1
            sax: 1

Overall method count: 6163

You reference these methods, and they count against the limit too. http://stackoverflow.com/questions/21490382/does-the-android-art-runtime-have-the-same-method-limit-limitations-as-dalvik/21492160#21492160 has more details.


The return value type of v3/api-docs is byte array.

Hi there,
We're using openAPI to present our RESTful APIs. And we found an issue when we try to use that.
Spring Boot version: 2.7.12
Spring framework version: 5.3.25
Open API version: 1.7.0
When we don't use @EnableWebMvc annotation, and if we access localhost:8080/v3/api-docs, it will return an array of integers, which I'm pretty is the ascii code of the expected json file. And once we add @EnableWebMvc annotation, it could work, but it will also override the configuration inside the application.xml, so we don't really want to add @EnableWebMvc annotation.
Currently we are using @EnableWebMvc and override the extendMessageConverters() method to add the desired ObjectMapper in the class which implements the WebMvcConfigurer interface, but it looks weird, and we're looking for other good solutions.
Could you please give us some hints on how to find the really issue, or even how to solve it.
Thanks!

Hello!  This repo is for work on the specification itself.  Please open tooling issues with the tooling vendors (Spring Boot and/or framework), as that is where you will find folks with the knowledge you need to answer this.


React 18?

Any plans to bump the dep on react to version 18? Thanks!

Indeed, it has been on my to-do list. I will look to get this sorted at the weekend and get a new release out assuming everything looks good 🙂
Thanks,
Adam

Awesome thanks for the quick response!