is anyone tried to port upp into web with emscripten?

as far as I understand upp is crossplatform, and since webassembly is becoming a W3C standard, it would be great to see UPP on web as well

There was a discussion about it, but no real progress yet.
It would definitely be worth trying. And with VirtualGui it might even be
relatively simple.
On Fri, Jul 29, 2022 at 8:42 AM bevin @.***> wrote:

as far as I understand upp is crossplatform, and since webassembly is
becoming a W3C standard, it would be great to see UPP on web as well
—
Reply to this email directly, view it on GitHub
https://github.com/ultimatepp/ultimatepp/issues/85, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARH235Q7VBRRIT2V2C7ALTVWN4LZANCNFSM547VQ6OQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

There was a discussion about it, but no real progress yet. It would definitely be worth trying. And with VirtualGui it might even be relatively simple.

Actually, there is. :)
I have already written a working prototyle and a comm protocol, using VirtualGui + web assembly. My intention is to publish it as an alternative to Turtle - codename: Viper. (IIRC, I'd mentioned this project last year in Upp forums. In the meantime I have studied emscripten/webassembly).
The branch is still private and I have no intention to publish it before it is mature enough. As a bonus, Viper, the webassembly port or alternative of the Turtle, will have a companion ctrl to let developers integrate a virtualgui into their apps. So it is supposed to with both web browsers and other Upp apps...
The only problem is I am very busy at work ATM, so the pace is slow (as a snail...)
Best regards,

@ismail-yilmaz looking forward to see fruits of your work!
I've been using things like GTK, Qt, wxWidgets, FLTK for speeding up cross-platform development, later went for js (react...), but now realizing js frameworks are not something to rely on long term,  so from all those cross-platform development libraries, so far Qt is adopting webassembly, someone also able to port FLTK with some modifications to its cmake, in long run, it would be really great to be able to put native apps on web without js
the other day I tried to compile upp source code with emscripten, but there were some dependencies and I'm new to upp, so sort of gave up
I see imgui also had some progress in this direction as well, conan.io supports emscripten already it seems, so with some cmake setup, it could be possible
I wonder if transforming upp makefiles into cmake could make it tidier to do so


http_parser_execute not call..

When get rst packets, I  try to use http_parser_execute (&parser_response, &response_settings_, NULL, 0) end the session, but did not call message_cb.
can i set
parser.state = 61; /*s_body_identity_eof */
before call http_parser_execute ?

@tensafe ... not sure if this is still an issue for you. The best bet is to ask in one of the user forums or IRC


socket.io FileNotFoundException

Hi
I try to connect node.js .I wrote some code
 try {
        SocketIO socket = new SocketIO("http://54e1755a.ngrok.io/");
        socket.connect(new IOCallback() {
            @Override
            public void on(String event, IOAcknowledge ack, Object... args) {
                if ("echo back".equals(event) && args.length > 0) {
                    Log.d("SocketIO", "" + args[0]);
                }
            }

            @Override
            public void onMessage(JSONObject json, IOAcknowledge ack) {
                Log.e("onDisconnect","onDisconnect");
            }

            @Override
            public void onMessage(String data, IOAcknowledge ack) {
                Log.e("onDisconnect","onDisconnect");
            }

            @Override
            public void onError(SocketIOException socketIOException) {
                socketIOException.printStackTrace();
            }

            @Override
            public void onDisconnect() {
                Log.e("onDisconnect","onDisconnect");

            }

            @Override
            public void onConnect() {
                Log.e("onConnect","onConnect");
            }
        });
        socket.emit("echo", "hello");
    } catch (MalformedURLException e) {
        e.printStackTrace();
    }

When i run my app i have  FileNotFoundException .
Error message is : Caused by: java.io.FileNotFoundException: http://54e1755a.ngrok.io/socket.io/1/
as you can see socket.io added automaticly socket.io/1/ in url
ngrok url working correct.I tested it in brower

same here :+1:

Maybe i solved myself.I'll wrote solution later

oh that's great...can u please tell me the solution?

same question!,oh that's great...can u please tell me the solution?


Adding multiple triggers to s3 having different filters and events

Note: If your feature-request is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum

Is your feature request related to a problem? Please describe.
I tried to add lambda triggers to my s3 bucket by doing amplify update storage, but I can only select one lambda function as a trigger. If you have 3 different functions that have different prefixes and also listens to different events, how do you do that with amplify?
Describe the solution you'd like
Allow adding multiple lambda triggers to the storage, or add Add lambda trigger option to amplify update storage, and be able to add filters to the listener and be able to listen to a specific event.
Describe alternatives you've considered
I've done regex against s3.object.key but this shouldn't really be the way to go, your listener will run every time even when it does not have to.
Additional context
N/A

Marked the feature request, our team will evaluate it.
But you can use one Lambda function to handle multiple types of events.

@UnleashedMind @aprilmintacpineda This would be possible given an option to add extra dependencies to the storage stack resource.
That way you could:

Create a new function
Add it as a dependency of the storage resource
Use the storage's override.ts to add the required trigger policies to that new function.

I was on my way to do this when I got stuck trying to add the new function as a dependency for the storage stack resource.

Going back to this now, I would just recommend people to use CDK or better yet Cloudformation Template with SAM CLI. Gives you better flexibility and control, without the extra shits you'll run into when your using Amplify.


hide full name, not only character name

With HideNameInChat enabled, hide the full display name (character name + gamertag) instead of just the character name.
This allows not to have to install Multiplayer Tweaks on top of IncognitoMode just for disabling gamertags, and also allows to keep gamertags in the general case while still having IncognitoMode working as intended.

Submitting this because it made more sense to me that IncognitoMode worked in an autonomous manner, without also requiring disruption to non-hidden messages by hiding gamertags via MultiplayerTweaks.

The patch from Multiplayer Tweaks should work in this mod. I did not want to have to maintain it in both places so I chose to place that feature originally only in Multiplayer Tweaks. Your current code would bypass the word censor feature, which is not something I want in my mod. I can additionally add the patch from MT to this one too if there is a want for it from users.

The patch from Multiplayer Tweaks should work in this mod. I did not want to have to maintain it in both places so I chose to place that feature originally only in Multiplayer Tweaks.

It does work, but as I was trying to summarize above, it forces you to disable gamertags in all instances, not only for when you're incognito. With this change, gamertags can be kept enabled in Multiplayer Tweaks and displayed as usual in most instances, but not displayed when incognito 🤫 (and unfortunately adding the patch from MT to IM would not address this)

Your current code would bypass the word censor feature, which is not something I want in my mod.

Ah good point, I missed the fact users could configure bad words as replacement in the config file. I will fix this.

Going to add this feature with a config toggle in 0.4.0, going live shortly.

Cheers, thanks!


Palette colors

#6 Multi-colored text using a uniform palette. Faux-bold text by adding 256 to palette index. Higher-quality AA by doing 4-tap SDF sampling.

Thanks! Very interesting, although it looks like a bit of a performance hit. Can you show images of how this compares to the previous AA approach?

Sure, it's mostly visible on small text as that gets noisy. Tabletree has a whole lot of small text, so you see quite a bit of shimmering pixels without the AA.


Make sure that Jadeite Transcript handling is clean

The customer was wondering why JadeServer64bit32 was showing up in a stack for code that was executed by Topaz and it turns out that this was due to the way that Jade was handling Transcritpt client forwarders ... I know that @ericwinger and I have made one pass over this already, but we should revisit our solution one more time to make sure that we've got it right ...
A detail that I didn't remember from our work was that apparently "Jade was setting Transcript to some instance of JadeServer for all users in their UserGlobals"  ... I didn't recall that UserGlobals was involved, so we need to look at this closely as well

Since it's a customer issue, it gets a priority.  It may be already done.

After review, it appears that the fix put in back in September(ish) is solid. Transcript installation and interactions won't go through UserGlobals in Jadeite. See JadeServer64bit3x>>installTranscript for implementation.


[SA] Flying dossier in mission Misappropriation

Hello
I used a Rustler to take down the fleeing chopper in the mission Misappropriation, the chopper started exploding lots of times, but after the pilot died the Dossier pickup got stuck in the air instead of being in the ground

I'm guessing it's a script bug, but I'll keep it open in case more info is found later.


pod install script error on React Native

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
React Native version:
Run react-native info in your terminal and copy the results here.
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
1.) I run npx react-native init appName
2.) then an error occurs

Error: Failed to install CocoaPods dependencies for iOS project, which is required by this template.
Please try again manually: "cd ./covidTracker/ios && pod install".
CocoaPods documentation: https://cocoapods.org/
3.) just like the error said i manually install the pod in ios folder.
4.) then another error occured
Downloading dependencies
Installing CocoaAsyncSocket (7.6.4)
Installing CocoaLibEvent (1.0.0)
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.63.2)
Installing FBReactNativeSpec (0.63.2)
Installing Flipper (0.41.5)
Installing Flipper-DoubleConversion (1.1.7)
Installing Flipper-Folly (2.2.0)
Installing Flipper-Glog (0.3.6)
[!] /bin/bash -c
set -e
#!/bin/bash

Copyright (c) Facebook, Inc. and its affiliates.

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
set -e
PLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"
CURRENT_ARCH="${CURRENT_ARCH}"
if [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then
# Xcode 10 beta sets CURRENT_ARCH to "undefined_arch", this leads to incorrect linker arg.
# it's better to rely on platform name as fallback because architecture differs between simulator and device
if [[ "$PLATFORM_NAME" == *"simulator"* ]]; then
    CURRENT_ARCH="x86_64"
else
    CURRENT_ARCH="armv7"
fi

fi
export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
export CXX="$CC"
Remove automake symlink if it exists
if [ -h "test-driver" ]; then
rm test-driver
fi
./configure --host arm-apple-darwin
Fix build for tvOS
cat << EOF >> src/config.h
/* Add in so we have Apple Target Conditionals /
#ifdef APPLE
#include <TargetConditionals.h>
#include <Availability.h>
#endif
/ Special configuration for AppleTVOS /
#if TARGET_OS_TV
#undef HAVE_SYSCALL_H
#undef HAVE_SYS_SYSCALL_H
#undef OS_MACOSX
#endif
/ Special configuration for ucontext */
#undef HAVE_UCONTEXT_H
#undef PC_FROM_UCONTEXT
#if defined(x86_64)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
#elif defined(i386)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__eip
#endif
EOF
Prepare exported header include
EXPORTED_INCLUDE_DIR="exported/glog"
mkdir -p exported/glog
cp -f src/glog/log_severity.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/raw_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/stl_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/vlog_is_on.h "$EXPORTED_INCLUDE_DIR/"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-apple-darwin-gcc... /Library/Developer/CommandLineTools/usr/bin/cc -arch armv7 -isysroot
checking whether the C compiler works... no
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
/Users/user/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown --is-lightweight' option Try /Users/user/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in /Users/user/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6': configure: error: C compiler cannot create executables See config.log' for more details
5.) then I search the error on the net, I saw something that it needs to update the pod
6.) so i run pod repo update
7.) then run sudo gem install cocoapods --pre
8.) run npx pod-install ios
9.)  cd ../
10.)npx pod-install ios
11.) npx: installed 1 in 0.737s
Scanning for pods...
1.10.0.beta.2

pod install
Analyzing dependencies
Fetching podspec for DoubleConversion from ../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
Fetching podspec for Folly from ../node_modules/react-native/third-party-podspecs/Folly.podspec
Fetching podspec for glog from ../node_modules/react-native/third-party-podspecs/glog.podspec
Downloading dependencies
Installing CocoaAsyncSocket (7.6.4)
Installing CocoaLibEvent (1.0.0)
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.63.2)
Installing FBReactNativeSpec (0.63.2)
Installing Flipper (0.41.5)
Installing Flipper-DoubleConversion (1.1.7)
Installing Flipper-Folly (2.2.0)
Installing Flipper-Glog (0.3.6)
[!] /bin/bash -c
set -e
#!/bin/bash

Copyright (c) Facebook, Inc. and its affiliates.

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
set -e
PLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"
CURRENT_ARCH="${CURRENT_ARCH}"
if [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then
# Xcode 10 beta sets CURRENT_ARCH to "undefined_arch", this leads to incorrect linker arg.
# it's better to rely on platform name as fallback because architecture differs between simulator and device
if [[ "$PLATFORM_NAME" == *"simulator"* ]]; then
    CURRENT_ARCH="x86_64"
else
    CURRENT_ARCH="armv7"
fi

fi
export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
export CXX="$CC"
Remove automake symlink if it exists
if [ -h "test-driver" ]; then
rm test-driver
fi
./configure --host arm-apple-darwin
Fix build for tvOS
cat << EOF >> src/config.h
/* Add in so we have Apple Target Conditionals /
#ifdef APPLE
#include <TargetConditionals.h>
#include <Availability.h>
#endif
/ Special configuration for AppleTVOS /
#if TARGET_OS_TV
#undef HAVE_SYSCALL_H
#undef HAVE_SYS_SYSCALL_H
#undef OS_MACOSX
#endif
/ Special configuration for ucontext */
#undef HAVE_UCONTEXT_H
#undef PC_FROM_UCONTEXT
#if defined(x86_64)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
#elif defined(i386)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__eip
#endif
EOF
Prepare exported header include
EXPORTED_INCLUDE_DIR="exported/glog"
mkdir -p exported/glog
cp -f src/glog/log_severity.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/raw_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/stl_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/vlog_is_on.h "$EXPORTED_INCLUDE_DIR/"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-apple-darwin-gcc... /Library/Developer/CommandLineTools/usr/bin/cc -arch armv7 -isysroot
checking whether the C compiler works... no
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
/Users/user/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown --is-lightweight' option Try /Users/user/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in /Users/user/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6': configure: error: C compiler cannot create executables See config.log' for more details
Aborting run
An unexpected error was encountered. Please report it as a bug:
Error
at CocoaPodsPackageManager._installAsync (/Users/user/.npm/_npx/22048/lib/node_modules/pod-install/build/index.js:2:85721)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async CocoaPodsPackageManager.installAsync (/Users/user/.npm/_npx/22048/lib/node_modules/pod-install/build/index.js:2:85121)
at async runAsync (/Users/user/.npm/_npx/22048/lib/node_modules/pod-install/build/index.js:2:12925)
at async /Users/user/.npm/_npx/22048/lib/node_modules/pod-install/build/index.js:2:13011

Just ran into this myself, first attempt at a RN project on this machine (or ever).
Node: v12.16.1
NPM: v6.14.5
MacOS: v10.15.6
Initialized the project with a TS template using:
npx react-native init MyApp --template react-native-template-typescript
Please ping me if any more info is helpful or if I can help you get a reproduction.

Same issue here.
ios $ pod install
Installing unimodules:
<EMAIL_ADDRESS>from ../node_modules/expo-constants/ios
<EMAIL_ADDRESS>from ../node_modules/expo-error-recovery/ios
<EMAIL_ADDRESS>from ../node_modules/expo-file-system/ios
<EMAIL_ADDRESS>from ../node_modules/expo-font/ios
<EMAIL_ADDRESS>from ../node_modules/expo-image-loader/ios
<EMAIL_ADDRESS>from ../node_modules/expo-keep-awake/ios
<EMAIL_ADDRESS>from ../node_modules/expo-linear-gradient/ios
<EMAIL_ADDRESS>from ../node_modules/expo-localization/ios
<EMAIL_ADDRESS>from ../node_modules/expo-location/ios
<EMAIL_ADDRESS>from ../node_modules/expo-permissions/ios
<EMAIL_ADDRESS>from ../node_modules/expo-splash-screen/ios
<EMAIL_ADDRESS>from ../node_modules/expo-sqlite/ios
<EMAIL_ADDRESS>from ../node_modules/expo-updates/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-app-loader/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-barcode-scanner-interface/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-camera-interface/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-constants-interface/ios
<EMAIL_ADDRESS>from ../node_modules/@unimodules/core/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-face-detector-interface/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-file-system-interface/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-font-interface/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-image-loader-interface/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-permissions-interface/ios
<EMAIL_ADDRESS>from ../node_modules/@unimodules/react-native-adapter/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-sensors-interface/ios
<EMAIL_ADDRESS>from ../node_modules/unimodules-task-manager-interface/ios

Auto-linking React Native modules for target `HabitCat`: RNCMaskedView, RNDateTimePicker, RNGestureHandler, RNReanimated, RNScreens, react-native-appearance, and react-native-safe-area-context
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Downloading dependencies
Installing CocoaAsyncSocket (7.6.4)
Installing CocoaLibEvent (1.0.0)
Installing DoubleConversion (1.1.6)
Installing EXConstants (9.1.1)
Installing EXErrorRecovery (1.2.1)
Installing EXFileSystem (9.0.1)
Installing EXFont (8.2.1)
Installing EXImageLoader (1.1.1)
Installing EXKeepAwake (8.2.1)
Installing EXLinearGradient (8.2.1)
Installing EXLocalization (8.2.1)
Installing EXLocation (8.2.1)
Installing EXPermissions (9.0.1)
Installing EXSQLite (8.2.1)
Installing EXSplashScreen (0.3.1)
Installing EXUpdates (0.2.14)
Installing FBLazyVector (0.62.2)
Installing FBReactNativeSpec (0.62.2)
Installing Flipper (0.33.1)
Installing Flipper-DoubleConversion (1.1.7)
Installing Flipper-Folly (2.2.0)
Installing Flipper-Glog (0.3.6)
[!] /bin/bash -c
set -e
#!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

set -e

PLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"
CURRENT_ARCH="${CURRENT_ARCH}"

if [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then
    # Xcode 10 beta sets CURRENT_ARCH to "undefined_arch", this leads to incorrect linker arg.
    # it's better to rely on platform name as fallback because architecture differs between simulator and device

    if [[ "$PLATFORM_NAME" == *"simulator"* ]]; then
        CURRENT_ARCH="x86_64"
    else
        CURRENT_ARCH="armv7"
    fi
fi

export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
export CXX="$CC"

# Remove automake symlink if it exists
if [ -h "test-driver" ]; then
    rm test-driver
fi

./configure --host arm-apple-darwin

# Fix build for tvOS
cat << EOF >> src/config.h
/* Add in so we have Apple Target Conditionals */
#ifdef __APPLE__
#include <TargetConditionals.h>
#include <Availability.h>
#endif
/* Special configuration for AppleTVOS */
#if TARGET_OS_TV
#undef HAVE_SYSCALL_H
#undef HAVE_SYS_SYSCALL_H
#undef OS_MACOSX
#endif
/* Special configuration for ucontext */
#undef HAVE_UCONTEXT_H
#undef PC_FROM_UCONTEXT
#if defined(__x86_64__)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
#elif defined(__i386__)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__eip
#endif
EOF

# Prepare exported header include
EXPORTED_INCLUDE_DIR="exported/glog"
mkdir -p exported/glog
cp -f src/glog/log_severity.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/raw_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/stl_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/vlog_is_on.h "$EXPORTED_INCLUDE_DIR/"

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-apple-darwin-gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk
checking whether the C compiler works... no
/Users/sam/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown `--is-lightweight' option
Try `/Users/sam/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in `/Users/sam/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6':
configure: error: C compiler cannot create executables
See `config.log' for more details

react-native info
MyApp $ react-native info
info Fetching system and libraries information...
(node:30984) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
System:
    OS: macOS 10.15.6
    CPU: (4) x64 Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
    Memory: 324.28 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 14.9.0 - /usr/local/bin/node
    Yarn: 1.22.5 - /usr/local/bin/yarn
    npm: 6.14.8 - ~/.npm-packages/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 11.6/11E708 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_66 - /usr/bin/javac
    Python: 2.7.16 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: ~16.11.0 => 16.11.0
    react-native: ~0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

@jcorpuz1999 thanks for filing this issue, if you do not mind can you fix the format of your issue so it is more readable? Thanks!

I can see below error message. Please check your Xcode setup and make sure it’s working as expected.
checking whether the C compiler works... no
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'

@dgellow please make sure you have proper Xcode setup. Error below indicates that C compiler it not working.
checking whether the C compiler works... no

Just in case someone faces the same issue I did: It took me a while to found out my problem, I had values set for LDFLAGS and CPPFLAGS. Removing those env vars values via unset did the trick.

Glad you found a solution!

A colleague of mine experienced the same issue when setting up a new machine, and we fixed iPhone sdk issue with
https://www.ryadel.com/en/xcode-sdk-iphoneos-cannot-be-located-mac-osx-error-fix/


Navbar hides top text when browser is at half window

Ahhh I see. Ok, fix momentarily. The site needs some responsive love, which I'll get to a bit later.


convert the SmoothQuant model for w8a8 inference in FT failed

convert the SmoothQuant model for w8a8 inference in FT failed when i use int8_mode=2
Traceback (most recent call last):
File "examples/pytorch/gpt/utils/huggingface_opt_convert.py", line 328, in
split_and_convert(args)
File "examples/pytorch/gpt/utils/huggingface_opt_convert.py", line 178, in split_and_convert
capture_dict[key + ".weight"] = (values["input"], values["output"])
IndexError: too many indices for tensor of dimension 1
The scale.pt is generated by  the repo: https://github.com/mit-han-lab/smoothquant, which is mentioned in the gpt_guide.md.
It seems the format of scale.pt file doesn't match FasterTransformer?

convert the SmoothQuant model for w8a8 inference in FT failed when i use int8_mode=2
Traceback (most recent call last): File "examples/pytorch/gpt/utils/huggingface_opt_convert.py", line 328, in split_and_convert(args) File "examples/pytorch/gpt/utils/huggingface_opt_convert.py", line 178, in split_and_convert capture_dict[key + ".weight"] = (values["input"], values["output"]) IndexError: too many indices for tensor of dimension 1
The scale.pt is generated by the repo: https://github.com/mit-han-lab/smoothquant, which is mentioned in the gpt_guide.md. It seems the format of scale.pt file doesn't match FasterTransformer?

Did you solve this problem?  Thanks.


Question: does ffmpeg:<camera-name>#audio=aac internally uses ?audio=copy?

I can use the camera name as shortcut for the ffmpeg source, but my question is, if I don't have video in the ffmpeg output, will go2rtc internally only request the audio track? I'm asking because I suppose that's lighter in resources utilization.
Basically, which one is better:
portao:
  - rtsp://admin:admin@<IP_ADDRESS>:6554/stream_1
  - "ffmpeg:portao#audio=aac"

or
portao:
  - rtsp://admin:admin@<IP_ADDRESS>:6554/stream_1
  - "ffmpeg:rtsp://<IP_ADDRESS>:8554/portao?audio=copy#audio=aac"

That's awesome. Thanks!


ScrollView without explicit size scales according to its children on Android and not on iOS

Given a ScrollView without layoutData:
new tabris.ScrollView().appendTo(page);

On Android the ScollView grows with its child content until it reaches a point where it can not grow any further (eg. it reaches the size of its parent) and starts to scroll. On iOS a ScrollView does not grow with its children.
We should bring this behavior in line.

I'm experiencing similar issues with Composite — when a height is not specified, on Android it will fit the intrinsic height of its contents but on iOS it will have a height of 0 and therefore its contents are invisible

@patbenatar The problem on Composite should be fixed but the problem remains on ScrollView.

Thanks @mpost — do you know what version it is fixed in?

@patbenatar I can't pinpoint a specific version but at least in the 2.0.0-beta1.

any idea when this issue will be fixed? this is a pretty annoying issue when you need to be able to dynamically append to a scroll view

Working as expected now. Closing as resolved.


Link Component with or without useBaseUrl

🐛 Bug Report
When using the useBaseUrl hook, the base url is composed dependent on if current page was navigated to through "spa navigation" or visiting the url directly. If one navigates to a url with the "spa" mode, the trailing slash appears to be missing. If you refresh the page, the trailing slash is added. The trailing slash appears to break all of the relative links then.
This could possibly be a misunderstanding with the docs and we are not supposed to be using the hook, but the docs for Link and useBaseUrl do not make it clear when you should use useBaseUrl.
Have you read the Contributing Guidelines on issues?
Yes.
To Reproduce
(gif alt: shows steps as noted above)

Expected behavior
Internal routing to work.
Actual Behavior
It seems to work inconsistently depending on how you have arrived on the page.
Your Environment

Docusaurus version used: 2.0.0-alpha.55

Reproducible Demo

Permalink to live url: https://deploy-preview-49--tauri.netlify.app/
Permalink to code at above url: https://github.com/tauri-apps/tauri-docs/tree/ba99d196f5022807922b3efd0b4330c6e37e4c46

https://v2.docusaurus.io/docs/docusaurus-core/#usebaseurl
They say

We highly recommend you to use this.
So I guess whenever you use Link, you should use useBaseUrl.
Our main problem doesn't come from those Link components but from MD links in the docs.
So I've been replacing relative links with absolute links (you can try to reproduce in the live URL).

It seems to work inconsistently depending on how you have arrived on the page.

Yes but it's also because of browser behavior. If you use a relative href, the final result depends on whether your current page has a trailing slash at the back.
When using relative links:

URL: example.com/intro, href: help -> result: example.com/help
URL: example.com/intro/, href: help -> result: example.com/intro/help

When using absolute links:

URL: example.com/intro, href: /help -> result: example.com/help
URL: example.com/intro/, href: /help -> result: example.com/help

So either you use a trailing slash for all your internal links, or use absolute links.

So either you use a trailing slash for all your internal links, or use absolute links.

As a user, always using a trailing slash doesn't currently seem to be an option. The navbar sends you to pages without trailing slashes. Then refreshing that page adds a trailing slash.
As far as I can tell, this means all relative URLs are broken depending on how you use the website. IMO we should issue a fix for this soon or make it clearer that they don't work, maybe by throwing an error at build time or something like that.
The docs are still implying relative URLs should be ok: https://v2.docusaurus.io/docs/markdown-features#referencing-other-documents
Also, even when specifying a relative url in a markdown file, the resultant a-tag on the page has an absolute href, so I don't think the browser's behaviour is the problem here, the wrong absolute path seems to be being produced by docusaurus itself.

The navbar sidebar sends you to pages without trailing slashes. Then refreshing that page adds a trailing slash.

Hmm good point I think we should fix the sidebar in this case.

I started working on adjusting the sidebar to always make sure internal to links have trailing slashes, and I'm happy to continue that, but it feels like slapping a bandaid on the symptoms instead of addressing the root cause.
For the docusaurus website itself, the navbar config currently contains no trailing slashes, so we'd need to make the same change in the navbar so people don't accidentally link to the non-trailing slash version of pages. For the same reason, it probably makes sense to do the same thing in the Link component too.
That is all fine, but if anyone ever links to any docusaurus page without a trailing slash there'll be a strange half broken experience. Even though it is the linker at fault, the docusaurus site is the one that will appear broken.
Looks to me the relative to absolute translation is done by react-router-dom. It might be worth doing the opposite of this to redirect any non-trailing urls to trailing ones: https://jasonwatmore.com/post/2020/03/23/react-router-remove-trailing-slash-from-urls
@yangshun what's your reaction to adding a redirect rule? I've never used react-router before but it seems possible. If I understand right, this would mean we'd never have to worry about trailing slashes in links, there would just always be one.

I think Docusaurus should take a stance on this and introduce trailing slashes to all Docusaurus-generated links while we're still in alpha. Some users Markdown links might break now but at least it's consistently breaking in both development and production, unlike now when it's breaking only in production and sometimes depending on hosting provider.

Fixed in https://github.com/facebook/docusaurus/pull/4908 with the trailingSlash option.
The setting to use depends on your host, use https://github.com/slorber/trailing-slash-guide to find out the best setting (or try until it works)
It was not really related to useBaseUrl. Note useBaseUrl is now automatically applied to links so in most cases it's not necessary to use it apart from a few exceptions.
We now recommend linking docs with relative file paths instead of relative paths, as those relative paths are unprocessed by docusaurus, will be sensitive to the trailingSlash option and you'll have to modify all your relative links if you change trailingSlash setting


Add a paragraph in the README specifying that fact gathering must be enabled

Description:
Review:

[ ] Do the unit tests contain positive functionality tests as well as edge case negative tests?
[ ] Can we monitor the performance/effectiveness of these changes?
[ ] Did the code review consider failure modes and edge cases?
[ ] Did the code review consider refactorings that would make this code more maintainable?
[ ] Was this change approved by a module owner (if necessary)?

:+1:


Help Message with Nested Commands

When there are many nested subcommands the Usage information is huge and impossible to understand.
I was thinking of a different approach to Usage information and I would like to propose it.
I think it Application Usage could be greatly simplified by making Usage print only the first set of available commands.
Then, It would be great too if when specifying a correct first command but no subsequent subcommands we could show the Usage for that specific command instead of the whole app.
And so on, instead of having the Application print every possible combination of commands, we could just show the next step in the tree of combinations.
Instead of:
app would print:
app
Flags:
Commands:
delete user [<flags>]
delete post [<flags>]

For example:
app would print:
app
Flags:
Commands:
delete <command>

app delete would print:
app delete
Flags:

Commands:
user [<flags>]
post [<flags>]

I dont know if i make myself clear.
Hope you like my proposal
Cheers!

I'm actually thinking of having two separate flags for help. The default would be compact, perhaps just listing all commands recursively like so:
app --help
Flags:
  ...
Commands:
    delete [<flags>] ...
        user [<flags>] <user>
        post [<flags>] <post>
    create post <text>

Then --help-full would list fully expanded help, with all available flags and commands.

I'm still not sure what the right approach is, so I'll defer this for a bit.

Just my input.  I like the help information now.  I'd prefer to get long help by default.
Maybe, if the total lines of help exceeds some number (24?) of lines, make the last line of --help output:
--help-short for more compact help

I'm halfway through the template based approach and the following is the current default output. I'm fairly happy with it. I will probably not provide other help formats, as it makes maintenance more difficult, but I will document the help template context.
$ go run ./examples/curl/curl.go --help
usage: curl [<flags>] <command> [<args> ...]

An example implementation of curl.

Flags:
  --help            Show help.
  -t, --timeout=5s  Set connection timeout.
  -H, --headers=HEADER=VALUE
                    Add HTTP headers to the request.

GET a resource.

Flags:
  --help            Show help.
  -t, --timeout=5s  Set connection timeout.

Flags:
  --help            Show help.
  -t, --timeout=5s  Set connection timeout.
  -H, --headers=HEADER=VALUE
                    Add HTTP headers to the request.
  --test            Test flag

Args:
  <url>  URL to GET.

$ go run ./examples/curl/curl.go --help post
usage: curl post [<flags>] <url>

POST a resource.

Flags:
  --help            Show help.
  -t, --timeout=5s  Set connection timeout.
  -H, --headers=HEADER=VALUE
                    Add HTTP headers to the request.
  -d, --data=KEY:VALUE
                    Key-value data to POST
  --data-binary=DATA-BINARY
                    File with binary data to POST.

Args:
  <url>  URL to POST to.

I think this looks good and will definitely be good to add templating

Okay. If you check out the v2-model branch I'd be interested in seeing if this is sufficient for your help requirements. You can find the template context here.

The v2-unstable branch is currently pretty much feature complete, except for the merging of the model stuff, which I'm still not 100% sure about. It complicates the code for what is (potentially) a relatively minor improvement.

I ended up compromising and adding an Application.Model() function that builds a public model from the internal representation. I've also provided two usage templates: the default and a compact command representation that outputs something like this:
usage: curl [<flags>] <command> [<args> ...]

An example implementation of curl.

Flags:
  --help            Show help.
  -t, --timeout=5s  Set connection timeout.
  -H, --headers=HEADER=VALUE
                    Add HTTP headers to the request.

Commands:
  help [<command>...]
  get [<flags>]
    url <url>
    file <file>
  post [<flags>] <url>

You're awesome!

Thanks! I also just added a hidden --man-page flag that generates man pages using the templating system.


Get Started Walkthrough for vscode knative [WIP]

Fix: #262

Codecov Report

Merging #276 (b46b2d5) into main (01c64f6) will decrease coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #276      +/-   ##
==========================================
- Coverage   77.19%   77.02%   -0.17%
==========================================
  Files          87       87
  Lines        3561     3561
  Branches      604      604
==========================================
- Hits         2749     2743       -6
- Misses        812      818       +6

Impacted Files
Coverage Δ

src/util/platform.ts
88.23% <0.00%> (-11.77%)
:arrow_down:

src/cli/cmdCli.ts
42.16% <0.00%> (-3.62%)
:arrow_down:

src/util/watch.ts
93.33% <0.00%> (-3.34%)
:arrow_down:

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

2. Is it really necessary to have the add/remove env variable/volumes explained?

@mohitsuman should we include the add/remove env variable/volumes in getting started or should I skip it?


Enable customization of kernel size in CSPLayer and DarknetBottleneck while preserving previously default kernel size

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
The default kernel size is 3 in DarknetBottleneck and in CSPLayer when using DarknetBottleneck. However, some network design requires larger kernel size (e.g. Yolov6 Lite, where the kernel size is 5).
Modification
I enable customization of kernel size in CSPLayer and DarknetBottleneck by adding input parameter kernel_size at the end of the formal parameter list, and set to 3 by default.
BC-breaking (Optional)
This PR doesn't break the BC of the downstream repos.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMPreTrain.
The documentation has been modified accordingly, like docstring or example tutorials.

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


TESTING the bot

Description: Describe in a couple of sentences what this PR adds
JIRA: Link to JIRA ticket
Dependencies: dependencies on other outstanding PRs, issues, etc.
Merge deadline: List merge deadline (if any)
Installation instructions: List any non-trivial installation
instructions.
Testing instructions:

Open page A
Do thing B
Expect C to happen
If D happened instead - check failed.

Reviewers:

[ ] tag reviewer
[ ] tag reviewer

Merge checklist:

[ ] All reviewers approved
[ ] CI build is green
[ ] Version bumped
[ ] Changelog record added
[ ] Documentation updated (not only docstrings)
[ ] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPI after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Author concerns: List any concerns about this PR - inelegant
solutions, hacks, quick-and-dirty implementations, concerns about
migrations, etc.

Thanks for the pull request, @nedbat-test-external! I've created OSPR-4532 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams.
Feel free to add as much of the following information to the ticket:

supporting documentation
edx-code email threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here.
We can't start reviewing your pull request until you've submitted a     signed contributor agreement     or indicated your institutional affiliation. Please see the CONTRIBUTING     file for more information.

@nedbat-test-external Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future.


Defer identifier name mangling until desugaring

Currently, the IR maintains a list of keywords that are reserved in JS, and forbids them in its identifiers. This is too low-level a concern for the IR, and is not robust with future versions of JS adding new reserved keywords. We also forbid leading digits.
We should defer the mangling currently performed by mangleJSName in JSEncoding to the desugaring.
This a backward binary incompatible change, so it will be for the next major version.

Note: Make sure that things are in the right place (e.g. isValidJSIdentifier, Definitions -> Names) once this is done.


fix the tree

Description
Fix the tree after #68043. Relanding occured after NNBD migration

Landing on red to fix the tree.
TBR @LongCatIsLooong


Add transformation to indexing intersection of homomorphic mapepd type and generic parameter

In getSimplifiedType, adds a branch which transforms (T & {[P in keyof T]: Foo})[K] (which we can't reason about, thanks to how we combine the intersection before looking for members on its apparent type) into {[P in keyof T]: T[P] & Foo}[K] (which we can reason about).
Specifically, in the first case, when calculating its constraint, we see that it's an indexed access, attempt to simplify it (and it doesn't), then we get the base constraints of T & {[P in keyof T]: Foo} and K, and produce a new indexed access - that becomes ({} & {})[string | number | symbol], which then becomes the error type.
Now, when we attempt to simplify it, we apply the above mapping, and the index type {[P in keyof T]: T[P] & Foo}[K] in the provided sample simplifies to T[K] & Foo (since K is keyof T) whose constraint is simply Foo.
Fixes #25181

Superseded by #26281, which is much more elegant, IMO.


Reconcile ServiceTemplates in ManagedCluster controller

Extend ManagedCluster spec with a list of serviceTemplates referencing resources in the same namespace:

beachHeadServices:
- serviceTemplate:
  config:

Extend ManagedCluster reconciler to install requested services

Update
I am trying to get a service (defined by a ServiceTemplate) installed via Sveltos in the "managedcluster_controller".

Each template referes to a flux HelmChart, and while this works fine for ClusterTemplates because we can easily feed this into flux's HelmRelease. However, since we are using Sveltos for ServiceTemplates, we need to retrieve the URL to pull the chart from, which I can retrieve as:
ServiceTemplate -> HelmChart -> HelmRepository -> HelmRepository.Spec.URL

This URL for our dev environment is oci://hmc-local-registry:5000/charts.

However, Sveltos fails to install nginx on the target cluster due to following (seen in the ClusterSummary object):
  - failureMessage: 'failed to do request: Head "https://hmc-local-registry:5000/v2/charts/ingress-nginx/manifests/2.0.0":
      http: server gave HTTP response to HTTPS client'

There is a flag --plain-http which will resolve this because I can pull the chart successfully with:
# helm pull oci://hmc-local-registry:5000/charts/ingress-nginx --version 2.0.0 --plain-http
Pulled: hmc-local-registry:5000/charts/ingress-nginx:2.0.0
Digest: sha256:ae349c7ae29737912640fcf8c0d0514fbf6fc1a5de6209a37f34572c96e853a6

But the ClusterProfile in Sveltos doesn't have that feature yet. It has skipTLSVerify option but that doesn't work:
# helm pull oci://hmc-local-registry:5000/charts/ingress-nginx --version 2.0.0 --insecure-skip-tls-verify
Error: failed to do request: Head "https://hmc-local-registry:5000/v2/charts/ingress-nginx/manifests/2.0.0": http: server gave HTTP response to HTTPS client

So we need Sveltos to support passing --plain-http option to it's helm client.


remove possibly sensitive data from default Debug output

I noticed logs included bytes from data and headers frames. It's possible for these things to include secrets or sensitive data, so it should probably not be too easy to accidentally get that data stored in a logfile somewhere.

This change was partially pulled in by an earlier commit. I applied the rest of this change here: 0b1fbc4b39bc2aa35cac7e142c025f055afdf5be
Thanks!


Design booking structure and create appropriate schema.

Created schema for document with the following fields:

username
location
service
date
time
timeMargin
travelTime
status
candidates
selected
imgsrc
id
created_at


[IBMMQ] Add a sample to configure multiple query managers in the docs

We don't have documented how multiple query managers can be configured. As an example:
  - name: nri-ibmmq
    config:
      hostname: localhost
      port: 1414
      queue_manager: QM1
      channel: SYSTEM.DEF.SVRCONN
      username: your_mq_user
      password: your_mq_password
      monitored_queues: '!SYSTEM.*,*'
      monitored_channels: '*'
      monitored_topics: '*'
      monitored_subscriptions: '*'
      exporter_port: 9157
  - name: nri-ibmmq
    config:
      hostname: localhost
      port: 1414
      queue_manager: QM2
      channel: SYSTEM.DEF.SVRCONN
      username: your_mq_user
      password: your_mq_password
      monitored_queues: '!SYSTEM.*,*'
      monitored_channels: '*'
      monitored_topics: '*'
      monitored_subscriptions: '*'
      exporter_port: 9158

We should add a warning note reflecting in a way like This approach should be used carefully as for each instance we will spawn an exporter and a nri-prometheus.

Related to IBM MQ documentation we should also move the samples to the "Configure the Integration" section.
Also the "IBM MQ instance settings" should be moved to the same section:
https://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/ibmmq-monitoring-integration/#instance-settings
This is to align the docs with other integration docs


fcfg invocation changed from --config to --configs

--config changed to --configs. I'm not sure when.

whoops, thanks!


Experiment with Vuepress for the new FD.io website (Dec 19)

Acceptance criteria

[x] ported Specs page on Vuepress

screenshot below

[x] short tutorial on how to create a custom Vuepress Theme

whole version here --> https://hackmd.io/735I6NgXQ7WPAWvtLd6QoQ?both
summary below

[x] spreadsheet of all existing F11 pages

https://docs.google.com/spreadsheets/d/1qByu4qw56hFUdJIY5IOC7d8TQBud-k31J6720hg1h2w/edit#gid=710398809

Tasks

[x] Try out how to create a custom vuepress theme
[x] Try to port one content page from lektor (start with specs)
[x] Make a spreadsheet of all existing pages / content (already have in sitemap) so we can plan how they migrate
[x] Provide a link to the repo with your demo site in it (probably in your personal github space for now) - see below
[x] Deploy your site somewhere - you could just use github pages or something like zeit or surge etc
[x] Research tailwind css + see if there is a tailwind vue setup

[Summary] How to create a custom Vuepress theme

Install VuePress

Create a .vuepress/theme directory
To write a theme, create a .vuepress/theme directory in your docs root, and then create a Layout.vue file...

From there it’s the same as developing a normal Vue application. It’s entirely up to you how to organize your theme.

Vue.js app structure

node_modules
public

flavicon.ico etc...
index.html

src

assets
components

Helloworld.vue etc...

App.vue
main.js

.gitignore
babel.config.js
package-lock.json
package.json
README.md

Learnings

can use Vue DevTools to debug your custom theme
third-party library Bootstrap vue - has a lot of build-in components and CSS already written so you don't have to worry about styling
Vuepress tends to put its styles in small files, clearly defined by purpose. The convention is to put a /styles/ directory in the theme's root directory.
<style scoped/> = CSS limited to the particular component
Vetur - nice plugin for VScode to help and color the vue syntax for you
If you don't set sidebar: auto, and also don't config themeConfig.sidebar at .vuepress/config.js, the sidebar will not be shown.
If you set sidebar: auto, the sidebar should only leverage the active page's headers as the sidebar's links. (h1/h2/h3)
If you configured themeConfig.sidebar, the sidebar will automatically display the page's links according to your settings. the default depth is 1, which extracts the h2 headers (pageTitle/h1/h2). Setting it to 0 disables the header links, and the max value is 2(pageTitle/h1/h2/h3)

Ported Specs page

Tailwind CSS [quick research]

there is a tailwind vue setup --> see https://markus.oberlehner.net/blog/setting-up-tailwind-css-with-vue/

Link to demo site
https://monikappv.github.io/vuepress-exp/
Link to source
https://github.com/monikappv/vuepress-exp

the spreadsheet with fd.io pages is done - see https://docs.google.com/spreadsheets/d/1qByu4qw56hFUdJIY5IOC7d8TQBud-k31J6720hg1h2w/edit#gid=710398809
started looking for sites with nice themes/structure - draft is here https://hackmd.io/1PJBO-bpRaepFpGMnhuwfQ. I will put the best ones in the description as soon as I gather more good examples.

@rufuspollock
done and moved to 'done'.. you can review and close the issue if you think it's okay.

@monikappv great job 👏
@monikappv to complete this thoroughly can you

Provide a link to the repo with your demo site in it (probably in your personal github space for now)
deploy your site somewhere - you could just use github pages or something like zeit or surge etc

Small comments on your learnings

generally we want to use tailwindcss rather than bootstrap though we are not religious about it (see if there is a tailwind vue setup)

Re

started looking for sites with nice themes/structure - draft is here https://hackmd.io/1PJBO-bpRaepFpGMnhuwfQ. I will put the best ones in the description as soon as I gather more good examples.

I think this could be a new separate issue about designing the theme (can you open an issue for that and move that info there)

To deploy to GitHub Pages, you can probably use https://github.com/JamesIves/github-pages-deploy-action.

Enable the action to the repository.

Get a GitHub access token to use in the build and deploy step of the configuration.
Setup the action with a configuration similar to this:name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
	runs-on: ubuntu-latest
	steps:
	- name: Checkout
	uses: actions/checkout@v1

	- name: Install
	run: |
		npm install
		npm run docs:build

	- name: Build and Deploy
	uses: JamesIves/github-pages-deploy-action@releases/v3
	with:
		ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
		BRANCH: gh-pages # The branch the action should deploy to.
		FOLDER: docs/.vuepress/dist # The folder the action should deploy.

Ensure GitHub Pages is configured to run in the gh-pages branch.
Trigger the GitHub action.
The website should be live at https://monikappv.github.io/vuepress-exp/ (or https://monikappv.github.io/vuepress-exp/vuepress-exp/ too).

The site is live at https://github.com/Irio/vuepress-exp, with source in https://github.com/Irio/vuepress-exp.

Also live at https://monikappv.github.io/vuepress-exp/, with source in https://github.com/monikappv/vuepress-exp

FIXED.


Make Travis CI run 'grunt standards'

Coverage remained the same at 36.364% when pulling ab38f40cab1af9eff7bdc96340f89458ea3efb39 on grunt_standards into e2605c924ebefcca4ada04bb4c421d120018e917 on master.


pull-gardener-e2e-kind: Node may not get cordoned

How to categorize this issue?

/area testing
/kind bug
What happened:
Pattern of a failing build:
... condition type EveryNodeReady is not true yet, had message too many worker nodes are registered. Exceeding maximum desired machine count (6/3) with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message too many worker nodes are registered. Exceeding maximum desired machine count (6/3) with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message too many worker nodes are registered. Exceeding maximum desired machine count (6/3) with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message too many worker nodes are registered. Exceeding maximum desired machine count (6/3) with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message too many worker nodes are registered. Exceeding maximum desired machine count (4/3) with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message too many worker nodes are registered. Exceeding maximum desired machine count (4/3) with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message too many worker nodes are registered. Exceeding maximum desired machine count (4/3) with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message too many worker nodes are registered. Exceeding maximum desired machine count (4/3) with reason NodesScalingDown"}
........
retry failed with context deadline exceeded, last error: shoot "e2e-default" was not successfully reconciled

Pattern of passing builds:
... condition type EveryNodeReady is not true yet, had message too many worker nodes are registered. Exceeding maximum desired machine count (6/3) with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message 3 machines are waiting to be completely drained from pods. If this persists, check your pod disruption budgets and pending finalizers. Please note, that nodes that fail to be drained will be deleted automatically with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message 2 machines are waiting to be completely drained from pods. If this persists, check your pod disruption budgets and pending finalizers. Please note, that nodes that fail to be drained will be deleted automatically with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message 1 machine is waiting to be completely drained from pods. If this persists, check your pod disruption budgets and pending finalizers. Please note, that nodes that fail to be drained will be deleted automatically with reason NodesScalingDown"}
... condition type EveryNodeReady is not true yet, had message 1 machine is waiting to be completely drained from pods. If this persists, check your pod disruption budgets and pending finalizers. Please note, that nodes that fail to be drained will be deleted automatically with reason NodesScalingDown"}

This can be explained by existence of  a node that does not get cordoned when upgrading a worker pool.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Gardener version:
Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
Others:

From looking at logs it seems it gets caused by machine being stuck in Creating machine on cloud provide

I can see it in gardener-e2e-kind-ha-multi-zone job too: https://prow.gardener.cloud/view/gs/gardener-prow/pr-logs/pull/gardener_gardener/10097/pull-gardener-e2e-kind-ha-multi-zone/1816142643315347456

It seems there are no logs from apiserver-proxy setup container and it is expected to have at least this log:
https://github.com/gardener/apiserver-proxy/blob/f559b9a7d064e819f8a5e8c00f3b8d4c7a3bb76d/internal/app/app.go#L35

Seems to be Kubernetes issue related to pod init container startup recovery after RunContainerError failure. Reported it https://github.com/kubernetes/kubernetes/issues/126440


Controller replaceAll() throws error

When using the SuperclusterMutableController method replaceAll(), the following error is thrown and the markers are not shown.

@tratteo It looks like dart doesn't like something that is being sent to another isolate. If you don't have too many markers try suggestion number 2 here: https://github.com/rorystephenson/flutter_map_supercluster/issues/2#issuecomment-1519031583 .
Otherwise it's a case of figuring out what dart doesn't like about your Markers or clusterDataExtractor.

@tratteo note that the newest release 4.0.0 simplifies configuring the map to use isolates or not. See the docs for IndexBuilders. I'm closing this now but if your problem persists let me know.


Move cmd, internal, and pkg into a new Go module

(this is an alternative approach to solving the same problem as #31 - this approach lets you still do go get github.com/DataDog/rules_oci/go, while #31 doesn't work with go get ...)
This lets us depend on github.com/DataDog/rules_oci/go in other projects without Gazelle getting confused by depending on the Go module github.com/DataDog/rules_oci, which Gazelle's update-repos turns into the label @com_github_datadog_rules_oci, and depending on the Bazel rules from this repo, which is named @com_github_datadog_rules_oci.
I've left the top-level go.mod for release/main.go (and test/go-multiarch-image/main.go, though since that doesn't import anything, it probably doesn't strictly need to be in a module), and added a new go/repositories.bzl to WORKSPACE and release/BUILD.bazel as the output for //release:gazelle-update-repos, using go/go.mod, with a new //release:gazelle-update-repos-root target for updating repositories.bzl using the root go.mod.

Sooooo this doesn't quite work right - Bazel and Gazelle get messy. If you run the new bazel run //release:gazelle-update-repos-go, to generate go/repositories.bzl with the dependencies in go/go.mod, and then run bazel run //release:gazelle-update-repos, to generate ./repositories.bzl with the dependencies in ./go.mod, go/repositories.bzl gets wiped out. I'm trying to find how exactly you're supposed to generate a repositories.bzl for a repo with multiple go.mod files and a single WORKSPACE, but am having little luck so far.
https://github.com/bazelbuild/bazel-gazelle/issues/634 exists but is closed as won't-fix, so...yeah. More exploring to do, I guess.

@abayer we have collided; I have a handful of PRs I'd like to merge (#33, #34); what order should we do these in?

@guyboltonking - feel free to go first! It'll be easy enough for me to rebase.


add docs.rs links for kubelet and oci-distribution

Signed-off-by: Matthew Fisher<EMAIL_ADDRESS>

added and merging after CI goes green


Generate average ALT ALLELE RATIO at each time point

[x] Generate average ALT ALLELE RATIO at each time point only for MSK-IMPACT mutations and compare with Tumor Fraction from MSK-IMPACT

#48


override any dust.config value

This adds support for:

CommonJS module compilation (see v2.7.0) via config.cjs.
Any future dust.config value.

It deprecates the preserveWhitespace and amd options in favor of config.whitespace and config.amd.

I had to fight with the mocha tests to get them to work on Windows.  It may be worth refactoring them to not care whether the OS uses slashes or backslashes in paths.

Sure, but easier to just convert all the paths to unix ones: file.relative.replace(/\\/, '/');.

Thanks :)
Available in 2.0.0


Incorrect OBSIDs in the cmd prompt appear to enter but do nothing

In the autoNICER command prompt if an int that doesn't correspond to any OBSID is entered it appears to pass through as if it were adding an OBSID that doesn't exist to be processed.
Example:
`##############  Auto NICER  ##############
Target: crab pulsar
Apply Bary-Center Correction: [y]
Write Output Log: [n]
Compress XTI files (.tar.gz): [y]
autoNICER > 11111
autoNICER >
`

Fixed in 3e8cbb96d4d570e5569c87917e1c12ce1737df93 and release v1.1.1


[SEO] Investigate SEO optimisations

Investigate optimisation for SEO, including -

Setting page title as appropriate
Setting appropriate metadata in the headers

Extras to be added to the issue.

https://harrycresswell.com/articles/hugo-seo-accurate-page-titles/

https://www.skcript.com/svr/perfect-seo-meta-tags-with-hugo/

[ ] Need to source an ogimage for site as a fallback

[ ] Need to adjust speaker thumbnails to be image, and only use image for consistency across site

[ ] Need to add instructions on registering a Facebook App ID / Admins ID for SEO

[ ] Need to update the section on if eq. Section "Blog" if going to use some kind of blogging/articles section...

[ ] Need to add description as a recommended (for SEO purposes), but not required parameter across all pages.

Note to self: Need to go back over archetypes frontmatter and add descriptions. Missed this when reworking from toml to yaml.

Majority of items for this are complete. Have also integrated Google Lighthouse into the PR flow. CLosing this item.


A way to skip TLS verify for SMTP authentication

The following error occurs when the SMTP server uses a self-signed certificate, and there seems to be no way to work around this.
2015/08/26 17:48:06 [W] Fail to<EMAIL_ADDRESS>by SMTP(Foobar): x509: certificate is valid for xxxxxxxxxxxx, not mail.bar.com

Is there a way to use self-signed certificates for SMTP authentication? Or is the option omitted on purpose?
Thanks,

Hi there,
yes, please see http://gogs.io/docs/advanced/configuration_cheat_sheet.html#mailer SKIP_VERIFY. :grinning:

I have tried this, but it didn't work. Does this also apply to authentication methods as well?
(I'm talking about the methods you can auto-register with email accounts; along with LDAP and PAM)

@stewartpark Oh! OK! My bad... :joy:
All right, I see the problem, I can add same config option for SMTP auth, too.

i can assure that its already implemented! he is right with the skip_verify i am using it. be sure to add it under [Mailer]

The below is my mailer configuration:
[mailer]
ENABLED = true
HOST = mail.bar.com
FROM = """"No-reply"<EMAIL_ADDRESS>USER =<EMAIL_ADDRESS>PASSWD = pa$$
SKIP_VERIFY = true

If I'm doing something wrong, please let me know :)
and in my opinion, even if it was able to do so by changing the SKIP_VERIFY option, I don't think that's a wise architectural decision. What if an organization has multiple means of authentication and some of them should not skip the verification? (e.g. multiple SMTP servers and LDAP)
The authentication methods are currently stored in the database in the login_source table, maybe add a new column that can suggest if the gogs server should skip TLS verify or not?

Hi, I've added an option when create SMTP auth on develop branch, please help test again!

Closed as implemented. :tada:

It would be nice to have an option to remove StartTLS at all.
Typical use case: In a docker swarm stack, smtp is another image nearby with internal access only, so there is no need do enable TLS for internal only communication.

Typical use case: In a docker swarm stack, smtp is another image nearby with internal access only, so there is no need do enable TLS for internal only communication.

@mwaeckerlin Good point, please feel free to file an issue about this.

@Unknwon, I solved the problem by extending mwaeckerlin/postfix-tls from mwaeckerlin/postfix. So, works for me now…


refactor errors and xds for BackendTrafficPolicy and SecurityPolicy

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #2894
Fixes #2954

/retest

/retest

This PR contains many files, It would be easier to review if you could list the changes in the description.

Sure thing

@shawnh2
Thank you for tidying up the code!
Would you mind splitting this PR into three? I found it a bit difficult for me to review when going through it line by line.

reuse the translated logic, currently there're a lot of dup code in translateXXXPolicyForRoute and translateXXXPolicyForGateway for BTP and SP, this PR extract the common part of these two methods into one shared method

group BTP and SP features in xds.go into a struct, so we can perform Any() and Validate(), make the code structure more clean

wrap the build error in translate method with its feature's name via perr.WrapWithMessage() for SP and BTP, providing more context about errors
for BTP, change errors directly return behavior to errors join

@shawnh2
Thank you for tidying up the code!
This PR is in a good direction, however, I found it a bit difficult for me to review when going through it line by line. Would you mind splitting this PR into three as the following?

reuse the translated logic, currently there're a lot of dup code in translateXXXPolicyForRoute and translateXXXPolicyForGateway for BTP and SP, this PR extract the common part of these two methods into one shared method

group BTP and SP features in xds.go into a struct, so we can perform Any() and Validate(), make the code structure more clean

wrap the build error in translate method with its feature's name via perr.WrapWithMessage() for SP and BTP, providing more context about errors

for BTP, change errors directly return behavior to errors join

Of course, thanks for reviewing this, I will split it up to serval PRs


Segfault when running euroc example script

Description:
Kimera-VIO crashes instantly when running the euroc example script.
Command:
bash ./scripts/stereoVIOEuroc.bash -p ~Data/EuRoC/V1_01_easy

I Am on Ubuntu 20.04 and build and installed everything as described without issues. The only changes I made were as described in #134. When running in debug with gdb attached i get:
Console output:
 VIO::OpenCvVisualizer3D::removeOldLines (this=0x7fff880ff630,
    lmk_ids=std::vector of length -62625828676542522, capacity -758372867347507332 = {...})
    at /home/alexander/Projekte/Kimera/Kimera-VIO/src/visualizer/OpenCvVisualizer3D.cpp:1483
1483	             lmk_id_to_line_id_map.begin();

In addition I ran the tests and got following result:
Console output:
[----------] Global test environment tear-down
[==========] 187 tests from 41 test suites ran. (23812 ms total)
[  PASSED  ] 184 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] LCDFixture.geometricVerificationCheck
[  FAILED  ] StereoFrameFixture.sparseStereoMatching
[  FAILED  ] TestTracker.getPoint3AndCovariance

 3 FAILED TESTS
  YOU HAVE 9 DISABLED TESTS

After some further debugging it seems that the crash only occurs if the build is in release mode. Debug on the other hand works fine and interestingly the call to removeOldLines() never seems to occur (the brake point is never reached).

Kimera-Vio branch, tag or commit used: master
GTSAM version used: 4.0.3
OpenGV version used:
OpenCV version used: 4.2
Operating system and version (e.g. Ubuntu 16.04 or Windows 10): Ubuntu 20.04
Did you change the source code? (yes / no): yes

I am seeing the same issue. Also, in debug mode instead of 3 failing tests I get a crash on the VioPipelineFixture.OnlineSequentialSpin test. Console output for that test is below:
[ RUN      ] VioPipelineFixture.OnlineSequentialSpin
I0414 10:02:04.880667 282747 testPipeline.cpp:124] Destroying pipeline.
I0414 10:02:04.880676 282747 testPipeline.cpp:40] Building pipeline.
I0414 10:02:04.880695 282747 EurocDataProvider.cpp:82] Parsing Euroc dataset...
I0414 10:02:05.273945 282747 RegularVioBackEnd.cpp:114] Using Regular VIO backend.
I0414 10:02:05.274183 282747 Pipeline.cpp:479] Pipeline Modules launched (parallel_run set to 1).
I0414 10:02:05.274195 282747 testPipeline.cpp:70] Connecting pipeline.
I0414 10:02:05.274209 282747 testPipeline.cpp:124] Destroying pipeline.
I0414 10:02:05.274215 282747 Pipeline.cpp:269] Pipeline destructor called.
I0414 10:02:05.274222 282747 Pipeline.cpp:431] Shutting down VIO pipeline.
I0414 10:02:05.274228 282747 Pipeline.cpp:437] Calling registered shutdown callbacks...
I0414 10:02:05.274235 282747 DataProviderInterface.cpp:72] Shutting down DataProviderInterface.
I0414 10:02:05.274246 282747 MesherModule.cpp:65] Shutting down queues for: Mesher
W0414 10:02:05.274343 282747 Pipeline.cpp:547] No lcd thread, not joining.
W0414 10:02:05.274361 282747 Pipeline.cpp:547] No visualizer thread, not joining.
I0414 10:02:05.274370 282747 Pipeline.cpp:451] VIO Pipeline's threads shutdown successfully.
VIO Pipeline successful shutdown.
I0414 10:02:05.274415 282747 VioBackEnd.h:88] Backend destructor called.
I0414 10:02:05.274452 282747 StereoVisionFrontEnd.h:64] StereoVisionFrontEnd destructor called.
I0414 10:02:05.274487 282747 EurocDataProvider.cpp:98] ETHDatasetParser destructor called.
I0414 10:02:05.277448 282747 DataProviderInterface.cpp:31] Data provider destructor called.
I0414 10:02:05.277458 282747 testPipeline.cpp:40] Building pipeline.
I0414 10:02:05.277477 282747 EurocDataProvider.cpp:82] Parsing Euroc dataset...
I0414 10:02:05.675397 282747 RegularVioBackEnd.cpp:114] Using Regular VIO backend.
I0414 10:02:05.675535 282747 Pipeline.cpp:482] Pipeline Modules running in sequential mode (parallel_run set to 0).
I0414 10:02:05.675549 282747 testPipeline.cpp:70] Connecting pipeline.
I0414 10:02:05.713717 282747 Pipeline.h:199] Spinning Kimera-VIO.
I0414 10:02:05.717499 282747 Pipeline.h:199] Spinning Kimera-VIO.
W0414 10:02:05.790082 282747 Mesher.cpp:1380] Missing landmark information to build 3D Mesh.
W0414 10:02:05.790103 282747 Mesher.cpp:1408] Missing landmark information for the Mesher!
W0414 10:02:05.790113 282747 Mesher.cpp:1608] List of Keypoints with associated Landmarks is empty.
W0414 10:02:05.790149 282747 Mesher.cpp:1422] 2D Mesh is empty!
W0414 10:02:05.790158 282747 Mesher.cpp:432] Missing landmark information for the Mesher: cannot generate 3D Mesh.
W0414 10:02:05.790216 282747 Mesher.cpp:523] Missing landmark information for the Mesher: cannot trim 3D mesh to time horizon.
I0414 10:02:05.795024 282747 Pipeline.h:199] Spinning Kimera-VIO.
W0414 10:02:05.805645 282747 PipelineModule.h:397] Module: VioBackEnd - Input queue: backend_input_queue didn't return an output.
I0414 10:02:05.810595 282747 Pipeline.h:199] Spinning Kimera-VIO.
W0414 10:02:05.823228 282747 PipelineModule.h:397] Module: VioBackEnd - Input queue: backend_input_queue didn't return an output.
I0414 10:02:05.827283 282747 Pipeline.h:199] Spinning Kimera-VIO.
W0414 10:02:05.835633 282747 PipelineModule.h:397] Module: VioBackEnd - Input queue: backend_input_queue didn't return an output.
I0414 10:02:05.839558 282747 Pipeline.h:199] Spinning Kimera-VIO.

Did you find a solution to your problem? My crash was due to a missing boolean return statement which I fixed. However the same crash as yours started occuring for me on the mono branch.

It seems that the crash is somewhat related to the time horizon parameter. If I increase the value significantly the crash stops occuring. My guess is that there might be a bug in freezing / and or removing landmarks/smart factors from the graph. I wasn't able to find it yet though,

We are patching these issues in a soon-to-be-released update to Kimera-VIO, hopefully this does the trick for you.


Assessment2

Metric
Value

alert_status
:white_check_mark: OK

bugs
1

code_smells
23

reliability_rating
C (at least 1 Major Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Metric
Value

alert_status
:x: ERROR

bugs
0

code_smells
61

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


Assign CPU Resources to Containers and Pods

Where can we get details of vish/stress image as referred to in examples on this page?

That's https://hub.docker.com/r/vish/stress/
Perhaps we should use a container image based on https://kernel.ubuntu.com/~cking/stress-ng/ instead? See https://github.com/ColinIanKing/stress-ng for source code, or look for another container image with clearly reputable provenance.

@sftim I located the Docker Hub repo too ;) thanks! But, there is no source code, Git repo, etc. to it. So, there isn't much clarity on what it does.


Updated docker base image to node:18-bullseye in browser.Dockerfile

What it does
Resolves https://github.com/eclipse-theia/theia-blueprint/issues/345
node:16-bullseye seems outdated and resulted in the bug documented in the above issue.  It is not currently supported on the official list of node docker images: https://hub.docker.com/_/node
The issue at https://github.com/eclipse-theia/theia-blueprint/issues/345 was resolved even by changing to node:18-bullseye only in the build-stage, but presumably it should be already upgraded also in the production-stage, so this commit/PR also updates the production stage based image.

How to test

Following/repeating the instructions here: https://github.com/eclipse-theia/theia-blueprint/issues/345

git clone https://github.com/eclipse-theia/theia-blueprint
cd theia-blueprint
docker build -t theia-ide -f browser.Dockerfile . (like instructed here)
Look for side-effects in the usual testing manner for this project, or otherwise decide if to make this upgrade.  I am merely submitting the 'quick-fix' here for the docker build command failure documented in issue #345. But I am relying on the core development team to consider how and whether/when such an upgrade fits with the rest of the development process.

Review checklist

[x] as an author, I have thoroughly tested my changes and carefully followed the review guidelines

Reminder for reviewers

as a reviewer, I agree to behave in accordance with the review guidelines

Note that the Theia platform seems to require only node>=16 in its package.json here, but in practice this did not work on the node:16-bullseye docker image.
See also this comment https://github.com/eclipse-theia/theia-website/pull/524#issuecomment-2026322030 regarding the broader context of the interplay between the Theia platform and Theia IDE with the concept of Theia IDE serving as a product/integration test for the Theia platform.

Actually on a quick glance it appears that such a simple upgrade did not work, as there are numerous immediately visible side-effects, like that all the button graphics are a square.  (When I opened the PR I only tested that the docker image builds, not any of the Theia functionality, as noted in Step 4.)

Thank you very much.
I could not see any issues with this PR locally. Also all graphics seemed to work for me, so I think we can go ahead and merge this.
The failing license check may be ignored, because the yarn.lock file is unchanged. This is an internal error of the check.
I have to apply one additional fix afterwards regarding Theia 1.48.0, but this is unrelated to the required node update.


correct documentation

corrected the documentation for TxUpdateProposal

Thanks @CodiePP . I've made a new PR (#3562) because although you spotted the mistake, your fix is incorrect.

Spoke with @CodiePP , closing in favour of #3562


Occasional exception in production when progressbar is disposed: Invalid operation. The connection is closed.

I have multiple jobs running and occasionally i run into the following issue:
Invalid operation. The connection is closed.
   at Microsoft.Data.SqlClient.SqlConnection.GetOpenTdsConnection()
   at Microsoft.Data.SqlClient.SqlConnection.BeginTransaction(IsolationLevel iso, String transactionName)
   at Microsoft.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel)
   at Hangfire.SqlServer.SqlServerStorage.<>c__DisplayClass40_0`1.<UseTransaction>b__0(DbConnection connection)
   at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
   at Hangfire.SqlServer.SqlServerStorage.UseTransaction[T](DbConnection dedicatedConnection, Func`3 func, Nullable`1 isolationLevel)
   at Hangfire.SqlServer.SqlServerStorage.UseTransaction(DbConnection dedicatedConnection, Action`2 action)
   at Hangfire.SqlServer.SqlServerWriteOnlyTransaction.Commit()
   at Hangfire.Console.Storage.ConsoleStorage.AddLine(ConsoleId consoleId, ConsoleLine line)
   at Hangfire.Console.Server.ConsoleContext.AddLine(ConsoleLine line)
   at Hangfire.Console.Progress.DefaultProgressBar.SetValue(Double value)
   at Hangfire.Console.Progress.DefaultProgressBar.SetValue(Int32 value)
   at Hangfire.Console.Progress.ProgressEnumerable`1.Enumerator.Dispose()
   ....

Happens on some progressbars:
foreach (var x in current.WithProgress(Logger.WriteProgressBar("Batch")))
{
  ...

Seems to be an issue where somehow the connection gets closed too early? Any help would be awesome.
Packages:
		<PackageReference Include="Hangfire.AspNetCore" Version="1.8.6" />
		<PackageReference Include="Hangfire.Console" Version="1.4.2" />
		<PackageReference Include="Hangfire.SqlServer" Version="1.8.6" />

I am also now running the identitystream fork to see if it helps, but it does not for this issue.
<PackageReference Include="IdentityStream.Hangfire.Console" Version="2.0.0" />

same issue here... it seems that the exception gets thrown when the hangfire job itself finishes before the latest progressBar value gets written ...


First change event has old element instance

The first change event triggered has an old version of the element. This results on the change being missed. Further change events appear to be working correctly.
This can be seen on demo provided by this package:
https://github.com/livingdocsIO/editable.js/assets/1036806/96267ce7-fc79-42d0-8ae3-0ed7941b9712
The first time we type 1 the output below doesn't get updated.

Thanks for reporting this.
It's caused by some backwards compatibilty support of older browsers and we can remove this by now.
I also just ran into the same issue when running e2e tests.

:tada: This issue has been resolved in version 5.0.11 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


For 'Domain' Typed indicators, do a DNS over HTTPS request to gather IP addresses and present

Review:
https://developers.cloudflare.com/<IP_ADDRESS>/dns-over-https/json-format
There will be multiple DNS TYPE requests per 'Domain'

DNS Types to query for:
A
AAAA
NS
MX
TXT
TXT '_dmarc.'+${DOMAIN}

For A, AAAA, NS and MX records there may be multiple results. Keep track, and present them as visually linked boxes, and the query results will be presented for each IP line with distilled results on the same line after.
DOMAIN
|
-- IP
|
-- IP2
|
-- etc...

Manual examples to replicate:
curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=yahoo.com&type=A'
curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=yahoo.com&type=AAAA'
curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=yahoo.com&type=NS'
curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=yahoo.com&type=MX'
curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=yahoo.com&type=TXT'
curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=_dmarc.yahoo.com&type=TXT'

Let's modify the presentation here a bit. I'd like to see what it would be like to see the response "TTL" and "type" displayed to the left of the "data" bubble. I'd like TTL to be in the default grey font color, but keep the decoded "type" to orange but make the font BOLD.

We haven't added the TTL to the UI display, but I'll open a new issue if I really want it. Closing


Fix setup.py to work with non-numeric Python patchlevel

Fixes #260 .

Ignore patchlevel (which might be non-numeric)
Simplify comparison

Coverage remained the same at 100.0% when pulling 6fcc004369bf40b845aad1e72a23de6734d6a781 on rjurney-patch-1 into d6c4d47beeeead0da7de53ed6ac15b9636de62a1 on master.

:+1:


A black screen when loading the controller

I have an issue that when the launchimage has been shown, and im trying to load the menu and etc, it's showing a black screen for a second. I don't know what the issue is here... Any idea's? My code:
    self.dynamicsDrawerViewController = MSDynamicsDrawerViewController()
    self.dynamicsDrawerViewController?.delegate = self

    let menuViewController: MSMenuTableViewController = MSMenuTableViewController()
    menuViewController.dynamicsDrawerViewController = self.dynamicsDrawerViewController
    self.dynamicsDrawerViewController?.setDrawerViewController(menuViewController, forDirection: MSDynamicsDrawerDirection.Left)

    let navController = self._storyboard.instantiateViewControllerWithIdentifier("NavController")
    self.dynamicsDrawerViewController?.setPaneState(MSDynamicsDrawerPaneState.Closed, animated: false, allowUserInterruption: false, completion: nil)
    self.dynamicsDrawerViewController?.setPaneViewController(navController, animated: false, completion: nil)

    self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
    self.window?.rootViewController = self.dynamicsDrawerViewController
    self.window?.makeKeyAndVisible()

Using Swift btw, if that wasn't clear from the code.

bump no ideas?


Change backup method:Flow is not correct.

If I have cloud backup in app and I want to change the backup method then it is giving me the seed option i.e "Backup with seed".But when I click on "Share Recovery key"button of backup with seed then it is showing me the Confirm seed word backup screen.

It should show me the seed words screen first.

Still the change flow is not correct.

https://user-images.githubusercontent.com/62699947/173036841-7db7a541-5e8f-4c48-ba83-e1c4f71c5294.mp4

I changed cloud backup method to seed backup and complete the process.But when I clicked "View Health" button app crashed.

Also I changed seed backup to cloud backup.But message on home screen didn't change. Also on security center page it was showing seed icon and text was from cloud backup.

After setting the password, it stays on the same page.

https://user-images.githubusercontent.com/62699947/173038667-f52091bf-35ea-4271-a68f-a9a480d06df7.mp4

Verified this issue on dev app v 2.0.80(485)


Multiple chain support

Description
This PR adds support for multiple chains to graz.
Still a work in progress, need to test this thoroughly before marking this as ready to review.
Checklist

[ ] I have made sure the upstream branch for this PR is correct
[ ] I have made sure this PR is ready to merge
[ ] I have made sure that I have assigned reviewers related to this project

Changes

[ ] Added useAccounts hook.

Testing
WIP
Links/References

https://www.npmjs.com/package/@josefleventon/graz-interchain

Going to repost this later when it's ready.

Hey @josefleventon We have a working branch/version for this, currently its in beta. Please try it out
in 0.1.0-beta.3 https://www.npmjs.com/package/graz/v/0.1.0-beta.3
Branch : https://github.com/graz-sh/graz/tree/0.1.x-iteration-1
Documentation : https://0-1-x-iteration-1.graz.pages.dev/docs/
For migration guide can be found here https://0-1-x-iteration-1.graz.pages.dev/docs/
Open for feedback and let me know what you think. Thanks!

Example here: https://0-1-x-iteration-1.graz.pages.dev/examples/starter/


Add documentation on how to request Taster shows the Inside Story

@cnorthwood, @smaister: Ready for review.

lgtm

Holding off on merging until the actual feature in taster is ready to go (and we've marked the harness as a release rather than pre-release)

:+1:

Actual feature is tested and ready to go now :) Let's get this merged


Instances not Starting

One Instance don't get started.
The Instance Scheduler role has the  kms:CreateGrant permission and the  Instance Scheduler can start and stop other Instances with or without encrypted EBS.
This is the cloudwatch log
2021-02-17 - 13:45:20.503 - INFO    : Handler SchedulerRequestHandler scheduling request for service(s) ec2, account(s)<PHONE_NUMBER>12, region(s) eu-central-1 at 2021-02-17 13:45:20.503507
2021-02-17 - 13:45:20.684 - INFO    : Running EC2 scheduler for account xyz in region(s) eu-central-1
2021-02-17 - 13:45:21.284 - INFO    : Fetching ec2 instances for account xyz in region eu-central-1
2021-02-17 - 13:45:21.583 - DEBUG   : Selected ec2 instance i-02dbc978e2165b2c4 in state (stopped)
2021-02-17 - 13:45:21.583 - INFO    : Number of fetched ec2 instances is 1, number of instances in a schedulable state is 1
2021-02-17 - 13:45:21.883 - DEBUG   : [ Instance EC2:i-02dbc978e2165b2c4 (xxxx) ]
2021-02-17 - 13:45:21.883 - DEBUG   : Current state is stopped, instance type is t3.medium, schedule is "working-days-7-20"
2021-02-17 - 13:45:21.884 - DEBUG   : Time used to determine desired for instance is Wed Feb 17 14:45:19 2021
2021-02-17 - 13:45:21.884 - DEBUG   : Checking conditions for period "working-days-7-20"
2021-02-17 - 13:45:21.884 - DEBUG   : [running] Weekday "wed" in weekdays (mon-fri)
2021-02-17 - 13:45:21.884 - DEBUG   : [running] Time 14:45:19 is within 07:00:00-20:00:00, returned state is running
2021-02-17 - 13:45:21.884 - DEBUG   : Active period in schedule "working-days-7-20": "working-days-7-20"
2021-02-17 - 13:45:21.884 - DEBUG   : Desired state for instance from schedule "working-days-7-20" is running, last desired state was running, actual state is stopped
2021-02-17 - 13:45:21.884 - INFO    : Scheduler result {'xyz': {'started': {}, 'stopped': {}, 'resized': {}}}

Hi @hniemann ,
Is this issue still reproducible?
For further investigation, Can you please share the period and schedules from ConfigTable in dynamoDB. and instance state from the stateTable.
Thanks,
Praveen

Please reopen this issue if you are able to provide more details.


BUGFIX: TSDB: panic in query during truncation with OOO head

Added regression test for #14822. Doesn't cause segfault before #14354
The segfault was due to a race condition between query start and compaction.
When compaction starts, in-order queries may overlap with the TSDB head, but also might fall into the truncated time of the head. In such case, the head querier headQuerier is nil in db.go here
https://github.com/prometheus/prometheus/blob/1e01e97151c9db59178dfbabd5e60f4b3916cb83/tsdb/db.go#L2062
and
https://github.com/prometheus/prometheus/blob/1e01e97151c9db59178dfbabd5e60f4b3916cb83/tsdb/db.go#L2137
That pointer is not used for selecting samples, but is referenced in Close() which causes the segfault.

cc PTAL @colega


broken modules using Deno 1.2.0

with deno 1.2.0 update some packages will be broken due to changes in lib std.
I get an error with all other commands that are broken they will throw errors.
I tried to reinstall and cache reloading but couldn't.
I get the following error
$ vr start
error: TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.
  return new URL(url).pathname
                 ~~~
    at https://deno.land/std@v0.56.0/path/win32.ts:917:18

TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.
  return new URL(url).pathname;
                 ~~~
    at https://deno.land/std@v0.56.0/path/posix.ts:438:18

Found 2 errors.

Getting the same error

https://github.com/denosaurs/denon/issues/74 <- same issue in denon, std version needs to be bumped to 0.61.0

Thanks for reporting this!
beta.13 should fix this, can you confirm it works?

Thank you very much.
With the fix, I confirmed to resolved issue.
Close :)

beta.13
explain


skip to create collection/partition if it has been deleted

skip to create collection/partition in the etcd event if it has been checked deleted when getting all objects in the etcd.

Codecov Report
Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 66.97%. Comparing base (a73b590) to head (68e3956).

Additional details and impacted files

@@            Coverage Diff             @@
##             main      #97      +/-   ##
==========================================
- Coverage   67.06%   66.97%   -0.10%
==========================================
  Files          48       48
  Lines        6304     6317      +13
==========================================
+ Hits         4228     4231       +3
- Misses       1819     1826       +7
- Partials      257      260       +3

Files
Coverage Δ

core/reader/replicate_channel_manager.go
55.61% <0.00%> (-0.35%)
:arrow_down:


Add Croatian language support

This PR adds a Croatian language support.
Keep in mind that Croatian language does not have simple rules for singular/plural wording, so the following labels are translated in such a way that the number does not affect the phrasing:

hr.searchMessage
hr.selectionMessage
hr.aria.stars

For example (with hr.searchMessage):
Instead of:
"1 dostupan rezultat", "2 dostupna rezultata"
the label is passive:
"Dostupno rezultata: 1", "Dostupno rezultata: 2"
More flexible approach would be introducing ICU Message Format support into Prime libraries, so that we could do stuff like this:
"aria": {
    "star": "{star, plural, one {1 zvijezda} few {{star} zvijezde} other {{star} zvijezdi}}"
 }

but that is out of the scope of this work.

Awesome thank you for the PR!

I hope you don't mind I added your translation to PrimeFaces: https://github.com/primefaces/primefaces/pull/11118
PF has way more labels that do the 3 libs so a lot of it is still in English in the second part of the file.

@melloware, I translated the second part you've mentioned: PR

@davidmalis you totally rock!  The PF community thanks you.


Remove all jenkins configuration

We have moved to CircleCI

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


Add Session Management Feat.

Has progress begun on llm session management? It would be an awesome feature.
Currently, our apps pull past conversation messages straight from our db upon each request, identified by a conversation id.
However, saving on-going conversations in-cache would be much faster and off-load some work from the db.
Is there an idea on how this would be implemented? Or should I pr something from scratch?

It's under development and should be available soon.

@ajac-zero work is available on this branch/PR
https://github.com/redis/redis-vl-python/pull/141
Your feedback is welcomed.

Awesome! The semantic session manager is really interesting.
I noticed each exchange is expected to be a pair of strings, would this limit the use of tool messages? Due to most providers returning tool/function calls as dicts. I suppose the simplest solution would be to stringify the response dicts before storing them, although this might require additional parsing. Alternatively using json mode would work fine already if available.
Also, there are situations where a single exchange could involve more than 2 messages. Like when a llm uses tools before generating a response.
user query message -> assistant tool call message -> tool result message -> assistant response message
For cases like these it could be useful to provide the option to store messages individually to allow greater flexibility.

Hi @ajac-zero. The session managers do have a convenience store method to add a prompt and response texts in one call. This is meant for typical prompt->response->prompt->... chats. You can also call add_message to add messages individually in the form of dicts and these include tool call messages. Can you let us know if that meets your needs?


Update Reportback class __construct()

The __construct() function in the Reportback class currently does a lot of extra work whenever the class is instantiated. This is useful for when creating a new Reportback, but conflicts when just loading reportbacks via the class and the construct method always runs first. So best to move this code out of the constructor to avoid having multiple of the same DB queries happening in a single instantiation. If loading Reportbacks in other template code, then replace code to use new class methods to get Reportback data (get() or find()).

same as #6167 we don't need this


Evenly distribute load of scheduled pipelines by variable cron expressions

When configuring schedules via GitLabForm for a larger number of projects using wildcards at projects_and_groups, all generated pipeline schedules share the exact same cron expression. When these pipelines get triggered, it puts heavy load on the Gitlab-CI runners due to all pipelines running simultaneously.
To distribute the load over time, one could configure every project's pipeline schedule cron pattern individually, which is cumbersome and in part against what GitLabForm strives for: managing multiple projects with minimal work.
Looking at good old Jenkins CI, they offer a variable H ("hash") to be used within the cron expression to achieve a random equal distribution of e.g. daily/nightly jobs: https://www.jenkins.io/doc/book/pipeline/syntax/#cron-syntax
It would be very helpful, if the same or a similar mechanism was available in GitLabForm.

Hi @pho3nixx! Thanks for the suggestion.
A complete implementation of this seems quite difficult to be done right, see https://gitlab.com/gitlab-org/gitlab/-/issues/17799. But perhaps this is also the reason that issue in GitLab is open for more than 5 years now...
So a simpler solution to automate replacing Hs with a random value from the appropriate range based on a seed from the group/project name (+ maybe the schedule name?) seems not that hard and could be done in GitLabForm.
If you or someone else would provide a working implementation of this feature in a PR, we will definitely review it and if it works, merge it.

Hi @gdubicki I think my MR is now ready to be reviewed, it would be nice if you could take a look :-)

Thank you again for contributing your implementation, @mfriedenhagen! 😊 Released in v3.14.1 a moment ago. 🎊


Add support for camera with LPS mode

Move camera in front of volume in 2D and 3D views
getLPSDirections comes from VolView
Use forwardVector and upwardVector instead of axis, orientation, viewUp when moving the camera
Get these info from a basis (3 vec3) in the view store instead of hardcoding it
Replace VIEW_ORIENTATIONS and VIEW_TYPES with variables in the view store
Introduce the notion of master volume in the view store
Closes #463

Thank you for the review @floryst!

I updated the PR @finetjul

LGTM! Thanks for the great work!