Pluralsight Login Error

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.12.31. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2018.12.31

Before submitting an issue make sure you have:

[X] At least skimmed through the README, most notably the FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones
[X] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

D:\Plurasight>youtube-dl --sleep-interval 120 --verbose -o "Microsoft Azure Architect Technologies (AZ-300)/01 - %(playlist)s/%(chapter_number)s - %(chapter)s/%
(playlist_index)s - %(title)s.%(ext)s" https://app.pluralsight.com/library/courses/azure-multi-factor-authentication-implementing-managing/table-of-contents --u
sername "MyUserName" --password "MyPassword"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--sleep-interval', '120', '--verbose', '-o', 'Microsoft Azure Architect Technologies (AZ-300)/01 - %(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s', 'https://app.pluralsight.com/library/courses/azure-multi-factor-authentication-implementing-managing/table-of-contents', '--username', 'PRIVATE', '--password', 'PRIVATE']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.12.31
[debug] Python version 3.4.4 (CPython) - Windows-2012ServerR2-6.3.9600
[debug] exe versions: none
[debug] Proxy map: {}
[pluralsight:course] azure-multi-factor-authentication-implementing-managing: Downloading JSON metadata
[download] Downloading playlist: Implementing and Managing Azure Multi-factor Authentication
[pluralsight:course] playlist Implementing and Managing Azure Multi-factor Authentication: Collected 84 video ids (downloading 84 of them)
[download] Downloading video 1 of 84
[pluralsight] Downloading login page
[pluralsight] Logging in
ERROR: Unable to log in; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure
to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp89xz0pmt\build\youtube_dl\YoutubeDL.py", line 793, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp89xz0pmt\build\youtube_dl\extractor\common.py", line 507, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp89xz0pmt\build\youtube_dl\extractor\common.py", line 411, in initialize
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp89xz0pmt\build\youtube_dl\extractor\pluralsight.py", line 165, in _real_initialize
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp89xz0pmt\build\youtube_dl\extractor\pluralsight.py", line 215, in _login
youtube_dl.utils.ExtractorError: Unable to log in; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube
-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Description of your issue, suggested solution and other information
The issue started today, Jan, 1, 2019 as yesterday I was able to download using the exact same command line. The only difference is that on Dec 31, 2018 I was using youtube-dl 2018.12.17. I've updated to the latest version since I started getting this error. The Pluralsight URL login https://app.pluralsight.com/id/ is accessible and my credentials are working on the site

For any work on this you must provide account credentials.

Added credentials


Add a one-click 'save and insert' on the image picker

Suggested by @stevenheidel.

Is this worth the interface clutter? I think so, probably, given that the list of images can get onerously long on bigger sites.


Photo_to_Ascii

I want to work on this issue
Please assign me for this issue under gssoc'21

Will you make the GUI or is it CLI?

CLI


Support transformers for other components

Reading through the source it seems like transformers are only supported for Textbox-s. Would it be possible to extend support to other components like Struct-s?
I was wondering if simply adding in lib/components/Struct.js something like
    var transformer = opts.transformer || config.transformers[t.getTypeName(ctx.report.innerType)];
    if (transformer) {
      value = transformer.format(value);
    }
    return {
      // [...]
      onChange: function (value) {
        if (transformer) {
          value = transformer.parse(value);
        }
        this.onChange(value);
      }.bind(this),
      // [...]
    };

might do the trick, or if it'd just break everything :-) . I suspect there could be troubles with transformers for fields inside the struct, by I don't know the codebase by heart, so I ask. :-)
Thanks

Hi, interesting.
Technically I think it wouldn't be a problem. What's your use case for this?

Ciao Paolo, fammi sapere se la modifica che ho fatto ti basta.

Hi Giulio, sorry for not replying earlier, and thanks for the quick support. :-)
My use case is the following:
I have an object with a property, let's call it prop_0, which the user needs to modify. However, I don't want the user to edit prop_0 directly, but rather a set of properties, let's say prop_1, prop_2 and prop_3, which are then used to determine the value of prop_0.
There are of course multiple ways of accomplishing this. Right now, for instance, I'm doing it in a component which wraps the tcomb-form. However, I thought a transformer could be a cleaner, terser and more declarative solution.
I've quickly browsed through the commit but couldn't really tell if the new implementation can fit my use case (I just came back from a wedding and I'm a bit tipsy :-) ). Anyway, tomorrow I'll give a try to v0.4.7/8 and I'll let you know.
Thanks again!


[6.1][Diagnostics] Support "swift" style diagnostics at EOF

Cherry-pick #77755 into release/6.1
CCC info incoming

@swift-ci Please test


[FEAT] setup $PATH for root user

Using the role with the default variable values, ansible playbook running with become=true
$ gu install native-image
Error: Insufficient privileges for administration of the GraalVM installation.
NOTE: depending on your operating system, you may need to use OS tools to install or uninstall GraalVM components.

Trying to run as root:
$ sudo gu install native-image
sudo: gu: command not found

Hello @fkjaekel ,
I understand your problem. I run always into the same problem and fix it manually.
I think the Java 21 feature is more important for you. So I will work on this one first
And then go on with this one

Hi @fkjaekel ,
just for your information: With version 21 the gu tool is removed
https://github.com/oracle/graal/issues/6855

Hello @fkjaekel ,
please give me a hint how to solve your problem?
what can I do:
add symlinks to /root/.local/bin for all files in /opt/graalvm/jdk-XX.Y.Z/bin/*
-> my prefered solution because this should work over all distros and not only when using bash
or add the GRAALVM_HOME variable to the .bashrc of root and then add it to the path like this:
export GRAALVM_HOME='/opt/graalvm/jdk-XX.Y.Z'
export PATH=${GRAALVM_HOME}/bin:${PATH}

Both solution would not help in your case. and only when you switch to root completly.
let me demonstrate this for
# switch to root user explicitly
arl@fedora ~ $ sudo su -
[root@fedora ~]# java --version
openjdk 21 2023-09-19
OpenJDK Runtime Environment GraalVM CE 21+35.1 (build 21+35-jvmci-23.1-b15)
OpenJDK 64-Bit Server VM GraalVM CE 21+35.1 (build 21+35-jvmci-23.1-b15, mixed mode, sharing)
[root@fedora ~]# which java
/root/.local/bin/java
[root@fedora ~]# exit
logout
arl@fedora ~ $ sudo java --version
openjdk 17.0.8 2023-07-18
OpenJDK Runtime Environment (Red_Hat-<IP_ADDRESS>.7-1.fc37) (build 17.0.8+7)
OpenJDK 64-Bit Server VM (Red_Hat-<IP_ADDRESS>.7-1.fc37) (build 17.0.8+7, mixed mode, sharing)
arl@fedora ~ $ sudo which java
/usr/bin/java
arl@fedora ~ $ sudo ls -la  /usr/bin/java
lrwxrwxrwx. 1 root root 22 Sep  4 07:45 /usr/bin/java -> /etc/alternatives/java

What I don't want to interfere with the java alternatives

Hi,
Option 1 sounds fine. Since native-image is now included, I currently don't have other components to install after the GraalVM setup.
Thanks


Check if "undeclared" encoding is really not UTF-8 before converting it to UTF-8

When I have an email body which is in fact UTF-8 but the email lacks any charset declaration, you treat is as ASCII and encode it to UTF-8. Which is in sync with RFC 2045:

Default RFC 822 messages without a MIME Content-Type header are taken by this protocol to be plain text in the US-ASCII character set

So $message->getTextContent() gives me something like:
fÃ¶Ã¶bÃ¤r

Thunderbird does the same. However, php-mime-mail-parser's $parser->getMessageBody('text') keeps it as-is:
fööbär

I'm "fixing" this in my code by checking: When I utf8_decode() your output (i.e. "reverse" the conversion you did automatically), is it still UTF-8?:
if (mb_check_encoding(utf8_decode($message->getTextContent()), 'UTF-8'))
{
    $text = utf8_decode($message->getTextContent());
}
else
{
    $text = $message->getTextContent();
}

I recommend overriding the default charset in use in that case:
$message->getHtmlPart()->setCharsetOverride('utf-8');
echo $message->getHtmlContent();

You can read more about default charsets here: https://github.com/zbateson/mail-mime-parser/issues/110

That won't work in that case, cause in advance I don't know the charset either ;-)

Yup, there's no easy fix.  If you want to use mb_check_encoding yourself though, you're free to do so.  There's no 'good way' of knowing if a charset is 'something' without some indication though, all that function does is check that bytes within the passed string 'pass' as the charset you give it, it doesn't know if that's the original charset.

Yes, indeed. As far as I see it, mb_check_encoding() just checks if each byte (or byte sequence) is a formally valid character. So mb_check_encoding('fÃ¶Ã¶bÃ¤r', 'UTF-8') returns true. The only thing that mb_check_encoding() saves you from is totally invalid characters, as mentioned at https://github.com/php-mime-mail-parser/php-mime-mail-parser/issues/329
So I'm no longer using the code I posted here. Therefore I'm closing this.


Desktop shortcut

@martindsouza, I created a batch file for Windows that makes it much easier to start the project.
Basically by clicking on the shortcut:

The command line opens and asks for the project name:

When hitting Enter, the batch file calls for npm start -- --project=%vProject%, vProject being the previously entered user input.
What do you think? Could it be done for Mac/Linux easily?

Added OSx/Linux bash script.


Pass custom user-specific Configuration to BalancedDistcp and Coercer

@sriram-r Please review

Usage
Pail source = Pail.create(source);
Pail target = Pail.create(target);
CopyArgs args = new CopyArgs();
args.conf = customConf;
target.absorb(source, args);

Do the tests pass with the distcp and coerce overloads removed?

If so, this, LGTM. Thanks.

Yes, all tests pass locally.

Verified locally. All pass. Thanks.

BTW, running $ sbt test doesn't run JUnit tests :( I'll send it in a patch for that soon.


lefthook's location is ignored in the hooks in a monorepo

:wrench: Summary

The lefthook.yml supports the root: directive in order to run the hooks from a separate monorepo folder. However it does not pass this information to the hooks at all. So the hooks end up doing this:
  dir="$(git rev-parse --show-toplevel)"
  osArch=$(echo "$(uname)" | tr '[:upper:]' '[:lower:]')
  cpuArch=$(echo "$(uname -m)" | sed 's/aarch64/arm64/')

  if lefthook -h >/dev/null 2>&1
  then
    eval lefthook $@
  elif test -f "$dir/node_modules/lefthook/bin/index.js"
  then
    eval "\"$dir/node_modules/lefthook/bin/index.js\" $@"
  elif test -f "$dir/node_modules/@evilmartians/lefthook/bin/lefthook_${osArch}_${cpuArch}/lefthook"
  then
    eval "\"$dir/node_modules/@evilmartians/lefthook/bin/lefthook_${osArch}_${cpuArch}/lefthook\" $@"
  elif test -f "$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook_${osArch}_${cpuArch}/lefthook"
  then
    eval "\"$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook_${osArch}_${cpuArch}/lefthook\" $@"
  elif bundle exec lefthook -h >/dev/null 2>&1
  then
    bundle exec lefthook $@
  elif yarn lefthook -h >/dev/null 2>&1
  then
    yarn lefthook $@
  elif pnpm lefthook -h >/dev/null 2>&1
  then
    pnpm lefthook $@
  elif npx @evilmartians/lefthook -h >/dev/null 2>&1
  then
    npx @evilmartians/lefthook $@
  else
    echo "Can't find lefthook in PATH"
  fi

git rev-parse --show-toplevel only gets the root of the whole repository. nowhere do the hooks account for lefthook being installed in a deeper nested directory. this is a problem because lefthook can be part of a monorepo which is not just a top level javascript project. for example:
./JS-project/
./go-project/
./ios-project/
./android-project/

No top level package.json is desirable here, and lefthook lives inside of ./js-project/ but tells the hooks to check ./node_modules/ rather than /JS-project/node_modules which is where it actually lives. as a fallback condition it tries to hack using npx lefthook which is even worse because it retrieves some random cached version somewhere globally on the machine, which is even worse and causes version mismatches.
Lefthook version

1.3.3
Possible Solution

The hooks generated need to know where to look for lefthook in a monorepo. Add a directive to point to where lefthook is installed in the monorepo and propagate it to the hooks. For example lefthook_location: "my-js-dir/. Then pass that to the generated hooks as a param.

For the npx fallback, this is an unrelated bug but it also needs to be fixed. Change:
npx @evilmartians/lefthook $@
to:
npx @evilmartians/lefthook@latest $@

The former is incorrect and will always get a globally installed random version of lefthook that was cached on the user's machine at some random point in time. The latter will always get the latest released version with bugfixes.

The hooks generated need to know where to look for lefthook in a monorepo. Add a directive to point to where lefthook is installed in the monorepo and propagate it to the hooks. For example lefthook_location: "my-js-dir/. Then pass that to the generated hooks as a param.

Hey! I guess the problem is - it doesn't look obvious that root parameter only changes the cwd for the commands and scripts. If I properly understand - the problem is the following:

Your lefthook.yml lives in ./js-project/lefthook.yml
Your git root is in ./
You don't need to run hooks for other subprojects but you want a project root for lefthook to be in js-project

lefthook.yml is supposed to locate in the git root directory. Your case looks like a feature request.
Also things will become a bit more complicated if you have js1-project and js2-project with both having different versions of lefthook. How should the global git hooks work then? What if hooks interfere, how to resolve them? If we could find a solution I will consider adding this feature.
So, the main problem here is - for a monorepo with multiple projects we still have one set of git hooks, so we anyway need one reference for a lefthook executable.
BTW, do you have git modules? In this case things might be different but unfortunately I haven't tested this setup for a long time.

Thanks for responding! Yeah, your description is correct.

if you have js1-project and js2-project with both having different versions of lefthook. How should the global git hooks work then? What if hooks interfere, how to resolve them? If we could find a solution I will consider adding this feature.

I assume the easiest and most performant solution is to support a custom location directive in lefthook.yml for example lefthook_location:. This would avoid conflicts, since only one version of lefthook could be resolved through this directive.
Also aside from this stuff note #2 above as well as if that worked correctly I probably never would've even noticed this. But it happened to install a bugged version of lefthook that got patched a while ago which was sitting in my npx cache.


Linkage error in Visual Studio 2019 (unicharset_training.lib)

Hi! I am trying to build the current version of Tesseract on the master (2021/01/31), but I get a linkage error.
My Environment
Windows 10 x64
Visual Studio 2019 16.8.4
cmake-3.19.4-win64-x64
Leptonica 1.81.0 (master version)
With this setting in Debug mode (The same error happens.in Release mode):
Compilacion tesseract
-- Setting policy CMP0091 to NEW
-- The C compiler identification is MSVC 19.28.29336.0
-- The CXX compiler identification is MSVC 19.28.29336.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Configuring tesseract version 5.0.0-alpha-20201231-188-g4902e...
-- IPO / LTO supported
-- Performing Test COMPILER_SUPPORTS_MARCH_NATIVE
-- Performing Test COMPILER_SUPPORTS_MARCH_NATIVE - Failed
-- target changed from "" to "auto"
-- Detected CPU: haswell
-- Performing Test check_cxx_compiler_flag__arch_AVX2
-- Performing Test check_cxx_compiler_flag__arch_AVX2 - Success
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find LibArchive (missing: LibArchive_LIBRARY LibArchive_INCLUDE_DIR)
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - not found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - not found
-- Looking for include file cairo/cairo-version.h
-- Looking for include file cairo/cairo-version.h - not found
-- Looking for include file CL/cl.h
-- Looking for include file CL/cl.h - not found
-- Looking for include file OpenCL/cl.h
-- Looking for include file OpenCL/cl.h - not found
-- Looking for include file pango-1.0/pango/pango-features.h
-- Looking for include file pango-1.0/pango/pango-features.h - not found
-- Looking for include file tiffio.h
-- Looking for include file tiffio.h - not found
-- Looking for include file unicode/uchar.h
-- Looking for include file unicode/uchar.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long long int
-- Check size of long long int - done
-- Check size of wchar_t
-- Check size of wchar_t - done
--
-- General configuration for Tesseract 5.0.0-alpha-20201231-188-g4902e
-- --------------------------------------------------------
-- Build type: Debug
-- Compiler: MSVC
-- Used standard: C++17
-- CXX compiler options: /DWIN32 /D_WINDOWS /W3 /GR /EHsc /utf-8 /MP /Zi /Ob0 /Od /RTC1 /W0 /bigobj
-- Compile definitions = HAVE_AVX;HAVE_AVX2;HAVE_FMA;HAVE_SSE4_1;_CRT_SECURE_NO_WARNINGS;CMAKE_BUILD;HAVE_CONFIG_H
-- Linker options: /machine:x64
-- Install directory: W:/Archivos_de_Programa/MSVC2019/x64/tesseract/DEBUG
-- Architecture flags: /arch:AVX2
-- Vector unit list: sse2;sse3;ssse3;sse4.1;sse4.2;avx;fma;bmi2;avx2
-- HAVE_AVX: ON
-- HAVE_AVX2: ON
-- HAVE_FMA: ON
-- HAVE_SSE4_1: ON
-- MARCH_NATIVE_OPT:
-- HAVE_NEON: FALSE
-- Link-time optimization:
-- --------------------------------------------------------
-- Build with sw [SW_BUILD]: OFF
-- Build with openmp support [OPENMP_BUILD]: OFF
-- Disable disable graphics (ScrollView) [GRAPHICS_DISABLED]: OFF
-- Disable the legacy OCR engine [DISABLED_LEGACY_ENGINE]: OFF
-- Build training tools [BUILD_TRAINING_TOOLS]: ON
-- Build tests [BUILD_TESTS]: OFF
-- Use system ICU Library [USE_SYSTEM_ICU]: OFF
-- --------------------------------------------------------
--
-- Check size of void *
-- Check size of void * - done
-- Downloading latest ICU binaries
-- [download 100% complete]
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
CMake Warning (dev) at src/training/CMakeLists.txt:62 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable ICU_ROOT is set to:

    P:/Compilados/x32-x64/TRABAJO_MSVC2019_x64/tesseract/builds/debug/src/training/icu/icu

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found the following ICU libraries:
--   uc (required)
--   i18n (required)
-- Found ICU: P:/Compilados/x32-x64/TRABAJO_MSVC2019_x64/tesseract/builds/debug/src/training/icu/icu/include (found suitable version "56.1", minimum required is "52.1")
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: P:/Compilados/x32-x64/TRABAJO_MSVC2019_x64/tesseract/builds/debug

Microsoft (R) Program Maintenance Utility Version 14.28.29336.0
Copyright (C) Microsoft Corporation.  All rights reserved.

I get this linking error :-(

Scanning dependencies of target set_unicharset_properties
[ 91%] Building CXX object src/training/CMakeFiles/set_unicharset_properties.dir/set_unicharset_properties.cpp.obj
set_unicharset_properties.cpp
[ 92%] Linking CXX executable ..\..\bin\set_unicharset_properties.exe
LINK: command "C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\set_unicharset_properties.dir\objects1.rsp /out:..\..\bin\set_unicharset_properties.exe /implib:..\..\bin\set_unicharset_properties.lib /pdb:P:\Compilados\x32-x64\TRABAJO_MSVC2019_x64\tesseract\builds\release\bin\set_unicharset_properties.pdb /version:0.0 /machine:x64 /INCREMENTAL:NO /subsystem:console unicharset_training.lib common_training.lib ..\..\tesseract50.lib Ws2_32.lib W:\Archivos_de_Programa\MSVC2019\x64\leptonica\RELEASE\lib\leptonica-1.81.0.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:..\..\bin\set_unicharset_properties.exe.manifest" failed (exit code 1120) with the following output:
unicharset_training.lib(validate_myanmar.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl icu_56::UMemory::operator delete(void *)" (__imp_??3UMemory@icu_56@@SAXPEAX@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl icu_56::UMemory::operator delete(void *)" (__imp_??3UMemory@icu_56@@SAXPEAX@Z)
unicharset_training.lib(icuerrorcode.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl icu_56::UMemory::operator delete(void *)" (__imp_??3UMemory@icu_56@@SAXPEAX@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl icu_56::UMemory::operator delete(void *)" (__imp_??3UMemory@icu_56@@SAXPEAX@Z)
unicharset_training.lib(validator.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl icu_56::UMemory::operator delete(void *)" (__imp_??3UMemory@icu_56@@SAXPEAX@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl icu_56::ErrorCode::ErrorCode(void)" (__imp_??0ErrorCode@icu_56@@QEAA@XZ) referenced in function "public: __cdecl tesseract::IcuErrorCode::IcuErrorCode(void)" (??0IcuErrorCode@tesseract@@QEAA@XZ)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl icu_56::ErrorCode::ErrorCode(void)" (__imp_??0ErrorCode@icu_56@@QEAA@XZ)
unicharset_training.lib(validator.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl icu_56::ErrorCode::ErrorCode(void)" (__imp_??0ErrorCode@icu_56@@QEAA@XZ)
unicharset_training.lib(validate_myanmar.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl icu_56::ErrorCode::ErrorCode(void)" (__imp_??0ErrorCode@icu_56@@QEAA@XZ)
unicharset_training.lib(validate_myanmar.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __cdecl icu_56::ErrorCode::errorName(void)const " (__imp_?errorName@ErrorCode@icu_56@@QEBAPEBDXZ)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __cdecl icu_56::ErrorCode::errorName(void)const " (__imp_?errorName@ErrorCode@icu_56@@QEBAPEBDXZ)
unicharset_training.lib(icuerrorcode.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __cdecl icu_56::ErrorCode::errorName(void)const " (__imp_?errorName@ErrorCode@icu_56@@QEBAPEBDXZ)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __cdecl icu_56::ErrorCode::errorName(void)const " (__imp_?errorName@ErrorCode@icu_56@@QEBAPEBDXZ)
unicharset_training.lib(validator.cpp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __cdecl icu_56::ErrorCode::errorName(void)const " (__imp_?errorName@ErrorCode@icu_56@@QEBAPEBDXZ)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol u_islower_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol u_isupper_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol u_isdigit_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol u_isalpha_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2001: unresolved external symbol u_isalpha_56
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol u_ispunct_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol u_charDirection_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol u_charMirror_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol u_tolower_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol u_toupper_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol uscript_getName_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(unicharset_training_utils.cpp.obj) : error LNK2019: unresolved external symbol uscript_getScript_56 referenced in function "void __cdecl tesseract::SetupBasicProperties(bool,bool,class tesseract::UNICHARSET *)" (?SetupBasicProperties@tesseract@@YAX_N0PEAVUNICHARSET@1@@Z)
unicharset_training.lib(validator.cpp.obj) : error LNK2001: unresolved external symbol uscript_getScript_56
unicharset_training.lib(validate_myanmar.cpp.obj) : error LNK2001: unresolved external symbol uscript_getScript_56
unicharset_training.lib(icuerrorcode.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl icu_56::ErrorCode::~ErrorCode(void)" (__imp_??1ErrorCode@icu_56@@UEAA@XZ) referenced in function "public: virtual __cdecl tesseract::IcuErrorCode::~IcuErrorCode(void)" (??1IcuErrorCode@tesseract@@UEAA@XZ)
unicharset_training.lib(icuerrorcode.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: signed char __cdecl icu_56::ErrorCode::isFailure(void)const " (__imp_?isFailure@ErrorCode@icu_56@@QEBACXZ) referenced in function "public: virtual __cdecl tesseract::IcuErrorCode::~IcuErrorCode(void)" (??1IcuErrorCode@tesseract@@UEAA@XZ)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: enum UErrorCode __cdecl icu_56::ErrorCode::reset(void)" (__imp_?reset@ErrorCode@icu_56@@QEAA?AW4UErrorCode@@XZ) referenced in function "int __cdecl tesseract::FullwidthToHalfwidth(int)" (?FullwidthToHalfwidth@tesseract@@YAHH@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl icu_56::ErrorCode::assertSuccess(void)const " (__imp_?assertSuccess@ErrorCode@icu_56@@QEBAXXZ) referenced in function "int __cdecl tesseract::FullwidthToHalfwidth(int)" (?FullwidthToHalfwidth@tesseract@@YAHH@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl icu_56::UnicodeString::char32At(int)const " (__imp_?char32At@UnicodeString@icu_56@@QEBAHH@Z) referenced in function "void __cdecl tesseract::NormalizeUTF8ToUTF32(enum tesseract::UnicodeNormMode,enum tesseract::OCRNorm,char const *,class std::vector<int,class std::allocator<int> > *)" (?NormalizeUTF8ToUTF32@tesseract@@YAXW4UnicodeNormMode@1@W4OCRNorm@1@PEBDPEAV?$vector@HV?$allocator@H@std@@@std@@@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl icu_56::UnicodeString::moveIndex32(int,int)const " (__imp_?moveIndex32@UnicodeString@icu_56@@QEBAHHH@Z) referenced in function "void __cdecl tesseract::NormalizeUTF8ToUTF32(enum tesseract::UnicodeNormMode,enum tesseract::OCRNorm,char const *,class std::vector<int,class std::allocator<int> > *)" (?NormalizeUTF8ToUTF32@tesseract@@YAXW4UnicodeNormMode@1@W4OCRNorm@1@PEBDPEAV?$vector@HV?$allocator@H@std@@@std@@@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl icu_56::UnicodeString::length(void)const " (__imp_?length@UnicodeString@icu_56@@QEBAHXZ) referenced in function "int __cdecl tesseract::FullwidthToHalfwidth(int)" (?FullwidthToHalfwidth@tesseract@@YAHH@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl icu_56::UnicodeString::UnicodeString(int)" (__imp_??0UnicodeString@icu_56@@QEAA@H@Z) referenced in function "int __cdecl tesseract::FullwidthToHalfwidth(int)" (?FullwidthToHalfwidth@tesseract@@YAHH@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl icu_56::UnicodeString::UnicodeString(char const *)" (__imp_??0UnicodeString@icu_56@@QEAA@PEBD@Z) referenced in function "int __cdecl tesseract::FullwidthToHalfwidth(int)" (?FullwidthToHalfwidth@tesseract@@YAHH@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl icu_56::UnicodeString::UnicodeString(char const *,char const *)" (__imp_??0UnicodeString@icu_56@@QEAA@PEBD0@Z) referenced in function "void __cdecl tesseract::NormalizeUTF8ToUTF32(enum tesseract::UnicodeNormMode,enum tesseract::OCRNorm,char const *,class std::vector<int,class std::allocator<int> > *)" (?NormalizeUTF8ToUTF32@tesseract@@YAXW4UnicodeNormMode@1@W4OCRNorm@1@PEBDPEAV?$vector@HV?$allocator@H@std@@@std@@@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl icu_56::UnicodeString::~UnicodeString(void)" (__imp_??1UnicodeString@icu_56@@UEAA@XZ) referenced in function "int __cdecl tesseract::FullwidthToHalfwidth(int)" (?FullwidthToHalfwidth@tesseract@@YAHH@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) private: wchar_t __cdecl icu_56::UnicodeString::doCharAt(int)const " (__imp_?doCharAt@UnicodeString@icu_56@@AEBA_WH@Z) referenced in function "int __cdecl tesseract::FullwidthToHalfwidth(int)" (?FullwidthToHalfwidth@tesseract@@YAHH@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol u_isUWhiteSpace_56 referenced in function "bool __cdecl tesseract::IsUTF8Whitespace(char const *)" (?IsUTF8Whitespace@tesseract@@YA_NPEBD@Z)
unicharset_training.lib(validate_grapheme.cpp.obj) : error LNK2001: unresolved external symbol u_isUWhiteSpace_56
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol u_isISOControl_56 referenced in function "bool __cdecl tesseract::IsInterchangeValid7BitAscii(int)" (?IsInterchangeValid7BitAscii@tesseract@@YA_NH@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class icu_56::Normalizer2 const * __cdecl icu_56::Normalizer2::getInstance(char const *,char const *,enum UNormalization2Mode,enum UErrorCode &)" (__imp_?getInstance@Normalizer2@icu_56@@SAPEBV12@PEBD0W4UNormalization2Mode@@AEAW4UErrorCode@@@Z) referenced in function "void __cdecl tesseract::NormalizeUTF8ToUTF32(enum tesseract::UnicodeNormMode,enum tesseract::OCRNorm,char const *,class std::vector<int,class std::allocator<int> > *)" (?NormalizeUTF8ToUTF32@tesseract@@YAXW4UnicodeNormMode@1@W4OCRNorm@1@PEBDPEAV?$vector@HV?$allocator@H@std@@@std@@@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class icu_56::UnicodeString __cdecl icu_56::Normalizer2::normalize(class icu_56::UnicodeString const &,enum UErrorCode &)const " (__imp_?normalize@Normalizer2@icu_56@@QEBA?AVUnicodeString@2@AEBV32@AEAW4UErrorCode@@@Z) referenced in function "void __cdecl tesseract::NormalizeUTF8ToUTF32(enum tesseract::UnicodeNormMode,enum tesseract::OCRNorm,char const *,class std::vector<int,class std::allocator<int> > *)" (?NormalizeUTF8ToUTF32@tesseract@@YAXW4UnicodeNormMode@1@W4OCRNorm@1@PEBDPEAV?$vector@HV?$allocator@H@std@@@std@@@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class icu_56::Transliterator * __cdecl icu_56::Transliterator::createInstance(class icu_56::UnicodeString const &,enum UTransDirection,enum UErrorCode &)" (__imp_?createInstance@Transliterator@icu_56@@SAPEAV12@AEBVUnicodeString@2@W4UTransDirection@@AEAW4UErrorCode@@@Z) referenced in function "int __cdecl tesseract::FullwidthToHalfwidth(int)" (?FullwidthToHalfwidth@tesseract@@YAHH@Z)
unicharset_training.lib(normstrngs.cpp.obj) : error LNK2001: unresolved external symbol "public: virtual __cdecl icu_56::UnicodeString::~UnicodeString(void)" (??1UnicodeString@icu_56@@UEAA@XZ)
unicharset_training.lib(validate_grapheme.cpp.obj) : error LNK2019: unresolved external symbol u_hasBinaryProperty_56 referenced in function "protected: virtual enum tesseract::Validator::CharClass __cdecl tesseract::ValidateGrapheme::UnicodeToCharClass(int)const " (?UnicodeToCharClass@ValidateGrapheme@tesseract@@MEBA?AW4CharClass@Validator@2@H@Z)
unicharset_training.lib(validate_grapheme.cpp.obj) : error LNK2019: unresolved external symbol u_charType_56 referenced in function "protected: virtual enum tesseract::Validator::CharClass __cdecl tesseract::ValidateGrapheme::UnicodeToCharClass(int)const " (?UnicodeToCharClass@ValidateGrapheme@tesseract@@MEBA?AW4CharClass@Validator@2@H@Z)
..\..\bin\set_unicharset_properties.exe : fatal error LNK1120: 34 unresolved externals
NMAKE : fatal error U1077: 'P:\Desarrollo\cmake\bin\cmake.exe' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.

Any help? Thanks!
DJuego

Building training tools without sw is not supported on windows.

Thanks for the hint, @zdenop!
I was puzzled because two weeks ago I did not have this problem (17/01/2021). I'm sure it's due to the latest changes of the tesseract master in the CMake files.
I was able to solve it by adding the flag: -D BUILD_TRAINING_TOOLS:BOOL=OFF
I was unaware of the dependence on SW. In fact I did not know what SW (SW (Software Network https://software-network.org/)) was. I will try to build the training tools later,  but for now there is no urgency.
Another important difference that I have detected from past builds is that now it does not generate a .dll file (tesseract50d.dll, tesseract50.dll). I don't know if this is intentional or not, maybe I should create an issue about it? Maybe it's something temporary or I should activate something that wasn't necessary before...
DJuego

DO NOT USE master if you do not follow changes in it! You stable release instead.
master is development environment for tesseract developers/contributors so there are a lot of changes without any documentation (should be fixed on release).
Issue tracker is not support forums.


test jenkins

[/ ] This is not a new algorithm. See readme.
Doneness:
[ /] Build is okay - I made sure that this change is building successfully.
[ /] No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of.
[ /] Branching - If this is not a hotfix, I am making this request against develop branch

lala


The instance segmentation performance rely heavily on keypoints performance

Pose2Seg model provided by author was used to generate instance segmentation on Crowdhuman dataset with the input of keypoints generated by AlphaPose model.  According to the visualization result, the instance segmentation is not so good compared to mask rcnn model because the performance of instance segmentation of Pose2Seg  depended heavily on keypoints performance.
The keypoints visualization:

The instance segmentation visualization:

I was amazed when I saw the visualization of instance segmentation in COCO or COHuman dataset. But when using another model to generate keypoints, the result is not good.

do you have the Mask RCNN inferred version of this image? just to eyeball both? cause indeed the pixel segmentation you have with pose2seg is not super impressive regarding details, but it does manage occlusion pretty well I would say, no?

Pose2Seg model provided by author was used to generate instance segmentation on Crowdhuman dataset with the input of keypoints generated by AlphaPose model. According to the visualization result, the instance segmentation is not so good compared to mask rcnn model because the performance of instance segmentation of Pose2Seg depended heavily on keypoints performance.
The keypoints visualization:

The instance segmentation visualization:

I was amazed when I saw the visualization of instance segmentation in COCO or COHuman dataset. But when using another model to generate keypoints, the result is not good.

Hi!
I'm interested in the work you have done.
Could you show me some details about how to run it on my own set of images?
I'm very grateful to you!


how to set badge color ?

if i use paint.setColor(X) it change the border color. i want to set the entire badge color. how can i do this ?

Are you looking at the example CustomBadgeShape?
Because this is only the border color for the custom shape.
In most cases you'd just use a simple BadgeShape and control the color with a BadgeDrawable  implementation like CountBadge .

currently i'm using this code:
return new CountBadge.Factory(context, new MPBadgeView(context, SCALE_FACTOR, GRAVITY));
you're telling i've to use a code-like this?
return new CountBadge.Factory(context, new BadgeShape(context, SCALE_FACTOR, GRAVITY) {             @Override             protected void onDraw(Canvas canvas, Rect region, Paint paint) {                 paint.setColor(Color.RED)             }         });

I don't know how you implemented MPBadgeView.
But most likely new CountBadge.Factory(new BadgeShape(context, SCALE_FACTOR, GRAVITY), Color.RED, aTextColor) might be working for you. The aTextColor you'd have to define as well. The badgeTextColor(Context) is not public.

yes, graet! your solution solved my problems! thanks again.
PS. very interesting library.


Decrease depth to prevent robot falling over

regenerate world with newest webots version

Signed-off-by: Adrian Matejov<EMAIL_ADDRESS>

@mrshu This should help but I'm afraid it is once again some webots problem with physics.

Yeah, it should not cause any hassle. Merging.


refactor: remove get_key_type decorator

its always better to explicitly choose require_invoice_key or require_admin_key makes the code more readable and you always know upfront which key you need.
breaking change for 1.0.0

Just curious:

does a require_invoice_key work if an admin key is provided?
what extension are using this decorator?

yes
all of them, i think it was there from the start of lnbits

I guess the JMeter tests will fail until we update all the extensions.
Approved but, we should only merge this PR after we take care of the extensions.


[Fundamentals] Rename master branch to main

Main branch
An inclusive new default
New repos created within Microsoft orgs now have the default branch name of 'main'.
Teams are encouraged to rename their default branches if they are still using the 'master' branch name. This is an important, but not urgent, change.
See more:
https://repos.opensource.microsoft.com/

Created main branch, taking history from master. Updated release instructions to refer to main, and updated the release build to point to main.
Will wait to delete the master branch until we can confirm next release that everything is working fine.
FYI @SomkaPe @Avery-Dunn - Releases should be from main moving forward.


[logging] remove aInstance as input parameter to logging macros

Added new changes (adding openthread/logging.h as a seperate commit to help with review.
@jwhui can you please help squash before merge. Thanks

@abtink, looks great, thanks.


Clean up data before test

:nut_and_bolt: Description
This test was hitting our precondition that only 6 projects exist-- when we attempted to create data for this test, it collided with 4 existing projects on the inplace box.
I don't see those projects being created programmatically in our code, so I'm assuming someone did it manually?
JIC, we're now blowing away existing projects before running the test. This should be less troublesome when we remove the precondition.

ℹ rebase, then merge.

Nah, won't rebase. Tested this locally against acceptance, and it works beautifully:


Make Hue, Sat, and Alpha components respond to touch start

This change allows you to directly tap select the desired value of the saturation field or sliders. Currently these components only update if you touch and drag around a little, making precise input difficult. Part work for #69
Tested on an iPhone.

Perfect! Please run gulp dist and I can merge this in

Updated the lib files with gulp dist, but build/bundle.js was showing 14940 insertions(+), 416 deletions(-). Seems like all of lodash was getting included, so I didn't include that file in this iteration.

Thanks!


Add the ability to use the schedule APIs from the rust SDK library client.

What was changed
Added the ability to use the schedule APIs from the rust SDK client library.
Why?
Because there's currently no way to create, describe, delete, update or patch the schedule.

Closes #555

How was this tested:
I tested it using a client in this example library: https://github.com/cosm-eng/temporal-samples-rust/blob/main/schedule/src/bin/client.rs

Any docs updates needed?
Seeing as there aren't many docs, no ;)?

Hi @bdbelevate thanks for contributing!
So this is pretty close to the direct gRPC calls themselves, and I've mentioned in https://github.com/temporalio/sdk-core/issues/555 that you can just use those directly if desired.
If we want to introduce a higher-level API that's nice too, but I think we probably want to do it in a manner similar to the one that's been added to the Go SDK which provides more familiar types than the stuff directly from the protos: https://github.com/temporalio/sdk-go/blob/269b55b8d184849209c6973fe913a427fafc07e3/internal/schedule_client.go
Except we can probably do better than the Go client as well, with nicer enums, etc.
If you're willing to take that on that'd be amazing! Otherwise I'd say it probably makes sense to just use the raw client directly for now.

Great. I'll go down that path then. I started with that originally, but when I saw how it was different than the Go client I worried that you were keeping them different for a reason.


Droplet create failure

I am receiving the error from digital_ocean plugin:
ERROR: DropletKit::FailedCreate: ["643099"] are invalid key identifiers for Droplet creation.
The POST command using curl is working fine. Knife plugin worked fine during the last month. So, it looks like some recent changes in API which cause the problem.

After some research I have found that DO have changed the behavior of ssh_keys parameter in droplet creation API. It looks like it is not accepting a single element array anymore. So, I have tweaked the line 203 in digital_ocean_droplet_create.rb to
ssh_keys: locate_config_value(:ssh_key_ids),#.split(/, ?/),

The proposed fix is not a fix, but it is working for my case. It looks like DO do not care too much regarding the stability of API.

It looks like the issue appeared after the recent release https://developers.digitalocean.com/changelog/api-v2/new-droplet-create-validations/ so it may be related to String -> Int conversion in DO API

Hi @pkorsukov, I can't replicate this via curl, string and non-string ssh key ids work:
curl -X POST "https://api.digitalocean.com/v2/droplets" -d '{"name":"e11","region":"ams3","size":"2gb","image":"ubuntu-14-04-x64","ssh_keys":['244443']}' -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json"

curl -X POST "https://api.digitalocean.com/v2/droplets" -d '{"name":"e11","region":"ams3","size":"2gb","image":"ubuntu-14-04-x64","ssh_keys":[244443]}' -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json"

Can you provide a simple test case. We do strive to maintain API compatibility, however, API v2 is still in beta, so we're working out the kinks.

@pkorsukov after looking at the logs, this is what we've received:
status=422 "ssh_keys"=>[["643099"]]
status=202 "ssh_keys"=>[643099]
status=422 "ssh_keys"=>[["643099"]]
status=422 "ssh_keys"=>[["643099"]]
status=422 "ssh_keys"=>[["643099"]]
status=422 "ssh_keys"=>[["643099"]]
status=422 "ssh_keys"=>[["643099"]]
status=422 "ssh_keys"=>[["643099"]]
status=422 "ssh_keys"=>[["643099"]]
status=422 "ssh_keys"=>[["{643099}"]]
status=422 "ssh_keys"=>[["643099"]]
status=202 "ssh_keys"=>["643099"]

It appears that this validation is functioning - the key ids are wrapped in an extra array.

@phillbaker it is defenettely a problem of knife-digital_ocean gem. I assume that versions 2.3.0 and 2.3.1 are affected. So, it is not related to the DropletKit.
It looks like in file digital_ocean_droplet_create.rb the line
ssh_keys: locate_config_value(:ssh_key_ids).split(/, ?/),

produces and array inside the array. I am calling it as
knife digital_ocean ... --ssh-keys 643099

In your log the last row shows the request after I made a fix on the above line. And the second line shows my attempt via curl.

Having same issue here

This was fixed thanks to @mikian. Update your gems.


Latest entries plugin

Hi all!

[x] just figured out that the category filter for the latest entries plugin doesn't work (filter by tag is fine).
Am i missing anything or is it a bug?

in the models (line 241) there is anything regarding categories:
 class LatestPostsPlugin(BasePostPlugin):

    latest_posts = models.IntegerField(_(u'Articles'), default=get_setting('LATEST_POSTS'),
                                       help_text=_('The number of latests articles to be displayed.'))
    tags = models.ManyToManyField('taggit.Tag', blank=True,
                                  help_text=_('Show only the blog articles tagged with chosen tags.'))
    categories = models.ManyToManyField('BlogCategory', blank=True,
                                        help_text=_('Show only the blog articles tagged with chosen categories.'))

    def __str__(self):
        return u'%s latest articles by tag' % self.latest_posts

    def copy_relations(self, oldinstance):
        self.tags = oldinstance.tags.all()

    def get_posts(self, request):
        posts = self.post_queryset(request)
        tags = list(self.tags.all())
        if tags:
            posts = posts.filter(tags__in=tags)
        return posts[:self.latest_posts]

[ ] shouldn't the placeholder variable be sent to the template?

@davidetruffo thanks for reporting this
Fix has been merged and will be released soon

Thank YOU @yakky!

Hi @yakky ! What about the second point in my list?

[ ] shouldn't the placeholder variable be sent to the template?


Failed to initialize Insight Passthrough

When trying to run Unity-TheWorldBeyond Project with Quest Pro linked via cable I receive the following error in Unity:
Failed to initialize Insight Passthrough. Passthrough will be unavailable. Error Failure_NotInitialized.
UnityEngine.Debug:LogError (object)
OVRManager:InitializeInsightPassthrough () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2533)
OVRManager:InitOVRManager () (at Assets/Oculus/VR/Scripts/OVRManager.cs:1735)
OVRManager:Awake () (at Assets/Oculus/VR/Scripts/OVRManager.cs:1750)
running Oculus PC App <IP_ADDRESS>.0
Running Quest Pro OS <IP_ADDRESS>.0.406523063
Unity Version 2022.2.0b10 (Also Verified the same error with Unity Version 2021.3.3f1)

Did you follow the setup steps for Passthrough over Link as outlined here? Specifically, the toggles in the "Software" section? Note that you need to restart Unity after enabling those settings.

Looks like maybe your link did not attach? Could you re-attach and I will try.
Wouldn't all unity settings carry over when opening TheWorldBeyond project?

Apologies: https://developer.oculus.com/documentation/unity/unity-passthrough-over-link/

Wouldn't all unity settings carry over when opening TheWorldBeyond project?

Passthrough over Link needs to be enabled in the Oculus PC app.

When trying to run Unity-TheWorldBeyond Project with Quest Pro linked via cable I receive the following error in Unity:
Failed to initialize Insight Passthrough. Passthrough will be unavailable. Error Failure_NotInitialized. UnityEngine.Debug:LogError (object) OVRManager:InitializeInsightPassthrough () (at Assets/Oculus/VR/Scripts/OVRManager.cs:2533) OVRManager:InitOVRManager () (at Assets/Oculus/VR/Scripts/OVRManager.cs:1735) OVRManager:Awake () (at Assets/Oculus/VR/Scripts/OVRManager.cs:1750)
running Oculus PC App <IP_ADDRESS>.0
Running Quest Pro OS <IP_ADDRESS>.0.406523063
Unity Version 2022.2.0b10 (Also Verified the same error with Unity Version 2021.3.3f1)

To confirm and close this out, do you have "Passthrough over Oculus Link" enabled in the Oculus PC app?

Apologies: https://developer.oculus.com/documentation/unity/unity-passthrough-over-link/

Wouldn't all unity settings carry over when opening TheWorldBeyond project?

Passthrough over Link needs to be enabled in the Oculus PC app.

Finally had a chance to confirm, this resolved the issue.
Thanks!


Is ALTER TABLE for sorting boards still relevant?

I seem to remember we added the ORDER BY to the query, but I'm tracking this here because I'm doing another thing and can't check now.
And message_icons.
And spiders.
And smileys.

Let's remove it in 2.0.

agree


DateTime should be DateTimeType by default and not DateType

Per default DateTimeOffset and DateTime should become DateTimeType in the GraphQL schema. At the moment DateTime becomes DateType and DateTimeOffset becomes DateTimeType.

@Dolfik1: I have created an issue for this.

@Dolfik1 I have moved this fix to the next version since I want to close the current version and work on this one has not yet started.


[FancyZones] window exceeds vertical limit when using groupy

Microsoft PowerToys version
0.41.4
Running as admin

[X] Yes

Area(s) with issue?
General
Steps to reproduce
I have installed groupy, and having grouped windows, when moving to a zone, this extends vertically not allowing to see the tabs of the windows that I have grouped to be able to exchange one with another.
✔ Expected Behavior
should dock the entire window size when dragging to a zone, since a groupy creates an additional bar on top of the grouped windows.
❌ Actual Behavior
I have installed groupy, and having grouped windows, when moving to a zone, this extends vertically not allowing to see the tabs of the windows that I have grouped to be able to exchange one with another.
Other Software
groupy 1.49.1

Are you still experiencing this issue? /needinfo

this was 3 years ago.Meanwhile Groupy has evolved
Grüße
Dieter Bauer

Von: Kayla Cinnamon @.>
Gesendet: Tuesday, October 22, 2024 7:27:16 PM
An: microsoft/PowerToys @.>
Cc: baudl0815 @.>; Manual @.>
Betreff: Re: [microsoft/PowerToys] [FancyZones] window exceeds vertical limit when using groupy (#12382)
Are you still experiencing this issue? /needinfo
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/12382#issuecomment-2429854534, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALFS6UVMKREMTYQNK7HFFDTZ42DHJAVCNFSM6AAAAABQNAGMJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRZHA2TINJTGQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


NCTL: add itst health checks to upgrade scenarios

Changes:

Reuses health checks from itst scenarios in upgrade tests

bors try


there are no shalkers in the end city

there are no mobs in the buildings

I think you need read this.#8


Improve troubleshooting and finding errors

I'd like to raise a discussion here about how we can make users more successful in finding out different errors in the Dapr sidecar.
An example of this would be the sidecar restarting on Kubernetes due to a failed health check while timing out on component initialization due to a bad config.
In that case, the pod will have restarted and the error log never shown, making it a tedious guess work to find the underlying cause.

This is a similar issue to one I reported here from the last hackathon: https://github.com/dapr/dapr/issues/1868
Some ideas about how to make misconfiguration visible ... these are all my opinions and so I'm looking for more discussion and fleshing out.
Best

Add the concept of a health check for a component (State Store) in this case - this would not affect runtime behavior but would be informational.
Add a service that checks the health of registered components and updates events inside the component object so that it can be viewed with Kubectl describe - need a think about how to best represent this for non-k8s
Surface this info in the dashboard UI - if we really don't want to have a service that monitors Component health, then it could be a feature of the dashboard (user can choose to query the health status of a component)
Enrich error messages coming from the Dapr sidecar to reference the fact that the health status of a component can be viewed - possibly with a link to the documentation

My thoughts: it's always bugged me that when I push a Component definition there's no way to check that it's actually working until I deploy some code. It feels like something I should validate up front, but there's no way to do so. Adding diagnostic avenues that allow a developer to follow their intuition is really useful.
Less good than this

Change to a readiness check for the sidecar rather than a liveness check
This probably needs to come with the ability for the sidecar to watch component definitions because we can no longer rely on the liveness check restarting it
Add logging around the places where do async initialization of components.. ex: log every 5 seconds, still waiting for the state store to respond

My thoughts: the current assumptions around liveness for the sidecar are true, if your Component definition is wrong then restarting the sidecar might fix it. If we change to a model where sidecars are notified of Component definition changes then readiness is a better fit, and solves this problem because the sidecar doesn't get shut down.
Less good than that

Walk through all of the components and make sure they log a disgusting amount of content on failure
Add the logging described above (log every 5 seconds while we're waiting for something to initialize)
At some reasonable threshold of time after start (before the default liveness check would kill it) have the sidecar log its initialize status in table form - what are the things I'm still doing that make me not initialized?

My thoughts: If we don't want significant changes in architecture and behavior then I think the major avenue we have is to be really intentional about providing logging. It's been the case for me with Dapr (and I think the user that started this discussion) that I go to the logs first when something is failing, but I don't see any information I can take action on - that info is usually buried in an HTTP response to the application.

+1 to what @rynowak proposes about surfacing Component Status. On K8s Status Subresource is a common way to do this. If we follow the same practice it will make integration with tooling easier (like kubectl wait, kubectl get, etc, other Status-aware UIs), as well as making things easier for consumers familiar with K8s.
The downside of Status Subresource is that there is a learning curve associated with it, and would be a nuisance for users not familiar with K8s.
Implementing a health checker that reaches out to distributed sidecars and collect their state regarding the components is not a trivial task (there are uncertainties due to network issues, stuck sidecar; how to handle sidecars that come up after the Component has declared Ready). However, allowing the users to reason about the state of the various components of their application will be a great value add.
A common question about using something in production is "am I comfortable carrying a pager for this infra?", which would be hard to say yes to if it is difficult to identify which component of my distributed application is unhealthy.

from me:

improve the "dapr run" output logs. Daprd logs are very readable, but "dapr run" logs are very messy
implement request logging - at least in the debug and higher log-levels. It must be possible to log (service-to-service invocation, binding invocation etc) when developing apps locally (I tried the python sdk to build a grpc app, and since both the dapr sidecar and the grpc middleware itself is completely silent, there was no way to see what was actually going on, without manually implementing my own logging - I shouldn't have to)

@yaron2 about this:

In that case, the pod will have restarted and the error log never shown, making it a tedious guess work to find the underlying cause.

kubernetes supports grabbing the log output from the previous container in case of restarts:
kubectl logs abc -c def --previous. So even if a pod container restarts, the output isn't lost. In addition, I would assume that most shops implement a centralized log solution based on filebeat or fluentd so that logs are persisted also after the emitting container is gone.


Add min_angle argument to tracking.singleaxis

In tracking.singleaxis the minimum angle of the tracker is assumed to be opposite of the maximum angle, although in some cases the minimum angle could be different. NREL SAM doesn't support that but PVsyst does.
In order to support non symmetrical limiting angles, tracking.singleaxis should have another, optional, input, min_angle. By default, if not supplied (i.e. value is None), the current behavior (min_angle = -max_angle) would apply.
Can I propose a PR for this, with modifications to tracking.singleaxis, tracking.SingleAxisTracker and to pvsystem.SingleAxisTrackerMount + corresponding tests?

I'm in favor of pvlib being able to handle asymmetrical rotation limits in principle, but I'm curious what situation has that asymmetry in practice.  @MichalArieli do you have a particular real-world application in mind?
Rather than separate min_ and max_ parameters, I think I'd favor a single parameter that accepts a tuple as @cwhanse suggested here: https://github.com/pvlib/pvlib-python/pull/823#issuecomment-561399605.  I'm not sure about renaming max_angle to something else though.  singleaxis(..., max_angle=(-40, 45)) seems okay to me.  And since symmetrical limits is by far the more common case, I think the parameter should continue accepting a single value (in which case symmetry is assumed) in addition to a tuple.
tracking.SingleAxisTracker is being removed anyway (#1771), so no point in making any additions there.  Whatever changes we decide on here should only be made to tracking.singleaxis and pvsystem.SingleAxisTrackerMount (and tests, of course).

@kandersolar  Thanks for the quick response!
Regarding handling asymmetry in rotation limits, let's take the example of a tracker placed at a 90-degree axis azimuth, tracking south-north. If the sun is at azimuth 80 degrees during sunrise, the algorithm will guide the tracker to briefly turn north. To prevent that we can implement a maximum angle limit for northward movement to ensure smooth and continuous motion and taking into account the time needed for such a large angular change.
I agree its better to have a single parameter that accepts a tuple/ single value. Would you like me to apply these changes and send for a PR?

Would you like me to apply these changes and send for a PR?

Please do!

I feels like naming it min_angle is ambiguous, idk if it is juste me.
Feels like a max angle range.
Anyway the keyword won't be changed, just my 2 cents on the terminology.


support composite filter with and and eq

resolve https://github.com/dbpunk-labs/db3/issues/423
Changes

support composite filter proto
support filter with multi key index and equal operator
non-support >,>=,<=,< filter condition

Codecov Report

Merging #426 (01d8483) into main (befabbf) will increase coverage by 1.13%.
The diff coverage is 93.16%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #426      +/-   ##
==========================================
+ Coverage   63.19%   64.33%   +1.13%
==========================================
  Files          66       56      -10
  Lines       10103    10489     +386
==========================================
+ Hits         6385     6748     +363
- Misses       3718     3741      +23

Flag
Coverage Δ

rust
64.33% <93.16%> (+1.13%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/storage/src/db_store.rs
91.19% <93.16%> (+0.29%)
:arrow_up:

... and 13 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

duplicate with https://github.com/dbpunk-labs/db3/pull/428


improvement/recommended-eslint-rules

Codecov Report

Merging #17 (eb7e7de) into main (5b20ebc) will increase coverage by 0.07%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   71.55%   71.63%   +0.07%
==========================================
  Files          53       53
  Lines         763      765       +2
  Branches      118      121       +3
==========================================
+ Hits          546      548       +2
  Misses        217      217

Flag
Coverage Δ

unittests
71.63% <91.66%> (+0.07%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/components/play/styles/index.ts
100.00% <ø> (ø)

src/components/round/round-over.tsx
92.85% <ø> (ø)

src/components/typography/retro-title.tsx
100.00% <ø> (ø)

src/pages/_document.page.tsx
0.00% <ø> (ø)

src/pages/md.page.tsx
0.00% <0.00%> (ø)

src/pages/preview.page.tsx
0.00% <ø> (ø)

src/pages/wrappers/auth.tsx
42.85% <ø> (ø)

src/services/google/static.tsx
100.00% <ø> (ø)

src/components/google/map.tsx
100.00% <100.00%> (ø)

src/redux/position/thunks.ts
100.00% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


Update Tooltip.tsx to fix react-dom-server leaking into client bundle

react-dom-server is leaking into the client bundle because it's used in eactly one place in Tooltip.tsx:

Removing it cut about 70kb off the bundle:

@pogseal Making this a PR first, since I don't know whether this would break any tooltips in use atm.

So this is used to render JSX in a tooltip where it would typically load a string. I believe it's used in some places like the character showcase. Though 70kb is a good amount, I wonder if can dynamic import or find a lighter tooltip library.

@pogseal looks like lazily worked. Is there a page to test against?

Cool, hovering over any of the stats on the character showcase should work.

Mhm, not working right, don't merge yet.

lazy import react-dom/server doesn't work. Have to take a different approach.


Face Registration

Any chance you can add a node for Face registration?

Getting started on it.. you can check it out in https://github.com/iceglow/node-red-contrib-deepstack/tree/face_reg

Awesome. Thanks.
I will try this out
Cheers

v0.1.0 should do it for you. https://flows.nodered.org/node/node-red-contrib-deepstack


Dark mode: Spinners

New Sass vars:

$spinner-color

Live previews

https://deploy-preview-2290--boosted.netlify.app/docs/5.3/components/spinners/
https://deploy-preview-2290--boosted.netlify.app/docs/5.3/dark-mode/#spinners

I can add a sub-task to re-check that for text utilities and buttons yes. Right now, there's nothing else I can do without breaking other stuff.


sample logo design

@Swarnimashukla please review this logo and let me know any changes to be made. I can experiment with background, font style, size etc. according to needs
issue #1

Hi @vermatanu  this is nice, could you please share a logo without automatic attendance management as right now there is lots of text for a logo and generally logos have either a symbol or just text

Okay, will do. Any changes other changes required?

no @vermatanu  try to create a pr as mentioned on discord


[Doc]Improve the document introduction of complement

Purpose of the pull request
Improve the document introduction of complement.
Brief change log
Improve the document introduction of complement.
Verify this pull request
Verified by manual tests.

can you re check if you have time @WangJPLeo


v3.7.0-beta.76 into Master

What feature or change would you like to see made?
When will v3.7.0-beta.76 get merged into Master? This version fixes Reference Line issue which is in current Master version.
Thank you!
Why should we prioritize this feature?
.

master is beta, we will merging in release branch soon (in testing right now)


Feat/simplexapiintegration

There is 1 more additional thing I hadn't realized/remarked yet. There are cases where the API decides to cancel a payment intent.
It's necessary for you to add the call to Simplex' API here (and I assume that Simplex provides an endpoint for it, if not let me know): https://github.com/umitduran/motion_kanvas/blob/feat/simplexapiintegration/store-api-server/src/payment/service/payment.service.ts#L863
You can see the stripe variant as an example.

isPaidSimplex

yeah, simplex api events endpoint response cancelled or succeeded payment status. I will send payment status through updatePayment methods in paymentService

isPaidSimplex

yeah, simplex api events endpoint response cancelled or succeeded payment status. I will send payment status through updatePayment methods in paymentService

isPaidSimplex

yeah, simplex api events endpoint response cancelled or succeeded payment status. I will send payment status through updatePayment methods in paymentService


[BUG] control_dependencies + sess.run(tf.global_variables_initializer())

System information

OS Platform and Distribution: Linux Ubuntu 16.04 and mac osx
TensorFlow installed from (source or binary): pip install tensorflow
TensorFlow version (use command below): v1.1.0-rc0-61-g1ec6ed5 and 1.1.0

Hi TF team, I've stumbled upon a strange behaviour that I believe is a bug:
If I try to run the code below i end up with : FailedPreconditionError (see above for traceback): Attempting to use uninitialized value timestep 	 [[Node: AssignAdd = AssignAdd[T=DT_INT32, _class=["loc:@timestep"], use_locking=false, _device="/job:localhost/replica:0/task:0/cpu:0"](timestep, AssignAdd/value)]]
If I remove the tf.zeros_like(Qs_t) statement (as in the commented line), the problem disappears.
import tensorflow as tf

with tf.Graph().as_default():
    Qs_t = tf.ones([3, 2], dtype=tf.float32)
    timestep = tf.Variable(0, dtype=tf.int32, trainable=False, name="timestep")
    inc_t = tf.assign_add(timestep, 1)
    with tf.control_dependencies([inc_t]):
        Ns_t = tf.Variable(tf.zeros_like(Qs_t), dtype=tf.float32, name="N", trainable=False)
        # Ns_t = tf.Variable(0., dtype=tf.float32, name="N", trainable=False)

    with tf.Session() as sess:
        sess.run(tf.global_variables_initializer())

I think the problem is that control dependencies and variable initializers are confusing. When you run the variable initializers, you only tell TensorFlow to run those initialization ops (i.e. compute zeros_like(Qs_t) and assign it to Ns_t), and it doesn't end up executing the precursors to the control dependency.
The more common use case would be something like:
with tf.Graph().as_default():
    Qs_t = tf.ones([3, 2], dtype=tf.float32)
    timestep = tf.Variable(0, dtype=tf.int32, trainable=False, name="timestep")
    inc_t = tf.assign_add(timestep, 1)
    with tf.control_dependencies([inc_t]):
        Ns_t = tf.Variable(0., dtype=tf.float32, name="N", trainable=False)
        tf.Assign(Ns_t, inc_t)

where the control dependency was intended to apply to the Assign Op. In that case you probably want to be able to call the variable initializer outside the control dependency along with any other variable initializer. You should maybe think of variable initializers more like initializers for static variables in C++: the initializers are run once "before any other code".
A judgment call was made in the TF design that more often than not, when you define the variable inside the control dependency you don't want to guard the initializer. In your case, you should just initialize based on the static shape of Qs_t, not zeros_like.
I'm closing this for now, but if you have any followup questions, please post them on stackoverflow since github issues are only for TF bugs and feature requests. Thanks!


Fix page_up and page_down

self.view.vertical_motion() should not probably be called twice. This causes jumps of the view that are too big.

I'm basically trying to mimic what Sublime Text does, but I might have gotten details wrong. Say your screen is 20 lines high, and the cursor is at the top, so it's displaying lines 0-19. After pressing "page down", I want to see lines 19-38 on the screen. Sublime Text also places the cursor at line 19. Note, TextEdit on Mac scrolls by one screenful but doesn't move the cursor.
So I don't think this patch does what I want.

OK, so if the cursor is on the screen, the screen should move down by one height and the cursor position on-screen should be preserved. What should be the behavior if the cursor is off-screen?
This patch is mimicking what Atom does, that is move the cursor by one height, and move the view minimally to display the cursor.

Ok, I'll take a look at Atom and see which behavior I like better. Thanks for the explanation!

I finally got around to reviewing this, and you're right, my old logic got some important cases wrong. I'll go with the much simpler approach you suggest.
I'd merge this but there are conflicts, easiest just to apply it locally. Thanks!


Avex flying whilst mid-air

Avex doesnt work if you jump then activate it. Im not sure if it is because the stamina runs out to quickly (which it still does), or if it doesn't work period.

actually, forget the stamina runs out to quickly thing.

but it still regenerates too quickly

Avex doesn't work mid-air because that way you could run out of stamina with Avex, fall to the ground, then activate it before you die, flying away to safety, which felt kinda cheaty. But I can adjust it so that you can jump off somewhere then fly probably.
Really, these two things should be separate issues, or all the Avex enhancements should be put in one giant issue.

I'll post another issue for the stamina regeneration.

No longer a thing since the rewrite.

No longer a thing since the rewrite.


🎉 New extension: Mailchimp

@saimanoj can you add in the description the link to the schema

Closing this issue as we are focusing more on the ticketing vertical. Feel free to reopen this when we start the work again


Allow to set a title for the timer?

It'd be cool if we can set a title for the current timer like:  timer 20 do x.

Apple doesn’t allow that, the Clock shortcut doesn’t have that option. You’ll have to ask them that via Feedback Assistant.


List / array in body param is rendering vague List java code

when an API is required to accept a list in body params, generated java code is not accurate.
example:
        - required: true
          name: body
          description: body string array
          schema:
            type: array
            items:
              type: string
          in: body

generates
final java.util.List<com.fasterxml.jackson.databind.JsonNode>

if the schema is changed with #ref, generated code is accurate.
example:
  StringArray:
    example: SC00000000000000000000000000000001
    type: array
    items:
       type: string

        - required: true
          name: body
          description: my strings array
          schema:
             $ref: '#/definitions/StringArray'
          in: body

generates
final java.util.List<String>

Can you provide a full yaml file that reproduces the issue, and also tell me what version of guardrail you're using, what framework, client or server, etc.?  I wrote the below spec, and I get List<String> as expected for the body parameter when going against guardrail master.
swagger: 2.0
info:
  title: Test for Swagger v2 array types as the request body
  version: 1.0.0
paths:
  /foo:
    post:
      operationId: doFoo
      consumes:
        - application/json
      parameters:
        - required: true
          name: body
          description: body string array
          schema:
            type: array
            items:
              type: string
          in: body
      responses:
        200: {}

From discussion elsewhere it seems this was a misunderstanding and isn't actually an issue.  If it is, please reopen.


Newbie: Colorbuddy stopped loading after Lazy updated packages

Hello, I am a newbie to Nvim so I apologize in advance for any silly errors or inconviniences I cause. I had a well working config using Lazy until I just updated my packages where colorbuddy seemingly broke.
Failed to source `/home/krishna/.config/nvim/after/plugin/colors.lua`

vim/_editor.lua:0: /home/krishna/.config/nvim/init.lua..nvim_exec2() called at /home/krishna/.config/nvim/init.lua:0../home/krishna/.config/nvim/after/plugin/colors.lua: Vim(source):E5113: Error while calling lua
chunk: ...vim/lazy/colorbuddy.nvim/lua/colorbuddy/plugins/init.lua:18: attempt to index field 'NvimLightYellow' (a nil value)
stack traceback:
^I...vim/lazy/colorbuddy.nvim/lua/colorbuddy/plugins/init.lua:18: in main chunk
^I[C]: in function 'require'
^I.../share/nvim/lazy/colorbuddy.nvim/lua/colorbuddy/init.lua:24: in function 'colorscheme'
^I/home/krishna/.config/nvim/after/plugin/colors.lua:1: in main chunk
^I[C]: in function 'nvim_exec2'
^Ivim/_editor.lua: in function 'cmd'
^I...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:485: in function <...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:484>
^I[C]: in function 'xpcall'
^I.../.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:113: in function 'try'
^I...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:484: in function 'source'
^I...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:443: in function 'source_runtime'
^I...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:144: in function 'startup'
^I...ishna/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:110: in function 'setup'
^I/home/krishna/.config/nvim/lua/krishna/lazy.lua:14: in main chunk
^I[C]: in function 'require'
^I/home/krishna/.config/nvim/lua/krishna/init.lua:1: in main chunk
^I[C]: in function 'require'
^I/home/krishna/.config/nvim/init.lua:1: in main chunk

# stacktrace:
  - vim/_editor.lua:0 _in_ **cmd**
  - ~/.config/nvim/lua/krishna/lazy.lua:14
  - ~/.config/nvim/lua/krishna/init.lua:1
  - ~/.config/nvim/init.lua:1

Here is my color.lua file:
require('colorbuddy').colorscheme('material')

--Lua:
-- vim.cmd 'colorscheme material'
--Lua:
vim.g.material_style = "deep ocean"
vim.cmd 'colorscheme material'

The rest of my config is available here: https://github.com/DragonflyRobotics/krishna.nvim
I am not sure what is wrong but I don't suspect any configuration errors since all I did was update packages. What could be the issue? Please let me know if you need any more information!

Commenting the require('colorbuddy').colorscheme('material') seems to fix it but I am unsure why this issue arose to begin with.

Hi @DragonflyRobotics, your error mentions a failure to index NvimLightYellow. It looks like this depends on a change that hasn't made it into a neovim release yet: https://github.com/neovim/neovim/pull/26540.

Sounds good! I will keep my eyes peeled for the new NVim release! Thank you!


OCPBUGS-44934: Fix error message when kas is route and hostname is not set

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm

/retest


memoryBarrierBuffer != metal::threadgroup_barrier(metal::mem_flags::mem_device) ?

The Metal spec says has to be seen by all threads and is an execution barrier with optional memory barrier, inseparable it seems.
So memoryBarrierBuffer in a divergent branch will be fine in VK but deadlock in Metal?

kernel void deadlockKernel(device uint* buf [[buffer(0)]],                            uint idx [[thread_position_in_grid]]) {     buf[idx] = 0;     if (idx == 1)     {         threadgroup_barrier(metal::mem_flags::mem_device);     }     else {         buf[idx] += 1;     } }
On my AMD mac this doesn't deadlock. Strange because the spec says:

All threads in a threadgroup executing the kernel
must execute this function before any thread
can continue execution beyond the
threadgroup_barrier

It will deadlock on an Intel GPU.
Thing is, I don't know how this can be resolved. Using simdgroup_barrier() instead would have the same problem, though it would reduce the execution scope and therefore reduce the surface of the problem. What we need is some kind of thread_barrier() function.

Haven't tried it myself, have you? What about "Apple GPU" ?

Tried it on iphone X, deadlocks as well.
It would also on NV.
Now wondering why this works on AMD.

Thing is, I don't know how this can be resolved.

@cdavis5e Is this something we should add to the next version of VK_KHR_portability_subset feature restrictions?

@cdavis5e Is this something we should add to the next version of VK_KHR_portability_subset feature restrictions?

I don't know. It's never come up before for us. As I understand it, it's quite common for an OpMemoryBarrier to follow an OpControlBarrier, which SPIRV-Cross will collapse into a single threadgroup_barrier() or simdgroup_barrier() call. Then again, if there ever is a plain OpMemoryBarrier with no OpControlBarrier, this could cause a hang. Better safe than sorry, I guess.
@fhoenig Did you encounter a problem with a real-world application (i.e. not a toy program built to demonstrate the problem), or were you perusing the MSL spec and you just happened to notice this problem?

Real world. This is a core component to our engine, a spatial hash data structure inspired by the paper “Coherent Parallel Hashing”. Its a sort of mutex / cas loop fallback from 64 bit atomics. You might see the need for this in most atomic cas loops though.
Apple needs to fix this. I’m gonna reach out to some folks. But if you contacts yourself, please poke them.

I've filed FB8196691 for this. I'll be sure to bring this up.
@billhollings Now I'm absolutely confident we should add a feature bit to VK_KHR_ps for this. The lack of pure memory barriers probably won't be fixed in time for the next OS release.

Awesome!
Out of curiosity, what ticket system does this refer to?

Out of curiosity, what ticket system does this refer to?

Apple's Feedback Assistant. Note that, as with radars, you won't be able to see any that other users have filed.

Digging around a bit, check this out:
UnboundMac:macos flo$ strings bin/metal |grep barrier
__builtin_amdgcn_s_barrier
__builtin_amdgcn_wave_barrier
__builtin_r600_group_barrier
__metal_simdgroup_barrier
__metal_wg_barrier
__metal_wg_barrier
__metal_wg_barrier
__metal_simdgroup_barrier
__metal_wg_barrier
__metal_simdgroup_barrier
__metal_wg_barrier
__metal_clear_barrier_compute_command
__metal_set_barrier_compute_command
__metal_simdgroup_barrier
__metal_wg_barrier

And that:
**__metal_atomic_fence**
__metal_fence_texture_1d_t
__metal_fence_texture_1d_array_t
__metal_fence_texture_2d_t
__metal_fence_texture_2d_array_t
__metal_fence_texture_3d_t
__metal_fence_texture_cube_t
__metal_fence_texture_cube_array_t
__metal_fence_texture_buffer_1d_t

Looks like the compiler accepts __metal_atomic_fence with three agruments.
I wonder what it does :-)

Looks like the compiler accepts __metal_atomic_fence with three agruments.
I wonder what it does :-)

It seems to correspond to the C++11 std::atomic_thread_fence() function, which has a single parameter for a memory ordering to use. If I had to guess at what the compiler intrinsic's three parameters were, I'd say it's a memory_order, a memory_scope, and a mem_flags.
Curious that they haven't hooked the compiler intrinsic up to anything in the MSL stdlib. I wonder if it's because no memory orders other than memory_order_relaxed are yet supported. (They were briefly supported for a time on iOS in MSL 2.0, but they removed the definitions in MSL 2.1.)

@cdavis5e

Now I'm absolutely confident we should add a feature bit to VK_KHR_ps for this.

What is it we're looking to mark with a flag for this? Are we looking to identify the lack of memory-access-only barriers? Or are we looking to identify control or memory barriers that are conditionally executable on a thread (ie- not all threads need to hit it)?
Out of curiosity and my own education...in a similar situation to the control deadlock, how do memory-access barriers avoid deadlocking between threads? Presumably a thread must wait at the memory barrier before reading? Or is it handled through some other mechanism?

Are we looking to identify the lack of memory-access-only barriers?

Yes.

Out of curiosity and my own education...in a similar situation to the control deadlock, how do memory-access barriers avoid deadlocking between threads? Presumably a thread must wait at the memory barrier before reading? Or is it handled through some other mechanism?

A memory barrier only affects memory writes from the invocation that executes the barrier. But, it causes other invocations to see those writes after the barrier. (See the description of OpMemoryBarrier in the SPIR-V spec. Note that this description does not say there is undefined behavior if this instruction is executed in non-uniform control flow.)

Are we looking to identify the lack of memory-access-only barriers?

Yes.

Okay...I'll add it to the portability PoC issue list

A memory barrier only affects memory writes from the invocation that executes the barrier. But, it causes other invocations to see those writes after the barrier. (See the description of OpMemoryBarrier in the SPIR-V spec. Note that this description does not say there is undefined behavior if this instruction is executed in non-uniform control flow.)

Thanks. Yeah...I had read OpMemoryBarrier. A subtlety that I am missing is how this does not imply a control barrier as well. For instance, if the original example above was:...
kernel void myKernel(device uint* buf [[buffer(0)]],
                           uint idx [[thread_position_in_grid]])
{
    uint myVar1 = ...
    buf[idx] = myVar1;
    < something OpMemoryBarrier-ish>
    uint myVar2 = buf[idx + 1];
    ...
}

...wouldn't that imply some kind of control barrier in the OpMemoryBarrier (ie- all the writes in the thread group would need to happen before any of the reads)?
And if so, if one can be non-uniform...why not the other?

Thanks. Yeah...I had read OpMemoryBarrier. A subtlety that I am missing is how this does not imply a control barrier as well. For instance, if the original example above was:...
kernel void myKernel(device uint* buf [[buffer(0)]],
                           uint idx [[thread_position_in_grid]])
{
    uint myVar1 = ...
    buf[idx] = myVar1;
    < something OpMemoryBarrier-ish>
    uint myVar2 = buf[idx + 1];
    ...
}

...wouldn't that imply some kind of control barrier in the OpMemoryBarrier (ie- all the writes in the thread group would need to happen before any of the reads)?

Not necessarily. It could just be implemented as a memory fence instruction, like the x86 lfence, sfence, and mfence instructions. Writes will be seen after the thread that wrote them executed the instruction, but not necessarily before.
I can see, though, why this might be confusing without some sort of synchronization. This is why std::atomic_thread_fence() is defined in terms of synchronization between itself and other atomic operations (including other fences). Perhaps you should raise an issue with the SPIR-V or Vulkan working groups...?

I am not super sure about how the hardware works but I assume that the memory units are not running in lock-step to the ALU / SIMD waves and have queues for loads and stores. The pure memory barriers are affecting that queue ordering only. And there is a variety of such barriers such that the ordering guarantees can be selected for the desired level down the cache hierarchy.


WebSocket fall back

Is there any chance we can have XHR long polling support? WebSockets tend to get blocked by corporate firewalls/proxies i.e. Websense.

Currently, I have no plan to implement a XHR version. PR is welcome though.

Closing as no plan to implement this request soon.


Scope OnPrem in GenJnlManagement.Codeunit.al

Hello,
in the Codeunit GenJnlManagement.Codeunit.al  the Procedure CheckCurrencyCode is scope OnPrem.
This should not be App-exclusive.
Expected: Remove Line  [Scope('OnPrem')]

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


bgp: Check the Condition.Ready field when adding ready endpoints

This PR fixes the issue that MetalLB doesn't withdraw the route advertisements to the node where any healthy local endpoint exists for the service with externalTrafficPolicy is Local when the backend pod is terminating. Cilium takes endpoint.Conditions.Ready field into account when it determines whether to announce the route.
Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Thanks for contributing!

Fixes: #19810

/test

80 tests failed in k8s-1.16-kernel-4.9 (test-1.16-4.9). Run K8S_VERSION=1.16 ginkgo --focus="K8s" --tags=integration_tests locally, but it didn't reproduce. Something was wrong with the test environment, perhaps.
https://jenkins.cilium.io/job/Cilium-PR-K8s-1.16-kernel-4.9/1897/
K8sPolicyTest Basic Test checks ICMP policies failed. Need to rebase according to this
https://jenkins.cilium.io/job/Cilium-PR-K8s-1.24-kernel-net-next/41/

@sayboras Rebased the branch. Could you retrigger the CI?

/test

gke-stable(tet-gke) is failed because of #20013. ALL other tests are green.

/test-gke


because circular

testing on the fly 🤷♂

I think you need Kernel to be forward declared for KernelNormalizer. Or include the KernelNormalizer in all the kernel implementations that require it...

@gf712 currently normalizers has to include Kernel.h as they are all header only and do access kernel params... so going with the former solution....


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1687 ms

Resolved: Bofrost.de performance has improved in 636b2c3 after 4 hours, 56 minutes.


Dark Theme added :)

Included the toggle button with day/night symbol and theme colours were adapted to dark mode.
Some themes need further check on the colours for the dark themes, the colours are not optimal and do not necessarily fit into Tachyons palletes.
I also added math support for the markdown.
Thanks,
Deisy

Hello Deisy, thank you very much for sharing "dark theme mode". I would like to incorporate it on my website which is built by Hugo Apero. I followed your files and tracked all changes. I did all the same changes to my files. however, unfortunately, I see only the button,  the dark mode is not available when I try to switch. maybe you would have a clue what may be the reason for that? thank you very much!