need help on OIDC authentication support

Currently I am working on oidc integration betweek zulip and keycloak.
the python social auth has a keycloak.py but  it is based on oauth2. not 100% pure oidc.
the python social auth has 2 open id auth class
open_id.py
open_id_connect.py
open_id_connect.py  need to add extra dependency. so  I am trying to add a subclass of open_id.py in backend.py.
but I have encoutner many problems.
from other issue  I see that the zulip auth team has done some testing about OIDC: https://github.com/zulip/zulip/issues/11939
is it possible to share your test code ?

Though the 404 is probably not having enabled the backend in AUTHENTICATION_BACKENDS in zproject/dev_setitings.py?

@timabbott
thanks for the advice.
my code is like:
AUTHENTICATION_BACKENDS = (
'zproject.backends.DevAuthBackend',
'zproject.backends.EmailAuthBackend',
'zproject.backends.KeycloakAuthBackend',
)
I have done some work in the past few days.

I implement the keycloak with oauth2 protocol
class KeycloakAuthBackend(SocialAuthMixin, KeycloakOAuth2):

Now I can use the oauth2 to authenticate zulip user via keycloak.
below URL return 302
https://zulip.willy.com/login/keycloak/?subdomain=&is_signup=0&multiuse_object_key=

I comment out the keycloak oauth2 backend.
then implement a new keycloak backend using  OpenId protocol with the same name
class KeycloakAuthBackend(SocialAuthMixin, OpenIdAuth):

all the other setting are not changed. I just restart the zulip server.
below URL  throw 404 error
https://zulip.willy.com/login/keycloak/?subdomain=&is_signup=0&multiuse_object_key=
it is very strange that... the  function name is the same. I just use different upper class ( KeycloakOAuth2 VS OpenIdAuth)
the same URL return different result.

I doubt the problem is :
When I click keycloak login button  on the login page. it goes to below function in auth.py
def start_social_login(request: HttpRequest, backend: str) -> HttpResponse:
backend_url = reverse('social:begin', args=[backend])
if (backend == "github") and not (settings.SOCIAL_AUTH_GITHUB_KEY and
settings.SOCIAL_AUTH_GITHUB_SECRET):
return redirect_to_config_error("github")
# TODO: Add a similar block of AzureAD.
if (backend == "gitlab") and not (settings.SOCIAL_AUTH_GITLAB_KEY and
                                  settings.SOCIAL_AUTH_GITLAB_SECRET):
    return redirect_to_config_error("gitlab")

return oauth_redirect_to_root(request, backend_url, 'social')

it will return oauth_redirect_to_root. but openid is not part of oauth.
I will keep researching

this is a good request:
2020-02-04 04:39:15.325 INFO [zr] <IP_ADDRESS>    GET     302  72ms (db: 32ms/2q) /login/keycloak/ (unauth via ?)
this is a bad request:
2020-02-04 06:09:39.192 INFO [zr] <IP_ADDRESS>    GET     404  93ms (md: 21ms/1) (db: 1ms/1q) /login/keycloak/ (unauth via ?)
in bad request, seems the /login/keycloak is not stored by django ?

Closing in favor of https://github.com/zulip/zulip/issues/11939, which we're about to resolve via a documented OIDC integration.


Patch version of ecto is pinned

Hello, thanks for creating this package 👍
I noticed the patch version for the ecto dependency got pinned in this commit from ~> 2.2 to 2.2.9
Are there incompatibilities with later 2.x ecto versions?
It's not a big deal to override the dependency, but it would be nice if I didn't need to.

I've pinned it because there technically are some things in 2.2.10 that this adapter doesn't support yet. I suppose i could revert that, but it may lead to undefined behavior. I can't remember off the top of my head what exactly was added, but for what it's worth I override the Ecto version and haven't had much issues. That said I dont use many advanced Ecto features

OK, thanks for clarifying.


Fix an issue at high zooms with d3 and html renderers.

At high zooms, the calculated offset failed to use the tile offset, which meant that the tile offset would still suffer from a loss of precision in CSS or SVG coordinates.  By taking into account the tile offset, this is better.

LGTM :+1: may be better if @jbeezley have a look at it as well.

LGTM


Create a "collaborate" redirect for the site

Create a redirect to go to collaboration page
https://instructlab.ai/collaborate =>
github collaboration documentation

Hi @joesepi ,
I'm interested in contributing to this project and would like to work on this issue. Please let me know if I can take on this issue or if there's anything else I should be aware of before I start.

Hi @joesepi @mariat189, I am also interested in contributing to this project and thought this would be a good first issue. Is this still being worked on, or does it still need to be done? Thank you

Hi @Lo-Mein ,
I am currently working on this.


Missing IntelliSense in XmlPort - LinkFields property

Linkfields property in XmlPort doesn't show the fields to the user.

@Nyryus Thank you for reporting the issue. Fix will be shipped in the next updates.


Get stuck when running example with threadpool 1024

change example.cpp pool size to 1024
using namespace std;
	nThread::CThreadPool tp{1024};
	queue<nThread::CThreadPool::thread_id> que;

and running the test. get stuck as following output
add - thread 752 wait 3 sec
add_and_detach - thread 1024 wait 1 sec
add - thread 762 wait 0 sec
add_and_detach - thread 1024 wait 2 sec
add_and_detach - thread 1024 wait 3 sec
add - thread 758 wait 2 sec
add_and_detach - thread 1024 wait 1 sec
add - thread 759 wait 2 sec
add_and_detach - thread 1024 wait 2 sec
add - thread 755 wait 3 sec
add_and_detach - thread 1024 wait 3 sec
add - thread 757 wait 3 sec
add - thread 763 wait 1 sec
add - thread 760 wait 3 sec
add_and_detach - thread 1024 wait 3 sec
add - thread 767 wait 1 sec
add - thread 764 wait 2 sec
add - thread 765 wait 2 sec
add - thread 768 wait 1 sec
add - thread 766 wait 3 sec

Would you mind to give me more information?
Such as, gcc version, running environment, compilation options and cpu.
Of course, it may due to code bug.

I am using Visual Studio 2017 Community, Version 15.9.7
OS: Windows 10 1809 build 17763.384
C++ compile option is
/JMC /permissive- /GS /analyze- /W3 /Zc:wchar_t /ZI /Gm- /Od /sdl /Fd"Debug\vc141.pdb" /Zc:inline /fp:precise /D "_MBCS" /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /std:c++17 /FC /Fa"Debug\" /EHsc /nologo /Fo"Debug\" /Fp"Debug\ThreadPoolTest.pch" /diagnostics:classic

The machine is Thinkpad T480s, i5 8250u 4core8thread, 24G ram. with 512GB SSD.
Thanks.

checking out the code again, without compile error.
and build under Linux & Windows again.
the code runs fine under Linux with following OS information.
wanpengqian@dev:~/threadpool/ThreadPool$ uname -a
Linux dev 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
wanpengqian@dev:~/threadpool/ThreadPool$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-27ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)

and the same dead lock? under Windows 10 (version info, see the last post.)
add_and_detach - thread 1024 wait 1 sec
add - thread 755 wait 1 sec
add - thread 750 wait 2 sec
add - thread 751 wait 2 sec
add - thread 752 wait 2 sec
add_and_detach - thread 1024 wait 3 sec
add_and_detach - thread 1024 wait 1 sec
add - thread 760 wait 0 sec
add_and_detach - thread 1024 wait 2 sec
add - thread 761 wait 0 sec
add_and_detach - thread 1024 wait 1 sec
add_and_detach - thread 1024 wait 2 sec
add - thread 763 wait 0 sec
add - thread 757 wait 2 sec
add - thread 753 wait 3 sec
add - thread 756 wait 3 sec
add_and_detach - thread 1024 wait 1 sec
add - thread 764 wait 0 sec
add - thread 762 wait 1 sec
add - thread 759 wait 2 sec
add - thread 758 wait 3 sec
add_and_detach - thread 1024 wait 2 sec
add_and_detach - thread 1024 wait 3 sec
add_and_detach - thread 1024 wait 3 sec
add - thread 766 wait 1 sec
add_and_detach - thread 1024 wait 3 sec
add - thread 768 wait 1 sec
add - thread 767 wait 2 sec
add - thread 765 wait 3 sec

Sorry for the late reply. I doubt it is library problem.
May you use the default constructor? (It is best for performance issue, not just for fixing this problem.)


removed old code from SimpleShippingModifier.

removed old code from SimpleShippingModifier. It now simply looks at orders shipping address country to determine the shipping cost

There seems to be some issue with the Travis setup. I'm going to fix this later.
Thanks @sanderha


Edge support

I have the following config:
   .oneOf('inline')
      .resourceQuery(/inline/)
      .use('vue-svg-loader')
      .loader('vue-svg-loader')
      .options({
        svgo: {
          plugins: [{ removeDoctype: true }, { removeComments: true }],
          removeViewBox: false,
        },
      })
      .end()
      .end()

When i import component like this:
import SomeSvg from '@/assets/hide.svg?inline';

this breaks in edge browser.
Looks like it is missing extra transpilation.
In edge i get following error:
SCRIPT1028: Expected identifier, string or number

and line error in code is 'inline strict';

I managed to get this to work in Webpack at least by letting the babel-loader run on the SVG files after the vue-svg-loader, like this (the execution order in "use" is reversed):
{
    test: /\.svg$/,
    use: [
        'babel-loader',
        'vue-svg-loader',
    ]
}

Not sure what the equivalent for your bundler would be but basically as long as there's another step transpiling the resulting JavaScript to an older JavaScript version that Edge can deal with it should work.

how can i do tthat in the new vue cli?
 chainWebpack: config => {
    const svgRule = config.module.rule('svg')

    svgRule.uses.clear()

    svgRule.use('vue-svg-loader').loader('vue-svg-loader')
  },

thanks

Here the soltuion for
thanks to https://github.com/chymz
the new vue cli
 chainWebpack: config => {
    const svgRule = config.module.rule('svg')

    svgRule.uses.clear()

    /* svgRule.use('vue-svg-loader').loader('vue-svg-loader') */
    svgRule
      .use('babel-loader')
      .loader('babel-loader')
      .end()
      .use('vue-svg-loader')
      .loader('vue-svg-loader')
  }

In our build, we are using NUXT and are something much more similar to the original posting.
Finding it tricky to implement the fix while using the oneOf syntax.
Any suggestions would be greatly appreciated.
config.module.rules.push({
    test: /\.svg$/,
    use: 'babel-loader',
    oneOf: [
        {
        resourceQuery: /inline/, // foo.svg?inline
        loader: 'vue-svg-loader',
        options: {
            svgo: {
            plugins: [
                { removeDoctype: true },
                { removeComments: true },
                { removeViewBox: false }
            ]
            }
        }
        },
        {
        loader: 'url-loader',
        options: {
            limit: 1000, // 1KO
            name: 'img/[name].[hash:7].[ext]'
        }
        }
    ],
    exclude: /(node_modules)/
})

Just want to say that I've ran into exactly the same issue, and @cannap's solution worked perfectly fine. It now works for Edge and IE11 ❤

I found a solution for NUXT.  This code supports both background and inline svg.
In  nuxt.config.js file, add the following code.
const svgRule = config.module.rules.find(rule => rule.test.test('.svg'));
svgRule.test = /\.(png|jpe?g|gif|webp)$/;
config.module.rules.push({
  test: /\.svg$/,
  oneOf: [
    {
      resourceQuery: /inline/,
      use: [
        'babel-loader',
        {
          loader: 'vue-svg-loader',
        },
      ],
    },
    {
      loader: 'file-loader',
      query: {
        name: 'assets/[name].[hash:8].[ext]',
      },
    },
  ],
});

You will also need to install babel plugin for object rest spread support.
Add these as devDependencies in package.json
"@babel/preset-env": "^7.4.3",

"@babel/plugin-proposal-object-rest-spread": "^7.4.3",

Modify .babcelrc file to look like this.
{
  "presets": [
    "@babel/preset-env",
  ],
  "plugins": [
    "@babel/plugin-proposal-object-rest-spread"
  ]
}

Any desire to make this work out of the box? Or atleast to put in giant, bold letters a link to how to make it IE11 compatible? Just spent my morning in debugging IE 😭

I can confirm @cannap solution works!
Here is my full blown config in case anyone will need it.
svgRule
      .oneOf('raw')
      .resourceQuery(/raw/)
      .use('raw-loader')
      .loader('raw-loader')
      .end()
      .end()
      .oneOf('base64')
      .resourceQuery(/base64/)
      .use('url-loader')
      .loader('url-loader')
      .end()
      .end()
      .oneOf('inline')
      .resourceQuery(/inline/)
      .use('babel-loader')
      .loader('babel-loader')
      .end()
      .use('vue-svg-loader')
      .loader('vue-svg-loader')
      .options({
        svgo: {
          plugins: [{ removeDoctype: true }, { removeComments: true }],
          removeViewBox: false,
        },
      })
      .end()
      .end()
      .oneOf('external')
      .use('file-loader')
      .loader('file-loader')
      .options({
        name: 'assets/[name].[hash:8].[ext]',
      });

I believe this babel-loader thing should be included in examples by default to avoid frustrations for edge.

@cannap  YOU.SAVE.MY.LIVE Please describe this as note at https://vue-svg-loader.js.org/

dont thank me thank https://github.com/chymz :D

Hi @DrewLinzmaierGarratt, could you help me, please, with this? Where exactly in the Nuxt config shall I put this? Does it still work like this or any updates on it? I use the nuxt-svg module (which uses also this loader) and have this error in both Edge and IE11.
Any help much appreciated.
Thank you.

@DrewLinzmaierGarratt
I used @DigiSplit's solution, but didn't want to mess with Nuxt's global babel config.
So, I added the object spread plugin to the babel-loader options for inline svgs only.
{
  resourceQuery: /inline/,
  use: [
    {
      loader: 'babel-loader',
      options: {
        plugins: ['@babel/plugin-proposal-object-rest-spread'],
      },
    },
    {
      loader: 'vue-svg-loader',
      options: { svgo: false },
    },
  ],
},

Use babel loader together with vue-svg-loader will fix the IE issue, webpack config will look like this:
use: [           {             loader: 'babel-loader'           },           {             loader: 'vue-svg-loader',             options: {               svgo: {                 plugins: [{ removeDimensions: false }, { removeViewBox: false }, {cleanupIDs: false}]               }             }           }         ]
If you see Unexpected token error like this  ...rest,
use transform-object-rest-spread to transform rest properties.
Also if you are using es2015 preset, make sure to have a separate .babelrc. The official documentation of ES2015 states that it'll detect the presence of BabelJS and use that. However, it wasn't picking up the Babel configuration settings within the Webpack config file.
The .bebelrc will like this:
{   "presets": ["es2015"],   "plugins": ["transform-object-rest-spread"] }

I ran into the exact same issue in my vue-cli project where the app.js.map contained rest spreads for every svg being loaded to the SPA.
I am using vue-svg-loader version v0.12.0.
I tried the solution mentioned by @cannap , which did not work for me.
I tried using .babelrc with
{
"presets": ["babel/preset-env"],
"plugins": ["transform-object-rest-spread"]
}
This also didn't work.
Finally I just downgraded the vue-svg-loader to v0.10.0, and the rest spreads disappeared.
This looks like a version specific issue to me. Did anyone get this working for vue-svg-loader v0.12.0?

That is amazing!  It works  @Shepard

I use as you wrote but why do I get this error?
http://joxi.ru/v29nkbziz5yqgA
http://joxi.ru/DmB0MK5tz7LBbA
http://joxi.ru/brRpkqyTY9vdk2


fixed the navbar scrolling behavior for the updated jupyter site

jupyter/jupyter.github.io#266
jupyterlab/jupyterlab#4066

Thanks for fixing my confusion @didymu5

thanks !
The Navbar is wonky, for example if window is resized after scrolling:

There is a white gap on narrow screen:

That css transition at 509px is still strange as bootstrap uses 480px usually and still has rules at 480px

I am also not sure where the 509 comes from (other than legacy code for the website) but I do see different breakpoints on the bootstrap documentation website for bootstrap 3.

I am also not sure where the 509 comes from (other than legacy code for the website) but I do see different breakpoints on the bootstrap documentation website for bootstrap 3.

I think we might use bootstrap2, and there is indeed a 509px which is legacy and should have been fixed. we can postpone the 509/480 discussion, i'm fine with that, the more transition we have the more potential bug in layout can sneak in

@tgeorgeux thinks we are using bootstrap3

@jzf2101 @tgeorgeux I would recommend POC-ing a bootstrap3 upgrade before committing to it. Otherwise, this code based was built off of bootstrap2 and it seems like there's some heavy customization throughout the project. It'd be like building a house on shifting sand.
The other option is to just rebuild the entire thing from scratch. I'm not sure how much time or resources ya'll have for doing that.

Closing so I can work on it instead.

When I open the bootstrap.css file it shows this:

This led me to believe we were using bootstrap 3.

yup it's on 3.x for sure.


Add setting custom classes and styles to appointments

Change appointment text size to a little bit bigger // from 1.2rem to 1.5 rem.
Modify day height proportionally to text size for good look.
Add functionallity to set custom classes and styles to appointments // override root style or add classes like bootstrap if needed.
Add 2 new column to configuration page so user can try setting classes and styles to appointments.

Thanks this looks great. I'll get it merged in later today.

Changes done in new commit.


Incorrect sign on cash transaction when closing short trade

Closing a short trade currently results in you gaining the absolute cash value of the position in signals executor.
See here:
    if self.position[candle.symbol] > 0:
        self.cash += candle.close * self.position[candle.symbol]
    else:
        self.cash -= candle.close * self.position[candle.symbol]

When self.position[candle.symbol] is positive, i.e. a long position, it makes total sense for cash to increase by the positive value of closing price * position. But when position is negative, i.e. a short, we currently subtract the negative result of closing price * position, which results in an increase to cash.
I'm happy to do a fix, with a test and create a PR.

Sounds legit.
Please go over CONTRIBUTING.md before making a PR.
Thank you!


Implement DistGitMRHandler.run()

While deployed to stream-stg this code created this dist-git MR (the patches there are removed because the maintainer did not remove them in the latest commit) from this source-git MR.

[x] Update deployment playbooks
[x] Make it work in the deployed service with the service's credentials
[x] Link the two MRs
[x] Tests
[x] Containerize tests and run them in Zuul

Pull request merge failed: Resource not accessible by integration

GitHub Workflow update I guess…


fix(dropdown): remove attribute to add the carrot to the trigger #26

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes: #26
Summary:
Removes the chevron attribute from auro-dropdown so that the carrot on the right of the trigger is not shown per the Figma document.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 1.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Script with hardcoded multiple language glyphs causes many errors on open

Tested versions
Godot v4.3.stable
System information
Godot v4.3.stable - macOS 15.0.0 - Vulkan (Mobile) - integrated Apple M3 Max - Apple M3 Max (14 Threads)
Issue description
The following piece of code consistently leads to 504 errors every time I open the script:
class_name UISettings
extends Control

class LanguageCodes:
	var code: String
	var label: String

	func _init(_code: String, _label: String) -> void:
		code = _code
		label = _label

var _all_languages: Array[LanguageCodes] = [
		LanguageCodes.new("en_US", "English (US)"),
		LanguageCodes.new("de_DE", "Deutsch"),
		LanguageCodes.new("es_ES", "Español"),
		LanguageCodes.new("fr_FR", "Français"),
		LanguageCodes.new("ja_JP", "日本語"),
		LanguageCodes.new("ko_KR", "한국어"),
		LanguageCodes.new("nl_NL", "Nederlands"),
		LanguageCodes.new("pl_PL", "Polski"),
		LanguageCodes.new("pt_BR", "Português (Brasil)"),
		LanguageCodes.new("ru_RU", "Русский"),
		LanguageCodes.new("tr_TR", "Türkçe"),
		LanguageCodes.new("zh_CN", "简体中文"),
		LanguageCodes.new("zh_TW", "繁體中文"),
	]

This is the error I'm getting 504 times:
 FreeType: Error loading font: ''.
  modules/text_server_adv/text_server_adv.cpp:3486 - Condition "!_ensure_cache_for_size(fd, fd->msdf ? Vector2i(fd->msdf_source_size, 0) : Vector2i(16, 0))" is true. Returning: false

Steps to reproduce
Put the above code in a script and open it. If it doesn't immediately result in errors, restart the editor.
Minimal reproduction project (MRP)
n/a

I wasn't able to reproduce this issue.
Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Mobile) - dedicated AMD Radeon RX 580 2048SP (Advanced Micro Devices, Inc.; 31.0.21916.2) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)

Ah, sorry, indeed: i forgot to add the detail that this code was added by my colleague on a Windows machine who doesn't see the error. So i suspect this is a macOS only issue?

I think this is a duplicate of #96101


ISSC script not able to access the script file.

Hi, the ISSC.exe file isn't able to access the script file supplied as an argument. The build command:
$ docker built -t check/issc:latest .

But when i run the commands:
$ docker run --rm -v $PWD:/work check/issc ./helloworld.iss

It gives me the following error:
Inno Setup 6 Command-Line Compiler
Copyright (C) 1997-2020 Jordan Russell. All rights reserved.
Portions Copyright (C) 2000-2020 Martijn Laan. All rights reserved.
Portions Copyright (C) 2001-2004 Alex Yackimoff. All rights reserved.
https://www.innosetup.com

Compiler engine version: Inno Setup 6.1.2

Preprocessing
   Reading file: C:\Program Files\Inno Setup 6\ISPPBuiltins.iss
Parsing [Setup] section, line 2
Parsing [Setup] section, line 3
Parsing [Setup] section, line 4
Parsing [Setup] section, line 5
Parsing [Setup] section, line 6
Parsing [Setup] section, line 7
Parsing [Setup] section, line 8
Creating output directory: Z:\work\Output
Error in Z:\work\helloworld.iss: File access denied.
Compile aborted.

How can i fix it?

I can't reproduce the issue. I used your exact sample commands (except substituted build for built in the first one) and got
% docker run --rm -v $PWD:/work check/issc ./helloworld.iss
Inno Setup 6 Command-Line Compiler
Copyright (C) 1997-2020 Jordan Russell. All rights reserved.
Portions Copyright (C) 2000-2020 Martijn Laan. All rights reserved.
Portions Copyright (C) 2001-2004 Alex Yackimoff. All rights reserved.
https://www.innosetup.com

Compiler engine version: Inno Setup 6.1.2

Preprocessing
   Reading file: C:\Program Files\Inno Setup 6\ISPPBuiltins.iss
Parsing [Setup] section, line 2
Parsing [Setup] section, line 3
Parsing [Setup] section, line 4
Parsing [Setup] section, line 5
Parsing [Setup] section, line 6
Parsing [Setup] section, line 7
Parsing [Setup] section, line 8
Reading file (WizardImageFile)
   Reading file: C:\Program Files\Inno Setup 6\WIZMODERNIMAGE.BMP
Reading file (WizardSmallImageFile)
   Reading file: C:\Program Files\Inno Setup 6\WIZMODERNSMALLIMAGE.BMP
Preparing Setup program executable
   Updating version info (SETUP.E32)
Determining language code pages
   Reading file: C:\Program Files\Inno Setup 6\Default.isl
   Messages in script file
Reading default messages from Default.isl
Parsing [LangOptions], [Messages], and [CustomMessages] sections
   Reading file: C:\Program Files\Inno Setup 6\Default.isl
   Messages in script file
Reading [Code] section
Compiling [Code] section
Deleting HelloWorld.exe from output directory
Creating setup files
   Compressing Setup program executable
   Updating version info (SETUP.EXE)

Successful compile (1.544 sec). Resulting Setup program filename is:
Z:\work\Output\HelloWorld.exe

What is your $PWD when you invoked the run command?

Thanks for replying @amake . Nevermind, i got it solved. The problem was from my host machine Ubuntu. I just had to change permissions on my $PWD:
$ chmod 777 -R $PWD

And solved it out.
One question i had in mind tough. Why use wine, when you have windows images on docker?

Thanks for letting me know. I am primarily on macOS where permissions haven't been a problem. But I know that I've had more issues with permissions and Docker on Linux in CI, so I can imagine there might be some friction. If I had a better idea of what specific guidance to offer in this area, I would add it to the readme.

Why use wine, when you have windows images on docker?

Ah, got it. My bad. Closing it out now. And i can do a pull request in meanwhile regarding the permissions thing on Linux.


About the optimization setting

Hello, Thanks for your good work! I'd like to know if the cosine annealing schedule is also applied to the small-scale dataset experiments of CIFAR and STL10?

Hi, thanks for the query. The SimCLR implementation is taken from this link, which uses a fixed learning rate. So, the cosine scheduler is not applied.

Thank you


Jax policy learning

Hi Costa,
This PR contains the jax implementation of policy learning. You can find the comparison between jax and pytorch runs here. Some metrics are in the screenshots below.

Some comments:

Due to memory constraints on my 2-GPU desktop, for now I only ran jax and pytorch policy learning using specific configurations ppo.gradient-accumulation-steps=4 and ppo.lr=1e-6 .I opted for a lower learning rate (1e-6) compared to the default (1e-5) to counteract the small-batch effect (as the batch size is correlated with the number of GPUs) that causes instability. Furthermore, I only ran both implementations with 1 random seed. Since each run takes about 9 hours, running with multiple seeds is difficult for me 😅. If you have access to 8 spare GPUs, running with standard configs and multiple seeds would be immensely helpful! I hope both versions are still comparable in the 8-GPU setting.

The jax policy learning is slightly slower than the pytorch version. To make the jax version faster, I think we need to pmap a greater chunk of the code for policy rollout. But this will introduce more abstractions. If you have any tips for accelerating the jax implementation, please let me know!

Regarding the metrics, I follow the existing ones in policy_learning_accelerate.py. The current metrics are comprehensive and helpful, but there are repetitions that I think might complicate interpretation. Specifically, we have metrics that are aggregated at the batch level, microbatch level, and both levels.  I've summarized the PPO-related metrics below, excluding those related to the rollout since they don't exhibit the batch vs. microbatch confusion.

Microbatch-level metric
Batch-level counterpart

ppo/policy/approxkl
ppo/policy/approxkl_avg

ppo/policy/clipfrac
ppo/policy/clipfrac_avg

ppo/policy/entropy
ppo/policy/entropy_avg

ppo/loss/policy
ppo/loss/policy_avg

ppo/loss/value
ppo/loss/value_avg

ppo/val/clipfrac
ppo/val/clipfrac_avg

ppo/val/error
N/A

ppo/val/ratio
N/A

ppo/val/ratio_hist
N/A

ppo/loss/total
N/A

ppo/val/vpred
N/A

Perhaps we can simplify these metrics by only keeping the batch-level statistics? I think that the microbatch-level statistics tend to be noisy and have high variance, making cross-run comparisons less reliable. Moreover, their batch-level counterpart already contain the same information (up to an average). For those microbatch level statistics that are currently not recorded in batch level (the N/As in the table), we can add them there.
Additionally, I'm unsure about the meaning of two metrics, ppo/val/ratio_var and ppo/val/advantage_var. It seems they describe variance in the ratio or advantage across devices, not samples? Not sure if that's intentional. Indeed it looks like the var() is evaluated after accelerator.gather of per-device means, like
writer.add_scalar(
    "ppo/val/advantage_var",
    accelerator.gather(advantages.mean()).var().item(),
    update,
)

In practice, both metrics have very small values, with one less than 1e-5 and the other less than 1e-14. I didn't incorporate ppo/val/ratio_var and ppo/val/advantage_var in the jax implementation, but I can add them back if they are needed.
Happy to hear your feedback. Thank you! 🤗
Tianlin

Thanks for the reviews and suggestions! I'll convert the PR into draft and reopen it when it is ready for review again.

Hey Costa @vwxyzjn ,
Thanks for your feedback again. I updated the PR. By pmapping and scanning the update function (rollout + epochs of PPO steps), the GPU utility is indeed higher than before. However, the wall clock speed remains slightly slower than the pytorch version. Could you review the code again to identify any possible optimization? Thank you!
One issue I've encountered is implementing right_padding_to_left_padding to make it jittable. The naive ways that I have tried incur dynamic shape problems. To make right_padding_to_left_padding jittable, I resort to a method that sorts the mask:
def right_padding_to_left_padding(tokens, pad_id):
    def pad_row(row):
        mask = 1 - (row == pad_id)  # 1 if not pad_id, 0 if pad_id
        return row[
            jnp.argsort(mask)
        ]  # uses the fact that jnp.argsort is stable by default

    return jax.vmap(pad_row)(tokens)

Do you see simpler alternatives for implementing to achieve a jittable right_padding_to_left_padding?
I'll provide a test case for scan-based GAE later. For now I'm mostly intrigued by the implementation's speed.... please share any suggestions you might have!
Tianlin

There is also profiling :) https://jax.readthedocs.io/en/latest/profiling.html Let me also take a look :)

Thanks! That's very informative. In my 2 GPU setting, though, the utility of both are very close to 100% even with the current configuration:

Added numpy_collate to avoid the conversion from pytorch tensor to jnp.ndarrays in data loading. The effect is small on my end, though.

If it's already 100% it's pretty good.

The speed is however still comparable to the pytorch version. I'll try to dig deeper...

Which experiments are you comparing, mine or yours? To do a fair comparison, we need to use the same hardware :)

Which experiments are you comparing, mine or yours? To do a fair comparison, we need to use the same hardware :)

Yes, I ran both jax and pytorch implementations on my 2 GPU desktop with the same setting ( ppo.gradient-accumulation-steps=4, ppo.lr=1e-6, and otherwise default config).
So there seems to be two separate problems. (1) When running on 2 GPUs, the GPU utilization is high, but despite this, the jax implementation does not outperform pytorch in speed. (2) When using 8 GPUs, the GPU utilization is low in the jax implementation.
For (1), I think the sorting that involved in the jittable right_padding_to_left_padding can indeed cause a slow down. I'll try to do a more proper speed comparison soon. I don't have an idea for (2).

Which experiments are you comparing, mine or yours? To do a fair comparison, we need to use the same hardware :)

Yes, I ran both jax and pytorch implementations on my 2 GPU desktop with the same setting ( ppo.gradient-accumulation-steps=4, ppo.lr=1e-6, and otherwise default config).
So there seems to be two separate problems. (1) When running on 2 GPUs, the GPU utilization is high, but despite this, the jax implementation does not outperform pytorch in speed. (2) When using 8 GPUs, the GPU utilization is low in the jax implementation.
For (1), I think the sorting that involved in the jittable right_padding_to_left_padding can indeed cause a slow down. I'll try to do a more proper speed comparison soon. I don't have an idea for (2).

Maybe another related thing is in Jax there is no flash attention whereas pytorch does have it.

Hi Costa @vwxyzjn. I am wondering if we can merge the PR. Although the speed of the jax policy learning is only comparable with pytorch, the metrics match closely. Especially, the policy_avg  metrics now go to zero in both implementations (figure below). I think the earlier jax version didn't converge to zero because of a glitch in the learning rate annealing.

But of course, please feel free to keep the PR open if you think this way is better, and feel free to suggest further edits before the merge :-)

Awesome, thanks! Just a note for further benchmarking: as we discussed, all metrics in jax policy learning are averaged on the batch level (as opposed to the microbatch level for a subset of metrics in pytorch policy learning). For this reason, some metrics from jax may appear smoother than their current pytorch counterparts. Below is an example.


[Feature Request] Setup of DPBO purls

Is your feature request related to a problem? Please describe.
In issue #321 is was reported that purls for DPBO are currently not working. A possible workaround is described here.
Describe the solution you'd like
Currently, purls are constructed like this:"https://obolibrary.org/obo/" + "DPBO_0000035". Since the purl domain /obo/ does not belong to us we need to adjust the purls accordingly. My suggestion is to construct purls like this "http://purl.org/nfdi4plants/ontology/dpbo#" + "DPBO_0000035". I have already set up the redirect to our github file for any links in the mentioned domain (nfdi4plants/ontology/dpbo). Adding the hash after the domain name and then the accession is crucial to make the purls work.
Describe alternatives you've considered
Adding individual redirects for all terms is not suitable as the DPBO is a transient ontology meant to keep terms temporarily before suggesting them to external ontologies.
Additional context
Once we have a similar terminology search tool like nfdi4chem set up (https://terminology.nfdi4chem.de/ts/), which has been requested if I am not mistaken, we should redirect there.

So, I have created all purls for the terms that are currently in DPBO. The ontology repo now also has an automated workflow that creates new purls whenever new DPBO terms are added to the .obo file. The purl checker + creation runs every Saturday once per week, since it takes a while to run. The purls are created at the InternetArchive's purl service and are formatted like this: http://purl.org/nfdi4plants/ontology/dpbo/DPBO_0000001 . They open the link to that term in the TIB service. If the links could be created in swate in this format, we can use this. That would (from our current understanding) be the easiest way at the moment to solve this issue.


Fork PascalCoin

Hello
I want to build a stable cryptocurrency in my country and the price is the same as the local currency
It's not for trading, I want it to transfer money, and pay merchants
Immediately, without fees, and the most important thing is high security
The other part of the question
Does this wallet work with your coin code and is fully compatible with it?
https://github.com/appditto/blaise_wallet_flutter
Because as far as I know it only works with the nano cryptocurrency code
Thanks

Blaise wallet is for PascalCoin


单步调试非常久

Start F5 debugging, you need to wait about 40 seconds for each step.
It may be due to the installation of Sophos anti-virus software.
The single-step debugging of vscode and GLand is the same, each step takes about 40 seconds.

然而，由于您没有使用英语，我们很难进行处理。如果可能，请您将此问题描述修改为英文。请您直接编辑此问题，不要提交回复或新问题。
请注意，机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言，所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。
如果您无法做到，没有关系。此问题已经被标记为需要翻译，等待社区成员志愿进行翻译。

Thanks for creating this issue!
Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.
In our experience, automatic translation services are not able to handle the technical language needed to effectively communicate about software issues, so we recommend finding a human translator who is familiar with our technology to help.
Otherwise, we have marked this as needing translation and a community member may be able to help out.

Start F5 debugging, you need to wait about 40 seconds for each step.
It may be due to the installation of Sophos anti-virus software.

Please also edit the title.
And since you say it also happens in GLand (I assume you mean GoLand) it seems unlikely to be a VS Code problem. Maybe raise it with the Go extension developers.


Backport "bugfix: Document highlight on class constructors" to LTS

Backports #19209 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-19356.
Reference


Out of Pokeballs...

says "Out of pokeballs..." but I have 100+ regular pokeballs in my inventory.

It appears only Great balls are used right now(which has been reported already)

ah that must be why. got it!


Documentation Search Using OpenSearch

Describe the blog post your would like to write
This blog will focus on the implementation/development of documentation search using OpenSearch.
What is the title of the blog post?
[Working Title] Documentation Search Using OpenSearch
Who are the authors?
@abbashus
What is the proposed posting date?
TBD

I believe the plan is to release the blog with the implementation release. @abbashus is that correct?


ArraySplice: accept multiple replacement values

Presently ArraySplice only accepts one replacement value, unlike it's native equivalent Array.splice
Example:
arraySplice('form', 'field', 0, field.length, "bob", "alice", "mary") should add items "bob", "alice", and "mary" into the array, however only "bob" is added.

This issue has previously been tracked (#203), but I'm raising this as a clear problem statement, as this seems a sensible enhancement, for someone, at some time, to take on.
This enhancement is to align the action with Array.splice by allowing multiple replacement values to be added to the array in the spliced location.

Related: #2870 would like arraySplice exposed as a fields prop.


GitSyncProcessor Iterate through all files with the given repo path

Closes #4
This PR iterates through all files with the given repo path so that the defined resources can be applied.

Technically, this PR doesn't do this part of the original issue: "If the previous git commit hash is passed in, clone the repository at that hash. If not, clone it at the latest HEAD." so maybe we can add that as a separate issue?

Yeah, I will create a separate issue for it as it is relates to https://github.com/numaproj-labs/numaplane/issues/25


MSP432P401R: GPIO Interrupts

The Gpio interface includes interrupt handling so this doesn't make sense to be seperate.


µ character displayed as infinity

Example PDF: https://www.analog.com/media/en/technical-documentation/data-sheets/lt1255.pdf
(First page, left side under "Features", it says "12μA Standby Current").
Configuration:

Web browser and its version:
Chrome 109.0.5414.120 (Official Build) (64-bit)
Operating system and its version:
Tested on Windows 8.1 and Windows 10, both with latest patches as of February 1st 2023.
PDF.js version:
2.3.164
Is a browser extension:
Yes

Steps to reproduce the problem:

Open PDF linked above.

What is the expected behavior? (add screenshot)
The µ character id displayed correctly.
What went wrong? (add screenshot)

The µ character id displayed as an infinity symbol.
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://chrome.google.com/webstore/detail/pdf-viewer/oemmndcbldboiebfnladdacbdfmadadm

Example PDF: https://www.analog.com/media/en/technical-documentation/data-sheets/lt1255.pdf

WFM, when opening that document with https://github.com/mozilla/pdf.js#online-demo

PDF.js version:
2.3.164
[...]
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://chrome.google.com/webstore/detail/pdf-viewer/oemmndcbldboiebfnladdacbdfmadadm

That would make this a duplicate of #13669


Incompatibility issues with Refseq accession.

Biopython/enterz.efetch issue with certain accession listed. Seems to effect all compete refseq accessions and some shotgun sequenced Refseq accessions.
List of effected accessions:
NC_008268
NC_012490
NC_012522
NC_014659
NC_022115
NC_023150
NZ_AGVD00000000
NZ_AJFC00000000

The issue continues as of 02-05-2017


Supermarket doesn't have latest release

https://supermarket.chef.io/cookbooks/hostname only has 0.3.0
Can you update to 0.4.0 ?

+1

Agreed. As we work towards 0.5.0, we should have the latest tagged stable release (v0.4.0) on the Supermarket.
+CC @mpasternacki , @xamebax

+1
@mpasternacki, if you're busy, would you consider giving someone else contributor access on supermarket?

ping

+1 This would be great

+1

A year later. There is a pretty huge bug in 3.0 that was fixed with 4.0. Supermarket should have the latest release.

Still a thing.

Uploaded, apologies about that taking so long.


Get "pybullet.error: Not connected to physics server." when running the environment in a data-parallel fashion

Hi all,
I'm now using the garage lib to run a reinforcement learning algorithm in a panda gym environment. However, when I use the RaySampler in Garage that can "sample episodes in a data-parallel fashion using a Ray cluster", I got this error: pybullet.error: Not connected to physics server. It's triggered by this line.
I guess this is a multi-process issue, could you help me with this? Thank you!
Here're more detailed bug log:
Traceback (most recent call last):
  File "/home/yygx/scripts/train_panda_airl.py", line 220, in <module>
    trainer.train(n_epochs=EPOCH_NUM, batch_size=10000)
  File "/home/yygx/src/garage/trainer.py", line 399, in train
    average_return = self._algo.train(self)
  File "/home/yygx/src/airl/irl_npo.py", line 187, in train
    trainer.step_episode = trainer.obtain_episodes(trainer.step_itr)  # yy: rollout episodes using the learned policy
  File "/home/yygx/src/garage/trainer.py", line 224, in obtain_episodes
    env_update=env_update)  # yy: generate episodes with learned policy
  File "/home/yygx/src/garage/sampler/ray_sampler.py", line 208, in obtain_samples
    ready_worker_id, episode_batch = ray.get(result)
  File "/home/yygx/anaconda3/envs/garage-ubuntu/lib/python3.6/site-packages/ray/_private/client_mode_hook.py", line 105, in wrapper
    return func(*args, **kwargs)
  File "/home/yygx/anaconda3/envs/garage-ubuntu/lib/python3.6/site-packages/ray/worker.py", line 1831, in get
    raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(error): ray::SamplerWorker.rollout() (pid=241822, ip=<IP_ADDRESS>, repr=<garage.sampler.ray_sampler.SamplerWorker object at 0x7f3b17457e80>)
  File "/home/yygx/src/garage/sampler/ray_sampler.py", line 432, in rollout
    return (self.worker_id, self.inner_worker.rollout())
  File "/home/yygx/src/garage/tf/samplers/worker.py", line 115, in rollout
    return self._inner_worker.rollout()
  File "/home/yygx/src/garage/sampler/default_worker.py", line 186, in rollout
    self.start_episode()
  File "/home/yygx/src/garage/sampler/default_worker.py", line 97, in start_episode
    self._prev_obs, episode_info = self.env.reset()
  File "/home/yygx/src/garage/envs/gym_env.py", line 210, in reset
    first_obs = self._env.reset()
  File "/home/yygx/anaconda3/envs/garage-ubuntu/lib/python3.6/site-packages/gym/wrappers/time_limit.py", line 25, in reset
    return self.env.reset(**kwargs)
  File "/home/yygx/panda-gym/panda_gym/envs/core.py", line 250, in reset
    with self.sim.no_rendering():
  File "/home/yygx/anaconda3/envs/garage-ubuntu/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/yygx/panda-gym/panda_gym/pybullet.py", line 384, in no_rendering
    self.physics_client.configureDebugVisualizer(self.physics_client.COV_ENABLE_RENDERING, 0)
pybullet.error: Not connected to physics server.

Could anybody share any hints about what might cause this "pybullet.error: Not connected to physics server." issue? Thank you so much!

Hi, I've tried to investigate this. Indeed, it seems to be an issue related to pybullet and multiprocessing. What version of panda-gym and garage do you use? Have you disabled rendering for learning?
Could you try to provide a code example to reproduce the bug?


v2 plugin can get stuck with wrong peer list

As reported on Slack
The node was rebooted, but the v2 plugin came up thinking it was a restart and did not re-fetch the list of peers.
Nov 08 08:41:27 azure-swarm-manager systemd[1]: Starting Docker Application Container Engine...
Nov 08 08:41:29 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:29.897300800Z" level=info msg="libcontainerd: new containerd process, pid: 1579"
Nov 08 08:41:31 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:31.007597200Z" level=warning msg="libcontainerd: client is out of sync, restore was called on a fully synced container (d2eb3b91fa7aec6f7e7043ba3584272fa102465011d
Nov 08 08:41:31 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:31.008556600Z" level=warning msg="libcontainerd: failed to retrieve container d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0677260b971a6f2 state: rpc error: co
Nov 08 08:41:31 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:31Z" level=info msg="mkdir: can't create directory '/host/var/lib/weave': File exists" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0677260b971a6f2
Nov 08 08:41:31 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:31Z" level=info msg="Starting launch.sh" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0677260b971a6f2
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.377431 Command line options: map[port:6783 datapath:datapath docker-api: nickname:azure-swarm-manager db-prefix:/hos
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.380729 weave  2.0.5" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0677260b971a6f2
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.686952 Bridge type is bridged_fastdp" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0677260b971a6f2
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.687118 Communication between peers is unencrypted." plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0677260b
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.707000 Our name is 56:82:4f:1d:8c:99(azure-swarm-manager)" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.707260 Restart/resume detected - using persisted peer list: []" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d28
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.707351 Checking for pre-existing addresses on weave bridge" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="DEBU: 2017/11/08 08:41:32.711231 fastdp: broadcast{1 false} {56:82:4f:1d:8c:99 33:33:00:00:00:16}" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="DEBU: 2017/11/08 08:41:32.711331 Creating ODP flow FlowSpec{keys: [EthernetFlowKey{src: 56:82:4f:1d:8c:99, dst: 33:33:00:00:00:16} InPortFlowK
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.712303 [allocator 56:82:4f:1d:8c:99] Initialising with persisted data" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa10246
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.712334 Sniffing traffic on datapath (via ODP)" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0677260b971a6
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.739449 Listening for HTTP control messages on <IP_ADDRESS>:6784" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289a
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.741363 Listening for metrics requests on <IP_ADDRESS>:6782" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace06772
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.751601 Waiting for Weave API Server..." plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0677260b971a6f2
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="DEBU: 2017/11/08 08:41:32.765843 [http] GET /status" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0677260b971a6f2
Nov 08 08:41:32 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:32Z" level=info msg="INFO: 2017/11/08 08:41:32.766695 Finished waiting for Weave API Server" plugin=d2eb3b91fa7aec6f7e7043ba3584272fa102465011d289ace0677260b971a6f
...

Once it's in this state it doesn't come out as discussed at #1692 and #2400
I think this log line relates:
Nov 08 08:41:39 azure-swarm-manager dockerd[1348]: time="2017-11-08T08:41:39.322265000Z" level=warning msg="Failed the node discovery in driver: NetworkDriver.DiscoverNew: 404 page not found

Does it get stuck as the issue title suggests? I expect that eventually (depending on mesh backoff timer) some other peer will connect to it.

Per the Slack conversation, this never happened.
If the peer didn't exist when the other nodes fired up, how would they add it?


[SPARK-16370][SQL] Union queries should not be executed eagerly

What changes were proposed in this pull request?
Currently, Spark eagerly executes some queries with side effects like Command, InsertIntoTable, and CreateTableUsingAsSelect. However, it matches UNION queries mistakenly and executes inconsistently. This PR prevents UNION query eager execution to prevent inconsistency.
scala> spark.emptyDataFrame.createOrReplaceTempView("empty")

scala> sql("CREATE TABLE tbl(i INT) USING PARQUET")

scala> sql("(INSERT INTO tbl VALUES(1)) UNION ALL (INSERT INTO tbl VALUES(2))") // Executed.

scala> sql("select * from tbl").collect()
res4: Array[org.apache.spark.sql.Row] = Array([1], [2])  // Inserted

scala> sql("(INSERT INTO tbl VALUES(5)) UNION ALL (SELECT * FROM empty)") // Not executed.

scala> sql("select * from tbl").collect()
res6: Array[org.apache.spark.sql.Row] = Array([1], [2])  // Not inserted.

How was this patch tested?
Pass the Jenkins tests.

Test build #61734 has started for PR 14048 at commit e59c3d1.

Test build #61734 has finished for PR 14048 at commit e59c3d1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61734/
Test PASSed.

Hi, @cloud-fan .
Could you review this PR?
The previous Union-handling code is written by you, and this is an augmentation for that.

Test build #61774 has started for PR 14048 at commit b55a757.

Test build #61774 has finished for PR 14048 at commit b55a757.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61774/
Test FAILed.

Master is broken currently. I'll retry to test.

I've fixed it.

Thank you so much, @rxin !

Retest this please

Hi, @cloud-fan .
I've changed the code of this PR to match the multi-insert cases explicitly.
I think that is better than the comment.
I'll update the title and description of PR/JIRA accordingly soon.

Test build #61776 has started for PR 14048 at commit b55a757.

Test build #61776 has finished for PR 14048 at commit b55a757.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61776/
Test FAILed.

Test build #61779 has started for PR 14048 at commit e497bd7.

Test build #61779 has finished for PR 14048 at commit e497bd7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61779/
Test FAILed.

Test build #61791 has started for PR 14048 at commit b035865.

Test build #61791 has finished for PR 14048 at commit b035865.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61791/
Test PASSed.

Test build #61978 has started for PR 14048 at commit f14cb78.

Rebased and PR description is updated.

Test build #61978 has finished for PR 14048 at commit f14cb78.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61978/
Test FAILed.

Retest this please.

Test build #61989 has started for PR 14048 at commit f14cb78.

Test build #61989 has finished for PR 14048 at commit f14cb78.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61989/
Test PASSed.

Merged build finished. Test PASSed.

Hi, @cloud-fan .
Could you think about this one more time please?

It's good to elimiante the inconsistency, but I don't think there is an easy fix. With your patch, we can still create union queries with side effect which will be executed eagerly. We use Union to implement multi-insert, so there is no way to distinguish them at plan level, except we do some fundamental changes.
As this is a small issue, I don't think it worth a lof of effort to fix it. How about we close this PR for now and think about a holistic fix if users complain about it? thanks.

Ur, what do you mean?

With your patch, we can still create union queries with side effect which will be executed eagerly.

The current one looks like this.
case Union(children) if children.forall(x => x.isInstanceOf[InsertIntoTable] || x.isInstanceOf[InsertIntoHadoopFsRelationCommand]) =>

This PR fixes that with minimal efforts.

Ah, I see. You mean Union of INSERT INTOs, right?

case Union(children) if children.forall(x => x.isInstanceOf[InsertIntoTable] || x.isInstanceOf[InsertIntoHadoopFsRelationCommand]) =>

This doesn't indicate a muliti-insert right? A normal Uion can also looks like this

Hmm. Okay, I didn't prevent all.
I see. I'll close.
Thank you for decision, @cloud-fan .

A more fruitful approach might be to introduce a separate operator for multi-insert. Lets leave that for another day :)...


contains(k) does not handle dotted checks properly

When doing a contains(k) check against a DottedDict, the first level of the dotted notation is not checked for existence.
Example:
d = DottedDict({'a':{'b':{'c':'d'}}})
works = 'a.c' in d
fails = 'e.f' in d

any update to this?


New error this morning and homebridge in loop

Describe Your Problem:
Last night our eero network updated and this morning I noticed my wyze devices are disconnected in homekit. They work in the wyze app and our wyze sense v2 bridge is working fine. But Homebridge keeps restarting itself. At first I thought I needed to add the Wyze API Key which I hadn't done before but I'm still getting the error. Disabling this plugin stops the problem. One thought. Since it's saying "security system current state" could It be that I turned off monitoring this morning? I didn't want it but was the only way to get the sense v2 bridge (paying for one month). I did the thing in the app this morning that erased the monitoring setup on it (it still functions as a bridge for the sensors).
Logs:
[27/07/2023, 11:15:11] Homebridge v1.6.1 (HAP v0.11.1) (Homebridge B935) is running on port 51697.
[27/07/2023, 11:15:12] [homebridge-wyze-smart-home] This plugin generated a warning from the characteristic 'Security System Current State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[27/07/2023, 11:15:12] [homebridge-wyze-smart-home] This plugin generated a warning from the characteristic 'Security System Target State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[27/07/2023, 11:15:13] TypeError: Cannot read properties of undefined (reading 'device_id')
at WyzeHMS.getHmsID (/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:529:92)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at WyzeHMS.updateCharacteristics (/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeHMS.js:30:9)
at WyzeHMS.update (/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:326:7)
[27/07/2023, 11:15:13] Got SIGTERM, shutting down Homebridge...
[27/07/2023, 11:15:16] [Nest] initing home_away_sensor XXXXXX
[27/07/2023, 11:15:16] [Nest] initing protect XXXXXX
[27/07/2023, 11:15:16] [Nest] initing protect XXXXXX
[27/07/2023, 11:15:16] [Nest] initing protect XXXXXX
[27/07/2023, 11:15:16] [Nest] initing protect XXXXXX
[27/07/2023, 11:15:16] [Nest] initing protect XXXXXX
[27/07/2023, 11:15:18] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[27/07/2023, 11:15:23] [HB Supervisor] Restarting Homebridge...
[27/07/2023, 11:15:23] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[27/07/2023, 11:15:23] [HB Supervisor] Started Homebridge v1.6.1 with PID: 13355
[27/07/2023, 11:15:25] Loaded config.json with 2 accessories and 3 platforms.
Plugin Config:
{
"name": "Wyze",
"username"<EMAIL_ADDRESS>"password": "AtF4P4xHko3TDr67jatGtbTBM$Hxr28o8,9yfuqKiup$gFb4md",
"keyId": "983549db-8f36-4f74-bfcd-d5d19e4d1a15",
"apiKey": "MGLUnVRSEuEbXkC75Ed7ti4QnGMIICGpV3bjQdbZ70uiQKMowPzft09DbbCC",
"mfaCode": "337162",
"refreshInterval": 60000,
"entryExitDelay": 30,
"showAdvancedOptions": true,
"logging": "none",
"excludeMacAddress": false,
"excludedeviceType": true,
"filterDeviceTypeList": [
"Camera"
],
"platform": "WyzeSmartHome"
}
Screenshots:
None
Environment:

Plugin Version: 0.5.36
Homebridge Version: 1.6.1
Node.js Version: 18.17.0
NPM Version: n/a?
Operating System: Raspbian

Can you upgrade to the latest and enable debug logging?

Never mind you don't have to upgrade. Just exclude S1Gateway.

Oh good point...that worked. Thanks!


[SelectField] [DropDownMenu] Implement multiple select

What do you think about multiple select?

I think list (and therefore new menus) can do this.  SelectField/DropDownMenu don't use the new menu's yet.  Is that along the lines of what you were thinking...?

@chrismcv I think too. I think that we need to updates SelectField and DropDownMenu to use the new Menu component.

:+1:

Would love to see this feature.

I am trying to implement a kind of menu containing several checkboxes but it doesn't work well at the moment

Le 13 févr. 2016 à 20:29, Mathias Nilsson<EMAIL_ADDRESS>a écrit :
Would love to see this feature.
—
Reply to this email directly or view it on GitHub.

+1
Or some kind of tag input would be great

@Va1 Please use the github +1 emojis instead of +1ing

i would love to see a component like the one from MaterializeCSS:

support for tagging would also be nice to have!

i accomplished this using this code https://gist.github.com/kkoch986/34a43b79acd460cae527496a5fa6a982 havent tested it much yet but it seems to work ok. would be interested in what everyone else thinks about it.

any progress on this?

any progress on this?

I think the multiselect feature discussion can be decoupled into 2 sub-features:

the options menu :
A great implementation would be the Angular-material "Select Header"
At first glance, best component candidate from MaterialUI would be Autocomplete as it would only need a "multiple" prop which would

prevent the underlying popover to close onNewRequest()
make checkbox appears in MenuItem
transform the value prop into an array

display the selections
This is kinda controversial, i found different views during my searches :

angular-material's select simply concatenates string values directly in the input.
This would be incompatible with typing suggestions in the Autocomplete's input. This would explain why they added another input into the menu.
Then the selections would be either piling down with angularMaterial component (fixed width), or a single string concatenating values with an ellipsis hiding overflowing text.
I feel this option would not be the nicest as it modifes the overall UI height/width when expanding results

Many e-commerce sites use autocompletes for filtering, i feel their implementation would be better and more flexible :
Display of selections is externalized into a textarea below the AutoComplete components, the main input would simply have the placeholder text as default.
The selections could then be displayed with chips like with VisualSearch.js
A single selections container, coupled to multiple Autocomplete-multiselect components seems a nice idea.

What's your thoughts ?

Oct 2016 and still no multi select. I am starting to feel that perhaps material-ui is just too new and too under developed for serious applications.

There are 2 proposed implementations you can use:

mine @ #5018
material-ui-chip-input

Any updates on this? This is like the most anticipated feature of MUI!

True, i think also it might be the most WANTED component ! :Q___
Here is my current WIP.

@sharlaan Your code is quite brilliant. Are you planning to create a component project with that?

Here is my repo

@Sharlaan Amazing!!
I'm going to try to integrate this into my project and see how it goes.

@Sharlaan really useful!

@Sharlaan How do you solve the issue of this line :
handleSelection = (name, value) => this.setState({ [name]: value })
It is also listed an example in Material-UI and gave me error of unexpected token =

@ DDDDDanica :
Maybe you forgot to specify a name attribute on your component ?
Also (from memory) i remember getting this false error when using static keyword in class in unconfigured IDE...
Can you tell more about the context of your error ?

@JessThrysoee did an awesome job extending the multiple property of the <Menu /> up to the <SelectField />. We now have three alternatives to address that multi-select problem:

The material-ui-chip-input package that implements something close to what the Material Design specification is suggesting to do.

The multiple property, we have an example in the documentation for the <SelectField />.

The material-ui-superselectfield package that kind of mix the two previous approaches.

In the documentation for SelectField (http://www.material-ui.com/#/components/select-field) it mentions the multiple property of SelectField but this is not actually in yet is it?  I'm using 0.16.7

For anyone landing here note that the three solution libraries in the above comment appear to no longer be maintained. Best solution is likely to use MUI's autocomplete with multiple values.


maven_settings does not flush/close file

Cookbook: 4.0.1
Chef: 12
The settings LWRP does not close (nor explicitly flush) the settings file that it is writing.  So if you have a maven_settings followed immediately by maven resource the maven resource may fail because it reads an empty or partially written settings.xml.

5.0.1 fixes this


api endpoint

endpoint /api to get json data

The steps to implement this feature:

[ ] Auth (by pkey)
[ ] add auth to apis
[ ] docs


Converting Images to Pencil Sketch in Python

Built a Simple Program that converts Colored Images [RGB] to Pencil Sketches. I have fulfilled your Requests and Conditions by adding additional files such as README.md, requirements.txt. Looking forward to my first Merge! Thankyou!!

someone already working on this script.


document supported versions

We should document what versions of our dependencies we support.

I know this should be implementrd over at tauri-docs but let’s discuss this here first.

OS

macOS: >= 10.15
window: >= win10
linux: ???

Other

Node.js: >= 12.13.0 (Should this be raised to 12.22.0 to support  napi 8? )
Rustc: >= 1.56.0 (edition 2021)
Cargo: >= 1.56.0 (edition 2021)

macos

I'm really fine with 10.15. But we could add a note that reportedly >=10.13 works too, and that we won't provide support for it or something like this.

windows

>= win7 -> webview2 supports it, it's still too widespread, and it has some extended support for security fixes for enterprise versions. In general we don't have to invest too much time to support it anyway, or at least not enough to justify potentially loosing the enterprise audience.

linux

That's really difficult. So far it's just "as long as it has webkit2gtk". centos7 (oldest linux that still got lts support) still got webkit1gtk, causing some problems. So for now it's something like >= ubuntu 18.04 or equivalent.
This might change if we need webkit2gtk >= 2.36 for the fixed header thingies.
But with linux being linux we can't rely on that until quite some time after its release (of provide some kind of fallback)...

Rust

>= 1.57 -> already done in the audit repo. Even if not i'd defend that with all i got haha. Multiple users (including me) reported that compiling on 1.56 produced broken release binaries on windows.

Node.js

Might as well raise this to >= 12.20, which is used in the js cli right now. 1.22 is only 4 months younger than 1.20, so 1.22 would be fine imo too, if it adds something valuable.
-> this should be discussed together with the potential napi/esbuild-like changes i guess.

We also need to add a note saying that window.print is only supported on macOS 11+


Correcting enum Messages (typo) & adding curl request logger for easy debugging .

Closes: #[ticket no]
Type of changes?

[x] Bug fixes: Non-breaking change which fixes an issue
[x] New feature: Non-breaking change which adds a new feature
[ ] Performance improvement: Non-breaking change which improves performance
[ ] Documentation: Non-breaking change which improves documentation
[ ] Other: Non-breaking change which does not fit into the above categories
[ ] Breaking change: A breaking change which requires a new version of the library

Checklist for Java project

[ ] Change not related to Java project

Following checklists are optional if above checkbox is selected:

[ ] Copyright banner comment added to newly added files, except *.md, *.yml, *.json?
[ ] Proper JavaDoc updated in main and test classes for all public classes and methods?
[ ] Tests added for changes?
[x] Tests are passing locally?
[x] Check style checks are passing locally?
[x] Test coverage is at least 80% for newly added changes?
[x] There are no SonarCloud issues?
[ ] README updated? (if applicable)
[ ] Documentation website updated for the PR raised?

Checklist for Website

[ ] Change not related to Website project

Following is optional if above checkbox is selected:

[ ] Lint check passes locally?
[ ] Prettier check passes locally?
[ ] Build command working fine locally?

Reviewers
@WasiqBhamla/boyka-core

IMPORTANT: Make sure to check the Allow edits from maintainers box below this window

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

@SahilPuri2020 , Thanks for taking time to contribute to Boyka-framework.
Please run yarn install on root folder to enable pre-commit hooks so you can come to know about lint and build errors before you commit.
Please check and fix build failures and also commit with proper commit message.
I would suggest you to please check our contributing guide and check that you are following correct process.

@SahilPuri2020 , please create a Bug ticket for this PR and link the same to this PR.


Supported way to inject own CSS

It seems it's supported to inject custom CSS, but it's not documented in the samples.
I'd be glad to create a pull request for that, if a few pointers are given here about where to start.

You are right, it should be in the example.
The way to do it is to create a list of Snippets with rtfeldman/elm-css, and set the style Option:
main = Slides.app

    { slidesDefaultOptions | style = listOfElmCssSnipppets }

    listOfSlides

Another possibility is to set { slidesDefaultOptions | style = [] } and modify index.html to link to an external css file.

Resolved by https://github.com/xarvh/elm-slides/pull/18/files


Use jcmd to create dump files on Windows

Request from https://github.com/eclipse/openj9/issues/11904:

is it possible to first attempt using jcmd to get javacore files and system dump files? The cores acquired via procdump.exe aren't in a good state.

First step is to identify the jcmd commands which result in the creation of these files from https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr006.html

The jcmd commands required are
jcmd <pid> Dump.java
jcmd <pid> Dump.system

PR https://github.com/AdoptOpenJDK/stf/pull/105 does the following:

Creates a getJavaProperties method to return the properties listed by java -XshowSettings:properties as a hash array
Creates a java_properties_check.pl script which can be used to test the getJavaProperties method from the command line.
Uses the getJavaProperties method to determine whether java.vm,name contains J9.  If it does, and and there is a jcmd.exe executable in the jdk bin directory, jcmd is called to take the dumps rather than procdump.exe.

Output from a test run of the PR running the stf SampleOverrunTest:
15:53:16  STF 15:53:20.973 -
15:53:16  STF 15:53:20.973 - ====================   E X E C U T E -   ====================
15:53:16  STF 15:53:20.973 - Running execute: perl<EMAIL_ADDRESS>15:53:16  STF 15:53:21.337 -
15:53:16  STF 15:53:21.337 - Java version
15:53:16  STF 15:53:21.338 - Running: C:/Users/jenkins/workspace/Grinder@2/openjdkbinary/j2sdk-image/bin/java -version
15:53:16  Possible unintended interpolation of @2 in string at<EMAIL_ADDRESS>line 26.
15:53:17  openjdk version "1.8.0_292-internal"
15:53:17  OpenJDK Runtime Environment (build 1.8.0_292-internal-202102151834-b02)
15:53:17  Eclipse OpenJ9 VM (build master-14abebc65, JRE 1.8.0 Windows Server 2012 R2 amd64-64-Bit Compressed References 20210215_995 (JIT enabled, AOT enabled)
15:53:17  OpenJ9   - 14abebc65
15:53:17  OMR      - a7e83c733
15:53:17  JCL      - 182457fe based on jdk8u292-b02)

15:53:17  STF 15:53:21.978 -
15:53:17  STF 15:53:21.978 - +------ Step 1 - Run client
15:53:17  STF 15:53:21.978 - | Run foreground process
15:53:17  STF 15:53:21.978 - |   Program:     C:/Users/jenkins/workspace/Grinder@2/openjdkbinary/j2sdk-image/bin/java
15:53:17  STF 15:53:21.978 - |   Mnemonic:    CL
15:53:17  STF 15:53:21.978 - |   Echo:        ECHO_ON
15:53:17  STF 15:53:21.978 - |   Expectation: NON_ZERO_EXIT [0] within 10s
15:53:17  STF 15:53:21.978 - |
15:53:17  STF 15:53:21.979 - Running command: C:/Users/jenkins/workspace/Grinder@2/openjdkbinary/j2sdk-image/bin/java -classpath<EMAIL_ADDRESS>net.adoptopenjdk.stf.processManagement.apps.MiniClient 0 180000
15:53:17  STF 15:53:21.979 - Redirecting stderr to<EMAIL_ADDRESS>15:53:17  STF 15:53:21.979 - Redirecting stdout to<EMAIL_ADDRESS>15:53:17  STF 15:53:22.052 - Monitoring processes: CL
15:53:17  CL  15:53:22.495 Client started
15:53:17  CL  15:53:22.497 Client sleeping for 180000 milliseconds

15:53:28  STF 15:53:33.059 - **FAILED** Process CL  has timed out
15:53:28  STF 15:53:33.059 - Collecting dumps for: CL
15:53:28  STF 15:53:33.063 - Running command: C:/Users/jenkins/workspace/Grinder@2/openjdkbinary/j2sdk-image/bin/java -XshowSettings:properties -version
15:53:28  STF 15:53:33.063 - Redirecting stderr to C:\Users\jenkins\AppData\Local\Temp\sJSoub0yfP\java_properties.stderr
15:53:28  STF 15:53:33.063 - Redirecting stdout to C:\Users\jenkins\AppData\Local\Temp\sJSoub0yfP\java_properties.stdout
15:53:28  STF 15:53:33.067 - Monitoring processes: stf::stfUtility->getJavaProperties

15:53:29  STF 15:53:33.331 - Monitoring Report Summary:
15:53:29  STF 15:53:33.331 -   o Process stf::stfUtility->getJavaProperties ended sucessfully
15:53:29  STF 15:53:33.335 - Using jcmd.exe to generate .DMP files
15:53:29  STF 15:53:33.336 - Running command: C:\Program Files\AdoptOpenJDK\jdk-8.0.265.01-hotspot\bin\jcmd.exe 23096 Dump.java
15:53:29  STF 15:53:33.336 - Redirecting stderr to<EMAIL_ADDRESS>15:53:29  STF 15:53:33.336 - Redirecting stdout to<EMAIL_ADDRESS>15:53:29  STF 15:53:33.341 - Running command: C:\Program Files\AdoptOpenJDK\jdk-8.0.265.01-hotspot\bin\jcmd.exe 23096 Dump.system
15:53:29  STF 15:53:33.341 - Redirecting stderr to<EMAIL_ADDRESS>15:53:29  STF 15:53:33.341 - Redirecting stdout to<EMAIL_ADDRESS>15:53:29  STF 15:53:33.345 - Pausing for 30 seconds

15:54:01  STF 15:54:03.345 - Process CL  (pid 23096) is no longer running. Abandoning dump collection.
15:54:01  CL  stderr JVMDUMP039I Processing dump event "abort", detail "" at 2021/02/18 15:53:33 - please wait.
15:54:01  CL  stderr JVMDUMP032I JVM requested System dump using<EMAIL_ADDRESS>in response to an event
15:54:01  STF 15:54:03.345 - Monitoring Report Summary:
15:54:01  STF 15:54:03.345 -   o Process CL  has timed out
15:54:01  STF 15:54:03.345 - Killing processes: CL
15:54:01  STF 15:54:03.345 -   o Process CL  pid 23096 is not running
15:54:01  **FAILED** at step 1 (Run client). Expected return value=0 Actual=1 at<EMAIL_ADDRESS>line 80.
15:54:01  STF 15:54:03.774 - **FAILED** execute script failed. Expected return value=0 Actual=1
15:54:01  STF 15:54:03.774 -
15:54:01  STF 15:54:03.774 - ====================   T E A R D O W N   ====================
15:54:01  STF 15:54:03.774 - Running teardown: perl<EMAIL_ADDRESS>15:54:01  Possible unintended interpolation of @2 in string at<EMAIL_ADDRESS>line 26.
15:54:01  STF 15:54:04.145 - TEARDOWN stage completed
15:54:01  STF 15:54:04.168 -
15:54:01  STF 15:54:04.168 - =====================   R E S U L T S   =====================
15:54:01  STF 15:54:04.168 - Stage results:
15:54:01  STF 15:54:04.168 -   setUp:     pass
15:54:01  STF 15:54:04.168 -   execute:  *fail*
15:54:01  STF 15:54:04.168 -   teardown:  pass
15:54:01  STF 15:54:04.168 -
15:54:01  STF 15:54:04.168 - Overall result: **FAILED**

Full job link: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/7098/console

Fixed by https://github.com/AdoptOpenJDK/stf/pull/105


Search causes app to crash

Describe the bug
Search for *.jpg causes app to crash
To Reproduce
Steps to reproduce the behavior:

Enter search field
Type *.jpg
Press enter

Expected behavior
Not crash (duh), and then show all files with .jpg extension
Screenshots

Desktop (please complete the following information):

OS Version: Windows 10.0.21301
App version: v<IP_ADDRESS>

Additional context
Does this problem occur again after restarting the app? YES
Now it seems to happen as soon as I type * or anything in the search, before hitting enter.
Log file
debug_fulltrust.txt

@Lane-HOY Could you post the other log file ("debug.txt") as well?

@LaneTOGA Thank you for reporting this issue. We need a little more information from you in order to investigate this issue, please reopen this issue once you have uploaded the log file.


[FIX] Type fixes.

Pull Request Test Coverage Report for Build 323

0 of 1 (0.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 32.884%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/sagas/schedule/currentScheduleTimestamp.ts
0
1
0.0%

Totals

Change from base Build 321:
0.003%

Covered Lines:
2431

Relevant Lines:
6220

💛  - Coveralls


[Install Failure in Macbook Pro] nvcc fatal : redefinition of argument 'std'

Hi,
I was trying to install MXNet in my Macbook Pro (OS X 10.11.6, GT 750M) with GPU support, but the same error occurs in several trials:
 >build/src/ndarray/ndarray_function_gpu.d
nvcc fatal   : redefinition of argument 'std'
make: *** [build/src/ndarray/ndarray_function_gpu.o] Error 1

My osx.mk file is:
#---------------------
# choice of compiler
#--------------------

export CC = clang-omp
export CXX = clang-omp++
export NVCC = nvcc

# whether compile with debug
DEBUG = 0

# the additional link flags you want to add
# ADD_LDFLAGS = -L/usr/local/opt/openblas/lib -L/usr/local/cuda/lib -L/usr/local/lib

# the additional compile flags you want to add
# ADD_CFLAGS = -I/usr/local/opt/openblas/include -I/usr/local/include

#---------------------------------------------
# matrix computation libraries for CPU/GPU
#---------------------------------------------

# whether use CUDA during compile
USE_CUDA = 1

# add the path to CUDA library to link and compile flag
# if you have already add them to environment variable, leave it as NONE
# USE_CUDA_PATH = /usr/local/cuda
USE_CUDA_PATH = /Developer/NVIDIA/CUDA-7.5

# whether use CUDNN R3 library
USE_CUDNN = 1

# whether use cuda runtime compiling for writing kernels in native language (i.e. Python)
USE_NVRTC = 1

# whether use opencv during compilation
# you can disable it, however, you will not able to use
# imbin iterator
USE_OPENCV = 1

# use openmp for parallelization
USE_OPENMP = 0

# choose the version of blas you want to use
# can be: mkl, blas, atlas, openblas
USE_BLAS = apple

I guess there might be something wrong within CMakeList.txt, but I'm not familiar with it so I don't know the exact reason. Could you please take a look into this?
BTW, this problem occurs no matter how I set USE_CUDA, USE_CUDNN and USE_NVRTC.

cmake is for windows.
follow this to build on ios http://mxnet.dmlc.ml/how_to/build.html#building-on-osx

@yajiedesign Can we add a warning in cmakelist to make it fail on linux and osx?

I followed that instruction and also failed multiple times. I searched for several issues, and still didn't work.

Oh one thing to correct: I fixed USE_CUDA = 1 for installing a GPU-enabled version. If I set it to 0 (and USE_CUDNN = 0, USE_NVRTC = 0), it came up with:
ld: symbol(s) not found for architecture x86_64
clang-3.5: error: linker command failed with exit code 1 (use -v to see invocation)

which I have seen in other issues. Spent hours on it and still haven't successfully installed...

@piiswrong yes
 If(NOT WIN32)
 message( FATAL_ERROR "You can not build in this os, CMake will exit." )
 endif()

Well, after tons of trails I finally make that work. Here are something I found useful:

Use homebrew to upgrade everything installed (sometimes needs to fix the links).

Use LLVM-3.7 and add the corresponding flags. v3.8 and v3.5 failed in my laptop.

Set USE_CUDA_PATH = /usr/local/cuda instead of USE_CUDA_PATH = /Developer/NVIDIA/CUDA-7.5. I don't know why the latter one leaded to errors.

Set USE_BLAS = apple. I'm not sure if openblas would work - I haven't tried that.

These configurations solved multiple errors I encountered, e.g., ld: symbol(s) not found for architecture x86_64, nvcc fatal   : redefinition of argument 'std', issues about im2rec, llvm identifier "_Allocator" is undefined,  and many others.
After that, I set USE_CUDA = 1, USE_CUDNN = 1, USE_NVRTC = 0, USE_OPENCV = 1, USE_OPENMP = 0, and the installation succeeded. I could run the examples in both CPU and GPU mode.
Hope that this could help someone, since it's really annoying. I would appreciate if the documents and installation guide could be more clear.


Homework 2

drift vide link: https://video.drift.com/v/abvgT3gkbT00Fd3VNK1rPRLF8ZpfipI1koLLBvxbdPNw/
screenshots :
1.Question 1:

2.Question 2:

3.Question 3:

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
27

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

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

vulnerabilities
0

Metric
Value

alert_status
:x: ERROR

bugs
0

code_smells
25

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

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

vulnerabilities
0

Metric
Value

alert_status
:x: ERROR

bugs
0

code_smells
24

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

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

vulnerabilities
0


Set a type for the Blob used in createCDNWrapper (issue 17259)

Hopefully this is enough to address the problem of initializing the Worker in Chromium-based browsers.
Locally I've tried to force use of createCDNWrapper in development mode, by commenting out the isSameOrigin checks, and worker-loading fails against master and works with this patch.

/botio-linux preview

/botio xfatest

Looks good!

Testing https://mozilla.github.io/pdf.js/examples/#interactive-examples now, after this has landed, it seems that worker-loading is now functioning as expected/intended in both Mozilla Firefox and Google Chrome.


Alias for Mtenda Lion.

Because it comes up a lot.

@Kalioc card_aliases.tsv is that rarest of beasts, a tab-delimited file – I updated the PR to reflect that.


Support for regions has been added in ipyaladin and mocpy libraries

Hi there,
Not really an issue, but I wanted to inform you that support for regions has been added in ipyaladin>=0.4.0 and mocpy>=0.16.0 .
In ipyaladin
This can be installed with pip install ipyaladin. You can now do (in a notebook)
Cell 1: load the widget
from ipyaladin import Aladin
from regions import (
    CircleSkyRegion,
    EllipseSkyRegion,
    LineSkyRegion,
    PolygonSkyRegion,
    RectangleSkyRegion,
    RegionVisual,
)
aladin = Aladin(target="m31", fov=10)
aladin

Cell 2: define regions
center = SkyCoord.from_name("M31")
circle = CircleSkyRegion(
    center=center, radius=Angle(0.5, "deg"), visual={"edgecolor": "yellow"}
)
ellipse = EllipseSkyRegion(
    center=center,
    height=Angle(0.5, "deg"),
    width=Angle(1, "deg"),
    angle=Angle(45, "deg"),
    visual=RegionVisual(edgecolor="red"),
)
line = LineSkyRegion(
    start=center,
    end=center.directional_offset_by(Angle(0, "deg"), Angle(0.5, "deg")),
    visual=RegionVisual(edgecolor="green"),
)
polygon = PolygonSkyRegion(
    vertices=SkyCoord(
        [
            center.directional_offset_by(Angle(0, "deg"), Angle(0.5, "deg")),
            center.directional_offset_by(Angle(90, "deg"), Angle(0.5, "deg")),
            center.directional_offset_by(Angle(-90, "deg"), Angle(0.5, "deg")),
        ],
        frame="icrs",
        unit="deg",
    ),
    visual={"edgecolor": "blue"},
)
rectangle = RectangleSkyRegion(
    center=center,
    width=Angle(1, "deg"),
    height=Angle(1, "deg"),
    angle=Angle(45, "deg"),
    visual=RegionVisual(color="purple"),
)

Cell 3: add the regions to the widget
aladin.add_graphic_overlay_from_region([circle, ellipse, line, polygon, rectangle])

If you scroll up to the widget, you should see

This is exctracted from the notebook 9 in ipyaladin's examples, see https://cds-astro.github.io/ipyaladin/_collections/notebooks/09_Displaying_Shapes.html .
In mocpy
It is installed with pip install mocpy. You can now build a MOC (an ensemble of healpix cells that represent an approximated region) from a regions
import matplotlib.pyplot as plt
import regions
from astropy import units as u
from astropy.coordinates import SkyCoord
from mocpy import MOC

center = SkyCoord(42, 43, unit="deg", frame="fk5")
ring = regions.CircleAnnulusSkyRegion(center, 3 * u.deg, 4 * u.deg)
moc_ring = MOC.from_astropy_regions(ring, max_depth=9)

fig = plt.figure(figsize=(5, 5))
wcs = moc_ring.wcs(fig)
ax = fig.add_subplot(projection=wcs)
moc_ring.fill(ax, wcs, color="pink", alpha=0.8)
moc_ring.border(ax, wcs)
ring.to_pixel(wcs).plot(color="r");

This is exctracted from notebook 02 in mocpy's repository, see https://cds-astro.github.io/mocpy/_collections/notebooks/02-Creating_MOCs_from_astropy_regions.html
The supported astropy regions are:

regions.CircleSkyRegion
regions.CircleAnnulusSkyRegion
regions.EllipseSkyRegion
regions.RectangleSkyRegion
regions.PolygonSkyRegion
regions.PointSkyRegion

Thanks, @ManonMarchand.  This is great!


Not work TF.keras

(1, 21, 12) - predict.shape
import shap

e = shap.DeepExplainer(loaded_model, X_data)
shap_values = e.shap_values(X_data)

AssertionError                            Traceback (most recent call last)
<ipython-input-44-f86203c764cf> in <module>
      1 import shap
      2
----> 3 e = shap.DeepExplainer(loaded_model, X_data)
      4 shap_values = e.shap_values(X_data)

C:\anaconda3\lib\site-packages\shap\explainers\deep\__init__.py in __init__(self, model, data, session, learning_phase_flags)
     78
     79         if framework == 'tensorflow':
---> 80             self.explainer = TFDeepExplainer(model, data, session, learning_phase_flags)
     81         elif framework == 'pytorch':
     82             self.explainer = PyTorchDeepExplainer(model, data)

C:\anaconda3\lib\site-packages\shap\explainers\deep\deep_tf.py in __init__(self, model, data, session, learning_phase_flags)
     92             assert False, str(type(model)) + " is not currently a supported model type!"
     93         assert type(self.model_output) != list, "The model output to be explained must be a single tensor!"
---> 94         assert len(self.model_output.shape) < 3, "The model output must be a vector or a single value!"
     95         self.multi_output = True
     96         if len(self.model_output.shape) == 1:

AssertionError: The model output must be a vector or a single value!

try:
e = shap.DeepExplainer(loaded_model, X_data.values)
shap_values = e.shap_values(X_data.values)

I have the same problem.
I used LSTM only, it worked.
When I create a class with ensemble DL, it show similar error.
Please share your thinking....

So shap cannot work on Convolutional neural networks? I'm having the same issue where I have 9 channels as an input and 1 channel (48 x 96) as an output. I don't think that we can individually flatten each channel and run a loop through because shap is a conditional type process. Has there been any progress with this algorithm to efficient work with CNNs?


Optimizing Collision Detection for Large Terrain Maps in MuJoCo Simulations

Dear MuJoCo Team,
I am currently working on terrain simulations using MuJoCo. I have encountered performance issues primarily due to the size of the terrain maps involved. There are two main factors contributing to the slowdown:

An increase in the number of columns (ncol) and rows (nrow) of the terrain, which seems to directly affect the simulation speed.
The size of the terrain geom elements also inferences the simulation speed.

I am seeking advice on how to optimize collision detection to only consider the terrain surrounding the current robot, thereby ignoring other parts of the map that are not in immediate proximity to the robot. This would ideally help in reducing the computational load and increase the simulation speed.
Could you please suggest any settings or methods within MuJoCo that would allow for such selective collision detection? Or are there other optimization techniques you would recommend for handling large terrain maps in simulations?
Thank you for your assistance.

I think we still haven't implemented BVH midphase for hfields, right @quagla ?
Could you please open a bug for this, perhaps this would be a good task for @thowell under your guidance?

I think we still haven't implemented BVH midphase for hfields, right @quagla ?
Could you please open a bug for this, perhaps this would be a good task for @thowell under your guidance?

Sure. I have opened a bug issue for this. Thanks for your prompt reply.


Week3 networking

@DiyazY For each exercise I have added a few questions to consider, they have answers, you need to blur them when publishing in telegram

@dkharitonov048 the content is cool! Thanks. Don't you make a post yourself? I think you are an admin and can handle it well.


Serve webview files with built-in HTTP server

Preparation for https://github.com/getappmap/appmap-intellij-plugin/issues/533
Webviews, which interact with http:// or https:// urls, can't be served from a local file:// URL because it would be incapable of sending preflight requests with a valid origin request header. A JCEF webview has to be served from a http:// URLs to support this.
This PR refactors the webview URL handling and also adds tests to ensure that the IDE's built-in webserver is properly serving the index.html files of all our webviews.

:tada: This PR is included in version 0.55.0 :tada:
The release is available on:

v0.55.0
GitHub release

Your semantic-release bot :package::rocket:


[FEATURE] MessageWindowChatMemory support conversational exchange

Is your feature request related to a problem? Please describe.

use maxMessages, it may start with AiMessage like below, and llm will has exception'messages must strat will Humen message '
AI:*****
Humen:****
AI:*****
Describe the solution you'd like

like langchain's ConversationBufferWindowMemory(k=), k is  conversational exchange
Describe alternatives you've considered

Additional context

Hi @noday, which LLM are you using that has this restriction?

@langchain4j qwen and bedrock-anthropic has, this is test:

if set maxMessages 4, it throw exception always.

This issue has been fixed for Anthropic: https://github.com/langchain4j/langchain4j/pull/1197
We could port the fix for qwen and bedrock as well

Perhaps having a ConversationMessageWindowChatMemory would be better


⚠ Bofrost.at has degraded performance

In 231e1e4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1894 ms

Resolved: Bofrost.at performance has improved in f4090b6.


Merge prTesting_201905271047 branch to master branch

Docs Build status updates of commit 4b981c4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Writing prompt

Open for further expansion by using the FunConfiguration file.
Added "LanguageHelper" public module.

Consider moving constants to a JSON file in future. Otherwise LGTM.

Consider moving constants to a JSON file in future. Otherwise LGTM.


fatal: unable to connect to openflowswitch.org

Hi everyone,
since yesterday afternoon I have been trying installing mininet on my new virtual machine but every time I get this error message:
Cloning into 'openflow'...
fatal: unable to connect to openflowswitch.org:
openflowswitch.org[0: <IP_ADDRESS>]: errno=Connection timed out

I don't understand whether it's my fault or not.
Any suggestions are welcomed.
Thanks in advance,
-Daniele

I had the same issue and just updated the install file to clone with https, for ex.
https://github.com/mininet/openflow.git
Also, some repos may be out of date in the install file, see,
https://mailman.stanford.edu/pipermail/mininet-discuss/2015-May/006124.html


PBR debug visualisations

Objective

Enable visualisation of PBR and vertex data for debugging purposes
Fixes #4235 .

Solution

Add PbrDebug enum resource covering a bunch of cases
Use this resource to configure the desired debug visualisation through shader defs, defaulting to PbrDebug::None
Implement debug visualisations for all the modes in the enum
Fix clustered forward debug visualisation along the way
Add a method to be able to invalidate the SpecializedMeshPipelines mesh and vertex layout caches that map from mesh and vertex layouts to specialised render pipelines. This is necessary as the PbrDebug lives outside of and affects all pipelines. Or at least all PBR pipelines, but this was a simple approach.
Press v in the scene_viewer tool to cycle through the PBR debug visualisations

Normal-mapped normals:

Changelog

Added: PbrDebug resource to control debug visualizations.

bors try

I haven't reviewed this deeply, but I don't see anything about tonemapping in this PR. Some of these modes should maybe disable tonemapping, as we want to see the raw output without adjustments.

Yeah, tonemapping didn't exist when this PR was created.

This appears to have gone stale and perhaps needs significant rewrites. I propose we close this an open an issue for the feature/adoption.

Closing as stale, existing issue suffices. Feel free to re-open Rob, this looked really neat.


Feature request: pyAudioAnalysis.version

In python packages, it is common to have .__version__ attributes such as,
In [8]: sklearn.__version__
Out[8]: '0.22.2.post1'

In [9]: np.__version__
Out[9]: '1.18.2'

Unfortunately, pyAudioAnalysis did not implement it yet. Sometimes, I am confusing which version of pyAudioAnalysis I currently used now. I would like request this print version feature to ease other users replicate my works.

I will make a pull request if this issue is considered.
Or the author can add it, just add two lines to init.py
__version__ = '0.3.5'
VERSION = __version__


feat: safely log git url

Ensure repoUrl username/password and query parameters aren't including within any logs or directory names

@setchy please feel free to merge once the tests are complete

@setchy, please feel free to file a CVE for this bug under:
https://owasp.org/Top10/A02_2021-Cryptographic_Failures/
https://cwe.mitre.org/data/definitions/319.html
There might be other users of the server mode who may not be aware of this.


INA260 Power Sensor Driver

Product page
Datasheet
Address: 0x40 (A0=A1=GND)
Drivers available: INA226
mfid @ 0xFE = 0x5449
NuttX app needs to be created to interface with the sensor through the driver.
INA226 example app: apps/examples/ina226/ina226_main.c
INA226 board level initialization example: boards/arm/stm32l4/nucleo-l432kc/src/stm32_ina226.c
Differences from INA226:

specs
register map
different registers (INA260 does not have REG_SHUNT_VOLTAGE, REG_CALIBRATION. Instead, INA260 can measure current across shunt resistor without conversion.)
Different field in configuration register bits 3-5 (CONFIG_ISHCT instead of CONFIG_VSHCT due to the point above)

The app now outputs measurements from the sensor.
The number of samples that are collected and averaged can be configured. Need to make it configurable
Both bus voltage conversion time and shunt current conversion time can be configured. Need to make it configurable


fix: remove trailing slashes from bucket name.

Fixes #170
This cleans up the fragments of a gs:// URL, should the user provide one to the Bucket constructor.

@stephenplusplus @callmehiphop what's the latest on this one?

I've modernized the PR, and it should be good for a review.


Fix the upstream dependency conflict

I am trying to install angular-three to an angular-cli generated app but I get this error when trying to install:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@angular/common
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@angular-three/core
npm ERR!   @angular-three/core@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

This is my env.

npm 9.6.0
node 18.14.2
Angular: 15.2.1
OS: Linux (arch based distro)
rxjs 7.8.0
typescript 4.9.5

Which version of angular-three and three should I install to prevent this error?

@angular-three/core is an old package. Use angular-three instead.


Improve the WebGL backend

See this issue

Not high priority now that the JavaScript loading logic has been improved.