initService throws TypeError: workspaceService.acquireInstantiationService is not a function

I'm upgrading from 6.0.0 to latest
I migrated to use the new initServices with all the required extension but initServices always throw:
Uncaught (in promise) TypeError: workspaceService.acquireInstantiationService is not a function

Those are the versions that I use:
https://github.com/windmill-labs/windmill/pull/2401/files#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655
and my code changes to the editor: https://github.com/windmill-labs/windmill/pull/2401/files#diff-6c66cfa8f98870ad45bef9f1a81a9e5e745c2a044eb9406cb47a97304ce2e45e

It happens when the configuration service override is imported but the returned services are not used
One way for it to happens is to create an editor before calling initServices

@rubenfiszel I will close this. If I am an error we can re-open or you open up a follow-up discussion or issue.

When I use version 7.3.0, I encounter the same error.

TypeError: workspaceService.acquireInstantiationService is not a function

code:
`
import configurationService from "@codingame/monaco-vscode-configuration-service-override"
import keybindingsService from "@codingame/monaco-vscode-keybindings-service-override"
import modelService from '@codingame/monaco-vscode-model-service-override'
await initServices({
...modelService(),
...configurationService(vscode.Uri.file('/workspace')),
...keybindingsService()
});
`

@todwang did you manage to get around the problem?

Getting the same issue, any idea ?

Hi @Dams591 are you getting the same issue with the current version of the lib? Can you share a reproducible example / repo? Thank you.

Same issue here

Hi @saeedvaziry do you see the same error message? Can you share a reproducible example / repo? Thank you.

@saeedvaziry have you tried adding:
import getConfigurationServiceOverride from '@codingame/monaco-vscode-configuration-service-override';

or removing/commenting the workspaceConfig.
If you look at bare monaco-languageclient example  it only initializes theme and textmate, because it requires it for the json highlighting instructions being loaded, but apart from it nothing else.

@kaisalmen the error goes away but still it doesn't work as expected.
Maybe you can help me figure out what I am doing wrong here.
In the version below which is a copy from the python example of the repo, the editor works fine:
wrapper = new MonacoEditorLanguageClientWrapper()
if (!wrapper.isStarted()) {
    await wrapper.dispose()
    await wrapper.init({
        languageClientConfig: {
            languageId: 'php',
            name: 'PHP Language Server',
            options: {
                $type: 'WebSocketUrl',
                url: 'ws://<IP_ADDRESS>:8080',
            },
            clientOptions: {
                documentSelector: ['php'],
                workspaceFolder: {
                    index: 0,
                    name: 'workspace-' + tab.value.name,
                    uri: vscode.Uri.parse(`${props.path}`),
                },
            },
        },
        wrapperConfig: {
            editorAppConfig: {
                $type: 'extended',
                codeResources: {
                    main: {
                        text: props.value,
                        // uri: vscode.Uri.parse(
                        //     `${props.path}/hello.php`
                        // ),
                        fileExt: 'php',
                    },
                },
                userConfiguration: {
                    json: JSON.stringify({
                        'workbench.colorTheme':
                            'Default Dark Modern',
                    }),
                },
                editorOptions: {
                    readOnly: props.readonly,
                    fontSize:
                        settingsStore.settings.editor.fontSize,
                    minimap: {
                        enabled: false,
                    },
                    wordWrap:
                        settingsStore.settings.editor.wordWrap,
                    theme: settingsStore.settings.theme,
                    stickyScroll: {
                        enabled: false,
                    },
                    automaticLayout: true,
                    glyphMargin: false,
                    scrollBeyondLastLine: false,
                    lightbulb: { enabled: false },
                    wordBasedSuggestions: 'off',
                    suggestOnTriggerCharacters: true,
                    quickSuggestions: {
                        other: true,
                        comments: true,
                        strings: true,
                    },
                    parameterHints: {
                        enabled: true,
                    },
                },
                useDiffEditor: false,
            },
        },
        loggerConfig: {
            enabled: true,
            debugEnabled: true,
        },
    })
}

await wrapper.start(editorContainer.value)

here is a video:

But I am trying to make it work with the code below which I have more control over the editor:
useWorkerFactory({
    ignoreMapping: true,
    workerLoaders: {
        editorWorkerService: () =>
            new Worker(
                new URL(
                    'monaco-editor/esm/vs/editor/editor.worker.js',
                    import.meta.url
                ),
                { type: 'module' }
            ),
    },
})

onMounted(async () => {
    await initServices({
        serviceConfig: {
            debugLogging: true,
        },
        caller: 'editor-' + tabsStore.activeTabIndex,
    })

    if (editorContainer.value) {
        editor = monaco.editor.create(editorContainer.value, {
            readOnly: props.readonly,
            fontSize: settingsStore.settings.editor.fontSize,
            minimap: {
                enabled: false,
            },
            wordWrap: settingsStore.settings.editor.wordWrap,
            theme: settingsStore.settings.theme,
            stickyScroll: {
                enabled: false,
            },
            automaticLayout: true,
            // glyphMargin: false,
            // fontLigatures: true,
            // scrollBeyondLastLine: false,
            // lightbulb: { enabled: false },
            wordBasedSuggestions: 'off',
        })

        let editorModel = monaco.editor.createModel(
            props.value,
            'php',
            vscode.Uri.file(
                `${props.path}/${tab.value.name}-${props.readonly ? 'readonly' : 'editable'}.php`
            )
        )

        editor.setModel(editorModel)

        editor.onDidChangeModelContent(() => {
            emit('update:value', editor.getValue())
        })

        if (!props.readonly) {
            await createWebSocketClient('ws://<IP_ADDRESS>:8080')
        }
    }
})

and the outcome:

@saeedvaziry btw, you can get the editor or the diffeEditor from the wrapper whenever you want (e.g. re-configure it):  https://github.com/TypeFox/monaco-languageclient/blob/main/packages/wrapper/src/wrapper.ts#L132-L138
Regarding your second question. Have you loaded any syntax highlighting instructions? You can use these packages: @codingame/monaco-vscode-standalone-language (monarch) or @codingame/monaco-vscode-php-default-extension (textmate)

Sorry @kaisalmen for this long delay.
So I handled the issue by downgrading to older version! to release the app
Now that I decided to update the packages to the latest version I faced the issue again and this time I read your replies carefully :)) especially this one

import getConfigurationServiceOverride from '@codingame/monaco-vscode-configuration-service-override';

ended up now with this:
  import getConfigurationServiceOverride from '@codingame/monaco-vscode-configuration-service-override'
  import { initServices } from 'monaco-languageclient/vscode/services'

await initServices(
      {
        serviceOverrides: getConfigurationServiceOverride(),
      },
      {}
    )

and seems to be working fine!


Small correction in AFT Survival documentation

Think the left censored label should be -np.inf instead of 0.0 in y_lower_bound? Model evaluations return np.nan otherwise, and -np.inf was the value from the original discussion in #4763

No, since the survival times are not in log scale. Time to event is always nonnegative.

yep, fair, will check things again 👌


code coverage

The tss and tools already collect these metrics. Do the same here.

Most of this has already gone in but I've run into a really weird edge case that's keeping us from enabling this in travis: It took some digging but gcov causes unit tests that mock the open system call to fail because for each test execution gcov tries to write a .gcda file and the mock function borks this up. The mock function will have to be able to identify the files opened by gcov and pass these through to the real open function. I'm looking into how to do this now.

I just created #268 to track resolution of the mock / gcov issue. Its resolution will be sufficiently complex to warrant a separate fix and likely a work around / hack first.

#270 is 90% of what we need and sufficient to satisfy this issue. I've created a milestone (to which this ticket belogs)  to track the lingering bits.


MINOR: Fix migration system tests for 3.6

As part of validating 3.6.0 RC0, I ran the ZK migration system tests at the RC tag. Pretty much all of them failed due to recent changes (particularly, disallowing migrations with JBOD). All of the changes here are test fixes, so not a release blocker.
================================================================================
SESSION REPORT (ALL TESTS)
ducktape version: 0.11.3
session_id:       2023-09-19--007
run time:         8 minutes 51.147 seconds
tests run:        5
passed:           5
flaky:            0
failed:           0
ignored:          0
================================================================================
test_id:    kafkatest.tests.core.zookeeper_migration_test.TestMigration.test_online_migration.roll_controller=False
status:     PASS
run time:   2 minutes 56.029 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.core.zookeeper_migration_test.TestMigration.test_online_migration.roll_controller=True
status:     PASS
run time:   3 minutes 1.037 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.core.zookeeper_migration_test.TestMigration.test_pre_migration_mode_3_4.metadata_quorum=ISOLATED_KRAFT
status:     PASS
run time:   44.101 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.core.zookeeper_migration_test.TestMigration.test_reconcile_kraft_to_zk
status:     PASS
run time:   1 minute 25.509 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.core.zookeeper_migration_test.TestMigration.test_upgrade_after_3_4_migration
status:     PASS
run time:   43.993 seconds
--------------------------------------------------------------------------------

@mumrah , are you going to create a PR against the trunk branch?

@showuon looks like some of the KIP-919 work is causing at least one of these tests to fail on trunk, so I'll need to investigate a bit. But yes, I'll port these fixes to trunk


[gettext] Build error with clang on Ubuntu

Host Environment

OS: [wsl2 ubuntu20.04]
Compiler: clang++16

To Reproduce
Steps to reproduce the behavior:
command to install llvm-project:
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_INSTALL_PREFIX=/home/akemihomura/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;cross-project-tests;libclc;lld;lldb;polly;pstl" -DLLVM_ENABLE_RUNTIMES=all -DCLANG_DEFAULT_CXX_STDLIB=libc++ CLANG_DEFAULT_LINKER=lld CLANG_DEFAULT_RTLIB=compiler-rt CLANG_DEFAULT_UNWINDLIB=libunwind LLDB_ENABLE_LUA=On LLDB_ENABLE_PYTHON=On LLVM_ENABLE_MODULES=On LLVM_E NABLE_LTO=Full ../llvm
sudo update-alternatives --install /usr/bin/cc  clang  /to/path/llvm/clang 1000
sudo update-alternatives --install  /usr/bin/c++ clang++ /to/path/llvm/clang++ 1000
./vcpkg install opencv
Failure logs
Installing 1/20 gettext:x64-linux...
Building gettext[core,tools]:x64-linux...
-- Using cached gettext-0.21.tar.gz.
-- Cleaning sources at /home/akemihomura/zproject/ext/vcpkg/buildtrees/gettext/src/0.21-66fbad380c.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/akemihomura/zproject/ext/vcpkg/downloads/gettext-0.21.tar.gz
-- Applying patch 0002-Fix-uwp-build.patch
-- Applying patch 0003-Fix-win-unicode-paths.patch
-- Applying patch 0004-Fix-uwp-tools-build.patch
-- Applying patch rel_path.patch
-- Applying patch android.patch
-- Applying patch gettext-tools_woe32dll_gettextsrc-exports.c.patch
-- Using source at /home/akemihomura/zproject/ext/vcpkg/buildtrees/gettext/src/0.21-66fbad380c.clean
-- Getting CMake variables for x64-linux-rel
-- Configuring x64-linux-rel
-- Building x64-linux-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:131 (message):
Command failed: /usr/bin/make V=1 -j 33 -f /home/akemihomura/zproject/ext/vcpkg/ports/gettext/Makefile all
Working Directory: /home/akemihomura/zproject/ext/vcpkg/buildtrees/gettext/x64-linux-rel/
See logs for more information:
/home/akemihomura/zproject/ext/vcpkg/buildtrees/gettext/build-x64-linux-rel-out.log
/home/akemihomura/zproject/ext/vcpkg/buildtrees/gettext/build-x64-linux-rel-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_make.cmake:149 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_make.cmake:2 (vcpkg_build_make)
ports/gettext/portfile.cmake:78 (vcpkg_install_make)
ports/gettext/portfile.cmake:107 (build_libintl_and_tools)
scripts/ports.cmake:147 (include)
error: building gettext:x64-linux failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+gettext
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[gettext]+Build+error
Include '[gettext] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-10-17-3247920fbdd47d08f36cbd480addd9890d3c2435
vcpkg-scripts version: 68ad399 2022-11-04 (3 days ago)
/home/akemihomura/zproject/ext/vcpkg/buildtrees/gettext/build-x64-linux-rel-out.log

In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/dngettext.c:21:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/dcngettext.c:21:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/ngettext.c:28:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/intl-compat.c:22:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/setlocale.c:44:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/dcigettext.c:92:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/dcigettext.c:147:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *getcwd ();
      ^
/usr/include/unistd.h:531:14: note: conflicting prototype is here
extern char *getcwd (char *__buf, size_t __size) __THROW __wur;
             ^
2 warnings generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/dgettext.c:21:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/finddomain.c:31:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/loadmsgcat.c:87:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/dcgettext.c:21:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/bindtextdom.c:25:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettext.c:28:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/textdomain.c:24:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/localename.c:25:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/localealias.c:61:
../.././../src/0.21-66fbad380c.clean/gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/setlocale.c:44:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/bindtextdom.c:25:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/intl-compat.c:22:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/dcgettext.c:21:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:In file included from 1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettext.c:28:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1SWAP (i):
 ^warning:
a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
11 warning warning generated generated.
.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/localealias.c:61:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/finddomain.c:31:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/loadmsgcat.c:87:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/dgettext.c:21:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/textdomain.c:24:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/dcigettext.c:92:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/dcigettext.c:147:71: warning  generatedwarning: .
a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *getcwd ();
      ^
/usr/include/unistd.h:531:14: note: conflicting prototype is here
extern char *getcwd (char *__buf, size_t __size) __THROW __wur;
             ^
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/dcngettext.c:21:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/ngettext.c:28:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/dngettext.c:21:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
1 warning generated.
In file included from ../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/localename.c:25:
../.././../src/0.21-66fbad380c.clean/gettext-tools/../gettext-runtime/intl/gettextP.h:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SWAP (i)
^
1 warning generated.
2 warnings generated.
1 warning generated.
../.././../src/0.21-66fbad380c.clean/gettext-tools/gnulib-lib/hash.c:553:11: warning: implicit conversion from 'unsigned long' to 'float' changes value from<PHONE_NUMBER>3709551615 to<PHONE_NUMBER>3709551616 [-Wimplicit-const-int-float-conversion]
      if (SIZE_MAX <= new_candidate)
          ^~~~~~~~ ~~
/usr/include/stdint.h:227:22: note: expanded from macro 'SIZE_MAX'
#  define SIZE_MAX<PHONE_NUMBER>3709551615UL)
                                 ^~~~~~~~~~~~~~~~~~~~~~
../.././../src/0.21-66fbad380c.clean/gettext-tools/gnulib-lib/hash.c:1083:15: warning: implicit conversion from 'unsigned long' to 'float' changes value from<PHONE_NUMBER>3709551615 to<PHONE_NUMBER>3709551616 [-Wimplicit-const-int-float-conversion]
          if (SIZE_MAX <= candidate)
              ^~~~~~~~ ~~
/usr/include/stdint.h:227:22: note: expanded from macro 'SIZE_MAX'
#  define SIZE_MAX<PHONE_NUMBER>3709551615UL)
                                 ^~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
../.././../src/0.21-66fbad380c.clean/gettext-tools/gnulib-lib/xgetcwd.c:40:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *getcwd ();
      ^
/usr/include/unistd.h:531:14: note: conflicting prototype is here
extern char *getcwd (char *__buf, size_t __size) __THROW __wur;
             ^
1 warning generated.
../.././../src/0.21-66fbad380c.clean/gettext-tools/gnulib-lib/obstack.c:351:31: error: incompatible function pointer types initializing 'void (*)(void) __attribute__((noreturn))' with an expression of type 'void (void)' [-Wincompatible-function-pointer-types]
__attribute_noreturn__ void (*obstack_alloc_failed_handler) (void)
                              ^
1 error generated.
make[2]: *** [Makefile:3200: obstack.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:2939: all] Error 2
make: *** [/home/akemihomura/zproject/ext/vcpkg/ports/gettext/Makefile:25: build-gettext-tools-gnulib] Error 2
make: *** Waiting for unfinished jobs....
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/libcroco/cr-cascade.c:212:47: warning: address of array '((a_this)->priv)->sheets' will always evaluate to 'true' [-Wpointer-bool-conversion]
                for (i = 0; PRIVATE (a_this)->sheets && i < NB_ORIGINS; i++) {
                            ~~~~~~~~~~~~~~~~~~^~~~~~ ~~
1 warning generated.
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/libcroco/cr-parser.c:2439:92: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                                        if ((PRIVATE (a_this)->sac_handler->resolve_import == TRUE)) {
                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/libcroco/cr-parser.c:2439:92: note: remove extraneous parentheses around the comparison to silence this warning
                                        if ((PRIVATE (a_this)->sac_handler->resolve_import == TRUE)) {
                                            ~                                              ^      ~
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/libcroco/cr-parser.c:2439:92: note: use '=' to turn this equality comparison into an assignment
                                        if ((PRIVATE (a_this)->sac_handler->resolve_import == TRUE)) {
                                                                                ^~
                                                                                =
1 warning generated.
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/libcroco/cr-tknzr.c:1293:24: warning: implicit conversion from 'long' to 'gdouble' (aka 'double') changes value from<PHONE_NUMBER>854775807 to<PHONE_NUMBER>854775808 [-Wimplicit-const-int-float-conversion]
        if (num->val > G_MAXLONG) {
                     ~ ^~~~~~~~~
./glib/gmacros.h:289:19: note: expanded from macro 'G_MAXLONG'
#define G_MAXLONG LONG_MAX
                  ^~~~~~~~
/home/akemihomura/llvm/lib/clang/16.0.0/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX  __LONG_MAX__
                  ^~~~~~~~~~~~
<built-in>:46:22: note: expanded from here
#define __LONG_MAX__<PHONE_NUMBER>854775807L
                     ^~~~~~~~~~~~~~~~~~~~
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/libcroco/cr-tknzr.c:1317:32: warning: implicit conversion from 'long' to 'gdouble' (aka 'double') changes value from<PHONE_NUMBER>854775807 to<PHONE_NUMBER>854775808 [-Wimplicit-const-int-float-conversion]
                if (num->val > G_MAXLONG) {
                             ~ ^~~~~~~~~
./glib/gmacros.h:289:19: note: expanded from macro 'G_MAXLONG'
#define G_MAXLONG LONG_MAX
                  ^~~~~~~~
/home/akemihomura/llvm/lib/clang/16.0.0/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX  __LONG_MAX__
                  ^~~~~~~~~~~~
<built-in>:46:22: note: expanded from here
#define __LONG_MAX__<PHONE_NUMBER>854775807L
                     ^~~~~~~~~~~~~~~~~~~~
2 warnings generated.
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/obstack.c:351:31: error: incompatible function pointer types initializing 'void (*)(void) __attribute__((noreturn))' with an expression of type 'void (void)' [-Wincompatible-function-pointer-types]
__attribute_noreturn__ void (*obstack_alloc_failed_handler) (void)
                              ^
1 error generated.
make[2]: *** [Makefile:2448: obstack.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/libcroco/cr-cascade.c:212:47: warning: address of array '((a_this)->priv)->sheets' will always evaluate to 'true' [-Wpointer-bool-conversion]
                for (i = 0; PRIVATE (a_this)->sheets && i < NB_ORIGINS; i++) {
                            ~~~~~~~~~~~~~~~~~~^~~~~~ ~~
1 warning generated.
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/libcroco/cr-parser.c:2439:92: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                                        if ((PRIVATE (a_this)->sac_handler->resolve_import == TRUE)) {
                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/libcroco/cr-parser.c:2439:92: note: remove extraneous parentheses around the comparison to silence this warning
                                        if ((PRIVATE (a_this)->sac_handler->resolve_import == TRUE)) {
                                            ~                                              ^      ~
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/libcroco/cr-parser.c:2439:92: note: use '=' to turn this equality comparison into an assignment
                                        if ((PRIVATE (a_this)->sac_handler->resolve_import == TRUE)) {
                                                                                ^~
                                                                                =
1 warning generated.
make[1]: *** [Makefile:2157: all] Error 2
make: *** [/home/akemihomura/zproject/ext/vcpkg/ports/gettext/Makefile:45: build-libtextstyle] Error 2

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

gettext can build succeed with gcc on Ubuntu. There are error message in log:
../.././../src/0.21-66fbad380c.clean/libtextstyle/lib/obstack.c:351:31: error: incompatible function pointer types initializing 'void (*)(void) __attribute__((noreturn))' with an expression of type 'void (void)' [-Wincompatible-function-pointer-types]
__attribute_noreturn__ void (*obstack_alloc_failed_handler) (void)
                              ^
1 error generated.
make[2]: *** [Makefile:2448: obstack.lo] Error 1

This looks like compiler incompatible. I have no idea about this.

Since this issue need upstream to support build with clang on Ubuntu, please report this issue to upstream. If the upstream has a solution to resolve this issue, please reopen this issue.


fix: Point class repr str fix to (x, y) instead of (x, x)

Point class repr str fix to (x, y) instead of (x, x)
use float instead of np.float

Hi! Thanks for catching that issue with the string representation! 👍


Add bounds to keying Sprite frame

Add bounds to Sprite 2/3D next keying for sprite frame.
Checks if the next frame is within the bounds before emitting the incremented value.
Fixes #56412

Thanks!


Some option or step to not close web browser after running? - use -speed option

During recent training with an accounting SI, a question asked is can they leave the browser open after running?
And the current way is using -speed option (which supposedly is being deprecated).
What people want is not making it run faster, but having the option to leave browser open after automation.
This can be implemented on the option level (eg -keep_browser_open, or as a step within the flow eg keep browser open)
To chew whether this calls for adding something new to the tool. Am always careful to add stuffs. In theory there is no impact. But as time passes, more options and features and steps means users have to choose from a bigger list of stuffs to get to where they are going. This paradox of choice can often slow down progress. Especially when unnecessary.

@kensoh  Not sure -s option is being deprecated but this option works perfectly and has helped me a lot in my automation as wel a few manual steps which are dynamic in nature.
I guess instead of adding more options for the same step doesn't make any sense until n unless it will not add any value.

@kensoh  Not sure -s option is being deprecated but this option works perfectly and has helped me a lot in my automation as wel a few manual steps which are dynamic in nature.
I guess instead of adding more options for the same step doesn't make any sense until n unless it will not add any value.

Hi Amit, thanks for your feedback! If I ask you, we made TagUI default behaviour is always with speed option on, ie no restarting of browser for each row in datatable, and no added 3 seconds delay between each iteration. Is that good for you?
I'm considering for some users, they are running long processes taking 10 hours or more. If Chrome doesn't restart at all for so long, performance and automation problems might appear. So maybe add a new option to restart if this use scenario is common.

Closing issue, since not closing browser is not a primary use case, users who want to keep browser open can use the -speed option. In future, if this becomes a major use scenario then we think of improving with another option with meaningful name.

Hi @macrocks adding a new update at https://github.com/kelaberetiv/TagUI/issues/1045#issuecomment-854947259
Speed mode will be enabled by default for datatable batch automation, and browser will not restart after each run.


Update PowerPoint.Effect.md

Docs Build status updates of commit 8b7289d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/PowerPoint.Effect.md
:bulb:Suggestion
View
Details

api/PowerPoint.Effect.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Thank you!


Day and night icons for icon packs

Hello there, I have been working on creating icons for DualWallpaper on the Articons Icon Pack. One the issues I have run into though is that I do not know how DualWallpaper switch icons with system theme. Currently, when using the  IconRequest app what I get back is this for both light and dark mode:
de.dlyt.yanndroid.dualwallpaper
de.dlyt.yanndroid.dualwallpaper.ui.activity.MainActivity

Because they are the same in both light and dark mode, the icon pack is not able to differenciate between the two thus making switching icons impossible. Any insight would be appreciated, thank you.

Hi there,
The icon is actually pretty complicated in this app and personally I haven't seen any other app do this.
This is how it works:
There's only one icon; ic_launcher.xml, which contains a background color, foreground icon and monochrome icon.
The background color ( @color/ic_launcher_background ) is present in values/colors.xml and values-night/colors.xml which are blue and dark blue for light and dark mode respectively. For API versions 31+, there also is values-v31/colors.xml and values-night-v31/colors.xml which overrides the color and uses the device's color theme instead.
The foreground ( @drawable/ic_launcher_foreground ) is kinda similar. It has two drawables, drawable/ic_launcher_foreground.xml and drawable-night/ic_launcher_foreground.xml which then show either a sun or a moon as foreground in light and dark mode.
The monochrome works just like the foreground and is applied instead, if monochrome icons are enabled on the device.
Additionally, for Samsung devices the AndroidManifest contains some meta-data tags for a slightly different theming of the icon.
Ngl, I'm pretty proud of this :sweat_smile:
If with this configuration there is no way for your app to differentiate between light and dark mode you can simply use the one with the sun. The other variations are only a neat little feature since the app changes wallpapers.


Make Ion-Item --border-width available for all 4 directions

Feature Request
Make ion-item css variable --border-width available for all directions:
--border-width-top
--border-width-right
--border-width-bottom
--border-width-left

Ionic version:
[x] 4.x
Describe the Feature Request
Border width for all four directions for easier custom styles
Describe Preferred Solution
--border-width-top
--border-width-right
--border-width-bottom
--border-width-left

I just opened a PR for this, but the fact that --border-width would no longer be supported and thus introduce a breaking change with this PR haunted me. So I tried setting a list of widths as border-width and it seems to work as demonstrated here: https://stackblitz.com/edit/typescript-6twsu6?file=style.css
@Spinnenzunge did you try setting the border-width like:
--border-width: 10px 0px 20px 5px;

That works, but the four different variables makes it way easier to overwrite in subclasses etc. I could generate my own --border-width-direction variables and assign to --border-width but that would kinda be what i requested in the feature request

I see. However breaking the current API and having to declare for variables instead of one when wanting to set a border seems like something a lot of people would dislike. Do you have an example where setting the current variable with four parameters would not work? Is it when you have 2 sides defined and you want to define one more, without redefining previous ones?
I am trying to find a way to support both border-width and border-side-width at the same time, but my CSS variable knowledge is not that extensive. stackoverflow question
In case you think there is no other way to achieve what you need and @brandyscarney says it is ok to break the API I will be happy to reopen the pull request.

Thanks for looking into this @masimplo! We can't introduce any breaking changes to the API without a major version release, and since we just released v4 we're not looking to release a major version anytime soon (at the earliest should there be 6 months between any major version releases).
For the original issue - would a possible solution be to create your own variables for this? Take the following example:
ion-item {
  --border-top-width: 2px;
  --border-end-width: 3px;
  --border-bottom-width: 2px;
  --border-start-width: 6px;

  --inner-border-width: 0;

  --border-width: var(--border-top-width) var(--border-end-width) var(--border-bottom-width) var(--border-start-width);
  --border-color: red;
}

ion-item:first-child {
  --border-top-width: 0;
}

This would allow you to define the variables for all items, then redefine it for specific items/classes. Here's the Codepen for that example: https://codepen.io/brandyscarney/pen/QPpmJP
If this works for you I think it would be the best solution as it avoids adding additional variables to Ionic but still allows you full control and reusability. Please let me know! 🙂

@brandyscarney thanks for taking an interest in this. This is the breaking change I am talking about (maybe it is not considered a breaking change after all?) and it is exactly what I implemented in PR #17990 . People that have defined a --border-width will have to refactor their CSS to define all four new variables to have the same effect. If this is ok, I will be happy to reopen the PR so that it can be reviewed and merged.
I was trying to find a way to support both --border-width and sides at the same time. Something like this: https://stackblitz.com/edit/typescript-boxmodel-css-variables?file=style.css
:root {
  --border-width-top: 0;
  --border-width-right: 0;
  --border-width-bottom: 0;
  --border-width-left: 0;
  --border-width: initial;
}

div {
  border-color: red;
  border-style: solid;
  border-width: var(--border-width, var(--border-width-top) var(--border-width-right) var(--border-width-bottom) var(--border-width-left));
}

div {
  --border-width-top: 10px;
  --border-width-bottom: 10px;

  /* --border-width: 20px; */

/* In case you want to override a previously set --border-width you can just set its value to initial again*/

}

The only downside to this is that --border-width takes precedence over sides and it needs to be documented, but this would enable the support of both approaches. You can define a single value (thus not breaking existing codebases) or you can define individual cases.
@Spinnenzunge would this approach help your situation at all, or does it still create an issue on your particular case?

So the way that I look at it is the CSS variable exists because at a minimum there needs to be a way to override it for the item, but how you do that is up to you. Since border-width is a shorthand and can be written in so many ways I don't see the benefit in adding variables for all sides:
border-width: thick;

border-width: 4px 1.25em;

border-width: 2ex 1.25ex 0.5ex;

border-width: 0 4px 8px 12px;

Taken from the MDN docs: https://developer.mozilla.org/en-US/docs/Web/CSS/border-width
I know in your specific use case it makes sense to be able to override each side individually, but what if the user wants to override both the left and right together? Then it becomes something like the following:
--border-width: var(--border-top) var(--border-horizontal) var(--border-bottom);

As another example, take the background variable: https://developer.mozilla.org/en-US/docs/Web/CSS/background. Since it's a shorthand property it can also have an image, size, position, etc. and we would need to define all of these to cover every use case of the shorthand.
In general we want to try to have as few CSS variables as possible out of the box in Ionic to avoid inflating the size of the CSS too much for everyone. Right now we have 10 components that use --border-width, so it would make sense that for consistency they all offered the same way to modify them. However, if you see issues in defining the variables you need, please let me know so I can take another look. 🙂

I guess we are now waiting for input from @Spinnenzunge on a use case that cannot be accomplished with the current setup, that would justify having an extra 4 variables (or 3 extra if we remove the existing one). Unless there is a case that cannot be fulfilled with the current variable I agree that --border-width i more versatile than separate variables, in case then we can move forward with my approach of introducing both options.

@masimplo Sorry I was saying that we do not need to add additional variables to Ionic as it is completely up to the user how they want to break the border-width variable up into more variables that make sense for their use case. 🙂

Hi guys. I will try the proposed solution for my use case as soon as I have time and report it here.
What I'm trying to accomplish is to restyle the ion-list so that the top item always has a full top line and the bottom item always a full bottom line whatever line property value is set. This was getting kinda tricky to get it to work together with ion-item-sliding and ion-list-header that was why I found that I needed multiple variables. But I am positive that the solution with my own created variables should be possible

Hi again. My use case was to restyle the ion-list and ion-items so that every type of list (full, inset, none) always has a full width border on the beginning (first-item) and on the ending (last-item), excluding ion-list-header that has a transparent background (See the bottom image)

This was a little bit hard with just the one property but it should be possible with the provided solution of creating own variables and splitting up the border-width.
It is super hard with all the different styles for input, sliding list, etc. but it should be possible, so I am closing the issue :)


[models] Unable to load OBJ files.

I am having issue with Raspberry PI 3. None of the examples with OBJ models are loading mesh. The screen is either white with FPS or just white cube with FPS and grid. Happening with all the examples with OBJ files. Eg: tracelog of models_obj_loading :
pi@raspberrypi:~/Raylib/examples $ ./models/models_obj_loading
INFO: Initializing raylib 2.6-dev
INFO: UPSCALING: Required screen size: 800 x 450 -> Display size: 800 x 480
INFO: Display device initialized successfully
INFO: Display size: 800 x 480
INFO: Render size: 800 x 480
INFO: Screen size: 800 x 450
INFO: Viewport offsets: 0, 30
INFO: GPU: Vendor:   Broadcom
INFO: GPU: Renderer: VideoCore IV HW
INFO: GPU: Version:  OpenGL ES 2.0
INFO: GPU: GLSL:     OpenGL ES GLSL ES 1.00
INFO: Number of supported extensions: 1
WARNING: [EXTENSION] VAO extension not found, VAO usage not supported
WARNING: [EXTENSION] NPOT textures extension not found, limited NPOT support (no-mipmaps, no-repeat)
INFO: [TEX ID 1] Texture created successfully (1x1 - 1 mipmaps)
INFO: [TEX ID 1] Base white texture loaded successfully
INFO: [SHDR ID 1] Shader compiled successfully
INFO: [SHDR ID 2] Shader compiled successfully
INFO: [SHDR ID 3] Shader program loaded successfully
INFO: [SHDR ID 3] Default shader loaded successfully
INFO: Internal buffers initialized successfully (CPU)
INFO: Internal buffers uploaded successfully (GPU)
INFO: OpenGL default states initialized successfully
INFO: [TEX ID 2] Texture created successfully (128x128 - 1 mipmaps)
INFO: [TEX ID 2] Default font loaded successfully
INFO: Opening input device [/dev/input/event1] (mouse gamepad keyboard )
INFO: Opening input device [/dev/input/event0] (mouse )
WARNING: Gamepad device could not be opened, no gamepad available
WARNING: Could not change keyboard mode (SSH keyboard?)
INFO: [resources/models/castle.obj] Model loaded successfully in RAM (CPU)
WARNING: [resources/models/castle.obj] No meshes can be loaded, default to cube mesh
INFO: [VBOs] Mesh uploaded successfully to VRAM (GPU)
WARNING: [resources/models/castle.obj] No materials can be loaded, default to white material
WARNING: [resources/models/castle_diffuse.png] Image could not be loaded
WARNING: Texture could not be created
INFO: Target time per frame: 16.667 milliseconds
INFO: [VBO ID 5] Unloaded model vertex data from VRAM (GPU)
INFO: [VBO ID 6] Unloaded model vertex data from VRAM (GPU)
INFO: [VBO ID 7] Unloaded model vertex data from VRAM (GPU)
INFO: [VBO ID 8] Unloaded model vertex data from VRAM (GPU)
INFO: Unloaded model data from RAM and VRAM
INFO: [TEX ID 2] Unloaded texture data from VRAM (GPU)
INFO: [TEX ID 1] Unloaded texture data (base white texture) from VRAM
INFO: Window closed successfully

But what is puzzling me is that even after checking out raylib 2.5.0 the problem still persists. But I have old (raylib 2.5) compiled static library and header file viz, libraylib.a and raylib.h in my own project folder where the obj models are loading without any problem, here is the trace log:
INFO: Initializing raylib 2.5
INFO: UPSCALING: Required screen size: 800 x 450 -> Display size: 800 x 480
INFO: Display device initialized successfully
INFO: Display size: 800 x 480
INFO: Render size: 800 x 480
INFO: Screen size: 800 x 450
INFO: Viewport offsets: 0, 30
INFO: GPU: Vendor:   Broadcom
INFO: GPU: Renderer: VideoCore IV HW
INFO: GPU: Version:  OpenGL ES 2.0
INFO: GPU: GLSL:     OpenGL ES GLSL ES 1.00
INFO: Number of supported extensions: 13
WARNING: [EXTENSION] VAO extension not found, VAO usage not supported
INFO: [EXTENSION] NPOT textures extension detected, full NPOT textures supported
INFO: [TEX ID 1] Texture created successfully (1x1 - 1 mipmaps)
INFO: [TEX ID 1] Base white texture loaded successfully
INFO: [SHDR ID 1] Shader compiled successfully
INFO: [SHDR ID 2] Shader compiled successfully
INFO: [SHDR ID 3] Shader program loaded successfully
INFO: [SHDR ID 3] Default shader loaded successfully
INFO: Internal buffers initialized successfully (CPU)
INFO: Internal buffers uploaded successfully (GPU)
INFO: OpenGL default states initialized successfully
INFO: [TEX ID 2] Texture created successfully (128x128 - 1 mipmaps)
INFO: [TEX ID 2] Default font loaded successfully
INFO: Opening input device [/dev/input/event1] (mouse gamepad keyboard )
INFO: Opening input device [/dev/input/event0] (mouse )
WARNING: Gamepad device could not be opened, no gamepad available
WARNING: Could not change keyboard mode (SSH keyboard?)
TINYOBJ: Error reading file 'vespa1.mtl': No such file or directory (2)
TINYOBJ: Failed to parse material file 'vespa1.mtl': -3
INFO: [resources/vespa1.obj] Model data loaded successfully: 6 meshes / 0 materials
INFO: [resources/vespa1.obj] Model loaded successfully in RAM (CPU)
INFO: [VBOs] Mesh uploaded successfully to VRAM (GPU)
WARNING: [resources/vespa1.obj] No materials can be loaded, default to white material
INFO: [resources/vespa1.png] Image loaded successfully (1200x1200)
INFO: [TEX ID 3] Texture created successfully (1200x1200 - 1 mipmaps)
INFO: Target time per frame: 16.667 milliseconds
INFO: [TEX ID 3] Unloaded texture data from VRAM (GPU)
INFO: [VBO ID 5] Unloaded model vertex data from VRAM (GPU)
INFO: [VBO ID 6] Unloaded model vertex data from VRAM (GPU)
INFO: [VBO ID 7] Unloaded model vertex data from VRAM (GPU)
INFO: Unloaded model data from RAM and VRAM
INFO: [TEX ID 2] Unloaded texture data from VRAM (GPU)
INFO: [TEX ID 1] Unloaded texture data (base white texture) from VRAM
INFO: Window closed successfully

NOTE : I have tried it on both Raspbian GNU/Linux 9 (stretch) and latest Raspbian Buster both have same issue.
Here is my system info:
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

@RowV Thanks for reporting, project was related to an error on 3d projection setup (only on RPI native mode), corrected in commit https://github.com/raysan5/raylib/commit/ef3b01dffc964c04b83d08211ff133e22af6059b.

@raysan5 This bug is back on my raspberry pi with the latest raylib. Should I open a new issue?

@RowV yes, it could be related to recent changes on drawing color...

@raysan5 opened new issue #998 as per your instruction.

@RowV ok, great


more efficient signing

rsa can be a bit slow especially if you have to do it a lot, it might be faster to just come up with a shared secret (ecdh is pretty cheap) and use hmacs to verify it incrementing the key each time (https://github.com/calvinmetcalf/hmac-stream does it for a binary stream or since it's already an object stream you could just do it manually).

Rsa is actually just used for the initial two messages. After that it uses webrtcs dtls stack. I wanna make this more generic though so we can support multiple schemes :)


[DO NOTE MERGE]: Rename ARM ResourceManager Management Package

@azuresdkci retest this please

@markcowl Can we make the Assembly version, file version and the version in project.json to be 1.0.0?


Fix mixed content

Curated sites that list this project will get a mixed content warning due to non-https content within the README.

Thank you!


[Image] Add onDownloadProgress, onError events to Image component

This PR adds 4 native events to NetworkImage.

Using these events I could wrap Image component into something like:
class NetworkImage extends React.Component {
  getInitialState() {
    return {
      downloading: false,
      progress: 0
    }
  }

  render() {
    var loader = this.state.downloading ?
      <View style={this.props.loaderStyles}>
        <ActivityIndicatorIOS animating={true} size={'large'} />
        <Text style={{color: '#bbb'}}>{this.state.progress}%</Text>
      </View>
      :
      null;

    return <Image source={this.props.source}
      onLoadStart={() => this.setState({downloading: true}) }
      onLoaded={() => this.setState({downloading: false}) }
      onLoadProgress={(e)=> this.setState({progress: Math.round(100 * e.nativeEvent.written / e.nativeEvent.total)});
      onLoadError={(e)=> {
        alert('the image cannot be downloaded because: ', JSON.stringify(e));
        this.setState({downloading: false});
      }}>
      {loader}
    </Image>
  }
}

Useful on slow connections and server errors.
There are dozen lines of Objective C, which I don't have experience with. There are neither specific tests nor documentation yet. And I do realize that you're already working right now on better <Image/> (pipeline, new asset management, etc.). So this is basically a proof concept of events for images, and if this idea is not completely wrong I could improve it or help somehow.

Sorry for all the nitpicks.

Thank you so much! Could you help me about tests and other possible performances issues? As you mentioned before NSURLSession which creating each time. For now I use it in the app with a lot of images loading - everything is fine, but I understand this changes could affect somebody.  Or should I move it in external library?

Thanks for all of the work here people, looking forward to seeing this in :smile:

Merged from upstream (new lines about resizing etc), I've got unnecessary commits, it looks unclean now. I use this branch in production, though, don't know what to do next exactly. Tests? Rebase?

@a2 - any chance you have a bit of time to :heart: this PR?

As for the API you may want to study https://html.spec.whatwg.org/multipage/embedded-content.html#mediaevents to see if any of the concepts are worth sharing (cc @vjeux)

@ide thanks, good point. I consider to adding the abort event. And about events' naming conventions, not sure how to do it right. I've used https://facebook.github.io/react-native/docs/textinput.html#onchange pattern on{eventName}. It's also similar to the current state of https://github.com/brentvatne/react-native-video, but it makes sense to rename methods. So we will have:
loadstart, progress, abort, error, loadeddata.

@vjeux - can you shed any light on how you'd like to do naming for these types of events, as per @unknownexception comment above?

This would be super useful, especially if the loaded data got passed back on success in base64 encoded string or some workable format.

Waiting on event naming convention comments.

I like the naming from the spec:

onLoadStart
onLoadProgress
onLoadAbort
onLoadError
onLoaded

This would be super useful, especially if the loaded data got passed back on success in base64 encoded string or some workable format.

No. We never want to read image data in js. This means sending a huge chunk of memory (several megabytes) to js. There are some places where js is not a good language and doing image processing is one of them. You should be manipulating the image using C or the GPU. Not js with a base64 encoded file.

The app which uses these changes has passed Apple review and available on AppStore. It's not a good thing to maintain the fork, so I need to figure out how to split it into the stand-alone plugin.

@unknownexception - I would love to see this merged upstream, @a2 - do you have any time to review again?
Also, @unknownexception - can you please rebase?

@facebook-github-bot import

:heart: @a2

Synced with the master and rebased. I had to adopt the new caching mechanism (NSURLCache) to make this all events work with NSURLSessionDownloadTask instead of NSURLSessionDataTask. Please, review, if you can.
Should I add examples to UIExplore?

@unknownexception - if you can add an example to UIExplorer and submit in a separate PR that would be lovely!


API response /summarize

Want to change the format of the response to a list of sentences, rather than an HTML template. This was originally just used for testing purposes.

This was done a long time ago. Closing.


How to enable https on rasa core server

Rasa Core version:
0.12.3
Python version:
3.6.7
Operating system (windows, osx, ...):
windows 7 64 bit
Issue:
Hey guys! So my bot is running on AWS and i’m getting the reply in my browser. But it’s a “http” i.e. it’s not secure port. I need secure port to run with my web app. Whenever I enable the SSL on port 5005 and try to run the bot it gives error and says,
File “/home/ubuntu/.local/lib/python3.6/site-packages/gevent/server.py”, line 256,│
in _tcp_listener │ sock.bind(address) │
OSError: [Errno 98] Address already in use: (‘<IP_ADDRESS>’, 5005)
Now when I disable my SSL and run the bot, It runs easily and replies on http call. So how can I convert this http to https? Any help is appreciated.
Content of domain file (if used & relevant):

Hi,
You need to use Proxy approach to solve this. In your AWS, install Apache Web Server or Nginx. Then Install your self-signed or CA signed certificate on Apache or Nginx. Then redirect traffic to Rasa.
Browser/Client -> https AWS -> AWS Apache -> Proxy forward to rasa over http -> rasa http
If you need more info on how to do it, reply back.

So I tried to setup proxy by apache mod_proxy,
I followed a procedure and completed all the steps.

all certificates are there already

I modified the ports.conf file and added a listen port to 5005 for rasa core

I modified 000-default.conf file and added all these lines
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass / http://my_ip:5005/
ProxyPassReverse / http://my_ip:5005/

and then restarted apache for the changes

Then why I try to run the bot: It says
OSerror [error 98]: Already in use port (<IP_ADDRESS>:5005)

Now when I disable all the things that did, The bot runs.
So this is back and forth !! I don't know if this is a port issue, directory issue or something. I can provide you more details if you want. Thanks for you help !:)

Your Rasa Core should be up and running on default port 5005 (If you are not dealing with specific requirement). So first check, you able to hit rasa core from postman or not. If that is ok.
Regarding Apache, you may follow this.
Apache In Ubuntu
Make sure Apache is listening on port 80 and 443.
Make sure you have followed these steps to make reverse proxy work.
#Enable SSL module of Apache
$ sudo a2enmod ssl
$ service apache2 reload
$ service apache2 restart
#Install Certificate
Create a directory called "certificates" at this location (or anything of your choice)
$cd /etc/apache2/certificates
Upload your certificate and private key to above location
certificate.csr and certificate.key
$ cd /etc/apache2/sites-available
$ vim default-ssl.conf
Add these contents to make your Apache HTTPs enabled

ServerAdmin webmaster@localhost
ServerName domain-name.com
DocumentRoot /var/www/html
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    SSLEngine on

    SSLCertificateFile  **/etc/apache2/certificates/certificate.cer**
    SSLCertificateKeyFile  **/etc/apache2/certificates/certificate.key**
</VirtualHost>

#start
$ service apache2 reload
$ service apache2 restart
So now you should about to access your localhost in browser
https://your-domain-name/
Make sure Apache Default page is coming over https
Now you need to do proxy forwarding to Rasa to port 5005
$ cd /etc/apache2/sites-available
$ vim default-ssl.conf
Now you need to tell apache , to redirect all traffic to http/5005 port. that's it.

        ServerAdmin webmaster@localhost
        ServerName domain-name.com
        DocumentRoot /var/www/html
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    SSLEngine on

    SSLCertificateFile  **/etc/apache2/certificates/certificate.cer**
    SSLCertificateKeyFile  **/etc/apache2/certificates/certificate.key**

            ProxyRequests     Off
            ProxyPreserveHost On
            ProxyPass /rasa/  http://localhost:5005/ nocanon
            ProxyPassReverse  /rasa/  http://localhost:5005

            AllowEncodedSlashes NoDecode
            RequestHeader set X-Forwarded-Proto "https"
            RequestHeader set X-Forwarded-Port "443"
            RedirectPermanent /rasa

            <Location http://localhost:5005/rasa*>
               Order deny,allow
               Allow from all
            </Location>
            <FilesMatch "\.(cgi|shtml|phtml|php)$">
                    SSLOptions +StdEnvVars
            </FilesMatch>
            <Directory /usr/lib/cgi-bin>
                    SSLOptions +StdEnvVars
            </Directory>
</VirtualHost>

#start
$ service apache2 reload
$ service apache2 restart
Now check
https://your-domain-name/rasa/
and send some POSt request with body. It should be working

Wow this look really detailed! I'll try this and will let you know! Thanks a lot :) :)


SDelete-Gui has stopped working

Hi,
I'm trying to use release v1.2.88, but when I run the exe, I'm immediately presented with a 'SDelete-Gui has stopped working' window.  This is displayed as the problem details:
Problem signature:
  Problem Event Name:	CLR20r3
  Problem Signature 01:	SDelete-Gui.exe
  Problem Signature 02:	<IP_ADDRESS>
  Problem Signature 03:	5a0e781a
  Problem Signature 04:	mscorlib
  Problem Signature 05:	4.7.2117.0
  Problem Signature 06:	59cf500c
  Problem Signature 07:	424b
  Problem Signature 08:	0
  Problem Signature 09:	System.Windows.Markup.XamlParse
  OS Version:	6.1.76<IP_ADDRESS>.256.1
  Locale ID:	1033
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

If I choose the 'Debug the program' option, Visual Studio reports this exception:
System.Windows.Markup.XamlParseException was unhandled
Message: An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: Set property 'System.Windows.ResourceDictionary.Source' threw an exception.

I'm running Windows 7 Ultimate.  SDelete v2.01 exists at: C:\Windows\System32\sdelete.exe
Any ideas?  Thanks!

I'll test it tomorrow.

This should be fixed now.


It works well on IOS portrait but crash on  landscape

Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and [RCTModalHostViewController shouldAutorotate] is returning YES'

The component seems to force the landscape mode into portrait if you try to invoke the picker from landscape, at least for me.
Any plans to support using the picker while in landscape mode?

Also, running into this one.


Handle EDS response update in locality map

This change is

Basic Tests C# Windows: https://github.com/grpc/grpc/issues/19976
Basic Tests C/C++ MacOS: https://github.com/grpc/grpc/issues/19819, https://github.com/grpc/grpc/issues/19802
Basic Tests Node Linux: https://github.com/grpc/grpc/issues/19977
Basic Tests Node MacOS: https://github.com/grpc/grpc/issues/19422
Interop Cloud-to-Cloud Tests (internal CI): https://github.com/grpc/grpc/issues/19176
Interop Cloud-to-Prod Tests (internal CI): https://github.com/grpc/grpc/issues/19176


refactor(minifier): use builtin get_number_value.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#6335  👈
#6332
#6281
#6280
#6269
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @7086cmd and the rest of your teammates on  Graphite


Ability to change templater delay time

My Template is kinda complex and needs wait for 2~3 seconds to apply.. So I'm wondering could you please add an option to set the delay time?
Originally posted by @Moyf in https://github.com/trey-wallis/obsidian-view-count/issues/10#issuecomment-2107140421

@Moyf Released in 1.2.2


Is Element Click Navigation Possible in OPEN MBEE?

With the current features of OPEN MBEE, is it possible to click on diagram elements in the browser, like with Report Wizard, to navigate to other diagrams?
Or do I need to develop this functionality myself?
Environment:
MDK version: 6.1.0
VE version: 5.0.0
MMS Version: 4.0.20
MagicDraw or Cameo Systems Modeler Version: v2022x refresh2
Operating system: Windows 11

This is a feature that will be added in view editor 5.1 and MDK 6.1.1


fix(table): group action of children of table row

Closes #3544
📝 Description
Fixed the group action of all the children of table row
⛳ Current behavior (updates)
https://github.com/user-attachments/assets/f632eed2-ae71-403a-bae2-f05c661fb6f4
🚀 New behavior
https://github.com/user-attachments/assets/6b6227f6-68e7-4e86-a20a-d1f95fe3a6e0
💣 Is this a breaking change (Yes/No): No

📝 Additional Information

Summary by CodeRabbit

Bug Fixes

Resolved navbar height issues for improved rendering and layout stability.
Enhanced the functionality of actions within table rows, ensuring expected behavior when interacting with child elements.

Style

Adjusted class definitions for table headers and rows to improve visual hierarchy and accessibility.

@wingkwong  sir review ?

@wingkwong I am sorry, perhaps it was due small mistake

as discussed with Abhinandan, this pr will be closed and I'll take over it.


Retardance + Orientation + Phase in '2D' mode has unexpected output

I need to look closely at my apply_inverse_transfer_function logic for this path. This reconstruction path is slightly "wedged" into the calculate_transfer_function and apply_inverse_transfer_function schema, so I think I know where to look.
This is a reconstruction quality problem...during translation my logic changed somewhere which is degrading the reconstruction. I will post with more details/images if I'm having continued trouble.

This problem was due to a lack of background correction, so it is fixed by #353.
Without background correction, the S0 reconstruction was poor, which in turn led to a poor phase reconstruction in "Retarance + Orientation + Phase" mode.


Not really an issue, just curious on what is that topbar

Hey what is that topbar, droptop four? if so how do i make it look like yours, it looks really nice

https://github.com/modkavartini/catppuccin

https://github.com/modkavartini/catppuccin

THX


[Feature Request] Fold/Unfold Headings when Click + Remenber Fold/Unfold Position

Hello @matthewturk !!!!!
This FR is about sidecar notes that has Headers and/or Bullet Lists. It is two FRs:
1⃣ Would be possible to Fold/Unfold Headings while click
2⃣ Remenber the Headings status (Folded or Unfolded) when we change from Sidecar Note 1 to Sidecar Note 2.
This will help us to be more productive while dealing with long notes.

I hope you like my idea 🙏
Let me know if you need more information !!!
I wish you a fantastic day ☀

This is a neat idea.  I need to think about it, and I'll jot down here that I think this could be done with IDs and a cache of folding, and simply resetting the folding state after rendering.  But, that might have visual artifacts so I need to check it.

Thank you very much @matthewturk for trying to implement this FR 🙏 🙏 🙏

@matthewturk  I would also find this feature helpful if there is still a chance for it to be added. I currently have a cobbled together work around using tabs created by another plugin in my sidecar notes but it doesn't look as clean as folding headings would.

I took another look and I think I see how -- I thought I did before, then I lost it, but I see again.  I'll try to get to this this week.


Bump python version in appveyor

If only python versions of 3.x are supported, it makes sense to test against the oldest one for backward compatibility and the most recent one for forward compatibility. All other versions in the middle won't have unexpected features or behaviors, so I believe they don't need to be tested.

Coverage remained the same at 85.588% when pulling 9e671295b14c26286ff5388d3d3d8b521a2e4498 on gabrieldemarmiesse:change_ci into 854bf592556bd72f17bf2864ad1bf421a9425dfd on IDSIA:master.

As much as I would like to believe that, it feels better to actually test against all supported versions. I think that does not really hurt us. That said it would be great if you could add py37 to appveyor only.

Fair enough

Thanks!


Files Bug

Description

File thumbnails show briefly and disappear...
Steps To Reproduce
Happens all the time
Requirements

e.g. Fix crash that occurs when...
Open Files and thumbnail flash for a split second and disappear

Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.3155
Log File
debug.log

Thank you for your feedback, this is by design. File icons are shown while the real thumbnail is still loading because sometimes it can take several seconds for them to load. The alternative is to show a blank box while the thumbnail is loading but we felt it would be better to display the icon.

Excel will eventually show up as the normal thumbnail, but the .PDF and Word (.docx) don't ever show up....
This can't be normal....
John

It is normal, PDFs and Word documents have thumbnails and excel doesn't. Files displays those thumbnails.

If you prefer the icon over the thumbnail, you can adjust this from Settings > Folders > Show thumbnails.

That fixed it!!  Thank you for your help and for the fast reply!!!
John


System exception issue

Hi,
when I place the card to the reader, there is a system exception about "System.Exception: Error: The smart card has been reset, so any shared state information is invalid."

Hi,
Post here sample code of your example

Hi,
We have not modified any code yet, except we input the MRZ info in the Main() by input from passport we have.
P.S. I have sent you Email with snapshot from VS.


Replace overflowing cast in src/elf_sections.rs

When using a higher half kernel the cast to u32 will tuncate the
section address which will return an incorrect elf section reference
to the caller. This is fixed by casting instead to a u64.

Thanks!


Apply lean startup to client projects

Hey @mauro-oto @cecilia-ombulabs @alanhala,
I added an article about our way to apply the lean startup methodology to our clients.
Please check it out and let me know if you have any feedback.
Thanks!

:+1:

@cecilia-ombulabs What do you think? Would you add anything else?

@etagwerker I think it's very clear.

@mauro-oto @cecilia-ombulabs Thanks!


Use double quotes on npm scripts

Hi, just quick shot. I hope it fixes #516

Coverage remained the same at 97.861% when pulling 3ecdb538d7feb2d18df364582eb1c45850bb8ae7 on nueko:patch-1 into 68fed51bd80b2567897788509fb61aef28d8cd1f on mwaylabs:master.

Yes! This fix it!


BUG: Rotation matrix is changed with scipy.spatial.transform.Rotation

Describe your issue.
Greetings,
I think I encountered some bug in processing a 3D rotation matrix.
I tried to retrieve Euler angles, but they made the wrong rotation.
Even when I retrieve the matrix back, it is altered incorrectly.
I think this failure has something to do with the internal storage of rotation objects as quaternions.
But I don't have expertise enough to debug through the source code, and I haven't found description in the documentation about conversion limitations between rotation formats, except gimbal lock.
There is a code example of the initial rotation matrix and the wrong output during conversions.
Even the first retrieved matrix rotmatrix11 (without conversions) is wrong.
I dubbed my question on StackOverflow
https://stackoverflow.com/questions/74265765/rotation-matrix-is-changed-with-scipy-spatial-transform-rotation
The rotation matrix seems correct in terms of orthonormality and the determinant.
Reproducing Code Example
from scipy.spatial.transform import Rotation as R
import numpy as np

rotmatrix1 = np.array([[ 0.86345719, -0.48700394,  0.13141101],
       [ 0.02362667, -0.221185  , -0.97494563],
       [-0.5038685 , -0.84492861,  0.1794775 ]])

print(f"rotmatrix1:\n  {rotmatrix1}")

r1 = R.from_matrix(rotmatrix1)
rotmatrix11 = r1.as_matrix()
angles1 = r1.as_euler("xyz")
print(f"angles1:  {angles1}")
print(f"rotmatrix11:\n  {rotmatrix11}")
print("-------------------------------")

r2 = R.from_euler("xyz", angles1)
rotmatrix2 = r2.as_matrix()
print(f"rotmatrix2:\n  {rotmatrix2}")

r3 = R.from_matrix(rotmatrix2)
angles2 = r3.as_euler("xyz")
print(f"angles2:  {angles2}")
r4 = R.from_euler("xyz", angles2)
rotmatrix3 = r4.as_matrix()
print(f"rotmatrix3:\n  {rotmatrix3}")

Error message
Output (all matrices are expected to be the same or at least do the same rotation job, but they differ):
rotmatrix1:
  [[ 0.86345719 -0.48700394  0.13141101]
 [ 0.02362667 -0.221185   -0.97494563]
 [-0.5038685  -0.84492861  0.1794775 ]]
angles1:  [ 2.91754028  0.33066594 -0.51471512]
rotmatrix11:
  [[ 0.82327846 -0.4171921  -0.3849199 ]
 [-0.46561791 -0.88418854 -0.03755775]
 [-0.32467296  0.21014609 -0.9221855 ]]
-------------------------------
rotmatrix2:
  [[ 0.82327846 -0.4171921  -0.3849199 ]
 [-0.46561791 -0.88418854 -0.03755775]
 [-0.32467296  0.21014609 -0.9221855 ]]
angles2:  [ 2.91754028  0.33066594 -0.51471512]
rotmatrix3:
  [[ 0.82327846 -0.4171921  -0.3849199 ]
 [-0.46561791 -0.88418854 -0.03755775]
 [-0.32467296  0.21014609 -0.9221855 ]]

SciPy/NumPy/Python version information
1.7.3 1.21.6 sys.version_info(major=3, minor=7, micro=15, releaselevel='final', serial=0)

UPD:  the example shows how the matrices differ from the original one.  Further manipulations with altered matrix don't change it.

@nboudrie and I will be taking on this issue.

rotmatrix1 is not a rotation matrix. It incorporates a reflection.
|2> np.linalg.det(rotmatrix1)
-1.0000000047994289

Unfortunately, we will not be able to take this issue on.

rotmatrix1 is not a rotation matrix. It incorporates a reflection.
|2> np.linalg.det(rotmatrix1)
-1.0000000047994289

Is there any approach to transfer the approximate rotmatrix into precise rotmatrix???
For example, let's say rotation_matrix_normalization??

A reflection is not an "approximate rotation", and as @rkern pointed out, rotmatrix1 has a reflection.  If you are going to use the Rotation class, you must ensure that the input to the class is actually a pure rotation matrix.
I'm going to close the issue, as the original problem is the result of an incorrect input.

Thank you for your clarification and for your time.
My knowledge gap didn't allow me to reveal it in time.
I was misled by some custom code snippets on the web which can handle negative determinants and stated that it was OK for rotation.
Now I see that in scipy documentation that determinant +1 is a mandatory condition.
Indeed reflection is quite likely to occur when I use PCA results as a basis for the rotational matrix.

Is something similar happening here? Could you explain what is happening?

Hello,
No, it's a different problem.
Actually, not a problem for the task because both sets of angles [ -150, -180, -120 ] and [ 30., 0., 60] give the same rotation matrix, and both rotate to the desired position.
https://math.stackexchange.com/questions/1972196/determining-the-unique-set-of-euler-angles-that-produce-a-set-of-3-left-hand
Euler angles are not unique for a particular task. They could be unique when they have some constraints.
The Scipy documentation mentions about optimizations somewhere (I can't find it now).
As for me, it produces a more optimal version of rotation because the object rotates with smaller angles.
For example, suppose you have some physical object with mass and momentum that you need to rotate quickly - then smaller angles are more helpful.
Besides, Euler angles suffer from Gimbal lock, but not for this example, otherwise you would have a warning.

Thank you very much for the quick response @akvilonBrown !
It does make sense for practical reasons to chose the smaller angle.
I noticed that this choosing of the smaller angle only happens when the second euler angle (that rotates around the y-ax in my case -- i was using the 'xyz' convention) is not constrained to the range <-90,90> degrees.
That is why in my second example above (where the second angle is -83)

euler_angles2 = [ -114, -83, - 68 ]
rotation2 = R.from_euler("xyz", euler_angles2,degrees=True)
print(rotation2.as_euler("xyz",degrees=True))

the euler angles remain the same.
Thank you once again for the help.


EndSession messages are not constructed correctly in SDLProtocol

In the sendEndSession function in SDLProtocol, the frameData field of the message that is sent is set to StartSession rather than EndSession.
- (void)sendEndSessionWithType:(SDLServiceType)serviceType sessionID:(Byte)sessionID {

	SDLProtocolHeader *header = [SDLProtocolHeader headerForVersion:self.version];
    header.frameType = SDLFrameType_Control;
    header.serviceType = serviceType;
    header.frameData = SDLFrameData_StartSession;
    header.sessionID = self.sessionID;

    SDLProtocolMessage *message = [SDLProtocolMessage messageWithHeader:header andPayload:nil];

    [self sendDataToTransport:message.data withPriority:serviceType];
}

Yep. We know. It's already been fixed in the pull request which is about to be incoming.


Clipping of rate function values in animations cause wiggle not to work properly

Using code from 06/10, I could not get the following simple wiggle scene to render properly:
class test(Scene):
    def construct(self):
        dot = Dot(color=YELLOW)
        self.add(dot)
        self.play(dot.shift, RIGHT, rate_func=lambda t: wiggle(t,6),run_time=5)
        self.wait(1)

The movement would occur in one direction as expected but not on the other. After digging into the code, I found the following lines in manimlib/animation/animation.py:
  def get_sub_alpha(self, alpha, index, num_submobjects):
        # TODO, make this more understanable, and/or combine
        # its functionality with AnimationGroup's method
        # build_animations_with_timings
        lag_ratio = self.lag_ratio
        full_length = (num_submobjects - 1) * lag_ratio + 1
        value = alpha * full_length
        lower = index * lag_ratio
        return np.clip((value - lower), 0 1) # <---- could this be -1 instead of 0?

Since the wiggle function outputs values in the [-1, 1] interval, I fail to see how it's supposed to work with the above clipping in place. While I understand that it's supposed to be a safety net against wild user-provided rate functions, I believe it's better to extend the clipping to the [-1, 1] interval.

 The "rate_funcs" have the "time" as domain and the "animation progress" as the image.
For example, we will say that r(t) is a "rate_func", so t is the time, which starts from 0 and ends at 1 (mandatorily) , and r(t) is between 0 and 1 but does not necessarily end or start at the extremes,
If you want to achieve the desired effect then you will have to control the image of the r(t) function, like this:
class test(Scene):
    def construct(self):
        def wiggle_shift(mob,alpha):
            mob.restore()
            mob.set_x(mob.get_x() + wiggle(alpha,6)*5)

        dot = Dot(color=YELLOW)
        dot.save_state()
        self.add(dot)
        self.play(
            UpdateFromAlphaFunc(dot,wiggle_shift),
            run_time=8
        )
        self.wait()

More info here (rate functions) and here (updater functions with alpha)

Extra comment (code of the first gif)
class PlotWiggle(Scene):
    def construct(self):
        axes = Axes(
            x_min=0,
            x_max=2,
            y_min=-1.3,
            y_max=1.3,
            x_axis_config={
                "unit_size":4
            },
            y_axis_config={
                "unit_size":2
            }
        )
        axes.move_to(ORIGIN)

        wigg = lambda n: lambda t: wiggle(t,n)
        functions = [wigg(n) for n in range(1,10)]
        tex_functions = VGroup(*[
            TextMobject(rf"\tt lambda t: wiggle(t,{n})")\
            .to_edge(DOWN).scale(1.5)
            for n in range(1,10)
        ])

        graphs = VGroup(*[
            axes.get_graph(
                func,
                x_min=0,
                x_max=1
            )
            for func in functions
        ])
        self.add(axes,graphs[0],tex_functions[0])
        self.wait(2)
        for i in range(1,len(graphs)):
            self.play(*[
                ReplacementTransform(mob[i-1],mob[i])
                for mob in [graphs,tex_functions]
            ])
            self.wait(2)

@Elteoremadebeethoven, thank you for your explanation and elaborate examples. I might well be wrong, but it seems to me that t, which is also called alpha in the library, is merely a parameter, with 0 meaning "here", and 1 meaning "there", as it is usual when we consider homotopies. If t does indeed represent time, then why not allow it to run backwards, if desired? Anyway, my bad if this is neither a bug nor a an improvement idea.


MaterialEditor: Material Preview does no update on deletion of shader

If you have a simple setup of a shader->surfacematerial, modify the shader and then delete it,
the preview does not update. Seems to be leaving around the last material rendered.
e.g. here the color of a shader was change to blue from (default) white, and deleted.

@jstone-lucasfilm This should be fixed now with the material update merge.

Thanks @kwokcb, and I'll close this issue out.


Reactivate tests for example_15

Follow-up to #540
Re-evalute after #502 is merged.

@saikishor it seems that we have a bug or a race condition in the spawner:
There is no rrbot_1.spawner_joint_state_broadcaster launched, but two for rrbot_2 with the obvious error
2: [spawner-10] [WARN] [1727282065.051104080] [rrbot_2.spawner_joint_state_broadcaster]: Controller already loaded, skipping load_controller
When I uncomment the rrbot_2_launch here, then the JSB for rrbot_1 is spawned as expected. Any ideas?

@saikishor it seems that we have a bug or a race condition in the spawner: There is no rrbot_1.spawner_joint_state_broadcaster launched, but two for rrbot_2 with the obvious error 2: [spawner-10] [WARN] [1727282065.051104080] [rrbot_2.spawner_joint_state_broadcaster]: �[93mController already loaded, skipping load_controller�[0m When I uncomment the rrbot_2_launch here, then the JSB for rrbot_1 is spawned as expected. Any ideas?

Ahh I believe I might know. Both the robots use the same controller manager here?

No, /rrbot_1/controller_manager vs /rrbot_2/controller_manager

The problem seemed to be the RegisterEventHandler. We don't need it here for the spawners (or in the demos at all?). Binary build fails until next release of ros2_control.


Fix bugs that prevented classic_cp tsptw from running

Here, the modifications are pretty much straightforward, but in the general case, it is always useful to add a little description of your changes in your PR.

Thanks, duly noted @3rdCore. Yes, the model runs end-to-end now.


Blue Mall - Loader's

The Fast loader is not getting the basic Loader (no inserter or request for them).
Express loader machine needed to be turned to get lubricant.

Fixed in v4.0.2.


Cleanup pokemon_catch_worker.py

Short Description:
Changes:

Use modern python instead of try-catch loops
Add more helper functions
Clarify variable names

@OpenPoGo/maintainers

👍 though I noticed that this file doesn't use the same logic for transferring as __init__.py. I'll open up another issue for that.

👍

👍

:+1:

Branch is out of date with master, please merge.

👍


[hystrix-dashboard] isCircuitBreakerOpen is assumed to be a boolean

isCircuitBreakeropen is assumed to be a boolean from the HystrixStream servlet, however these replace() operations assume that it is a string. There are certain instances where Turbine does not return back a String when isCircuitBreakerOpen is aggregated. This enforces the boolean to be a string first, regardless of what Turbine may/may not do.

NetflixOSS » Hystrix » Hystrix-pull-requests #201 SUCCESS
This pull request looks good

Thanks @chrisgray


build-marist-rhel77-s390x-2 offline : low on disk space

https://ci.adoptopenjdk.net/computer/build-marist-rhel77-s390x-2/

Cleared out some directories. Theres 47g free on the machine now


Apply some Clippy lints

See https://github.com/SergioBenitez/Figment/issues/102

This was merged in https://github.com/SergioBenitez/Figment/commit/ceb65c8e60ebd7fd55b3333d8692a72f3afe643c. Thank you again!


Release Cadence for JavaScriptServices?

Two Questions:
Is JavaScriptServices meant to be a Microsoft written and supported part of ASP.NET Core Only?
Is there a release cadence of JavaScriptServices with ASP.NET Core 1., 2.,... If so, is there a roadmap of features (like special React branch features similar to Angular Forms Validation)?

Is JavaScriptServices meant to be a Microsoft written and supported part of ASP.NET Core Only

It is Microsoft-written, and is part of ASP.NET Core.

Is there a release cadence of JavaScriptServices with ASP.NET Core 1., 2.,...

It's part of ASP.NET Core, so primarily it releases at the same time that ASP.NET Core does. That's when any substantial features will ship. For example, in the upcoming ASP.NET Core 2.0 release, the SPA templates are all dramatically updated (e.g., for the Angular template, we now have AoT compilation on by default).
In the specific case of SPA project templates, we might ship updates to those template in between ASP.NET Core releases. We'd do that if they were getting out-of-date (e.g., because of updates to third-party JS frameworks).


[v0.4] checklist to migrate to pytorch 0.4.0

I list all the places need to be modified. Feel free to add below.

[x] Replace .data  with .detach(). (#16, c3636b0d6c5ae75fd44537d704122bc3537ab79c)
[x] Update pytorch requirement and v0.3 branch in README.md. (2bbae4a9aad25d3b9dd182c0f859b68f888ae407)
[x] Use set_grad_enabled, enable_grad, no_grad as context-manager. (c3636b0d6c5ae75fd44537d704122bc3537ab79c)
[x] Use official LayerNorm instead. (247b3a381ae97802628cdc6168ab975b878dd3c2)
[x] Use clip_grad_norm_ instead. (247b3a381ae97802628cdc6168ab975b878dd3c2)
Fix shard in v0.4

Unfortunately, shard mechanism maybe not effective in PyTorch 0.4 version.


Add metadata extraction pivot

Are you a current Fivetran customer?

Lewis Davies, Prisma
What change(s) does this PR introduce?

My Stripe data has metadata columns in the card and invoice_line_items. I've added the metadata extraction macro to these models.
Did you update the CHANGELOG?

[ ] Yes

Does this PR introduce a breaking change?

[ ] Yes (please provide breaking change details below.)
[x] No  (please provide an explanation as to how the change is non-breaking below.)

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

[ ] Yes

Is this PR in response to a previously created Bug or Feature Request

[ ] Yes, Issue/Feature [link bug/feature number here]
[x] No

How did you test the PR changes?

[ ] BuildKite
[x] Local (please provide additional testing details below)

I added the relevant variables to my project and built the changed models locally. In my Stripe data card didn't have any values in metadata, but I was able to extract successfully extract values from invoice_line_item.
Select which warehouse(s) were used to test the PR

[ ] BigQuery
[ ] Redshift
[x] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Provide an emoji that best describes your current mood

:dancer:
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

FYI @fivetran-joemarkiewicz

Hi @LewisDavies thanks for bumping this! Our new sprint just started yesterday. I will review this as part of it 😄


Removal of twitter tags

Why where some twitter tags removed in https://github.com/kevinmarrec/nuxt-pwa-module/commit/6b09f539deb939d7e7b828ac38b226848e8dd8fd ?

Added Twitter Developer Docs to the release description 👍


validating video files using blocking hooks

Describe the bug
I want to validate my uploading video files using ffprobe and send appropriate response to user (for validation).
The documentation suggests using blocking hooks for this purpose(pre-create,pre-finish). However, when working with the pre-finish hook, I don't have access to the video file to perform validation.
and i get this error : "ERR_LOCK_TIMEOUT: failed to acquire lock before timeout"
but when i work with post-finish hook, everything works fine, but i can't send response to client in this step.
i implemented my hook as a webhook
Expected behavior
i want to access video files for validating with ffprobe in pre-finish hook
Setup details
Please provide following details, if applicable to your situation:

Operating System: macOS
Used tusd version: v2.3.0
Used tusd data storage: S3
Used tusd configuration: -s3-bucket mybucket -s3-endpoint http://minio:9000
--hooks-http http://host.docker.internal:8000/v1/upload/handle-tusd-hooks
--hooks-enabled-events post-finish,post-terminate,post-create,pre-create,pre-finish
Used tus client library: tus-js-client

Are you trying to send a GET request to the upload resource in the pre-finish hook? That won't work because the upload is still locking until pre-finish (and other request handling) finishes. You would have to fetch the resource from S3 directly.

Are you trying to send a GET request to the upload resource in the pre-finish hook? That won't work because the upload is still locking until pre-finish (and other request handling) finishes. You would have to fetch the resource from S3 directly.

but i can access file when the data storage is local disk.
it's weird for me that we don't have access to the file in pre-finish on s3, unlike the default back-and-storage?

What do you mean exactly when you say that you are "accessing the files"? Can you describe in more details what you are doing exactly? Or could you even provide an example to produce this issue? I am still not entirely sure what you are attempting here.

What do you mean exactly when you say that you are "accessing the files"? Can you describe in more details what you are doing exactly? Or could you even provide an example to produce this issue? I am still not entirely sure what you are attempting here.

as i mentioned before,i mean i can't read file with ffprobe (i get ERR_LOCK_TIMEOUT error)...
when the data storage is local disk the i can read the file with ffprobe on pre-finish hook, and everything works fine
but when the storage is s3, it returns ERR_LOCK_TIMEOUT error


why would my response be empty?

What is the expected behavior?
return a response
What is the actual behavior?
the response is always empty, but rawresponse is not
What steps will reproduce the problem?
i am using it in the most stripped down basic usecase. just like in your examples.
But the response is always empty, even tho the rawresponse is not.
the response is a correctly formatted json. no errors given.
Code:
$curl->response

response is always empty, even tho the rawresponse is not.
the response is a correctly formatted json. no errors given.

json response are always decoded by default. You can see the result using print_r($curl->response)
You can use $curl->setJsonDecoder(false); to disable the behavior. Eg:
$curl = new Curl();
$curl->setJsonDecoder(false);
$curl->get('https://www.example.com/');

Now $curl->response and $curl->getRawResponse() should be same.

But the response is json. That’s the problem.
It doesn’t seem to parse, even tho it is correct json.

Does the getRawResponse() parse when you call json_decode() manually to it?

it does indeed...
{"code":"INVALID_TOKEN","message":"INVALID_TOKEN: Invalid Access or Auth Token"}
print_r(json_decode($curl->getRawResponse()));
(
    [code] => INVALID_TOKEN
    [message] => INVALID_TOKEN: Invalid Access or Auth Token
)

That's strange. If you var_dump($curl->response) then what does it print?

/home/dev/web-apps/whmcs/modules/servers/ssl/common.php:155:null

seems to be an issue getting the default decoder.
If i manualy set it to this it works...
$curl->setJsonDecoder(function($response) {
				    return json_decode($response, false);
				});

Hi, can you provide the output of var_dump($curl); where the response is empty? (Please remove any private data).

It may also help to use $curl->verbose(); for debugging.

2023 update: There's now $curl->diagnose();.
More suggestions on https://github.com/php-curl-class/php-curl-class/blob/master/TROUBLESHOOTING.md


BarcodeHandler.from_file: Pass down parameters

While BarcodeHandler.__init__ has (optional) parameters to adjust barcode-related options (e.g. using non-CB SAM tags for the cell barcodes, like XC), the static from_file function called it without any of those parameters, making it impossible to adjust them when using that function.
This is resolved by adding an optional keyword argument dictionary parameters to the static function and passing all argument provided therein, if any, down to the __init__ call.
This addresses one out of two issues raised in https://github.com/herophilus/demuxalot/issues/23.

closes #26

LGTM.
I'd merge this, but github says I don't have write access (will figure this out soon)

@arogozhnikov: I guess this has something to do with the organisation settings of @herophilus. 🤷


Narrow Search returns nothing and ag hangs

After I start a narrow-search or narrow-search-current-project, a empty pane named search is opened, then nothing. Check the system, the ag process is there and never exit itself. Do you have any suggestion to debug this issue? Thanks.

Humm, maybe I need special care for windows? not sure.
Is that happen always you did narrow:search or happen occasionally?

Hello. I have the same issue as zhaocai. It happens every time I'm trying to perform narrow: search.

You use windows?

Yes, win 10. Ag works correctly in terminal(cmder).

I released tryout-fix for this issue.
Can some windows user try this version work?

apm install<EMAIL_ADDRESS>

Still nothing (just empty pane). But I have checked atom-fuzzy-grep plugin, it use ag for a search by default and works properly.  Also I have found that fuzzy-grep had the same issue with win. Maybe it should help?

My change for 0.10.1 is borrowed from atom-fuzzy-grep.
Did you tried narrow 0.10.1 and restart Atom then still not worked?

Oh but I didn't read the issue you pasted. Thanks ,it is very similar so will read cafrefully.

Humm, i read that PR and found it's fix is exactly same I introduced in narrow 0.10.1.
So want to make sure if 0.10.1 is really not working for windows.

Yes, I've noticed that fix is exactly the same, but have no idea why search doesn't work in narrow. I have tried narrow:search with 0.10.1 several times and it doesn't work.

OK thanks for checking again!!
Will check that issue again.
My environment is Mac and have no Windows machine.
So hope someone further narrow down the issue.
Maybe I can create small code snippet just output of ag to console.log to find out minimum working code.

Still my narrow is NOT exactly same option with fuzzy-grep, so we have chance.

Hello. Didn't use Atom for some time. In current version of narrow all commands works as expected on windows 10. I think you can close the issue.

Wow!! I was waiting for the feedback from windows user like this!!
Thans!!