Reuse available workspace for new client

This fix attempts to fix nsmd's client grpc fd leakage by reusing
the existing workspace when nsmdp requests for workspace with
socket id which was already available. It would fix #2189 issue.
Signed-off-by: Periyasamy Palanisamy<EMAIL_ADDRESS>
Description

Motivation and Context

How Has This Been Tested?

[ ] Covered by existing integration testing
[ ] Added integration testing to cover
[x] Tested locally
[ ] Have not tested

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@pperiyasamy I really hope the solution is this easy :)  And I suspect it is... looping in @haiodo who I suspect was most recently close to this code :)

@pperiyasamy Looks like Azure was being grumpy on your CI run, lets see what it looks like when you submit revisions :)

@2191 may have the fix for the Azure issues we are seeing here... lets wait for its CI to complete and see :)

Apparently #2191 isn't fixing the issue... looping in more expertise: https://cloud-native.slack.com/archives/CHQNNUPN1/p1600877542032500

@peri could you please rebase on master to check Azure, so we could merge it. Thanks.

@pperiyasamy If you rebase again... I think we've fixed the Azure issues :)

@haido @denis-tingajkin Any insight as to why CI may still be failing?

Test with memif benchmarking is filing sometime, not related to this changes. I've merged PR 👍

Yes, it is vpp issue https://github.com/networkservicemesh/networkservicemesh/issues/2028


Issue in installing Clean Package with Umbraco version 11.2

I'm facing issue when running
dotnet add package Clean --version 2.1.6
from CMD and from Package manger in VS.NET

I've just tested this with the latest version of Umbraco 11 (v11.5.0) and the latest version of the Clean starter kit (3.1.4), and it installed correctly.

Thank you @OwainJ  yes it's working now, after a couple of tries looks like some nuget apackes was failed to be downsloaded.

Consider it's closed


Clarify proxy settings for Windows 10 1709+

In this guide there is a paragraph:
For Windows 10 devices on version 1703 or earlier, if your organization requires access to the Internet via an outbound proxy, you must implement Web Proxy Auto-Discovery (WPAD) to enable Windows 10 computers to register to Azure AD.
Could you please explain which settings should be used to enable a proxy server to be specified for the hybrid Azure AD join scenario without WPAD? We have been able to make it work by setting the system proxy with 'netsh winhttp set proxy ..', this is not easily set by GPO.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 72cdc251-618a-e84e-f40d-960b0ac69f99
Version Independent ID: 8cbaba3c-e883-2c71-28fb-f88db3fcaf7d
Content: Configure hybrid Azure Active Directory joined devices manually
Content Source: articles/active-directory/devices/hybrid-azuread-join-manual-steps.md
Service: active-directory
GitHub Login: @MarkusVi
Microsoft Alias: markvi

Thanks for the feedback! We are looking into this and will get back to you shortly.

This is a duplicate issue. I am closing this out and working on #12986


Add support for motion with jkl;

(This is somewhat related to #19 issue.)
Many of Vim users prefer the ergonomic jkl; over the historic hjkl.
As there is no plan to support .vimrc of any kind, please add support for configuration setting to enable switching between those two mappings.

I support jkl; motions. Please update this plugin and add below to your settings.
"vimStyle.useErgonomicKeyForMotion": true,

Awesome, works for me, thanks!


Update Globals “nav”

Automatically generated by Netlify CMS

👷 Deploy Preview for greeking processing.

Name
Link

🔨 Latest commit
886d89b2c4aef20765c8911385a6a40d9ebb0cda

🔍 Latest deploy log
https://app.netlify.com/sites/greeking/deploys/626fe0a0b56acd00090c3824


User country lookup fail-safe fails

I wanted to test the fail scenario of making an outbound connection to ipinfo.io when setting defaultCountry to auto.
After directing ipinfo.io to <IP_ADDRESS> in my hosts file, I noticed that the plugin fails to call _ready() because the request seems to just hang with no response.
I wanted to open a pull request for this so in the init method I tried to change the default from this.options.defaultCountry = "" to:
this.options.defaultCountry = this.preferredCountries.length ? this.preferredCountries[0] : this.countries[0];
But this was before I realized that _ready() was not being called in the first place, and even if it did, the necessary objects were not yet initialized.
I also tried to add a .fail() callback to the GET request but that's when I realized the response was never coming back in the first place.
Do you have any ideas/suggestions? I don't yet know how realistic it is to simulate a blocked outbound connection via the hosts file, but I am trying to make sure that the fail-safe works even if there is a firewall rejecting the outbound connection.

That code uses the always() callback of $.get() which means it gets called in the case of success or error - I don't think there's anything else we can do.
Re: your pull request idea - I don't understand the point of changing that line - that stuff gets set in the _setInitialState method anyway...

Yes, the problem is that in this case the always() callback never gets fired because the response never returns. I do not know why this happens, but I'm sure if you add ipinfo.io to your hosts file you'll get the same result.
My pull request was trying to have a default fallback set in case the request to ipinfo.io fails, but nevermind that. I realized that because the always() callback never gets fired if the response never returns, the plugin fails to initialize. That's the actual issue I should have been trying to solve.

Is this something that you're still planning to try and solve? I personally don't think we need to worry about handling the case where this call just hangs - I think it's very unlikely that will ever happen.

Well, I was only trying to solve it because it was happening to me... But at this point the requirements for my app no longer necessitates the call to ipinfo.io so if you don't think it's worth solving then for now I guess we can just leave it alone. Thanks for the help.


Upgrade: minor optimization of preloading phase

Problem:

There are some optimizations we can do in the prepare script.
Solution:

Chain commands with pipes, this reduces the image loading time and eliminates temporary space requirement.

We don't save the tarball to disk anymore. This reduce the chance to cause kubelet image GC on disk pressure.

Do not unpack the image in containerd.

Images are unpacked only when containers use them. This reduces the disk pressure as well. It's a tradeoff of space saving to a little bit container starting overhead.

Results
(capture with running Harvester VMs in WD SN750 NVMe disk):
Single node upgrade

Before
After

04m53s
2m38s

3-node upgrade

Before
After

7m
3m52s

Related Issue:
https://github.com/harvester/harvester/issues/4208
Test plan:

Create a Harvester cluster.
Patch the rancher/harvester-upgrade:<current_version> with the PR change.
Upgrade to a newer version. The new ISO needs to contain different images in image tarballs for testing. Otherwise, the preload script will skip the preloading. One tip is to start a v1.2.0-rc3 cluster and upgrade to a master build ISO.
The upgrade should succeed, and the upgrade-preapre-node-xxx job should be faster than previous upgrades.

@mergify backport v1.2

@bk201 Do we need to backport it to v1.1?

@futuretea Yes, thanks for the reminder.


Unittest: Only the last TestCase in alphabetical order was executed

Environment data

VS Code version: 1.51.1
Extension version (available under the Extensions sidebar): 2020.11.358366026
OS and version: Windows 10 Ver: 20H2 Build: 19042.630
Python version (& distribution if applicable, e.g. Anaconda): 3.8.6 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): with and without venv
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: XXX
Value of the python.languageServer setting: Jedi (default)

Expected behaviour
The expected behaviour is if I click on the "Run Current Test File" all test classes and functions are executed.
Actual behaviour
The actual behaviour is only the last TestCase in alphabetically order and its functions are executed (Run all and one-by-one classes are ok).

Steps to reproduce:
(Here is a complete workspace)

Create an empty workspace with Python extension enabled
Insert the  following in "test.py":

import unittest

class TestsA(unittest.TestCase):
    def testA1(self):
        assert True

class TestsB(unittest.TestCase):
    def testB1(self):
        assert True

Run all test in the file with "Run Current Test File"

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

Log of test discovery and running one file (without venv):
> ~\AppData\Local\Programs\Python\Python38\python.exe -c "
import unittest
loader = unittest.TestLoader()
suites = loader.discover("./mapps", pattern="test*.py")
print("start") #Don't remove this line
for suite in suites._tests:
    for cls in suite._tests:
        try:
            for m in cls._tests:
                print(m.id())
        except:
            pass"
cwd: e:\test
> ~\AppData\Local\Programs\Python\Python38\python.exe -c "
import unittest
loader = unittest.TestLoader()
suites = loader.discover("./mapps", pattern="test*.py")
print("start") #Don't remove this line
for suite in suites._tests:
    for cls in suite._tests:
        try:
            for m in cls._tests:
                print(m.id())
        except:
            pass"
cwd: e:\test
Error 2020-11-14 16:15:30: stderr jediProxy Error (stderr) c:\Users\Max\.vscode\extensions\ms-python.python-2020.11.358366026\pythonFiles\completion.py:584: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_names instead.
  jedi.api.names(

> ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\Max\.vscode\extensions\ms-python.python-2020.11.358366026\pythonFiles\visualstudio_py_testlauncher.py --us=./mapps --up=test*.py --uvInt=2 --result-port=60721 -ttest --testFile=e:\test\mapps\test.py
cwd: e:\test
> ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\Max\.vscode\extensions\ms-python.python-2020.11.358366026\pythonFiles\visualstudio_py_testlauncher.py --us=./mapps --up=test*.py --uvInt=2 --result-port=60721 -ttest --testFile=e:\test\mapps\test.py
cwd: e:\test
Error 2020-11-14 16:15:41: Error: read ECONNRESET
Error 2020-11-14 16:15:42: stderr jediProxy Error (stderr) c:\Users\Max\.vscode\extensions\ms-python.python-2020.11.358366026\pythonFiles\completion.py:584: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_names instead.
  jedi.api.names(

Log of test discovery and running one file (with venv):
> e:\test\venv\Scripts\python.exe -c "
import unittest
loader = unittest.TestLoader()
suites = loader.discover("./mapps", pattern="test*.py")
print("start") #Don't remove this line
for suite in suites._tests:
    for cls in suite._tests:
        try:
            for m in cls._tests:
                print(m.id())
        except:
            pass"
cwd: e:\test
> e:\test\venv\Scripts\python.exe c:\Users\Max\.vscode\extensions\ms-python.python-2020.11.358366026\pythonFiles\visualstudio_py_testlauncher.py --us=./mapps --up=test*.py --uvInt=2 --result-port=60788 -ttest --testFile=e:\test\mapps\test.py
cwd: e:\test
Error 2020-11-14 16:19:12: Error: read ECONNRESET

Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority.
If you think your issue is more of a question or configuration problem rather than a bug, please ask on Stack Overflow with the visual-studio-code and python labels for help.
Thanks for your understanding and patience!

I have encountered the same error.  FWIW, after a bit of digging around, it seems that the cause is in pythonFiles/visualstudio_py_testlauncher.py, which, starting at line 336, does:
for test_suite in suites._tests:
    for cls in test_suite._tests:
        try:
            for m in cls._tests:
                testId = m.id()
                if testId.startswith(opts.tests[0]):
                    suite = cls
                if testId == opts.tests[0]:
                    tests = unittest.TestSuite([m])
                    break
        except Exception as err:
            errorMessage = traceback.format_exception()
            pass
if tests is None:
  tests = suite

Each suite = cls assignment overwrites the previous, so only the last test suite (i.e., in this case, the last TestCase class in a file with more than one) remains.  If, instead, this is changed to:
tests = unittest.TestSuite()
for test_suite in suites._tests:
    ....
                if testId.startswith(opts.tests[0]):
                    tests.addTest(cls)
                    break
    ....

this seems to resolve the issue.  Presumably, the check tests is None or suites is None immediately below (to issue a "Failed to identify error") should also be replaced with something like tests is None or tests.countTests() == 0 (although not 100% sure this is entirely equivalent to prior behavior).
The only issue I see with this approach (which, BTW, is also present currently) is that, if a test case derives from base class which is a subclass of TestCase and defines methods starting with test_, and the (final) derived test case class itself defines no test_ methods, then that derived test case/suite would be missed.  I think this is a rare enough situation (who would do this??) so as to not need to worry.
If you'd prefer I submit a patch (or perhaps PR?), let me know... but this is a three-line change (maybe five, if one also cleans up remaining "cruft").  It might take longer to merge, than to re-type it.. :)

It looks like this is the same problem as in https://github.com/microsoft/vscode-python/issues/10972 which says we should get a fix soon.

For anyone running into this. Please try the insiders edition of the extension to see if this is addressed.

I tried the two-class sample code from the original post in Insiders and it looks fixed, thanks.

Yes, it looks like it's fixed. Thanks!

I have the same problem even use with insiders
VS Code version: 1.60.0-insider
Extension version (available under the Extensions sidebar): v2021.8.1147840270
OS and version: Windows 10 Ver: 20H2 Build: 19042.1165
Python version (& distribution if applicable, e.g. Anaconda): 3.6.2 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): with and without venv
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: XXX
Value of the python.languageServer setting: Jedi (default)
Actual behaviour: Same, will run the last TestCase
error msg:

C:\Python36\python.exe c:\Users\Huang.vscode-insiders\extensions\ms-python.python-2021.8.1147840270\pythonFiles\visualstudio_py_testlauncher.py --us=./mapps --up=test*.py --uvInt=2 --result-port=7006 -ttest --testFile=c:\Users\Huang\Downloads\test-workspace\mapps\test.py
cwd: c:\Users\Huang\Downloads\test-workspace
C:\Python36\python.exe c:\Users\Huang.vscode-insiders\extensions\ms-python.python-2021.8.1147840270\pythonFiles\visualstudio_py_testlauncher.py --us=./mapps --up=test*.py --uvInt=2 --result-port=7006 -ttest --testFile=c:\Users\Huang\Downloads\test-workspace\mapps\test.py
cwd: c:\Users\Huang\Downloads\test-workspace
Error 2021-08-21 10:05:53: Error: read ECONNRESET

@k870611 I meant insider version of Python extension (it should be 2021.9.*) you can download it here https://pvsc.blob.core.windows.net/extension-builds/ms-python-insiders.vsix

@karthiknadig
thanks, it work now.


Add ref to task in PromiseContinuationCallback

Per https://github.com/Microsoft/ChakraCore/issues/2638

Fixed https://github.com/Microsoft/Chakra-Samples/commit/bef33332de2ac026b68e35ad8250b094b9207c43


What exactly is the "paths" option in this plugin?

    new PurgecssPlugin({
      paths: glob.sync(`${PATHS.src}/*`)
    })

Not so much an issue, but what exactly does the paths option do in this plugin? paths is not a PurgeCSS option. It is a purgecss-webpack-plugin option but wasn't mentioned in the README. Some explanation would be great :)

Thanks for reporting this. I realize that the readme of the plugin is lacking informations.
paths is the content of purgecss but requires to use glob.sync().

I added a section on the readme and on the documentation website


Apply for a refund：receipt from Tabnine, Inc. #2099-8152  email to<EMAIL_ADDRESS>was rejected

I applied for a refund, because I did not know about the deduction of money. I was asked to bind Alipay Huabai when using free, but the deduction was automatic.
I tried to email to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>but my message was rejected. "For more information, go to https://support.google.com/mail/answer/69585"
Receipt #2099-8152

<EMAIL_ADDRESS>

Please write down your email that associated with Tabnine

<EMAIL_ADDRESS>


flatbuffers: 22.11.23 -> 23.1.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/google/flatbuffers/releases.
meta.description for flatbuffers is: "Memory Efficient Serialization Library"
meta.homepage for flatbuffers is: "https://google.github.io/flatbuffers/"
meta.changelog for flatbuffers is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 22.12.06 with grep in /nix/store/xj6x4y6hyl43j41hl19zkg7ikw5534ii-flatbuffers-22.12.06
found 22.12.06 in filename of file in /nix/store/xj6x4y6hyl43j41hl19zkg7ikw5534ii-flatbuffers-22.12.06

Rebuild report (if merged into master) (click to expand)

374 total rebuild path(s)

374 package rebuild(s)

First fifty rebuilds by attrpath
apacheHttpdPackages.mod_tile
apacheHttpdPackages_2_4.mod_tile
arrow-cpp
arrow-glib
baserow
buildbot
buildbot-full
buildbot-ui
buildbot-worker
cloudcompare
databricks-sql-cli
easyocr
entwine
flatbuffers
gdal
gmt
gnome-keysign
gplates
gpt2tc
grab-site
grass
home-assistant-component-tests.environment_canada
hyperion-ng
intensity-normalization
kodi
kodi-gbm
kodi-wayland
kodiPackages.a4ksubtitles
kodiPackages.archive_tool
kodiPackages.iagl
kodiPackages.inputstream-adaptive
kodiPackages.inputstream-ffmpegdirect
kodiPackages.inputstream-rtmp
kodiPackages.invidious
kodiPackages.joystick
kodiPackages.kodi
kodiPackages.kodi-platform
kodiPackages.libretro
kodiPackages.libretro-genplus
kodiPackages.libretro-mgba
kodiPackages.libretro-snes9x
kodiPackages.netflix
kodiPackages.pvr-hdhomerun
kodiPackages.pvr-hts
kodiPackages.pvr-iptvsimple
kodiPackages.steam-controller
kodiPackages.vfs-libarchive
kodiPackages.vfs-sftp
kodiPackages.visualization-waveform
libLAS

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xj6x4y6hyl43j41hl19zkg7ikw5534ii-flatbuffers-22.12.06 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flatbuffers https://github.com/r-ryantm/nixpkgs/archive/56d8b26056f092d60dcd0212ead59e4268837ffc.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xj6x4y6hyl43j41hl19zkg7ikw5534ii-flatbuffers-22.12.06
ls -la /nix/store/xj6x4y6hyl43j41hl19zkg7ikw5534ii-flatbuffers-22.12.06/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @teh for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/google/flatbuffers/releases.
meta.description for flatbuffers is: Memory Efficient Serialization Library
meta.homepage for flatbuffers is: https://google.github.io/flatbuffers/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 23.1.4 with grep in /nix/store/3767i3s8ik56bafc2l2ps47r6s9vn3s8-flatbuffers-23.1.4
found 23.1.4 in filename of file in /nix/store/3767i3s8ik56bafc2l2ps47r6s9vn3s8-flatbuffers-23.1.4

Rebuild report (if merged into master) (click to expand)

379 total rebuild path(s)

379 package rebuild(s)

First fifty rebuilds by attrpath
apacheHttpdPackages.mod_tile
apacheHttpdPackages_2_4.mod_tile
arrow-cpp
arrow-glib
baserow
buildbot
buildbot-full
buildbot-ui
buildbot-worker
cloudcompare
databricks-sql-cli
easyocr
entwine
flatbuffers
gdal
gmt
gnome-keysign
gplates
gpt2tc
grab-site
grass
haskellPackages.hgdal
home-assistant-component-tests.environment_canada
hyperion-ng
intensity-normalization
kodi
kodi-gbm
kodi-wayland
kodiPackages.a4ksubtitles
kodiPackages.archive_tool
kodiPackages.iagl
kodiPackages.inputstream-adaptive
kodiPackages.inputstream-ffmpegdirect
kodiPackages.inputstream-rtmp
kodiPackages.invidious
kodiPackages.joystick
kodiPackages.kodi
kodiPackages.kodi-platform
kodiPackages.libretro
kodiPackages.libretro-genplus
kodiPackages.libretro-mgba
kodiPackages.libretro-snes9x
kodiPackages.netflix
kodiPackages.pvr-hdhomerun
kodiPackages.pvr-hts
kodiPackages.pvr-iptvsimple
kodiPackages.steam-controller
kodiPackages.vfs-libarchive
kodiPackages.vfs-sftp
kodiPackages.visualization-waveform

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3767i3s8ik56bafc2l2ps47r6s9vn3s8-flatbuffers-23.1.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flatbuffers https://github.com/r-ryantm/nixpkgs/archive/11a894a5214cb5f7450493f145442f4db29b871f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3767i3s8ik56bafc2l2ps47r6s9vn3s8-flatbuffers-23.1.4
ls -la /nix/store/3767i3s8ik56bafc2l2ps47r6s9vn3s8-flatbuffers-23.1.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @teh for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/google/flatbuffers/releases.
meta.description for flatbuffers is: Memory Efficient Serialization Library
meta.homepage for flatbuffers is: https://google.github.io/flatbuffers/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 23.1.21 with grep in /nix/store/4h34w1ygj8l3fgn1z5xa72f74zhldh59-flatbuffers-23.1.21
found 23.1.21 in filename of file in /nix/store/4h34w1ygj8l3fgn1z5xa72f74zhldh59-flatbuffers-23.1.21

Rebuild report (if merged into master) (click to expand)

292 total rebuild path(s)

292 package rebuild(s)

First fifty rebuilds by attrpath
apacheHttpdPackages.mod_tile
apacheHttpdPackages_2_4.mod_tile
arrow-cpp
arrow-glib
baserow
buildbot
buildbot-full
buildbot-ui
buildbot-worker
cloudcompare
databricks-sql-cli
easyocr
entwine
flatbuffers
gdal
gmt
gnome-keysign
gplates
gpt2tc
grab-site
grass
haskellPackages.hgdal
home-assistant-component-tests.environment_canada
hyperion-ng
intensity-normalization
kodi
kodi-gbm
kodi-wayland
kodiPackages.a4ksubtitles
kodiPackages.archive_tool
kodiPackages.iagl
kodiPackages.inputstream-adaptive
kodiPackages.inputstream-ffmpegdirect
kodiPackages.inputstream-rtmp
kodiPackages.invidious
kodiPackages.joystick
kodiPackages.kodi
kodiPackages.kodi-platform
kodiPackages.libretro
kodiPackages.libretro-genplus
kodiPackages.libretro-mgba
kodiPackages.libretro-snes9x
kodiPackages.netflix
kodiPackages.pvr-hdhomerun
kodiPackages.pvr-hts
kodiPackages.pvr-iptvsimple
kodiPackages.steam-controller
kodiPackages.vfs-libarchive
kodiPackages.vfs-sftp
kodiPackages.visualization-waveform

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4h34w1ygj8l3fgn1z5xa72f74zhldh59-flatbuffers-23.1.21 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flatbuffers https://github.com/r-ryantm/nixpkgs/archive/3d405ad6313bfb990e6d68cda348dc393d48fc25.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4h34w1ygj8l3fgn1z5xa72f74zhldh59-flatbuffers-23.1.21
ls -la /nix/store/4h34w1ygj8l3fgn1z5xa72f74zhldh59-flatbuffers-23.1.21/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @teh for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/google/flatbuffers/releases.
meta.description for flatbuffers is: Memory Efficient Serialization Library
meta.homepage for flatbuffers is: https://google.github.io/flatbuffers/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 23.3.3 with grep in /nix/store/7limkmqsf1kdvb9p4q812za8wrnvws5r-flatbuffers-23.3.3
found 23.3.3 in filename of file in /nix/store/7limkmqsf1kdvb9p4q812za8wrnvws5r-flatbuffers-23.3.3

Rebuild report (if merged into master) (click to expand)

309 total rebuild path(s)

309 package rebuild(s)

First fifty rebuilds by attrpath
apacheHttpdPackages.mod_tile
apacheHttpdPackages_2_4.mod_tile
arrow-cpp
arrow-glib
baserow
buildbot
buildbot-full
buildbot-ui
buildbot-worker
cloudcompare
databricks-sql-cli
easyocr
entwine
flatbuffers
gdal
gmt
gnome-keysign
gplates
gpt2tc
grab-site
grass
haskellPackages.hgdal
haskellPackages.tensorflow
haskellPackages.tensorflow-core-ops
haskellPackages.tensorflow-logging
haskellPackages.tensorflow-ops
home-assistant-component-tests.environment_canada
hyperion-ng
intensity-normalization
khoj
kodi
kodi-gbm
kodi-wayland
kodiPackages.a4ksubtitles
kodiPackages.archive_tool
kodiPackages.iagl
kodiPackages.inputstream-adaptive
kodiPackages.inputstream-ffmpegdirect
kodiPackages.inputstream-rtmp
kodiPackages.invidious
kodiPackages.joystick
kodiPackages.kodi
kodiPackages.kodi-platform
kodiPackages.libretro
kodiPackages.libretro-genplus
kodiPackages.libretro-mgba
kodiPackages.libretro-snes9x
kodiPackages.netflix
kodiPackages.pvr-hdhomerun
kodiPackages.pvr-hts

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7limkmqsf1kdvb9p4q812za8wrnvws5r-flatbuffers-23.3.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flatbuffers https://github.com/r-ryantm/nixpkgs/archive/ab5741b2bde9e3cfad1e15e5c916da03fc757801.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7limkmqsf1kdvb9p4q812za8wrnvws5r-flatbuffers-23.3.3
ls -la /nix/store/7limkmqsf1kdvb9p4q812za8wrnvws5r-flatbuffers-23.3.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @teh for testing.

@ofborg build gdal


Rotation control - applyImpulse issue

Hi,
Here is what I am doing -

I have a cubicle maze structure [created with parent child hierarchy, where parent is a single cube - scale - 1,1,1, position - 0,0,0 and rest meshes (created with cubes) are children]

gravity 0,-10,0 is applied to this environment.

There is a ball, which is supposed to roll through this maze, due to gravity, when cube is rotated with keyboard events.

I realised I can't manually change rotation position of this structure, since this approach breaks physic engine rules. Following code rotates the maze structure, though ball does not detect mesh for collision and falls down freely
parent.__dirtyRotation = true;
parent.rotation.set(pX,pY,pZ);

Going through different posts, got to know that I need to use applyImpulse(force, position)
I tried following
var force = new THREE.Vector3(1,0,1);
var pos = new THREE.Vector3(-1,0,-1);
parent.applyImpulse(force,pos);

However structure does not rotate (also tried different values for force and pos), can anyone point out what am I missing? It could be very silly but I am not able to figure out at this moment.

Eventually I want to build a control system using up,down, left & right keys that will apply force counter force to move maze

Ok so I realised the issue, I was setting up my mesh with mass = 0, which was causing it not to move when force was applied. So movement is achieved by setting non-zero value to mss.
Any suggestion how to handle rotation around a fix point? Should I use Point Constraint? I wish to make cube mesh to rotate around its origin when force is applied, right now with a force it falls down with rotation.

Either a point constraint or a hinge constraint should be able to get what you need.

Hi,
Thanks, hinge constraint worked. however it keeps returning warnings - "TypeError: _constraints[params.constraint] is undefined - physijs_worker.js: 958"
for enableMotor call
and "TypeError: constraint is undefined : 951" for disable motor call.
What could be the reason?
Is there any way to apply more than one hinge constraints on single object?
e.g. left & right arrow keys to rotate cube along Y axis and up and down keys to rotate cube along X axis

Ok, so I have resolved this case by applying hinge constraint on a cube (A) bounded to a cube (B) along X axis and then constraining cube B to cube C along Y axis. So their movement along X and Y axes are controlled with Left-Right and Up-Down keys.
Both B and C have been made transparent, so resulting effect feels as if user controls  A with arrow keys along X-Y axes.
Though my code was getting stuck due to -  Object not defined Error, line 876 Physi.js, error, (I wasn't trying to remove any object from the scene). I had to comment "Physijs.Scene.prototype.remove" function in order to by pass this error. The code is running so far.
I am still getting "TypeError: _constraints[params.constraint] is undefined, warning, though it is not causing my code to stop.
I am not sure why these error and warning would appear?
Thanks


Telegram addInlineKeyboard responses not working

Expected behaviour: When a user press a button in an inline keyboard (addInlineKeyboard) in a telegram bot, the server should receive the button 'callback_data'

What actually happens: The server receive a response, but the handler function is not executed

Which bot engine (facebook, skype...): Telegram

Link to a minimal, executable project that demonstrates the problem:

Steps to install the project:

Steps to reproduce the problem:

Fixed with #78.


ES/Redis AWS Services: Solve AWS ES Manual Snapshot problem

In order to support manual snapshots in AWS ES, new policies need to be assigned for ES to assume a role to access S3 to import and export manual snapshots.  See: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains-snapshots.html#es-managedomains-snapshot-prerequisites
The automated snapshots that take place behind the scenes in all our ES plans can not be exported to be used as a data backup.  These snapshots are self contained and can only be used to restore to their specific index.
CG customers will need the ability to be able to import and export data from their ES instances as they needed and without manual CG support.
Acceptance Criteria

[ ] CG Customers can provide S3 and ES connection information so that an automated process in a broker can create and assigned the needed progress to allow the customer ES instance to connect to a S3 backup for manual snapshot import and export
[ ] This process has to be automated and in control of the CG customer and not require manual intervention by CG support staff.

Security considerations

[ ] Depending on which broker/process that performs this work, that brokers IAM user might need expanded rights to create the role and associated policies between ES and S3

Implementation sketch

[ ] Decide which broker (ES or S3) is the best place to commit this work
[ ] Implement the needed code changes to the respected broker to implement the required functionality

After a few design meetings, @soutenniza and myself have come up with the following go forward plan for addressing this issue:

The existing aws-broker will be used to make the new IAM role and ES and S3 policies to allow ES to access a S3 bucket for snapshots
We will utilize the create service key along with the -c or config option function of the broker to allow CG customers to specify the name of an existing CG provisioned S3 bucket (via the CG S3 broker) to the aws-broker to create the IAM polices and role needed
The aws-broker via create service key will return the ARN of the assume role policy to be used for manual snapshot operations
CG customers can then use that role for their manual snapshot operations

Today @soutenniza and myself meet with @pburkholder to discuss this approach and it's impact on compliance and our SCR filing for this service.  Peter reviewed our approach and did not find any items of concern in regards to compliance. A small update will be needed to the SCR to explain at a high level that these IAM operations are a requirement from AWS on using manual snapshots within AWS ES.

@RonWilliams @karareinsel @eddietejeda
This is a new issue that came up with implementing customer service data migration to this new AWS ES service from our legacy k8s offering.  After technical and compliance review, a plan is in place to move forward to resolve this issue for our customers while keeping all the operations inside a broker and under the control of CG customers with no manual invention by CG support staff.  This work can take place while the beta for AWS ES is still on-going.

PR: https://github.com/cloud-gov/aws-broker/pull/95
Will roll out to Dev/Staging today and Prod tomorrow


Use explicit file types

It's good practice to explicitly declare file types for non-package requires.

@MeoMix It's part of author's code style. So, not the best idea.


performance degragation - too many getAutoCommit calls

Hi, we switch to Hikari in production and received a performance degragation in out application ,
the DB server's cpu jumped by 15% for the same application/same sql's.
Our DB is sybase 15 and we are using a jdbc jconnect driver.
After investigating all the sql/packets (using Wireshark) that the AS sends to DB
,we saw major increase in 'select @@trancount' statements which comes from the Connection.getAutoCommit() calls.
After looking inside the source codeof hikari , we saw the you have a com.zaxxer.hikari.proxy.ConnectionProxy class which wraps all connections to the DB and on every close() method it check's if the underline (delegate) connection has an open transaction using getAutoCommit() incase it is left open and then rollback
code snippet:
try {
if (isCommitStateDirty && !delegate.getAutoCommit()) {
delegate.rollback();
}
So we think the CPU change has something to do with the overhead of the new statements.
Is it possible to override/change the behavior of this code (maybe a flag which can disable this check) ?
from what I understand this code is a "saver hook" in-case someone left a transaction opened.
but in our case all transaction are opened/close via transacionManager via AOP and not by application open/close transaction calls, so this code is irelevant but expensive.

This may not answer your exact question but take a look here https://github.com/brettwooldridge/HikariCP/wiki/"My-benchmark-doesn't-show-a-difference."
specifically https://github.com/brettwooldridge/HikariCP/wiki/"My-benchmark-doesn't-show-a-difference."#what-does-correctness-and-reliability-mean

@avishayh If autoCommit=false then HikariCP is going to track "dirty commit state".  If your code executes SQL (of any kind), but does not call Connection.commit() or Connection.rollback() then HikariCP is going to consider that the connection transaction state is dirty.  Therefore, when the connection is closed, if the state is still dirty, it will execute a rollback operation.
I'm not sure what version you are using, but in release 2.4.x the implementation changed.  The latest release (2.4.2) looks like this, which should be considerably more efficient and avoid a roundtrip to the database.

I was using the 2.3.X version because of several java 6 run-time servers.
but I will look at the 2.4 version as well, it looks like the latest release solves the overhead of getAutoCommit() calls.
Is it possible to use it on a java 6 runtime ?

@avishayh I have back-ported the change to 2.3.x.  Can you checkout the 2.3.x branch, build and test the Java 6 artifact and let me know if it addresses the performance issue?  If so, I can make a 2.3.13 release.

Tks, I haven't tested it yet, but it looks OK  (no calls to getAutoCommit)
2.3.13 will be great !
BTW, you can think about an extended feature which overrides the getAutoCommit method and instead of using the underline getAutoCommit which creates a DB request (select @@trancount)
just return a cached value (you already know who "setAutoCommit").
In our case we started monitoring this calls (because of the performance issues in prod), and realized hibernate (old 3.6.2 version) use this method ALLOT on every query/criteria call - even few times per query (you can see it in hibernate classes JDBCContext & ConnectionManager) . This also caused a bump in the CPU (few extra million calls to DB per day in our case)

@avishayh We will take it under consideration.  In general we have a policy of not interfering with calls made by the user to the driver.  However some drivers, like MySQL, themselves have an option to cache the auto-commit state and avoid the DB roundtrip.  You may wish to check your driver and/or request such a feature, pointing out its availablity in competing databases.


GO:0140311    protein sequestering activity parentage

GO:0140311    protein sequestering activity
should this be a child of protein binding too?

It already 'has part' protein binding.
The reason to do it like this is that if we don't, proteins annotated to 'regulation of protein sequestering activity' will also be inferred to be 'regulation of protein binding'.
The pb is that we don't see the 'has part' in AmiGO nor QuickGO - we should discuss the implications of adding these.
Pascale

So if a gene product is sequestering, it is binding. If it has_part binding, it must have other parts- what would these be? The "sequestering activity"  mechanism is only binding (to prevent movement), or is there something else.
I am thinking of 14-3-3 proteins and the like, but are there other mechanisms?

Closing.


feat: material files

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: CONTRIBUTING.md
[X] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
Now you can use:
@use '@angular/material' as mat;
@import '../styles/material/colors';
@import '../styles/material/typography';

:host {
  background: mat.get-color-from-palette($primary);
  font-size: mat.font-size($typography, 'headline-1');
}

and you can import like this: @import 'material/colors';
[ ] Bugfix
[ ] Feature
[X] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[X] No

Other information

@Danieliverant so how should you do: @import 'material/colors'; or @import '../styles/material/colors';
also what do we need to do in order to use sass's new syntax: @use 'material/colors' as colors;?

@Danieliverant so how should you do: @import 'material/colors'; or @import '../styles/material/colors';
also what do we need to do in order to use sass's new syntax: @use 'material/colors' as colors;?

@ronnetzer well.. it's kinda tricky cuz Webstorm shows the shorthand import like an error (issue link) but I would suggest to use the shorthand
Let me check and comeback to use regarding the "use"


⚠ main has degraded performance

In 4dad53d, main ($MAIN_API_URL) experienced degraded performance:

HTTP code: 200
Response time: 27952 ms

Resolved: main performance has improved in 635eda3.


Refactor features

Related to #25.

@dmitryusenko, could you review, please.

@michaelivonin As we discussed, features will be reworked as part of https://github.com/RonasIT/tfjs-node-helpers/issues/26. I am going to close this pull request.


62 | Unique Paths | C++

Title - C++ code for 62. Unique Paths
What will change - Adding C++ code for leetcode problem 62
Type of Issue -

[x] Adding New Code

Programming Language

[x] C++

@SSKale1 Please assign this issue to me.


Don't Land - enable JSON round-trips

This PR provides background for issue #2153. Running the included JsonRoundTripTest without the patch to BaseParser.containResourcesForEncoding() yields 18 round-trip errors:
[6] activitydefinition-medicationorder-example.json
[85] careplan-example-GPVisit.json
[90] careplan-example-f202-malignancy.json
[94] careplan-example-pregnancy.json
[115] claim-example-oral-bridge.json
[117] claim-example-oral-contained.json
[652] communication-example-fm-solicited-attachment.json
[655] communicationrequest-example-fm-solicit-attachment.json
[1301] list-example-familyhistory-genetics-profile-annie.json
[1302] list-example-familyhistory-genetics-profile.json
[1708] plandefinition-example-cardiology-os.json
[1709] plandefinition-example.json
[1720] plandefinition-options-example.json
[1722] plandefinition-protocol-example.json
[1775] questionnaire-example-gcs.json
[1777] questionnaire-profile-example-ussg-fht.json
[2285] valueset-example-hierarchical.json
[2453] valueset-nhin-purposeofuse.json

but (and it's a big butt), including that patch breaks some XML tests. Haven't figured out why.

This is no longer relevenat; fixed by (i believe) be50a46 .


Pics in blog cannot display, which says "The requested content cannot be loaded. Please try again later."

[x] Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
[x] Yes, I was on NexT Documentation Site.
[x] And yes, I already searched for current issues and this is not help to me.

Problem Description
For some blogs i've posted, some of the pics cannot be displayed well, such as this blog, there was just one pic in that page, but it cannot be displayed and said "The requested content cannot be loaded. Please try again later.",
Try to solve
First i search a issue, but it was closed without solution mentioned.
Then i inserted another pic from other source into that page to test, finally, the first pic displayed and another pics didnt display as you can seen in that page.
Information that may be help
parts of my blog config
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: Konjac's Blog
subtitle: +1s
description: problems, notes and solutions
author: Geng Chen
language: zh-Hans
timezone: Asia/Shanghai

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://mrmorning.github.io
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:

# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
  enable: true
  line_number: true
  auto_detect: false
  tab_replace:

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: hexo-theme-next

//something are skipped

search:
  path: search.xml
  field: post
  format: html
  limit: 10000
# hexo-tag-cloud
tag_cloud:
    textFont: Trebuchet MS, Helvetica
    textColour: \#333
    textHeight: 12
    outlineColour: \#E2E1D1
# Sitemap
sitemap:
  path: sitemap.xml
#aritcle number
index_generator:
  per_page: 5

archive_generator:
  per_page: 20
  yearly: true
  monthly: true

tag_generator:
  per_page: 10

kramed:
  gfm: true
  pedantic: false
  sanitize: false
  tables: true
  breaks: true
  smartLists: true
  smartypants: true

package
{
  "name": "hexo-site",
  "version": "0.0.0",
  "private": true,
  "hexo": {
    "version": "3.2.2"
  },
  "dependencies": {
    "hexo": "^3.2.0",
    "hexo-deployer-git": "^0.2.0",
    "hexo-directory-category": "^1.0.3",
    "hexo-encrypt": "^0.2.1",
    "hexo-generator-archive": "^0.1.4",
    "hexo-generator-category": "^0.1.3",
    "hexo-generator-index": "^0.2.1",
    "hexo-generator-searchdb": "^1.0.3",
    "hexo-generator-sitemap": "^1.1.2",
    "hexo-generator-tag": "^0.2.0",
    "hexo-inject": "^1.0.0",
    "hexo-migrator-rss": "^0.1.2",
    "hexo-migrator-wordpress": "^0.1.2",
    "hexo-neat": "^1.0.4",
    "hexo-renderer-ejs": "^0.2.0",
    "hexo-renderer-mathjax": "^0.6.0",
    "hexo-renderer-pandoc": "^0.1.1",
    "hexo-renderer-stylus": "^0.3.3",
    "hexo-server": "^0.2.0",
    "hexo-tag-cloud": "^2.0.7"
  }
}

theme config
//something is skipped
# ---------------------------------------------------------------
# Third Party Services Settings
# ---------------------------------------------------------------

# MathJax Support
mathjax:
  enable: true
  per_page: false
  cdn: //cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML

# Swiftype Search API Key
#swiftype_key:

# Baidu Analytics ID
#baidu_analytics:

# Duoshuo ShortName
#duoshuo_shortname:

# Disqus
disqus:
  enable: false
  shortname: konjac
  count: false

# Hypercomments
#hypercomments_id:

# Gentie productKey
#gentie_productKey:7c3e703b657a43d6bf26bf12f5686b27

# changyan
changyan:
  enable: false
  appid:
  appkey:

# Support for youyan comments system.
# You can get your uid from http://www.uyan.cc
#youyan_uid: your uid

# Support for LiveRe comments system.
# You can get your uid from https://livere.com/insight/myCode (General web site)
livere_uid: MTAyMC8yNzk0Ni80NTIz

# Baidu Share
# Available value:
#    button | slide
# Warning: Baidu Share does not support https.
#baidushare:
##  type: button

# Share
#jiathis:
# Warning: JiaThis does not support https.
#add_this_id:

# Share
#duoshuo_share: true

# Google Webmaster tools verification setting
# See: https://www.google.com/webmasters/
#google_site_verification:

# Google Analytics
#google_analytics:

# Yandex Webmaster tools verification setting
# See: https://webmaster.yandex.ru/
#yandex_site_verification:

# CNZZ count
#cnzz_siteid:

# Application Insights
# See https://azure.microsoft.com/en-us/services/application-insights/
# application_insights:

# Make duoshuo show UA
# user_id must NOT be null when admin_enable is true!
# you can visit http://dev.duoshuo.com get duoshuo user id.
duoshuo_info:
  ua_enable: true
  admin_enable: false
  user_id: 0
  #admin_nickname: Author

# Facebook SDK Support.
# https://github.com/iissnan/hexo-theme-next/pull/410
facebook_sdk:
  enable: false
  app_id:       #<app_id>
  fb_admin:     #<user_id>
  like_button:  #true
  webmaster:    #true

# Facebook comments plugin
# This plugin depends on Facebook SDK.
# If facebook_sdk.enable is false, Facebook comments plugin is unavailable.
facebook_comments_plugin:
  enable: false
  num_of_posts: 10  # min posts num is 1
  width: 100%       # default width is 550px
  scheme: light     # default scheme is light (light or dark)

# VKontakte API Support.
# To get your AppID visit https://vk.com/editapp?act=create
vkontakte_api:
  enable: false
  app_id:       #<app_id>
  like:         true
  comments:     true
  num_of_posts: 10

# Show number of visitors to each article.
# You can visit https://leancloud.cn get AppID and AppKey.
leancloud_visitors:
  enable: false
  app_id: #<app_id>
  app_key: #<app_key>

# Show PV/UV of the website/page with busuanzi.
# Get more information on http://ibruce.info/2015/04/04/busuanzi/
busuanzi_count:
  # count values only if the other configs are false
  enable: false
  # custom uv span for the whole site
  site_uv: true
  site_uv_header:
  site_uv_footer:
  # custom pv span for the whole site
  site_pv: true
  site_pv_header:
  site_pv_footer:
  # custom pv span for one page only
  page_pv: true
  page_pv_header:
  page_pv_footer:

# Tencent analytics ID
# tencent_analytics:

# Tencent MTA ID
# tencent_mta:

# Enable baidu push so that the blog will push the url to baidu automatically which is very helpful for SEO
baidu_push: false

# Google Calendar
# Share your recent schedule to others via calendar page
#
# API Documentation:
# https://developers.google.com/google-apps/calendar/v3/reference/events/list
calendar:
  enable: false
  calendar_id: <required>
  api_key: <required>
  orderBy: startTime
  offsetMax: 24
  offsetMin: 4
  timeZone:
  showDeleted: false
  singleEvents: true
  maxResults: 250

# Algolia Search
algolia_search:
  enable: false
  hits:
    per_page: 10
  labels:
    input_placeholder: Search for Posts
    hits_empty: "We didn't find any results for the search: ${query}"
    hits_stats: "${hits} results found in ${time} ms"

# Local search
local_search:
  enable: true

# External URL with BASE64 encrypt & decrypt
# Usage: {% exturl text url "title" %}
# Alias: {% extlink text url "title" %}
exturl: false

#! ---------------------------------------------------------------
#! DO NOT EDIT THE FOLLOWING SETTINGS
#!  ---------------------------------------------------------------

# Motion
use_motion: true

# Fancybox
fancybox: true

# Canvas-nest
canvas_nest: false

#three_waves
three_waves: false

# Script Vendors.
# Set a CDN address for the vendor you want to customize.
# For example
#    jquery: https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js
# Be aware that you should use the same version as internal ones to avoid potential problems.
# Please use the https protocol of CDN files when you enable https on your site.
vendors:
  # Internal path prefix. Please do not edit it.
  _internal: lib

  # Internal version: 2.1.3
  jquery:

  # Internal version: 2.1.5
  # See: http://fancyapps.com/fancybox/
  fancybox:
  fancybox_css:

  # Internal version: 1.0.6
  # See: https://github.com/ftlabs/fastclick
  fastclick:

  # Internal version: 1.9.7
  # See: https://github.com/tuupola/jquery_lazyload
  lazyload:

  # Internal version: 1.2.1
  # See: http://VelocityJS.org
  velocity:

  # Internal version: 1.2.1
  # See: http://VelocityJS.org
  velocity_ui:

  # Internal version: 0.7.9
  # See: https://faisalman.github.io/ua-parser-js/
  ua_parser:

  # Internal version: 4.6.2
  # See: http://fontawesome.io/
  fontawesome:

  # Internal version: 1
  # https://www.algolia.com
  algolia_instant_js:
  algolia_instant_css:

  # Internal version: 1.0.0
  # https://github.com/hustcc/canvas-nest.js
  canvas_nest:

  #three
  three:
  three_waves:

# Assets
css: css
js: js
images: images

# Theme version
version: 5.1.0
special_effects:
  collapse_code: 0

Generate information
(node:16874) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
INFO  [hexo-inject] installing hotfix for hexojs/hexo#1791
INFO  Start processing
WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

INFO  [CF838B]Diverging Directions - 线段树维护子树 encryped
WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

INFO  SDOI2017 Round 1爆零记+阶段性总结 encryped
WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

WARN  the qiniu ak or sk is incorrect, please check you _config.yml.
maybe you want this:
encrypt:
	qiniu_ak: your access key of qiniu
	qiniu_sk: your secret key of qiniu

INFO  copy crypto-js.js to public/js/
INFO  Files loaded in 24 s

Thanks in advance and have a good day

First i search a issue, but it was closed without solution mentioned.
hexo-asset-image

Can u please understand what this issues for theme NexT, not for 3rd-party plugins? And if any errors u get, there is errors may by additional plugins or your hosting.

version: 5.1.0

U also can try at least to update NexT to latest release.

Please make sure the image url is correct, which is like "/images/xxx.jpg" instead of "images/xxx.jpg"


Adding libraries for connected components and bipartiteness

Pull request for library package and tests of connected components and bipatiteness check

Thanks for the PR @Zainab-Abbas! I've left some comments for improvements. Let us know if you need help.

Thank you @vasia  for the comments i will fix them soon, i will ask incase i got stuck

:+1:  @Zainab-Abbas good job! Please cleanup the original examples as well. As far as I can see there is yet another ConnectedComponents.java under examples which is unchanged. You can rename that into ConnectedComponentsExample  or something and refactor it to use the actual library :)

@senorcarbone thanks :+1:  will do that soon :)

Made changes to the connected components and bipartiteness examples
Added library functions for connected components and bipartiteness check
Added tests for connected components, bipartiteness and non-bipartiteness check
-Added javadocs for different fuctions

Thanks for updating the PR @Zainab-Abbas! I left a few comments. Let me know if you need help.

Thank you for the comments @vasia
I have replied to you comments with the changes i made :)
let me know if i am wrong some where

Hey @Zainab-Abbas,
I see your comments but I don't see your changes... Did you forget to push your commit? :)

@vasia just pushed my commit now :)

@vasia Made some changes in the javadocs to explain more about the functions :)
let me know if it is correct

Thank you @Zainab-Abbas. I will merge this :)

@vasia good 👍  you are welcome :)


Proxy not working correct

When I am trying start to register/login with proxy it is not working correctly. I cant update Profile and make a repin when I am using proxy. I tried to debug it with this:
if($bot->getHttpClient()->usesProxy()) {
    echo "proxy";
}

But I get "true" each time even when I use not correct proxy host/port, so is it bug?
When I register/login without proxy everything ok. With VPN working fine too. Proxy is valid, I tried with several https and socks5.  You can try with my socks5:
<IP_ADDRESS>:39984 gilman06: vftloisf

Hi! No, actually it is not a bug, it is not a checker for your proxy. It just returns true if you have specified any proxy.
Under the hood it uses Curl library with the following settings: https://github.com/seregazhuk/php-pinterest-bot/blob/master/src/Api/CurlHttpClient.php#L301

Thank you, but it does not work anyway. When i am registering without proxy - everything fine. With proxy - not working. Here is my code :
use seregazhuk\PinterestBot\Factories\PinterestBot;

$bot = PinterestBot::create();

$bot->getHttpClient()->setOptions([
    CURLOPT_PROXY => '<IP_ADDRESS>:39984',
    CURLOPT_PROXYTYPE => CURLPROXY_SOCKS5, // orCURLPROXY_SOCKS5,
    CURLOPT_PROXYUSERPWD => 'gilman06:vftloisf',

]);

<EMAIL_ADDRESS>'12475389', 'Sli');
<EMAIL_ADDRESS>"12475389", false);
$profile = $bot->user->profile();
echo $profile['username'];

and errors:
PHP Fatal error:  Uncaught exception 'seregazhuk\PinterestBot\Exceptions\AuthRequired' with message 'Error calling seregazhuk\PinterestBot\Api\Providers\User::profile method. You must log in before.' in /Users/ivangutnik/Desktop/pinterest/vendor/seregazhuk/pinterest-bot/src/Api/Providers/Core/ProviderWrapper.php:66
Stack trace:
#0 /Users/ivangutnik/Desktop/pinterest/vendor/seregazhuk/pinterest-bot/src/Api/Providers/Core/ProviderWrapper.php(42): seregazhuk\PinterestBot\Api\Providers\Core\ProviderWrapper->checkMethodForLoginRequired('profile')
#1 /Users/ivangutnik/Desktop/pinterest/samplereg.php(21): seregazhuk\PinterestBot\Api\Providers\Core\ProviderWrapper->__call('profile', Array)
#2 /Users/ivangutnik/Desktop/pinterest/samplereg.php(21): seregazhuk\PinterestBot\Api\Providers\Core\ProviderWrapper->profile()
#3 {main}
  thrown in /Users/ivangutnik/Desktop/pinterest/vendor/seregazhuk/pinterest-bot/src/Api/Providers/Core/ProviderWrapper.php on line 66
Fatal error: Uncaught exception 'seregazhuk\PinterestBot\Exceptions\AuthRequired' with message 'Error calling seregazhuk\PinterestBot\Api\Providers\User::profile method. You must log in before.' in /Users/ivangutnik/Desktop/pinterest/vendor/seregazhuk/pinterest-bot/src/Api/Providers/Core/ProviderWrapper.php:66
Stack trace:
#0 /Users/ivangutnik/Desktop/pinterest/vendor/seregazhuk/pinterest-bot/src/Api/Providers/Core/ProviderWrapper.php(42): seregazhuk\PinterestBot\Api\Providers\Core\ProviderWrapper->checkMethodForLoginRequired('profile')
#1 /Users/ivangutnik/Desktop/pinterest/samplereg.php(21): seregazhuk\PinterestBot\Api\Providers\Core\ProviderWrapper->__call('profile', Array)
#2 /Users/ivangutnik/Desktop/pinterest/samplereg.php(21): seregazhuk\PinterestBot\Api\Providers\Core\ProviderWrapper->profile()
#3 {main}
  thrown in /Users/ivangutnik/Desktop/pinterest/vendor/seregazhuk/pinterest-bot/src/Api/Providers/Core/ProviderWrapper.php on line 66

Here is the error with your proxy: Can\'t complete SOCKS5 connection to 2a07:14c0:0000:835b:0000:0000:0000:250d:54095. (5). If it works without proxy, may it is the problem with it, or something wrong with Curl settings. If you will find a bug, feel free to provide a PR with fix 👍

@saulacher do you have any new feedback? Does your proxy work?

Not working yet, but I think it is problem in the proxy. Pinterest banned most of public proxys and only high-quality elite private proxies can be used. I am planning run United States based VPS and i think always will be ok in this case. So thank you for your help, code working correct 👍


Created pi.hi.md

Translated pi.md file into local hindi

@AdityaGarg00 - I can't see the merge options, I think this is another issue from me making the repo public. Can you re-fork, copy your changes over and re-submit a new PR, then close this one please.


New release?

Can you make a proper new release for such a great library?

https://github.com/illiliti/libudev-zero/releases/tag/1.0.1

thanx!


Question: Compatibility with .NET MAUI and Installation Instructions

Hello,
I am currently trying to integrate the Poteko.EmbeddableWireGuard.Net library into my .NET MAUI project. I have successfully installed the library via NuGet, but I am encountering issues when attempting to use it. Specifically, I am receiving a System.DllNotFoundException for wireguard.so.
Here are the steps I have taken so far:

Installed the library using the NuGet package manager.
Attempted to configure and call the functions as demonstrated in the example provided in the documentation.

Despite these efforts, I am unable to successfully integrate and use the library within my .NET MAUI application.
Questions:

Is Poteko.EmbeddableWireGuard.Net compatible with .NET MAUI? If there are any limitations or special considerations, could you please specify them?
Are there any specific instructions or documentation available for correctly installing and configuring the library, particularly with regards to ensuring wireguard.so is correctly found and loaded by the application?

Any guidance or additional documentation you can provide would be greatly appreciated.
Thank you for your assistance!

There shouldn't be any limitations with MAUI. This lib is built with netstandard2.1.
You do need to put wireguard.so under a specific library though. I missed that part in the doc. May I know which platform are you in?

Hi
First of all thanks for your response.
I’m planning to do it for Android IOS and Mac.
Thanks
On Thu, 4 Jul 2024 at 09:40 坂本ポテコ @.***> wrote:

There shouldn't be any limitations with MAUI. This lib is built with
netstandard2.1.
You do need to put wireguard.so under a specific library though. I missed
that part in the doc. May I know which platform are you in?
—
Reply to this email directly, view it on GitHub
https://github.com/sakamoto-poteko/EmbeddableWireGuardLibrary.Net/issues/6#issuecomment-2208156358,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQQM3ZU7DY6ER37MUT6AT6TZKTN5HAVCNFSM6AAAAABKKZ2QMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBYGE2TMMZVHA
.
You are receiving this because you authored the thread.Message ID:
@.***
.com>

These are currently supported platforms. If you'd like to support additional platforms, you need to put `libwireguard.so` to the specific directory, i.e., `runtimes\[platform]\native\libwireguard.so`. I haven't tried this on other platforms so you're more than welcome to test by yourself.


Fix spelling issues / typos in german translation

Pull Request
Brief description.
This fixes a few typos or miss spelled words in the german translation.
What Issues Does This Fix?
This fixes a few typos.
Licensing

[X] I am the original author of this code, and I am willing to release it under GPLv3.
[ ] I am not the original author of this code, but it is in public domain or released
under GPLv3 or a compatible license.

Goal of the PR

[X] Fix a few typos

Types of changes

[ ] Bug Fix
[ ] Build system
[ ] Documentation
[ ] New Feature
[ ] Performance
[ ] Refactoring
[ ] Repository
[ ] Revert
[ ] Style
[ ] Tests
[X] Translation

Compatiblity

[ ] Breaking change
[X] Non-Breaking change.

Contribution Guidelines.

[X] I have read the CONTRIBUTING.md document in the root of the git repository.
[X] My code follows the code style for this project.

Documentation

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Testing

[ ] I have added tests to cover my changes.
[X] All new and existing tests passed.

We both approved this, why isn't this merged yet? lul


mmlink: fix revcheck

The revision bits are 12-15. This fixes the masking so that only these
bits are set when masking with (0xF000) before shifting.

Coverage remained the same at 79.134% when pulling ea4f723f10c01ec6c1e11a685f1660b75ae443b0 on rrojo/mmlink-rev-check into 2e8477b9fee55f02be49ff1af448ed2b80eb66d6 on master.


fix: DEV-2239: Fix agreement calculation for Brushlabels and Polygonlabels in OCR

@KonstantinKorotaev actualize the state here

Merged master, PR is actual


Use lookup('vars') to populate the variable mappings

Use lookup('vars#', ...) where variable transforms are required before passing the objects to Azure

 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.:x: craigminihan sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

LGTM


fix: ecashaddrjs type

Description
While working on other PR, I was having trouble with the following error:

After trying to solve it by many different ways, I decided just to ignore the typing of the ecashaddrjs package for now, since the package (suggested by the error) @types/ecashadddrjs does not exist
Remarks
I also delete a very obsolete file in the types/ folder and added a github template for the creation of PRs.

Can't do this in a separate PR, or will get another TS lint error


(SystemJS) Can't resolve all parameters

This just started happening recently, but I'm now receiving
"Error: (SystemJS) Can't resolve all parameters for PageScroll: ([object Object], [object Object], ?).
Error: Can't resolve all parameters for PageScroll: ([object Object], [object Object], ?)."
This occurs on page load as the PageScrollModule is being loaded in the app module.
I'm using the PageScrollService in my components by importing the service, config, and instance, and setting it up just like the documentation says.
Has anyone run into this and if so, found a solution?

The lower bound of the angular version-constraint was too low. Version 4.2.6 or greater is required.

Alright, I've updated; now when I go to use the service I get it telling me
"Failed to execute 'querySelector' on 'Document': '#1501912800' is not a valid selector." the ID of the element I want to scroll to matches that ID, but it doesn't scroll and spits this out.

The querySelector method takes a css-selector. For css selectors it is not allowed to have an id-selector starting with a number.
You could either adjust your ids or use one of the suggested workarounds from https://css-tricks.com/ids-cannot-start-with-a-number/

Alright, I'll add a string in front first, see if that helps. thanks for the quick response!

I tried to update to angular 4.2.6 this way (in my project's root folder):
npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>But afterwards I get:
+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>(This angular version being required by other plugins of my Ionic project)
How should I do please?

All angular dependencies need to have the same version number. You may try to update your ionic plugins to a newer version supporting 4.2.X if available or use ng2-page-scroll version 4.0.0-beta.10

Thank you but whatever I do, I still have (apparently<EMAIL_ADDRESS>the command npm view ng2-page-scroll version returns indeed 4.0.0-beta.11, even after running npm uninstall ng2-page-scroll --save...

Try removing the node_modules and run npm install again.

That's what I did but I get: npm ERR! peer dep missing<EMAIL_ADDRESS><5.0.0, required by<EMAIL_ADDRESS>My Ionic version seems to be up-to-date:

Hi,
I'm sorry, as written in the Change Log, version 4.0.0-beta.10 raised the lower version limit to 4.2.0. Please try beta.9, that one has >=2.4.0 <5.0.0 as angular version constraint.


Code review

Hi @xroll174! I've just done a pass on your code and I really like the clarity of the codebase and the comments you've included, congrats!
You will find below a few suggestions and comments. While you are looking into this, it would be great if you can send me a few example files (see below) and I'll double check the onsets/contrasts/design matrix more carefully.
General notes

Each time we use spm_jobman('run',matlabbatch); (e.g. in first_level_analysis_octave.m#L136), let’s save the matlabbatch variable to disk with: save(PATH_TO_FILE, 'matlabbatch'); (this will be useful if we want to inspect one of the scripts later on)

Preprocessing

Can you give me an example of file created by mp_diffpow24.sh?
Is first_level_analysis_octave_2.m still in use? If not let’s delete it.
Can you send me an example of HCP EV file (e.g. lf.txt)? extract_ev_octave.m#L11
When you rerun an analysis do you delete all the data for all subjects? If not -- we might end up in an unstable state where the first step is redone (e.g. realign) but not the following (e.g. normalize).
Remove this comment : https://github.com/xroll174/pipelines/blob/master/src/src/preprocessing_octave.m#L3-L4 ?
Comment here should be moved above the call to mp_diffpow24.sh.

First-level analyses

Add thresholding in first-level analyses (this will be useful for quality control)
Compute both contrasts as part of the same analysis (matlabbatch{3}.spm.stats.con.consess{2}): first_level_analysis_octave.m#L136. Once this is done we should no longer need fla_{parameter values}_list_hand_fsl_IGRIDA.sh? (This will bring more consistency with the code later in which con_0002 has to be the ‘right hand’ contrast.

README

“/” missing in “.src” in “.src/bash_scripts/spmpath.txt” in the README
In “Dependencies and setup”, can we remove “Additionally, the paths to the folder containing the functions was stored in ./src/bash_scripts/srcpath.txt.” ? A person trying to reproduce your work does not need to edit this part, right?

Links when reading through the code
Preprocessing. Entry point: preprocessing_5_list_IGRIDA.sh

preprocessing_5_list.sh

preprocessing_octave.m

First-level analysis. Entry point: fla_5_0_0_list_IGRIDA.sh

fla_5_0_0_list.sh

first_level_analysis_octave.m

extract_ev_octave.m

extract_ev_octave.m#L11

Second-level analysis. Entry point: second_level_analysis_full_hand_spm_IGRIDA.sh

second_level_analysis_param_hand_size_corr.sh

second_level_analysis_octave_mult_hand_size_corr.m

second_level_analysis_octave_hand_corr.m

All the issues in the review have been taken into account.


Output valid streaming XML with woodstox

Hadoop added a woodstox dependency in https://issues.apache.org/jira/browse/HADOOP-14501. When using versions of Hadoop with that dependency, WstxOutputFactory will get loaded for XMLOutputFactory.newInstance. The resulting streamwriter will ensure that a client does not write two root elements, which causes the current code to error out.
This PR makes it such that the writer function will start the root tag before writing rows.

Codecov Report

Merging #282 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #282      +/-   ##
=========================================
- Coverage   88.52%   88.5%   -0.02%
=========================================
  Files          14      14
  Lines         732     731       -1
  Branches      101      99       -2
=========================================
- Hits          648     647       -1
  Misses         84      84

Impacted Files
Coverage Δ

.../scala/com/databricks/spark/xml/util/XmlFile.scala
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@HyukjinKwon let me know what you think. Thanks!

Wow, thanks for fixing it @pwoody. Seems fine. Let me merge this one after another double check within few days.

Merged to master and branch-0.4!

Thanks @HyukjinKwon - what is the release cadence for a 0.4.x release?

Will make a release soon within next week (after sorting out the current open PRs). Does that work for you too?

Yep, no rush!
Sent from my iPhone

On Apr 2, 2018, at 9:49 PM, Hyukjin Kwon<EMAIL_ADDRESS>wrote:
Will make a release soon within next week (after sorting out the current open PRs). Does that work for you too?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey, @pwoody. I'm really sorry that the release has been postponed. 0.5.0 is released now. Thank you for your work .. !


Plugins do not install

I follow the instruction and after doing :BundleInstall! is giving me this similar output every time that is trying to install a Bundle:
Error detected while processing function vundle#installer#new..29_process..vundle#installer#run..vundle#installer#install
..29_sync..29_system:
line    1:
E484: Can't open file /tmp/vUZSGlg/6
Error detected while processing function vundle#installer#new..29_process:

jlk erlsjiwj dsfa jkjkjllljkjkj


soroban-cli: Nicer error when account is not funded on the network

This seems like a common error devs would hit, but right now you just get:
$ soroban token create --name "foo" --symbol "FOO" --salt=100
error: jsonrpc error: RPC call failed: ErrorObject { code: InvalidRequest, message: "Resource Missing", data: None }

It would be great if we could provide a more informative error, as it took me a few minutes to figure out.

Related:
https://github.com/stellar/soroban-tools/issues/455
https://github.com/stellar/soroban-tools/issues/142


ZAdd with ZAddArgs XX unexpected response

Bug Report
Current Behavior
Hello, I have noticed an unexpected behaviour when using zadd with ZAddArgs.xx, what happens is that the return value when is always 0, whereas from those cases where the ScoredValue I am expecting the return type to be equal to the number of updated values.
Java code
RedisSortedSetReactiveCommands reactiveCmd

reactiveCmd.zadd("key1", new ZAddArgs().xx(), 1, "value").block() //should be 0 and is 0

reactiveCmd.zadd("key1", new ZAddArgs().xx(), 1, "value").block() //should be 1 and is 1

reactiveCmd.zadd("key1", new ZAddArgs().xx(), 2, "value").block() //should be 1 and is 0

//if you get the SortedSet "key1", the actual values is 2, though the return one makes think that nothing has been updated.

Environment

Lettuce version(s): 6.0.2.RELEASE
Redis version (docker):  6.2-rc3

Not sure we're on the same page. On redis-cli I get:
<IP_ADDRESS>:6379> flushall
OK
<IP_ADDRESS>:6379> zadd key1 xx 1 value
(integer) 0
<IP_ADDRESS>:6379> zadd key1 xx 1 value
(integer) 0
<IP_ADDRESS>:6379> zadd key1 xx 2 value
(integer) 0

Thanks for the quick response, interesting to see that I could have just tested it through the command line to verify.
I was wrong thinking that the long-reply also reflected the score updates...
@mp911de sorry for the misunderstanding. Closing ticket.


[BUG] Find Blobs By Tags returning Deleted Blobs that return 404 occasionally

Library name and version
Azure.Storage.Blobs 12.17.0
Describe the bug
I am experiencing some odd behaviour when using Blob Tags and the FindBlobsByTagsAsync functionality: it seems that occasionally, blob names are returned that no longer exist in the container.  This isn't happening that often but often enough that is noticeable. I'm deleting the blob using DeleteIfExistsAsync which as far as I can see is working as expected and I do not have soft delete enabled nor any Blob snapshots enabled (that I know of). I'm not sure if this is an Azure SDK issue or just known behaviour of this Service or Endpoint but I can't seem to find anything about it.
Expected behavior
The Find Blobs By Tags only returns Blobs that still exist in the container.
Actual behavior
Find Blobs By Tags occasionally is returning Blob names that don't exist anymore in the container (that were deleted). This is discovered later when trying to perform actions through BlobClient with the name.
Reproduction Steps

Upload Blob with Blob Index Tags (using UploadAsync with the tags in BlobUploadOptions)
Read the Blob, then delete it using DeleteIfExists()
Later call the FindBlobsByTagsAsync and notice occasionally the deleted blob name seems to be returned.

Environment
No response

This behavior is expected.  When you call DeleteIfNotExist() on a blob, it is marked for garage collection in the backend storage service, and may not be deleted immediately.  It also takes several seconds for Blob Tags to be indexed.


Fix shoot events dump

How to categorize this PR?

/area testing
/kind bug
What this PR does / why we need it:
Follow-up on https://github.com/gardener/gardener/pull/6589.
Fix the shoot event dump by installing the required yq dependency: https://prow.gardener.cloud/view/gs/gardener-prow/pr-logs/pull/gardener_gardener/6620/pull-gardener-e2e-kind/1567006984274710528#1:build-log.txt%3A1316

Ok, works as intended now: https://prow.gardener.cloud/view/gs/gardener-prow/pr-logs/pull/gardener_gardener/6631/pull-gardener-e2e-kind/1567042729555267584#1:build-log.txt%3A1212-1239

/lgtm
/approve


preprocess images with pretrained model

I'm trying to fine-tune the VGG16 model in Keras for a medical imaging application.
Because medical images are gray images, I copy each gray image into RGB channels (3 channels have the same gray image), such that they can be used as the inputs to the VGG model. Let's call them "RGB" images (with quotation marks).
But, if I use the preprocess_input function from keras.applications.vgg16 to preprocess the "RGB" images, then because the the default mode is 'caffe' in preprocess_input, it will subtract mean RGB values [103.939, 116.779, 123.68], which were calculated from the training dataset in Imagenet, from each "RGB" image I created.
However, in my "RGB" images, all 3 RGB channels should have the same mean value, and more importantly because mine are medical images, the mean value should be different from the ones from Imagenet.
So in this case, how should I preprocess my "RGB" images to fine-tune the VGG16 model with pretrained 'Imagenet 'weights?
Also, just to make sure, the pretrained 'Imagenet' weights in Keras were trained with data that were preprocessed in 'caffe' mode, right?

For preprocessing:

Split your dataset into training, validation and test parts
Assuming you want to just zero-center it, find the mean, m_tr, of your training data
Subtract this m_tr from your training, validation and testing datasets.
You only use mean of your training dataset to avoid information leaks from validation and test datasets.

For preprocessing:

Split your dataset into training, validation and test parts
Assuming you want to just zero-center it, find the mean, m_tr, of your training data
Subtract this m_tr from your training, validation and testing datasets.
You only use mean of your training dataset to avoid information leaks from validation and test datasets.

Dear grig-guz,
I am not clear about why are we subtracting m_tr(mean of training images) from validation and test datasets. Shouldn't we separately find the mean of validation and test datasets??


SR always listens and reacts to RUM session state

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1539 (18011ee) into develop (6118490) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #1539      +/-   ##
===========================================
- Coverage    83.44%   83.40%   -0.04%
===========================================
  Files          438      438
  Lines        14867    14872       +5
  Branches      2239     2242       +3
===========================================
- Hits         12405    12403       -2
- Misses        1873     1885      +12
+ Partials       589      584       -5

Impacted Files
Coverage Δ

...droid/rum/internal/domain/scope/RumSessionScope.kt
95.40% <100.00%> (+1.22%)
:arrow_up:

...oid/sessionreplay/internal/SessionReplayFeature.kt
100.00% <100.00%> (ø)

... and 17 files with indirect coverage changes


Chose Network button dissapears when using mobile

What happened?
When resizing the screen or using a mobile phone to access Kodadot, the Change Network button disappears, making it only possible to change networks either by manually writing it in the address bar or choosing to browser assets in a specific network.
Please reproduce in steps

Access Kodadot using a mobile phone
try to change to a different network

Expected Behavior
The change network button should be visible:

What browsers are you seeing the problem on?
Desktop Firefox, Mobile Android Chrome, Mobile Firefox
At which address did you encounter bug?
canary.kodadot.xyz, beta.kodadot.xyz
Are you logged in?
Yes
Which wallet you are using?
Talisman
At which chain did you encounter bug?
Basilisk, Kusama
Screenshots

Relevant log output
No response
Payment link for reward
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

isn't this supposed to act as sort of network switch?

@daiagi nope, that is shortcut to explore/network

👋🏼


(root) Upgrade story (v2)

This is the root (or top level) GitHub issue for all things related to OSM Upgrade.

Tasks to complete v2 of osm upgrade

[x] Proposal: Use a CRD instead of ConfigMap for OSM configuration #2738
[x] Label all OSM deployed Kubernetes resources with a common key/value #2925
[x] SMI conversion webhook to upgrade to newer SMI API versions #2737
[x] osm mesh upgrade reverts configmap value changes which were made out of band #2826
[x] helm upgrade overrides manual edits in osm-config #2386
[x] Research and build POC for Helm post-delete hook for OSM resources #2931
[X] Move osm-config ConfigMap ownership from Helm to OSM Controller #2932
[ ] Add check in the OSM CLI for available updates / upgrades / new versions #1720
[X] How does OSM upgrade handle SMI version upgrades on a cluster with existing policies? #893
[ ] Support hitless upgrade of Envoy proxies #512
[X] Move osm webhook configuration resource ownership from Helm to OSM Controller #2961
[X] ~~ CRD spec change to allow storing older versions of the CRD #3211~~
[x] Deprecate the use of osm mesh upgrade to update the OSM config #3212
[X] #3396
[ ] #3371

Clean-up tasks for after v2 of osm upgrade is done:

[X] cli: Remove --enable-permissive-traffic-policy from osm install CLI (can we?) #2922
[X] cli: remove install cli options used for overriding chart values in favor of using --set option #3124

Prior work:

feat(cli): control plane upgrades #2418
Make OSM control plane instances upgradeable #2100

Done! (Remaining CLI tasks will also be addressed in follow-up release - v0.11)


Question - can I save the images to S3?

Hi,
This project really looks cool!
I've a question here. Can I store the images to S3?
How? Do you have sample code for that?
Thank you.

You mean Using  aws-sdk to upload files ?

Yes, correct. Possible?

Yes, it's possible.

Can you please share the steps?

You can checkout this , it's pretty straightforward...

Thanks.


mvcc: return -1 for wrong watcher range key >= end

Fix #6819.
@heyitsanthony @xiang90 Should we translate the error in etcdctl or clientv3 side? Currently clients will just see the watch create request is canceled.

No strong opinion about it being translated in clientv3/etcdctl. We should probably teach etcdctl about watchresponse Err() regardless.

@heyitsanthony @xiang90
All fixed. Think error Error:  watch is canceled by the server is good enough?
I instead added more clarification on range end docs for clientv3 and etcdctl.
PTAL.
Thanks.

@heyitsanthony Added special case handling for []byte{0} with test. PTAL. Thanks!

@heyitsanthony I removed bytes.Equal check because we convert \x00 into empty bytes in v3rpc https://github.com/coreos/etcd/blob/master/etcdserver/api/v3rpc/watch.go#L173. What do you think?
It's just empty bytes when passed to mvcc.

@gyuho OK. Is that WithFromKey correct, though? I think it still needs to be []byte{0} so the v3rpc/watch stuff can convert it to []byte{}?

@heyitsanthony Did you mean TestWatcherWatchWrongRange to use w.Watch([]byte("foo"), []byte{0}, 1)?  How so, we don't use rpc in mvcc tests?
I added []byte{0} case to integration test to make sure we don't break WithFromKey

Oh oops, you're right. What was I thinking. lgtm

Thanks merging in greens.


Adjust plotly notifier toast styling

Fixes #1009
I couldn't replicate the exact issue of wrapping myself, but this should fix it along with applying some additional styling.

Closing in favor of #1012 (more or less identical but submitted at same time by external contributor)


wrong tag URL at the bottom of the message

Hello 👋
First off, I love your slack bot! ❤
I found that the default message (no custom templating) sends this "/releases/tag/" url at the bottom of the success message
https://github.com/juliuscc/semantic-release-slack-bot/blob/1cb7fabac9cea86ea7a88a54acae37eccc24d62a/lib/success.js#L104
the url with gitlab.com looks something like this https://gitlab.com/myorg/myrepo/releases/tag/v1.5.0 which gives me http 404.
the correct URLs I can visit are https://gitlab.com/myorg/myrepo/-/releases/v1.5.0 and https://gitlab.com/myorg/myrepo/-/tags/v1.5.0.
I'm not sure if this is some kind of change in Gitlab URL paths or not.
Thanks!

Hi, great to hear that you love the tool. When we created it, we only created the url creation for github which is why it looks like that. It would be great to natively support the urls for gitlab as well in my opinion! I don't think that we ever verified that it worked for gitlab unfortunately.
A PR to solve this from you would be the fastest way to get this into the code base if you are interested. Otherwise, feel free to open an issue regarding this 🙂
(Otherwise you could try to create a custom template that works for you)

Hi, great to hear that you love the tool. When we created it, we only created the url creation for github which is why it looks like that. It would be great to natively support the urls for gitlab as well in my opinion! I don't think that we ever verified that it worked for gitlab unfortunately.
A PR to solve this from you would be the fastest way to get this into the code base if you are interested. Otherwise, feel free to open an issue regarding this 🙂
(Otherwise you could try to create a custom template that works for you)

I don't have time to fix this but I can point you in the right direction. I suggest that you extend this file so it figures out the git-service (GitHub, Bitbucket, Gitlab, etc.) and generate an extra property to the return object: release-url which represents the URL to the release. In a first PR you can probably just check if it is gitlab, and leave the current implementation as a default if it is anything other than gitlab.
https://github.com/juliuscc/semantic-release-slack-bot/blob/41f7dee530884778fea6bc83747461848d5da473/lib/getRepoInfo.js#L3-L20
Please add tests here as well:
https://github.com/juliuscc/semantic-release-slack-bot/blob/1cb7fabac9cea86ea7a88a54acae37eccc24d62a/test/getRepoInfo.test.js

I don't have time to fix this but I can point you in the right direction. I suggest that you extend this file so it figures out the git-service (GitHub, Bitbucket, Gitlab, etc.) and generate an extra property to the return object: release-url which represents the URL to the release. In a first PR you can probably just check if it is gitlab, and leave the current implementation as a default if it is anything other than gitlab.
https://github.com/juliuscc/semantic-release-slack-bot/blob/41f7dee530884778fea6bc83747461848d5da473/lib/getRepoInfo.js#L3-L20
Please add tests here as well:
https://github.com/juliuscc/semantic-release-slack-bot/blob/1cb7fabac9cea86ea7a88a54acae37eccc24d62a/test/getRepoInfo.test.js

I'm closing this for inactivity

I'm closing this for inactivity


prompt can be in other languages?

First of all, thank you for the tools!
As the title says, can the prompt be in other languages?

First of all, thank you for the tools! As the title says, can the prompt be in other languages?

Yes. Stable diffusion works with other languages.