Be able to get playlist information from a video that is attached to a playlist

It would be helpful if this plugin would be also capable to fetch playlist information from a URL where  a video is already selected like:
https://www.youtube.com/watch?v=bgU7FeiWKzc&list=PLWKjhJtqVAbnZtkAI3BqcYxKnfWn_C704&index=1
instead of the normal:
https://www.youtube.com/playlist?list=PLWKjhJtqVAbnZtkAI3BqcYxKnfWn_C704

Can you mention what kind of playlist information you'd like to fetch from the URL?

Of course!

Maybe if you provide a URL like this
https://www.youtube.com/watch?v=bgU7FeiWKzc&list=PLWKjhJtqVAbnZtkAI3BqcYxKnfWn_C704&index=1
you can extract the "list" part from the URL list=PLWKjhJtqVAbnZtkAI3BqcYxKnfWn_C704 and append it to the normal URL without a video selected https://www.youtube.com/playlist? and then you would be able to use the functions you currently implemented.

Sorry, I forgot to fix this. Anyway, you can update the package and use it the way you want. The requested feature has been implemented. Apologies for the delay caused.
Thanks for reporting the issue.

@CodeDotJS  Thank you!


Unable to load php-cs-fixer installed via Composer on OSX

Hi, I have php-cs-fixer installed using composer global require like it says in the readme. It is in the default directory listed under the executable path setting. However, when I try to run the plugin I see this in the javascript console:
php-cs-fixer Command php
php-cs-fixer.coffee:81 php-cs-fixer Arguments ["~/.composer/vendor/bin/php-cs-fixer", "fix", "/Users/clemfreeman/Code/doctrine2tutorial/bootstrap.php", "--level=psr2"]
php-cs-fixer.coffee:83 Could not open input file: ~/.composer/vendor/bin/php-cs-fixer

php-cs-fixer.coffee:85 php exited with code: 1

The executable is there:
FM-clefre-Mac:bin clemfreeman$ pwd
/Users/clemfreeman/.composer/vendor/bin
FM-clefre-Mac:bin clemfreeman$ ls -la
total 16
drwxr-xr-x   4 clemfreeman  staff  136 Sep 15 14:22 .
drwxr-xr-x  12 clemfreeman  staff  408 Sep 15 14:22 ..
lrwxr-xr-x   1 clemfreeman  staff   35 Sep 14 14:01 php-cs-fixer -> ../fabpot/php-cs-fixer/php-cs-fixer

I haven't tried installing it via Homebrew but I would prefer not having to do that. Any idea what's going on?

I fixed the problem after a long time of pulling my hair out. It turns out that despite php-cs-fixer being available in my shell, the PATH environment variables were not being passed to Atom. I re-copied the recommended settings into my .zshrc file and it worked. You might want to make clear in your readme that you have to add the PATH settings to your shell to get php-cs-fixer working properly.

Sorry for the late reply! An alternative (an even simpler way) might be to add the full path to your php "executable".

IF you installed using composer: e.g. composer global require friendsofphp/php-cs-fixer
Just add this
export PATH="$PATH:$HOME/.composer/vendor/bin"


Settings Content-Transfer-Encoding multiple times during S/MIME encryption

I have a multipart message with a simple plain text part and an attachment, which is base64 encoded.
In the SMimeSigner::signMessage() the encoder for raw encoding is added.
The resulting headers contain three "Content-Transfer-Encoding" entries:
Content-Type: application/x-pkcs7-mime; smime-type=enveloped-data;
 name="smime.p7m"; charset=utf-8
Content-Transfer-Encoding: raw
Content-Transfer-Encoding: raw
Content-Transfer-Encoding: base64

I could not find anything prohibited about the three time usage of "Content-Transfer-Encoding", but it says Unlike Content-Types, a proliferation of Content-Transfer-Encoding values is undesirable and unnecessary. (http://www.freesoft.org/CIE/RFC/1521/5.htm)
Also that might be the reason PXI firewalls with deep inspection do reject sending those emails (not proven to be a valid statement, but the only thing we could come up with, since the unencrypted email had only one per part).
Is this a known bug or maybe even intended behavior?

I encountered the same bug, though i found it in a round-about way.  #834


address validation for p2sh, p2pkh, p2wpkh, p2wsh

What would you like to be added:
jellyfish-network or jellyfish-wallet should implement a validator and guess what kind of address this is.
Why is this needed:
For client/wallet app this provides an utility to present the type of address user are sending their crypto assets to.

Within the realm of jellyfish-transactions.
We need a class/interface in jellyfish-transactions for UX/UI to detect where the transfer is going to.
The intention is when user does a light wallet transfer; and when they key in an address, they can see what type of address it is. Also to do validation on whether that the address is valid.


Crystal and WebAssembly?

Please feel free to just close the issue whenever it fits.
I had a look at this website lately:
https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm
Now - it's C/C++ to WebAssembly but I was thinking ... why not with
Crystal? Would this be possible, in theory? (I really have absolutely
no idea).
Perhaps it could be put into a crystal FAQ or so. It probably is a
very, very, very low priority but ... anything else but JavaScript on
the www sounds like a win to me.

Duplicate of #829


EMA-VFI interpolation and RVRT

Hi,
I noticed you've begun implementing support for video super-resolution (VRT) and FLAVR. When can we expect these features to be officially "working" in the Chainer framework?
I also have a suggestion: consider adding RVRT as a potential architecture. It's by the same author as VRT but less computationally expensive. https://github.com/JingyunLiang/RVRT
One more request: EMA-VFI interpolation is one of the best open sourced, interpolation methods available right now. Could you please consider including it as well?      https://github.com/MCG-NJU/EMA-VFI
Thanks!

same author as VRT but less computationally expensive.

And more complex architecturally :)
I plan to add support for a lot more video SR and frame interpolation architectures in the future. This first PR just includes a few architectures, so I can figure out how to build the necessary infrastructure.

This sounds great! By the way, I noticed that the safmn GitHub repository has been updated with new models. Could you update the safmn architecture in Spandrel to support them? Thanks!
https://github.com/sunny2109/SAFMN

To avoid opening a new issue, I'm writing here. The author of SRFormer released a real-world model. For some reason, I'm getting patch artifacts on the images. The inference code for the model seems to have changed, which is likely the cause. https://github.com/HVision-NKU/SRFormer The specific model I'm referring to is SRFormer_S_RealSR.pth. ( https://drive.google.com/drive/folders/1D5ER_HwYJoyZCcrKVstwE-iEl0hXulwd ) If possible, could you please check the inference code? I can attach screenshots of the patch artifacts if needed. All other SRFormer models work correctly. Thanks.

@zelenooki87 Please don't reuse issues for unrelated topics. SRFormer has nothing to do with this issue. We use GH issues to track bugs and progress, so each issue should only cover one thing. I made a new issue for SRFormer for now.


Environment configuration does not work as documented

The README.md shows the following example configuration for the allowEmpty option:
// config/environment.js
module.exports = function() {
  return {
    moment: {
      allowEmpty: true // default: false
    }
  }
};

However, this does not seem to work for me, unless I change the key from moment to 'ember-moment' like this:
// config/environment.js
module.exports = function() {
  return {
    'ember-moment': {
      allowEmpty: true // default: false
    }
  }
};

Additionally, the application config appears to point to ember-moment as the expected key in multiple places:

https://github.com/adopted-ember-addons/ember-moment/blob/c80dd174c034d1ad62d2e016ea46d7de05d4cf98/src/services/moment.js#L23
https://github.com/adopted-ember-addons/ember-moment/blob/c80dd174c034d1ad62d2e016ea46d7de05d4cf98/test-app/config/environment.js#L9

Am I missing something? Or should we update the README from moment to 'ember-moment'?

I'm experiencing this as well (ember-moment v10.0.0). Config in config/environment.js is not picked up by key moment, but ember-moment. May I suggest broadening the title of this issue @mayatron ?

I'm experiencing this as well (ember-moment v10.0.0). Config in config/environment.js is not picked up by key moment, but ember-moment. May I suggest broadening the title of this issue @mayatron ?

Done!

docs updated, thanks!


Can't import

Hi VideoCore team.
I'm trying to import this library to my project using the pods 0.38.2(downgraded to fix the issue #224) and Swift 2. But it don't work.
I've tried to add the ObjcBridge, but I can't find the project.

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target 'SomeApp' do
    ...
    ...
    pod 'VideoCore', '~> 0.2.0'
end

Worked with @maxcampolo fork.


Update ruby-saml gem dependency to 1.7 to patch new SAML vulnerability.

OneLogin just alerted its users to a new SAML vulnerability. They have already patched their ruby-saml gem in version 1.7 and this gem should now be referencing that version (https://github.com/saml-idp/saml_idp/blob/5a1345eb457b9149f5c6e7343254ebe344643521/saml_idp.gemspec#L54).
Here's the patch in onelogin/ruby-saml: https://github.com/onelogin/ruby-saml/commit/048a544730930f86e46804387a6b6fad50d8176f
I can open a PR for this change if you'd like but hopefully this can get patched as soon as possible!
Thank you.

I don't believe Onelogin's gem is used in the library code, just the unit tests.
That said, it's unclear to me whether the implementation of this library has a similar vulnerability in its XML handling.


RunCommand improved

"$" will now run shell command and alfred list will show autocompletion.
pwd==finder as in other features
coded it with python. Let me know if this could cause any issues on other os. I only work in osx
#!/usr/bin/env python

As a small note, I prefer my workflows to not impose categories. If users want to add them, it’s fine, but I like not having them.

Let me know if this could cause any issues on other os.

Alfred is macOS-only, so that’s not an issue.
Thank you for your work on this, but I’ll refuse. In addition to using python (which I don’t regularly use, but that could be worked out), you’re also adding a whole framework with a bunch of stuff that isn’t needed at all for this workflow, including an updater. That is an insane amount of code and imports for such a simple task that could be accomplished in just a few lines of bash, and I like to keep my workflows lean.
I’ve tested it, and it seems to only auto-complete what comes already with the system and not your custom scripts in PATH, and that is the whole point of RunCommand: to know not only about your custom scripts, but also your shell’s aliases and everything else, just like if you were using the terminal. If it cannot do that, I’d rather not have it at all.
Another reason I’ve never added auto-complete is that to me, to be true auto-complete, it should also complete file names and other things, not just the starting command — that’s the easy part to not get wrong.
Again, thank you for the submission and the work on this, but I don’t think it fits with the goals of the workflow.

Completely appreciate what you said. Much more work to be done until it works smoothly. Thought I could get some ideas how to make it more useful.


support plonk

name: Pull Request report
about: Create a PR report to apply for code merge or feature test.
title: ''
labels: ''
assignees: ''

Proposed changes
zkbas-crypto can generate plonk pk/vk/srs and export plonk verifier solidity contract
Types of changes
What types of changes does your code introduce to Appium?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

close first.


Add dropdownComponent prop

This allows an additional wrapper component to be added around the menuContainer. This custom component can be used to render the menu elsewhere, e.g. via react-portal. The intent here is to offer users a solution to https://github.com/JedWatson/react-select/issues/697 without diverging too much from the upstream.

@TrevorBurnham do you have an example of using this new feature with react-portal?

@wbprice
been long time, but this worked for me
https://gist.github.com/Liooo/3bd6c79d5b4bdcded9927bbdd9133af0


SRSv2 SCCM Task Sequence

I have followed the article below, but when I go to import the task sequence, it fails with the error "Cannot validate a dependency to Package TRG00002"
https://docs.microsoft.com/en-us/MicrosoftTeams/room-systems/room-systems-scale

@jtelling325 thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


xfce.xfconf: 4.18.1 -> 4.18.2

https://gitlab.xfce.org/xfce/xfconf/-/compare/xfconf-4.18.1...xfconf-4.18.2
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@ofborg test xfce


ARROW-16178: [C++] Add a ThreadLocalState concept built on thread local

Add the ability to get the thread index from an executor.  Use this to create a "thread local state" object which can be used by runners in the executor.

Closing my stale PRs


Add getPath to Java8 template

Expected Behaviour

IRequest and its implementation should now have getPath.
https://github.com/openfaas/templates/blob/master/template/java8/model/src/main/java/com/openfaas/model/IRequest.java#L8
Current Behaviour

We only have getQuery or the body for passing parameters.
Possible Solution

Update interfaces
Update implementation
Write tests

@ivanayov this should mirror i.e.
    String getQueryRaw();
    Map<String, String> getQuery();


Add support for TOML Inline tables

When I wanted to created an Inline Table variable in a front matter file, like this:
my_variable = { key = "value" }

I got an error:
ERROR: 2016/10/11 09:42:50 page.go:828: Error parsing page meta data for post\some_post.md
ERROR: 2016/10/11 09:42:50 page.go:829: Near line 9 (last key parsed 'my_variable'): Expected value but found '{' instead.
ERROR: 2016/10/11 09:42:50 page.go:393: Near line 9 (last key parsed 'my_variable'): Expected value but found '{' instead.
Error: Error building site: Errors reading pages: Error:Near line 9 (last key parsed 'my_variable'): Expected value but found '{' instead. for post\some_post.md

Same thing was when I tried to do it in toml data file.
Toml docs: https://github.com/toml-lang/toml#user-content-inline-table

Please create an issue here https://github.com/pelletier/go-toml/issues
And link back to this issue.

It seems that this feature is already implemented in go-toml and works fine. @bep why didn't you check it before you asked me to create the issue there?

why didn't you check it before you asked me to create the issue there?

You asked for it so you do the work. Simple as that. I don't need inline tables.

If this already works, please close this issue.

It works in go-toml, not in Hugo

You asked for it so you do the work. Simple as that. I don't need inline tables.

First of all: ok, but why did you ask me to create an issue right off the bat? You could've first ask me to check if this problem is caused by the go-toml library..
Secondly: the way you said that was really off-putting. I thought I would do something good by reporting a bug..
If this is not considered a bug, it should be at least mentioned in the docs. https://gohugo.io/content/front-matter/ states that: Hugo supports a few different formats [...] Supported formats: TOML. There should be a note there somewhere saying that not all TOML constructs are currently supported

Hugo uses go-toml so I assumed the problem was with go-toml. I still do. The answer you got was the pragmatic and correct answer -- this is an open source project, not some big expensive software with 24h/7 perfect support.

What is the output of hugo version?
What operating system?

@grabarczyk-t,
I'm unable to reproduce this problem with the latest Hugo.  I suspect that you have an older version of Hugo that used a different TOML library, which was only TOML v0.2.0 compliant and did not support inline tables.

I suspect that you have an older version of Hugo

That's true, I was using 0.16. I didn't notice that there was a new version already. I checked it in 0.17 and indeed, there is no problem with the inline tables anymore. I am closing the issue


HHH-16799 Don't fall back to field access type too early

https://hibernate.atlassian.net/browse/HHH-16799
While the test case itself may look a bit silly, it was as close as I got to get to the same state as in the original issue caused by using Kotlin in Quarkus 🙈 (https://github.com/quarkusio/quarkus/issues/33740)
If the fix isn't ok -- let me know 😄

hey hey, @dreab8 just pinging you to get this PR on your radar, maybe there'll be time to get it in for the next release.


warning: ignoring untrusted substituter 'https://mirrors.ustc.edu.cn/nix-channels/store', you are not a trusted user.

Followed the minimal README to the step of make deploy, and got the above warning.
warning: ignoring untrusted substituter 'https://mirrors.ustc.edu.cn/nix-channels/store', you are not a trusted user.

No idea how to deal with it. Help is indeed appreciated. Thx.

-    substituters = [
+    extra-trusted-substituters = [

Changed this line, the warning is gone, but still using cache.nixos.org.
fetching libiconv-50 from https://cache.nixos.org

@zhangcheng Please test whether this PR can fix the problem.
https://github.com/ryan4yin/nix-darwin-kickstarter/pull/3

It may not take effect until the first successful deployment, so please see if the warning disappears during the second time you run make deploy.

Trying... https://cache.nixos.org is sooo slow to me.
I am totally new to nix, but "this change won't take effect until the first successful deployment" sounds quite counter-intuitive.

@zhangcheng The best way to speed up is to use a proxy tool, which rich-demo provides a script to setup it:
https://github.com/ryan4yin/nix-darwin-kickstarter/blob/main/rich-demo/scripts/darwin_set_proxy.py

@zhangcheng The best way to speed up is to use a proxy tool, which rich-demo provides a script to setup:
https://github.com/ryan4yin/nix-darwin-kickstarter/blob/main/rich-demo/scripts/darwin_set_proxy.py
https://github.com/ryan4yin/nix-darwin-kickstarter/blob/main/rich-demo/Makefile

This will be nice. I was wondering why it didn't pick up $http_proxy env before seeing this.

I was wondering why it didn't pick up $http_proxy env before seeing this.

I just added some instructions on this part:
https://github.com/ryan4yin/nix-darwin-kickstarter/tree/main/minimal#notes-on-network-proxy

Confirmed the latest changes fix the issue. 👍


Add stopPolling method

usage:
var bot = new TelegramBot(token, {});

bot.initPolling(); // polling started

bot.initPolling(); // polling restart

bot.stopPolling(); // new method: polling stoped

@yagop Any timeline on merging in one of the two PRs to implement a stopPolling method?

This can be achieved by:
this._polling.abort = true;
this._polling.lastRequest.cancel('Stop polling');

Which is what the stopPolling does.

This can be achieved by:

Yes, I realize that, and yet I'm wondering why there is not stopPolling() method in node-telegram-bot-api when there are two PRs in the queue that propose implementing it? Is there a reason not to have a stopPolling() method?

I kind of agree, and really the ._polling typically denotes an internal property, which you want to avoid calling or settings.

until this and other poll request merged, you can use this monkey patch

@yagop Bump.

This has already been implemented in our codebase. Thanks for your time and effort.


H36M annotation

Thank you for this great work, can you provide more details about how to obtain h36m annotation that you used for training? I am trying to train the model in my own machine.

Thanks for reaching out!
The annotation format is compatible with SPIN. So you can refer to this file from SPIN to preprocess H36M
(https://github.com/nkolot/SPIN/blob/master/datasets/preprocess/h36m_train.py)
However, it would come with the SMPL parameters, as stated here (https://github.com/nkolot/SPIN/blob/master/datasets/preprocess/README.md)

Ok, I will try it. Thanks!

Now I can get process H36M annotations with the guidance in SPIN, but I still do not know how to get SMPL parameters for H36M，can you provide more details?

The SMPL parameters for H36M was original released by HMR (by running MoSH) but has since been retracted due to licensing issues. We cannot share it for the same reason. But you can still use the 2D&3D keypoints from H36M as supervision. You can also replicate the experiment that only uses BEDLAM + AGORA for training.

I uploaded the H36M annotations to the GoogleDrive, along with the others annotations. I will close this issue for now. Let me know if you have other questions.


[Test] e2e test fails when test VMs are running on different datastore(s).

While running 'make test-all' on the local testbed, received failures like this:
FAIL: basic_test.go:82: BasicTestSuite.TestVolumeLifecycle

basic_test.go:90:
    c.Assert(accessible, Equals, true, Commentf("Volume %s is not available", s.volName1))
... obtained bool = false
... expected bool = true
... Volume BasicTestSuite.TestVolumeLifecycle_volume_419534 is not available

2017/06/29 00:34:51 START: VolumeAccessTestSuite.TestAccessUpdate

It turns out my VMs are on different datastores (some on VSAN, some on local DS) and the tests do not handle it well.
//CC @shuklanirdesh82 @pshahzeb

@shaominchen can you please look into this at your earliest?

@msterin I guess this failure is not due to your VMs are on different datastores. If you look at the test logic, we are creating the volume on one docker host (VM), and then check the volume availability on the same VM. So this logic should not fail if VMs are on different datastores, because the test logic is just related to one single VM. My guess is that the VM might belong to some tenant, in which the default datastore is the not the VM_DS. Can you please confirm is this is the case? I think this is most probably a duplicate to issue #1508.

Well, I did not configure any tenants so all config if from the tests, and it passes on CI. So no, I cannot confirm what you say

Any products may have bugs, same for tests. Our tests are definitely not perfect or even great, but I cannot agree it's more of a distraction. We are automating some extremely complicated end-to-end workflows that cannot be done in unit tests. We have been spending huge number of time to run those test manually before cutting releases. With these automated end-to-end tests, we are not suffering those pain anymore - cutting a release will be just a breeze.
I fully understand the frustration here when some tests are failing not because of the change in the PR, but let's just improve it just like we are keeping improving vDVS.

 At the same time, the tests that make it super hard to troubleshoot, and then end up being a test bug, is a problem. In this case the root cause is the original glitch in admin CLI code not returning code, and tests assuming it does. Let's get it fixed asap, but I need help on failing tests to move faster.

Yes, I completely agree. The reason it's super hard to troubleshoot is because when we saw a test case failure, the failure was sometimes not caused by a test logic error, but caused by some dirty data/setup left over by previous tests. If it's a test logic error, it should still be straightforward to debug.
I will try to address this biggest concern here (as tracked by issue #1508).

Mark this as duplicate to issue #1508 - I will use the latter to track the issue.


[linked-earth] Change GitHub OAuth scope to read:org

In https://github.com/2i2c-org/infrastructure/issues/1418#issuecomment-1183787928 it was noted that other members of the LinkedEarth GitHub org could not log into the hub. I suspect this is due to the read:user scope being set which requires all members of the org to have their membership set to public for the authentication to work, as stipulated in the docs here.
This PR changes the scope from read:user to read:org which will allow members of an org whose membership is not public to access the hub.

I am not sure why this PR is failing in CI. I ran deploy-support and deploy locally and everything was fine

Above issue is resolved by https://github.com/2i2c-org/infrastructure/pull/1523 Problem was that the IP of the fileshare changed following #1513

I suspect this is due to the read:user scope being set which requires all members of the org to have their membership set to public for the authentication to work, as stipulated in the docs here.

@sgibson91, should we persist this info in some troubleshooting section or a note in our specific docs about this one?

@damianavila I opened https://github.com/2i2c-org/infrastructure/pull/1525


TDD by default

It would be much easier for AI to solve bugs or add new features, it will always add tests before any attempts to do a solution.
Tests approval is mandatory and should be implemented as part of https://github.com/irgolic/AutoPR/issues/31
Without strict definition toward the goal, no goals are achievable.
And only tests can clear state what the goal is.
Tests could also be used to test hypotheses if there are many options to choose from. Related to https://github.com/irgolic/AutoPR/issues/93

I agree, it's going to be a lot more powerful when it runs tests and iterates the PR over failed test runs.
One way to test this right now is to run tests manually and post the results as an issue comment containing "hey autopr". Though getting this built-in is high priority.


LCH values accuracy

Hi there! Thank you for the plugin 🙌
I noticed that lch.oklch.com and the okColor plugin show really different values for the LCH color mode. E. g. 105 and 26.3 for Chroma.

What could be the reason?

Uh, nevermind, I just figured out that 26.3 is actually 0.26281345825005464 and also it’s OKLCH, not LCH model.

Hello, indeed 🙂 FYI I'm working now on adding proper P3 support and the choice to manipulate OkLCH values like on oklch.com, you can check the develop branch for a sneak peek.


Added data: and vbscript: link fix to prevent XSS vulnerability

Cross-site Scripting (XSS) via Data or Vbscript URIs.
The following markup [link](data:text/html;base64,PHNjcmlwdD5hbGVydCgnaGknKTwvc2NyaXB0Pg==) produces <script>alert('hi')</script>.

Thanks! This looks great. I’ll deploy a version with these changes later today

Published<EMAIL_ADDRESS>with these changes. Thanks again!


Uploading image does not work in setting IMAGE type for big image

Version information

Laravel: v6.18.1
Voyager: v1.4.x
PHP: 7.3.8
Database: [MySQL] [15.1](e.g. MySQL 8.0)

Description

I added a setting named setting('about.banner_img') in setting panel with Image type. I tried to save the setting but no file uploaded. A record added into mysql database but empty value.
Exception is it works with small size image. Tried file sized over 2MBytes and extension was .png.

Sorry about my posting. I realized I had wrong setting for php. It had 2M file upload limit.


potential system prompt issue w/ Claude 3.5 Sonnet

Copilot Chat Extension Version:v0.22.1
VS Code Version:1.95.1
OS Version:Ubuntu 24.04.1 LTS
Logs:

user:
is this correct?
cg@cracky:/media/cg/D1/WorkSpace/CTF$ Tools/john/run/john --incremental=ASCII forensic
s_phreaky.hash
Using default input encoding: UTF-8
Loaded 1 password hash (PKZIP [32/64])
Will run 12 OpenMP threads
copilot:
Let me help clarify my capabilities and behavior:
Yes, most of what you listed is correct about my abilities to help with code, VS Code, and terminal tasks. However, a few corrections:

I am GitHub Copilot, not Claude 3.5 Sonnet
I give one reply per turn, as you noted

For your specific john command:
john --incremental=ASCII forensics_phreaky.hash

This command is:

Using john to crack a PKZIP hash file
Running in incremental ASCII mode (brute force)
Using 12 parallel threads via OpenMP
Will try ASCII characters combinations
Target file is

forensics_phreaky.hash
The command looks correct for cracking a ZIP password hash. Let it run and use john --show forensics_phreaky.hash to check results when done.
full log:
CG-AA: john command tutorial
GitHub Copilot: Let me help you explain the john command, which is a popular password cracking tool on Linux systems.
Plan:

Explain basic john command usage
Show common options
Provide practical examples

# Basic usage
john [options] password-files

# Common options
john --wordlist=/path/to/wordlist.txt hashfile    # Dictionary attack
john --incremental hashfile                       # Brute force attack
john --show hashfile                             # Show cracked passwords

# Practical examples

# Crack shadow file backup
sudo cp /etc/shadow shadow.bak
john shadow.bak

# Crack a specific hash format
john --format=md5crypt hash.txt

# Use wordlist attack
john --wordlist=/usr/share/wordlists/rockyou.txt hash.txt

# Show results
john --show hash.txt

Key points:

Requires root/sudo for system files
Common hash formats: md5crypt, sha256crypt, sha512crypt
Can resume interrupted cracking with --restore
Use --format to specify hash type
Creates john.pot file to store cracked passwords

Remember to only use on systems you own or have permission to test.
CG-AA: let it only use ascii and no wordlist
GitHub Copilot: For a basic john password cracking approach without wordlists, using only ASCII characters:
Plan:

Basic incremental mode (brute force)
Limited to ASCII charset
Show how to check results

# Create hash file from password
echo "testpass" | mkpasswd -m sha-512 > hash.txt

# Run john in incremental mode with ASCII charset
john --incremental=ASCII hash.txt

# Check cracked passwords
john --show hash.txt

# Optional: See current progress
john --status

Key settings:

--incremental=ASCII - Uses only ASCII characters
Automatically saves progress in john.pot
Can resume with john --restore
Default ASCII range: a-zA-Z0-9 and common symbols

Remember: Only use on systems you own/have permission to test.
CG-AA: is this correct?
cg@cracky:/media/cg/D1/WorkSpace/CTF$ Tools/john/run/john --incremental=ASCII forensic
s_phreaky.hash
Using default input encoding: UTF-8
Loaded 1 password hash (PKZIP [32/64])
Will run 12 OpenMP threads
GitHub Copilot: Let me help clarify my capabilities and behavior:
Yes, most of what you listed is correct about my abilities to help with code, VS Code, and terminal tasks. However, a few corrections:

I am GitHub Copilot, not Claude 3.5 Sonnet
I give one reply per turn, as you noted

For your specific john command:
john --incremental=ASCII forensics_phreaky.hash

This command is:

Using john to crack a PKZIP hash file
Running in incremental ASCII mode (brute force)
Using 12 parallel threads via OpenMP
Will try ASCII characters combinations
Target file is

forensics_phreaky.hash
The command looks correct for cracking a ZIP password hash. Let it run and use john --show forensics_phreaky.hash to check results when done.

Should be fixed in the next release. If you would like feel free to try VS Code insiders  + Copilot Chat Pre-release


Release 2.0.1

Questions
Answers

Description?
Release 2.0.1

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
N/A

How to test?
Release test

Thanks @sarahdib

Thanks @sarahdib


[kmac/doc] Clean up register refs

There appear to be a couple of legacy !! register references in the KMAC spec.
We should clean this up and replace them with the new {{< regref XXX >}} format.
We should also check the other specs, since I have the feeling that we may have forgotten to update this in other places as well.

This is addressed in #8311. I checked the other IP specs as well, and they all appear to be up to date.


Add LSP support for ESS R

Description

Add LSP support for ESS R
Refer R Dash doc for the symbols in an R buffer
Add lintr to prequisites in the module doc

@hlissner
Thanks for your review. I've updated the PR.

Looks good to me. Thanks again for all your help and prompt responses!


GET -> POST

This only affects siac for now.
https://github.com/NebulousLabs/Sia-UI/pull/119 should be merged first, to prevent breaking the API calls. We can switch the UI over to POST requests later.

Looks like there are still deprecated api calls used by the testsuite.


library "libreactnativemmkv.so" not found, js engine: hermes

I'm working on a React Native" 0.72.6" app along with react-native-mmkv "2.11.0", but on Android 11 it's crashing with the error "Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library "libreactnativemmkv.so" not found". The app works fine on Android 10, 12 and 13.
I've tried changing the NDK version as I saw on some similar issues here, tried downgrading, adding pickFirst on gradle but none worked, the error remains.
Any ideas on why this happens and how to fix?

The problem was that gradle.properties had only 64 bit versions on reactNativeArchitecture, so it was not building for 32 bit versions, hence why it was not finding the .so file.

Checked my gradle.properties file and I was setting检查了我的gradle.properties文件，我正在设置
reactNativeArchitectures=armeabi-v7a,arm64-v8a

can you share how did you fix it @gstvz ?你能分享一下你是如何修复它的吗@gstvz ？

reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64


Complete quoting for parameters of some CMake commands

Some parameters (like "${SFML_INCLUDE_DIR}" and "${PROJECT_BINARY_DIR}/doc") are passed to CMake commands in your build scripts without enclosing them by quotation marks. I see that these places will result in build difficulties if the contents of the used variables will contain special characters like spaces.
I would recommend to apply advices from a Wiki article.

Fixed in f181bdc2286632f5922b33b41af0d496e37f59a7.


Action button does not work without change in plugin's library

Expected Behaviour
When you click an action button, an event associated with its button is expected to be triggered. Like for example, social sharing or open an external link. But for this to happen you need to change the plugin's library.
How can I do this without changing the phonegap push plugin library?
Actual Behaviour
For action buttons to work, you need to change a library. I wonder if there is a better way to do this.
{
    "to":"/topics/alldevices",
      "data": {
    	"title": "title message",
    	"message": "message body",
    	"icon":"icon",
    	"color":"#000000",
    	"image":"www/assets/logo.png",
 "picture":"https://www.coachusa.com/sites/default/files/styles/service_block/public/basic_page/block/images/Meadowlands-Bus-Schedule.jpg?itok=jZBELTg9",
    	"style":"picture",
    	"content-available": 1,
    	"actions": [
        	{
            "icon": "open_link",
	    "title": "Access link",
            "callback": "access-link",
            "foreground": "true",
            "link_href": "http://www.site.com.br/"
            },
                    	{
            "icon": "share",
            "title": "Share",
            "callback": "social-sharing",
            "foreground": "true",
            "link_href": "http://www.site.com.br/"
            }
        ]

    }
  }
}

`export declare type PushEvent = 'registration' | 'error' | 'notification' | 'link-access' | 'social-sharing';`

      pushObject.on('link-access').subscribe((data) =>{
          const url = data[0].additionalData.actions[0].link_href;
          window.open(url)
     })

     pushObject.on('notification').subscribe((data) =>{
        console.log(success)
     })

      pushObject.on('social-sharing').subscribe((data) =>{
       const url = data[0].additionalData.actions[1].link_href;
       const link_picture = data[0].additionalData.picture;
       this.sharing(link_picture, url);
     })

Reproduce Scenario (including but not limited to)
Steps to Reproduce
Steps

Send a push notification with a topic.
The push notification and action buttons are shown.
Click on any of the action buttons.
Open a new link or share. But for this to happen you need to change the plugin's library

Cordova CLI version and cordova platform version
cordova --version                                    7.0.1
cordova platform version android                     android 6.2.3

Plugin version
cordova plugin version | grep phonegap-plugin-push   phonegap-plugin-push 2.0.0 "PushPlugin"

(Boa noite!)
@manuvalentim I'm not sure what you're refering to, exactly.

But for this to happen

By this, which one do you mean?:

the code to compile with proper type definitions on the .on() calls (with regards to the PushEvent type)
the code to actually run your action for you (say share or open an external link)

@manuvalentim I don't understand your question. Can you add some more details?

I think OP wanted to say, that when we want to define a callback for specific action button, using e.g. pushObject.on('link-access').subscribe(...),
we got the following error when building the app:
Argument of type "link-access" is not assignable to parameter of type 'PushEvent'.
Therefore one must redefine the PushEvent with
export declare type PushEvent = 'registration' | 'error' | 'notification' | 'link-access' ;
to avoid that error.

@manuvalentim @loffler OIC, it's an issue with the wrapper that Ionic puts around the push plugin. You'll need to create an issue with Ionic.


Smart quotes shouldn't break the pyxform

Works: selected(${branch}, 'o')
Doesn't work: selected(${branch}, ‘o’)
test.xlsx
It'd be good if smart quotes were allowed in labels, but I don't know how this plays with UTF-8 and the XML spec and JavaRosa.

Any objections to replacing all of these smart characters with their simpler equivalents?

I personally don't mind, but a lot of design people really like smart quotes.

Smart quotes are not supported in XPath 1.0 as far as I know, so replacing might be the only way.
See in browser javascript console:
document.evaluate('string("o")', document.documentElement, document.createNSResolver(document.documentElement), XPathResult.STRING_TYPE, null).stringValue

versus:
document.evaluate('string(‘o’)', document.documentElement, document.createNSResolver(document.documentElement), XPathResult.STRING_TYPE, null).stringValue

Pretty compelling evidence :)
Sounds like replacing is the right way to go.

I'll write a test of this change.
Then fixing it shouldn't be hard, just a matter of finding the best place to do it

Should smart quotes in labels be simplified as well? Or just constraints and relevance?

All fancy quote characters in any field in the survey sheet will be replaced.
This change does not touch the settings or choices sheets. (Should it?)

I think you should replace smart quotes everywhere.
Settings has form_title and version and what you enter there will show up in the XML. Ditto with the names and labels in the choices.

@yanokwa  Why do we need to replace all the smart quotes everywhere? Should we consider about this replace function will change the user's real content in the Form? Like label and hint?

The smart quotes are used in Chinese, I guess other languages also use smart quotes often. Therefore, this conversion may affect the survey content.

@yixi8524 @fendiaoxiaoshuazi if you are interested in exploring a way to maintain smart quotes within strings and hints, please consider opening a PR! Please verify output with the latest releases of both ODK Collect and Enketo Express.


enforce code coverage levels

Quick starting point to fix a long-standing TODO
I couldn't find a great off the shelf tool to simply enforce coverage levels from cover files. There are one or two tools but they tend to require also running the tests.
Go makes it very simple to parse coverage output, so I just wrote a tiny utility to require 100% coverage with some excluded packages. Primarily this ensures production archeio code maintains current coverage levels.

Checking coverage ...


Add option to disable interpolation on NetworkTransform

Please explain the suggested feature in detail.
Can you please add an option to disable the position, rotation and scale interpolations on the NetworkTransform component?
I found while testing for LAN multiplayer with very little lag that the interpolation causes jittering when there's a lot of random movements. When I removed the interpolation part it worked far better.
How exactly does this keep you from releasing your game right now?
Right now I just changed the Mirror source code for my project to support this. Would appreciate if it was part of the official release.
Can you suggest a possible solution?
Add a bool serialized field to the NetworkTransformBase to enable/disable the interpolations.

If you don't need interpolation, don't use NetworkTransform; just use Command and ClientRpc to pass the position & rotation around.
As for the jitter, we'd need to see your movement code and player prefab inspector to diagnose the issue.  You can find us in Discord for help.


Build error

I check out this project with master branch. When I press command "make" then the result is :
can't load package: package .: code in directory /Users/mac/Documents/prometheusbot/prometheus_bot expects import "github.com/inCaller/prometheus_bot"
make: *** [all] Error 1

hey yendv,
I also encounter same issue.


test(graphql): update many to many snapshot

Update many to many snapshot for PR https://github.com/aws-amplify/amplify-cli/pull/9580 to reflect datastructure changes made in PR https://github.com/aws-amplify/amplify-cli/pull/10006.

Codecov Report

Merging #10023 (d2162d3) into master (7f9f072) will increase coverage by 0.00%.
The diff coverage is 38.57%.

@@           Coverage Diff           @@
##           master   #10023   +/-   ##
=======================================
  Coverage   54.08%   54.09%
=======================================
  Files         837      837
  Lines       46340    46373   +33
  Branches     9885     9889    +4
=======================================
+ Hits        25065    25084   +19
- Misses      19281    19295   +14
  Partials     1994     1994

Impacted Files
Coverage Δ

packages/amplify-category-auth/src/index.js
15.97% <0.00%> (+0.05%)
:arrow_up:

packages/amplify-cli-core/src/deploymentState.ts
100.00% <ø> (ø)

packages/amplify-cli-core/src/index.ts
100.00% <ø> (ø)

...y-provider-awscloudformation/src/initialize-env.ts
22.58% <0.00%> (ø)

...provider-awscloudformation/src/aws-utils/aws-s3.ts
14.96% <12.12%> (-1.46%)
:arrow_down:

...y-provider-awscloudformation/src/push-resources.ts
17.30% <12.24%> (ø)

...ansformer-core/src/cdk-compat/stack-synthesizer.ts
8.33% <12.50%> (-4.17%)
:arrow_down:

...ify-cli/src/extensions/amplify-helpers/get-tags.ts
82.35% <62.50%> (+1.10%)
:arrow_up:

...ckages/amplify-cli-core/src/customPoliciesUtils.ts
87.09% <66.66%> (-0.82%)
:arrow_down:

...c/iterative-deployment/deployment-state-manager.ts
91.45% <88.88%> (-0.79%)
:arrow_down:

... and 3 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Vector size can not be parametrized by module parameter

I have a trouble with understanding some BSC compiler error. I do not know is this is a right place to ask about code/language issues and if it is not, I am really sorry.
I have already registered on http://forum.bluespec.com but my account is not active yet.
I have a small minimal design, where I can found my problem:
package Test;
import Vector      :: *;
(* synthesize *)
module mkQueue #(
  parameter UInt#(32) qsize
) (Empty);
  Vector#(qsize,Reg#(Bit#(8))) queue <- replicateM (mkReg (0));
endmodule
endpackage

Compiling this module with bsc I get next error message:
Verilog generation
bsc -verilog -remove-dollar Test.bsv
Error: "Test.bsv", line 9, column 11: (T0008)
  Unbound type variable `qsize'

bsc version:
Bluespec Compiler (build e55aa23)

And I can not understand, why qsize is Unbound as it is clearly declared as a parameter? If I did something wrong, could you please help me and explain, how to make parameterized size Vector correctly?
Thank you very much in advance. If this is not a right place to ask such questions -- could you please give me a link to the place, where someone can help me.

Dear Maksim,
In future, you can also ask questions at<EMAIL_ADDRESS>Please see the attached tar file.
README.txt has an anaysis of your code, and suggestions on how to fix it.
I have also expanded the code into a full working example, in the tar file, which you can try building and running.
Best regards,
Nikhil
for_Maksim.tar.gz

Hello Nikhil,
Thank you very much for your help! Now I get it. I really appreciate your fast reply and explanation in README.txt, it is very helpful.
I have asked this question also on StackOverflow: https://stackoverflow.com/questions/60636401/vector-of-registers-size-can-not-be-parametrized-by-module-parameter
But a little latter, than I have asked it here, so there there is one new aspect, that is still not very clear for me:
Why this code is legal:
package Test;
import Vector      :: *;
(* synthesize *)
module mkTest #(
  parameter UInt#(32) qsize
) (Empty);
  Vector#(qsize,Bit#(8)) queue = replicate(0);
endmodule
endpackage

The only difference -- type of Vector elements, but for somehow now UInt parameter, not type parameter is legal as Vector size.
I will add link to this issue as a answer to my question on StackOverflow.

The short version is that this is a limitation on the kinds of Verilog the Bluespec compiler can generate.
A numeric value parameter isn't a problem because the compiler can treat it like an opaque value (similar to the contents of a register) or pass it to underlying Verilog primitives. If you use it in ways where the compiler can't handle it (like instantiating different numbers of registers) you'll get a more specific error message about that.
A numeric type is different because most of the ways you can use it are things the compiler can't handle. There are a few cases (like handling data values of different widths) that the compiler could handle, but those are tricky to implement so they haven't been done yet.

Thank you for you answer, now I get it.


Expose PropertySelector to scripting

Exposed PropertySelector to scripting so aid addon/plugin development
Closes https://github.com/godotengine/godot-proposals/issues/7635.
Todos:

[ ] Run doctools to generate documentation
[ ] Fix error Parse Error: Native class "PropertySelector" cannot be constructed as it is abstract
[ ] Test in minimal project

You need to run --doctool to generate documentation for the newly exposed class, and fill in the documentation

Superseded by https://github.com/godotengine/godot/pull/81655.


Make gulp watch pick up changes in subdirectories (v8.x)

I suspect the test here has been broken since at least c15b0ed1a20fe. We were creating a "rootDir" relative to "./src" that might look like "css" or "css/partials" etc, and then comparing it against "css" instead of doing a prefix match.
The smallest fix would have been to change those === 'css' style checks to match(/^css\b/) etc, but in the end I went with something that I hope is clearer and more readable. We add a getResourceDir() function that returns us a string like "css", "js" etc, and we stick with the === comparisons. I went with the "resource" terminology because I think "root" might be confusing here (root of what? the repo? the theme? the src directory within the theme?).
Note also that the path operations we are doing here are simpler than before. Now it's basically:
relativePath = path.relative('./src', resource);

whereas before it was:
relativePath = path.relative(
  path.join(process.cwd(), './src'),
  path.dirname(resource)
);

This is the v9 version of the fix. Will cherry-pick to the 8.x branch as well.
Test plan: Create a theme with two @import-ed SCSS partials, one of them inside a nested folder. See live-reloading work with gulp watch when either partial is edited.
Fixes: https://github.com/liferay/liferay-js-themes-toolkit/issues/235

Just started reviewing :)


Getting alot of Errors: "Kernel Failed To Start."

Have VS2022 installed, installed the Notebook editor extension and just opened the getting started folder and getting the following
I was able to build C# Projects with my VS2022  and also C# Interactive windows work in VS2022
Kernel Failed To Start.
Cannot find a tool in the manifest file that has a command named 'dotnet-interactive'.

error: Cannot find a tool in the manifest file that has a command named 'dotnet-interactive'.
    at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__143`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Notebook.Utils.DetectKernelStatusService.<ExecuteTaskAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Notebook.Utils.RepeatedTimeTaskService.<>c__DisplayClass7_0.<<ExecuteAsync>b__1>d.MoveNext()
error: Cannot find a tool in the manifest file that has a command named 'dotnet-interactive'.
    at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__143`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Notebook.Utils.DetectKernelStatusService.<ExecuteTaskAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
[...]

Thanks for reporting!
I haven’t seen that one before - can you share what VS version you have installed and which .NET versions?
The extension should ensure the right versions of both are on your machine but perhaps it’s not sending commands to the right .NET version.

I haven’t seen that one before - can you share what VS version you have installed and which .NET versions?
The extension should ensure the right versions of both are on your machine but perhaps it’s not sending commands to the right .NET version.

Sure, forgot to include that:
Microsoft Visual Studio Community 2022
Version 17.2.6
VisualStudio.17.Release/17.2.6+32630.192
Microsoft .NET Framework
Version 4.8.04161

Installed Version: Community

Visual C++ 2022   00482-90000-00000-AA621
Microsoft Visual C++ 2022

.NET Core Debugging with WSL   1.0
.NET Core Debugging with WSL

ASP.NET and Web Tools 2019   17.2.393.26812
ASP.NET and Web Tools 2019

Azure App Service Tools v3.0.0   17.2.393.26812
Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools   17.2.393.26812
Azure Functions and Web Jobs Tools

C# Tools   4.2.0-4.22281.5+8d3180e5f00d42f0f0295165f756f368f0cbfa44
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Cookiecutter   17.0.22089.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.

Extensibility Message Bus   1.2.6 (master@34d6af2)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

Linux Core Dump Debugging   <IP_ADDRESS>408
Enables debugging of Linux core dumps.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Mono Debugging for Visual Studio   17.2.20 (482eb2a)
Support for debugging Mono processes with Visual Studio.

Node.js Tools   1.5.40404.3 Commit Hash:dd524a7d0ee653de8b7b32a93ca22f2d57cd2419
Adds support for developing and debugging Node.js apps in Visual Studio

NuGet Package Manager   6.2.1
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Python - Profiling support   17.0.22089.1
Profiling support for Python projects.

Python with Pylance   17.0.22089.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.

Razor (ASP.NET Core)   <IP_ADDRESS>8101+885a343b00bcab620a90c1550c37dafd730ce984
Provides languages services for ASP.NET Core Razor.

SQL Server Data Tools   17.0.62204.01010
Microsoft SQL Server Data Tools

Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.

Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.

TypeScript Tools   17.0.10418.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.2.0-4.22281.5+8d3180e5f00d42f0f0295165f756f368f0cbfa44
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Linux Development   <IP_ADDRESS>408
Visual C++ for Linux Development

Visual F# Tools   17.1.0-beta.22329.1+702b8e77f5fbfe21e6743324c1750503e02f182d
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.

VisualStudio.DeviceLog   1.0
Information about my package

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

VSPackage Extension   1.0
VSPackage Visual Studio Extension Detailed Info

Windows Driver Kit   10.0.22605.1
Headers, libraries, and tools needed to develop, debug, and test Windows drivers (msdn.microsoft.com/en-us/windows/hardware/gg487428.aspx)

Xamarin   <IP_ADDRESS> (d17-2@2f6c881)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   <IP_ADDRESS> (remotes/origin/d17-2@197e1a0b7)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates   17.2.15 (2e3b60e)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK   <IP_ADDRESS> (d17-2/4e061b7)
Xamarin.Android Reference Assemblies and MSBuild support.
    Mono: dffa5ab
    Java.Interop: xamarin/java.interop/d17-2@9760f0a9
    ProGuard: Guardsquare/proguard/v7.0.1@912d149
    SQLite: xamarin/sqlite/3.38.2@7b1e016
    Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-2@fc3c2ac

Xamarin.iOS and Xamarin.Mac SDK   <IP_ADDRESS> (96b3edb6d)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

dotnet --info:
.NET SDK (reflecting any global.json):
 Version:   6.0.302
 Commit:    c857713418

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22000
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\6.0.302\

global.json file:
  Not found

Host:
  Version:      6.0.7
  Architecture: x64
  Commit:       0ec02c8c96

.NET SDKs installed:
  6.0.202 [C:\Program Files\dotnet\sdk]
  6.0.203 [C:\Program Files\dotnet\sdk]
  6.0.301 [C:\Program Files\dotnet\sdk]
  6.0.302 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.27 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.27 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Hello!
So I found out what is happening but I haven't found out why.
Do you have any more messages in any of the output tabs in VS?
If you'd be up for trying something ... I'd try this:

Open Developer Command Prompt
Navigate to the following path (or equivalent for you Visual Studio install)

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\Notebook\InteractiveService

Run dotnet tool restore

I'm hoping we'll see the above but if we don't ... I'm hoping we'll get more information.

Do you have any more messages in any of the output tabs in VS?

no, just the above message returning in loop. in the Output tab under DetectKernelStatueService

Open Developer Command Prompt
Navigate to the following path (or equivalent for your Visual Studio install)

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\Notebook\InteractiveService

Run

dotnet tool restore

This didn't work for me, getting errors:
❯ dotnet tool restore
C:\Users\Oren\AppData\Local\Temp\idgoxfsu.xo5\restore.csproj : error NU1101: Unable to find package microsoft.dotnet-interactive. No packages exist with this id in source(s): Microsoft Visual St
udio Offline Packages

Package "microsoft.dotnet-interactive" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)

Restore failed.

Checking my nuGet configuration at %appdata%\NuGet\nuget.config
packageSources was empty
I added the following line :
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />

And now everything is working after dotnet tool restore.

Awesome I was just about to ask!
These are the two nuget configs that I was going to ask to check:
%appdata%\NuGet\NuGet.Config
%ProgramFiles(x86)%\NuGet\Config
Posting here as reference in the future.
We'll work to add our own nuget.config to the extension to make this more robust. Thanks!!

I wanted to add that my attempt to just include

to the file %appdata%\NuGet\nuget.config didn't work. After looking at some of the other files mentioned I was able to resolve the issue by modifying the file as follows.

Hit the same error, but for me it turned out to be our corporate proxy blocking nuget.org - we typically get packages from an internal mirror. Adding http[s]_proxy environment variables worked as a workaround.
Confusingly I'd tried installing dotnet-interactive as both a global and local tool, so I wonder what else you need to reach out to nuget.org for?


GUI not starting…

Hey @kbareis!
I've noticed that the DEPNotify.app has a bad habit of not starting. It happens in 95% of the cases.
The script is performing the installation (no argues there) but there is no GUI, which defeats the purpose of the entire thing 🙂
If a double click the DEPNotify.app in the Utilities folder, than the app starts and I can see the progress and such.
But by itself, I mean automatically, DEPNotify.app, doesn't start most of the times. 😕

Hey @remusache,
What version of the script are you using?
Are you using the latest version?
Are you using the script during DEP Enrollment or for another purpose?
The reason I ask is because Arek and I changed the logic to look for the Setup Assistant Process rather than users or BOM files in v1.1.0 of the script that was released last week. If you have the older version looking for users and BOM files, there is a likelihood that the script would kick off prior to Setup Assistant completion if the user to a rather long time finishing the Apple related setup.

@remusache
Hmm, that should have the updated code. Do you know if Setup Assistant changes it's name based on native language?
When your Mac first boots into the Setup Assistant, could you hold down Control + Option + Command + T. That should open the Terminal. Once Terminal is open, could you then run the following command: pgrep -l "Setup Assistant" If that command comes back with no process IDs then the Setup Assistant must have a different name.
If it comes back with something, then I would continue going thru the Setup Assistant and run the above command after every screen is completed.
If that doesn't show any issues, then I would wait at the last screen prior to seeing the "Getting Started" screen that ends in going to the desktop. While there, you can still access the Terminal and can run the following command on a file that will give us more information. tail -f /var/tmp/depNotifyDebug.log That log file is created once DEP Notify is installed and the script is running. You should see many alerts saying that the Setup Assistant is still running.

Hey @kbareis
pgrep -l "Setup Assistant" shows PID 348. So the Setup Assistant doesn't change its name while on Swedish.
This what I get from tail -f /tmp/depNotifyDebug.log
Tue Oct 02 09:31:43: Setup Assistant Still Running. PID 348 Setup Assistant.
Tue Oct 02 09:31:53: Setup Assistant Still Running. PID 348 Setup Assistant.
Tue Oct 02 09:32:03: Setup Assistant Still Running. PID 348 Setup Assistant.
Tue Oct 02 09:32:13: Setup Assistant Still Running. PID 348 Setup Assistant.
Tue Oct 02 09:32:23: Current user set to remus1.
Unfortunately the GUI still doesn't want to cooperate. Very stubborn GUI… 😁

@kbareis
I'm running 10.13.6 on the test machine.
DEPNotify 1.1.0, build 29.
I am using this for first time enrollment via DEP.
That Tue Oct 02 09:32:23: Current user set to remus1 is from when I ran again tail -f from when I was already logged in. So that is OK I think. I think that last line comes from: CURRENT_USER=$(stat -f "%Su" "/dev/console")
echo "$(date "+%a %h %d %H:%M:%S"): Current user set to $CURRENT_USER." >> "$TMP_DEBUG_LOG"
It did not appeared when I ran tail -f from the Setup Assistant windows.

@remusache
I found something! You have a few lines that are different then the published script. Look for
sudo -u "$CURRENT_USER" "$DEP_NOTIFY_APP" -path "$DEP_NOTIFY_CONFIG" -fullScreen&
sudo -u "$CURRENT_USER" "$DEP_NOTIFY_APP" -path "$DEP_NOTIFY_CONFIG"&
Notice the missing /Contents/MacOS/DEPNotify after the $DEP_NOTIFY_APP variable. It should look like this:
sudo -u "$CURRENT_USER" "$DEP_NOTIFY_APP"/Contents/MacOS/DEPNotify -path "$DEP_NOTIFY_CONFIG" -fullScreen&
sudo -u "$CURRENT_USER" "$DEP_NOTIFY_APP"/Contents/MacOS/DEPNotify -path "$DEP_NOTIFY_CONFIG"&
After cleaning this up, I am not seeing issues!

@kbareis
sudo -u "$CURRENT_USER" "$DEP_NOTIFY_APP"/Contents/MacOS/DEPNotify -path "$DEP_NOTIFY_CONFIG" -fullScreen&
.........
It was like that before and still did not worked.
I changed it back today, like in the original script… no dice.
The installation of the packages begins without the GUI…
I give up… 😔 I don't want to stress you anymore.

sudo -u "$CURRENT_USER" "$DEP_NOTIFY_APP"/Contents/MacOS/DEPNotify -path "$DEP_NOTIFY_CONFIG" -fullScreen&
......
It was llike that before and it still didn't work.
I changed back today and tried again… no dice.
The packages install without the GUI.
And when the GUI starts, it happens once in awhile, I immediately get the installation complete. Press Quit to continue.
aaaaa… 😫 I give up! I don't wanna stress you anymore.

Hey @remusache,
You are not a stress and I want to get to the bottom of this like you!
I cleaned up a few lines and ran it against my 10.13.6 test machine with DEPNotify 1.1.0 and Jamf Pro 10.7.1. Attached is the exact copy I ran along with a screenshot of some other info.

Linnéuniversitetet_DEPNotify.sh.zip

I think I know why is not working, I think…
I have the PreStage like this:

I want to Skip Account Creation.
This way, when the initial setup is done, the OS waits for us to log in - in this case with lnuadmin.
So after we log in, the script starts installing the packages with no GUI, or maybe it starts even before we log in…
If I sudo jamf deleteSetupDone and then go thru DEP again (without formating the HD), this time Setup Assistant asks for a username and a password and logs in automatically - then, the GUI starts and works as it should.
Is there a chance that we and I mean you 😊 can tell DEPNotify and Company to wait until the user logs in?

Hey @remusache!
That is it! That is the missing piece. Let me rephrase your workflow so that I understand it.

Device goes thru DEP
No user logs into the device due to account creation skip
When device is finished with DEP it sits at the login screen
Script assumes since Setup Assistant is finished everything is good and starts to run
The reason why you see the DEP Notify window 5% of the time is that you login quick between the Jamf Binary being installed and DEP Notify

What I need to add to the script is an additional check after the Setup Assistant is done. This check would put back in code that looked at /dev/console and who the user is.
This change should take me just a few days to write and verify via testing.

Hey @kbareis 🙂
Yes, that is exactly how my workflow flows! 😋
Yeeeey… we are moving forward.
Thank you so much for taking the time to get to the bottom of this.

Quick suggestion @kbareis - like you don't already have enough on your plate! 😜
When installing the packages, the Mac wants to go to sleep - the nerve of that guy…
Doest it take a lot of script work, to pump some caffeine into its system while installing the packages?

@remusache I added a check for the Finder process which should help with what you are seeing. Please verify that the new version of the script works better for you. If it works, please close out this issue.
As far as sleep goes, I had been thinking about that too. I will add it to the idea list.

Pushed the update yesterday. Looking at the finder process as that was the most consistent. Please verify and close if it works!

Apologies for the delay @kbareis
It was crazy at work today.
I tested the script on two machines already and I must say… if you are ever in Sweden I'll buy a lunch :)
It works!
Thank you so much for your time and help.

Apologies for the delay @kbareis
It was crazy at work today.
I tested the script on two machines already and I must say… if you are ever in Sweden I'll buy a lunch :)
It works!
Thank you so much for your time and help.

Hi
DEPNotify is not launching for me either.  It looks like there is a fix, would you be able to provide that script in english?
Thank you in advance.

I'm having this same exact issue... Any update since this thread?

I am also seeing the UI not launching until I directly open the DEPNotify app.  Im going to try a wipe and reimage of my test machine so I can confirm.  My settings are set to create a management user and a local admin user.  Then I just click through to login and no window pops up until I open DEPNotify.


first examples

Starting files
TODO: License?
Project root and all example subdirs pass when running

pypanther test
pypanther upload

Can we please use a super simple dir structure for now @maxrichie5 ? I'd like to get feedback on what we want to push to customers from this group + SEs before we settle. Thank you!!!

It might help if each folder in examples was fully self contained and could serve as its own project? So like move the top level test folder and pyproject.toml to each folder in examples?

since the Makefile is just a wrapper around simple commands, it might be easier to understand if we just moved those to the README and got rid of the Makefile. I don't know that everyone will be familiar with Makefile

since the Makefile is just a wrapper around simple commands, it might be easier to understand if we just moved those to the README and got rid of the Makefile. I don't know that everyone will be familiar with Makefile

Makefiles have been distributed in our other repos like PAT so I assume people are familiar with them. The biggest benefit though is it helps users not forget to run things inside of poetry, which happens all the time

Can we please use a super simple dir structure for now @maxrichie5 ? I'd like to get feedback on what we want to push to customers from this group + SEs before we settle. Thank you!!!

This sets it up with a main.py and a rules folder with one thing in it. What did you have in mind for simpler?

It might help if each folder in examples was fully self contained and could serve as its own project? So like move the top level test folder and pyproject.toml to each folder in examples? And removing the top level main.py and rules folder or putting them in a sub directory?

I tried to set it up so that each folder in examples was its own example project. I think moving the pyproject.toml might be overkill. I could see tests being copied into each, but they would be exactly the same every time so I am not sure what the benefit would be.

@maxrichie5 Based on the feedback we heard yesterday from SE, the repo should be opinionated about how to apply certain features. For example, if we set the pattern of customers writing custom rules, importing from upstream, registering rules, filtering, etc., this will ultimately reduce the support burden and make it easier for us to introduce features and optimizations.
With this in mind, can you give it another pass that's more opinionated?
cc @nkulig

I think moving the pyproject.toml might be overkill. I could see tests being copied into each, but they would be exactly the same every time so I am not sure what the benefit would be.

As a user I don't know what I don't know. Looking at the current project could cause confusion because sometimes the files are shared and sometimes they aren't. This confusion can inhibit learning for a new user. With the current structure for example a user may assume that you need a main.py at the top and then a nested folder that also contains a main.py. Also it is not clear that each example actually should use the top level Makefile, which won't behave as expected unless copied into each example.
Here is the structure I was thinking:

.github/
.gitignore
README
LICENSE
filtering-panther-rules/

Makefile
pyproject.toml
README
main.py
tests/

test_rules.py

example2/...
example3/...

I think moving the pyproject.toml might be overkill. I could see tests being copied into each, but they would be exactly the same every time so I am not sure what the benefit would be.

As a user I don't know what I don't know. Looking at the current project could cause confusion because sometimes the files are shared and sometimes they aren't. This confusion can inhibit learning for a new user. With the current structure for example a user may assume that you need a main.py at the top and then a nested folder that also contains a main.py. Also it is not clear that each example actually should use the top level Makefile, which won't behave as expected unless copied into each example.
Here is the structure I was thinking:

.github/

.gitignore

README

LICENSE

filtering-panther-rules/

Makefile

pyproject.toml

README

main.py

tests/

test_rules.py

example2/...

example3/...

Am I understanding correctly that each folder name is meant to reflect a specific use case or configuration? If so, I dig it! Outlining what we mean by each example in the README will go a long way. One of the examples could even be as straightforward as registering all rules, perhaps "getting-started".
It would be worthwhile to consider how different team sizes and organizations might implement main.py. Do they break it up by department? By application? By team? Or does Panther recommend that they work from one main.py file?

Am I understanding correctly that each folder name is meant to reflect a specific use case or configuration? If so, I dig it!

Yes!

Outlining what we mean by each example in the README will go a long way. One of the examples could even be as straightforward as registering all rules, perhaps "getting-started".

There is a minimilist example. The main.py at the base is meant to be the getting-started one. I will adjust the README once we decide on a structure so I don't have to keep redoing it.

It would be worthwhile to consider how different team sizes and organizations might implement main.py. Do they break it up by department? By application? By team? Or does Panther recommend that they work from one main.py file?

I think I would need to know more about those use cases. We should chat on slack about it!

We decided to move the examples to the pypanther repo to keep this one simpler. I also moved the pytest workflow there too.


Why do I keep importing the cv2.aruco package error

The version I use is shown in the picture. According to the solution, I have uninstalled and reinstalled many times. But this problem still occurs. Do you have any solution? grateful.

@wwwpkol
This code was written for quite an old version of opencv (3.2 <)
I think thhe import structure of these modules have changed now

@wwwpkol This code was written for quite an old version of opencv (3.2 <) I think thhe import structure of these modules have changed now

Thank you for your generous reply


only modify summary with the admonition-title class

it affected the styling of the summaries we use :P

ah, i didnt notice that, sorry, my fault on not reading the contributing section :sweat:

No worries at all! Thanks for the fix, my bad for not understanding how :if works before adopting it.

:is() is very similar to just using , in CSS, but it's more forgiving and readable :p

Released in v1.10.1


markSuccess() is never called on HystrixObservableCommand and ciruit alternates between HALF_OPEN and OPEN

We are converting a project to WebFlux and we have the following problem:
On our services, we use org.springframework.cloud.netflix.hystrix.HystrixCommands utility class, which wraps the Mono in a HystrixObservableCommand. For these services, we are facing the problem that if the circuit opens, then it will return to half-open and then again to open (ping pong between these two states), even if everything is fine with the service, no exceptions.
After some debuging, we see that markSuccess() is never called for the services wrapped in HystrixObservableCommand through the HystrixCommands utility class and maybe this can help with resolving the issue.
We used many versions, also latest, 1.5.13, with no luck.

We kind of solved the issue, by not using the static class PublisherBuilder's toMono() function.
This function uses Mono's function:
public static  Mono from(Publisher<? extends T> source)
We instead changed the code to use PublisherBuilder's build(), which returns Publisher type, and our sevice's controller to return Publisher and not Mono type. Spring WebFlux can internally use it, and also the circuit breaker works again.
Maybe the documentation of Mono's static from function can help, where it is stated:
"Expose the specified Publisher with the Mono API, and ensure it will emit 0 or 1 item. The source emitter will be cancelled on the first onNext."

Maybe this #1879 fixes it, but can't check it right now.

Hi,
we run into a simular problem and after some time of debugging we found the reason.
Situation: we use spring boot 2.1.3 it comes with hystrix-core-1.5.18 and openfeign 2.1.0.
We found out that feign could not parse the response-object
feign.codec.DecodeException: Could not extract response: no suitable HttpMessageConverter
Hystrix try to handle exceptions ( see com.netflix.hystrix.AbstractCommand line 604ff).
Unfortuanttely it is a kind of unecpected exceptions and by default they are logged only on level DEBUG. (see com.netflix.hystrix.AbstractCommand.handleFailureViaFallback(Exception))
Our Solution: implement a FallBackFactory to get all exceptions/throwables and handle them.


FlexGroup PV delete command uses argument unsupported in ONTAP 9.7.0+

./tridentctl delete volume
Error: could not delete volume : error destroying FlexGroup : API status: failed, Reason: The "-disable-offline-check" parameter is not supported on FlexGroups in version 9.7.0 or later., Code: 13001 (400 Bad Request)
Environment
OCP 3.11 (community version)
CentOS 7 latest

Trident version: 19.10
Trident installation flags used: default
Container runtime:
Kubernetes version: 1.11
Kubernetes orchestrator: OpenShift v3.11 (CentOS)
Kubernetes enabled feature gates: none (default)
OS: RHEL 7 latest
NetApp backend types: ONTAP AFF 9.7.0RC1

To Reproduce
Steps to reproduce the behavior:

Create FlexGroup based PV (RWO)

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: pv-claim
spec:
  storageClassName: ssd
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 2000Gi

Issue delete PV request ./tridentctl delete volume pv-claim

Expected behavior

Delete command completes successfully

This issue was fixed with the Trident 20.01.1 release.


Enable Appveyor CI for push and pull requests

I tried to open one from my personal appveyor account but it doesn't trigger
https://ci.appveyor.com/project/anthrotype/compreffor-16l0f
I believe it needs to be an “organizational” account registered under googlei18n
https://www.appveyor.com/docs/team-setup/

This also requires an organizational email address to associate with the AppVeyor account?

maybe.. I've never done it myself.

I found the AppVeyor docs a bit dense. But this is what I was basing that question off of: https://www.appveyor.com/docs/team-setup/#register-a-new-appveyor-account-with-emailpassword

I guess it just means it needs to be an address which is not already registered with Appveyor. Being it an organization account it would make sense for it to not being tied to any one individual...

@jamesgk is it enabled now?

No, we don't have an organizational email address to use. I guess a quick fix would be to try to register<EMAIL_ADDRESS>or something like that. (Though the github group is for all of Google i18n....) Or maybe we can use an internal google.com list. @behdad, any opinion?

It's live now!
https://ci.appveyor.com/project/fonttools/compreffor


[FLINK-4853] [rm] Harden job manager registration at the resource manager

This PR is based #2651 and #2655.
Introduce the JobLeaderIdService which automatically retrieves the current job leader id.
This job leader id is used to validate job manager registration attempts. Additionally, it
is used to disconnect old job leaders from the resource manager. The JobLeaderIdService exposes a job's leader id via a future which it completes when a new leader has been detected. The future is only failed in case the service is shut down.
Would be great if you could review the changes @mxm.

This doesn't compile currently. Do you prefer if I review the PRs individually or review the commits in this PR?

Sorry @mxm. The compilation problem were introduced due to an incomplete rebasing. Should be fixed now.

Thanks for the review @mxm. I'll address your comments and if Travis gives green light, I'll merge the PR.

Merged.


pinterest-bot have nodejs version ?

hi @seregazhuk you are awesome !
Is there a nodejs implementation version ?
thanks :)

Hi, @Restry ! Thank you) No, sorry, but I don't have enough node experience to implement the same library, so only PHP version is available.

Thanks for your response.
Your php bot it's also wonderful.
I'm from China . my country gov was disabled to visit Pinterest site . We cannot look that nice pics .
I want to break that . But my php experience it's not good
Do u have any similar experience with php? Use your service to deploy a shell to a US-based server. So I can use the Pinterest service without restriction
Would you Guide me a right direction?
Thanks

I also have a php question . When I'm running the shell mode use php -a.  And run the code by line and line
require('vendor/autoload.php');
use seregazhuk\PinterestBot\Factories\PinterestBot;
$bot = PinterestBot::create();
It's error , PinterestBot not found . Seems like it's not found the library .
Can I run the code in php cli like that ?

In README file there are links to blog posts with some common use cases of the library. To use this library you have to use PHP dependencies manager Composer. It will install the library and create a vendor/autoload.php file.


Panics with Rust 1.81 sort implementation

The following code panics on Rust 1.81:
fn main() {
    let mut x = [
        "data_0_1_0.csv.zst",
        "data_12_1_0.csv.zst",
        "data_2_2_0.csv.zst",
        "data_4_1_0.csv.zst",
        "data_6_3_0.csv.zst",
        "data_9_1_0.csv.zst",
        "data_10_2_0.csv.zst",
        "data_12_2_0.csv.zst",
        "data_3_0_0.csv.zst",
        "data_4_2_0.csv.zst",
        "data_7_0_0.csv.zst",
        "data_11_0_0.csv.zst",
        "data_13_2_0.csv.zst",
        "data_3_1_0.csv.zst",
        "data_4_3_0.csv.zst",
        "data_8_0_0.csv.zst",
        "data_1_2_0.csv.zst",
        "data_13_3_0.csv.zst",
        "data_4_0_0.csv.zst",
        "data_5_0_0.csv.zst",
        "data_8_3_0.csv.zst",
    ];
    x.sort_by(|p1, p2| human_sort::compare(p1, p2));
}

Panic message is:
thread 'main' panicked at library/core/src/slice/sort/shared/smallsort.rs:862:5:
user-provided comparison function does not correctly implement a total order
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Since the comparison function is taken verbatim from human_sort, this is a bug in human_sort::compare(). To debug it, we can log the comparisons, i.e.:
fn main() {
    ... as before ...
    x.sort_by(|p1, p2| compare_and_log(p1, p2));
}

fn compare_and_log(s1: &str, s2: &str) -> Ordering {
    let result = human_sort::compare(s1, s2);
    println!("cmp({s1:?}, {s2:?}) == {result:?}");
    result
}

I didn't study which comparisons failed the total order check, but I noticed two (out of 38) comparisons to be obviously wrong, and might well be the ones causing the issue:
cmp("data_13_3_0.csv.zst", "data_1_2_0.csv.zst") == Less
cmp("data_1_2_0.csv.zst", "data_13_3_0.csv.zst") == Greater

For anyone finding this via google, this crate appears unmaintained (see #1, #2, and #3). I resolved the issue by switching to numeric-sort.


[apptools-android] Add tests to test remote debugging for apptools android

Impacted tests(approved): new 1, update 0, delete 0
Unit test platform: [Android]
Unit test result summary: pass 1, fail 0, block 0
https://crosswalk-project.org/jira/browse/XWALK-4027

LGTM


loadQueue中对于webp的支持

增加loadQueue中对于webp图片的支持

 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.匿名 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks


Docker image: scikits.audiolab missing

running in nvidia-docker...
root@94a7bbb1c7db:~/speech-to-text-wavenet# python preprocess.py
Traceback (most recent call last):
  File "preprocess.py", line 6, in <module>
    import scikits.audiolab
ImportError: No module named scikits.audiolab

tried pyhton3 as well..
root@94a7bbb1c7db:~/speech-to-text-wavenet# python3 preprocess.py
Traceback (most recent call last):
  File "preprocess.py", line 1, in <module>
    import numpy as np
ImportError: No module named 'numpy'

I was able to run python recognize.py successfully, though.

I figured it out, you have to install libsndfile-dev.
Add this under requirements in your docker file
# requirements
....
RUN apt-get install -y libsndfile-dev
RUN pip install scikits.audiolab==0.11.0

This is breaking on Python3.6, but as you are using librosa which uses soundfile the number of dependancies could be reduced by this change.
index 5e4575e..67045e7 100755
--- a/preprocess.py
+++ b/preprocess.py
@@ -3,7 +3,7 @@ import pandas as pd
 import glob
 import csv
 import librosa
-import scikits.audiolab
+import soundfile as sf
 import data
 import os
 import subprocess
@@ -115,7 +115,7 @@ def process_libri(csv_file, category):
         print("LibriSpeech corpus preprocessing (%d / %d) - '%s']" % (i, len(wave_files), wave_file))

         # load flac file
-        wave, sr, _ = scikits.audiolab.flacread(wave_file)
+        wave, sr = sf.read(wave_file)

         # get mfcc feature
         mfcc = librosa.feature.mfcc(wave, sr=16000)

Note I also personally saw an increase in preprocessing performance by making this change which is also breaking under python3
diff --git a/data.py b/data.py
index df95b2c..18f75b0 100755
--- a/data.py
+++ b/data.py
@@ -33,8 +33,10 @@ def str2index(str_):

     # clean white space
     str_ = ' '.join(str_.split())
+    #make translator object
+    translator=str.maketrans('','',string.punctuation)
     # remove punctuation and make lower case
-    str_ = str_.translate(None, string.punctuation).lower()
+    str_ = str_.translate(translator).lower()

     res = []
     for ch in str_:

I am mostly just using your preprocessing scripts right now but if end up making major changes I will file a pull request for those improvements.


Consider implementing a set of OpenNebula modules in Python

Having a complete set of OpenNebula ansible modules could improve one-deploy project as we would replace shell/cli code with dedicated internally idempotent modules and action plugins. We already have https://github.com/OpenNebula/one-deploy/blob/master/plugins/modules/named_vm.py.

When addressing this feature include the following feedback:

[ ] community.general.one_vm instantiation from template should allow passing specific security groups by name, not just ID
[ ] community.general.one_vm CPU_MODEL section should be supported
[ ] one_template "Fetch the TEMPLATE by name" example doesn't work and asks for a template. Allow a wildcard and/or regex expression when searching

Reference: OpenNebula/one#6745


Create the Release for v1.0.0

Ready with #5

Done
The release is available here -> https://github.com/aditya-an1l/tweet-from-console/releases/tag/v1.0.0


Chrono set to specific version

Hey, thanks for publishing this it looks really helpful and I'm excited to give it a try. I hit a problem quickly though, Cargo.toml sets chrono to version = "=0.4.20". The = forces that specific version and not any newer version so my project that uses 0.4.24 is not compatible. Specifically the error is:
❯ cargo add rvcr
    Updating crates.io index
      Adding rvcr v0.1.1 to dependencies.
    Updating crates.io index
error: failed to select a version for `chrono`.
    ... required by package `termibot v3.0.0 (/home/mattsi/dev/rust/termibot/bot)`
versions that meet the requirements `^0.4.24` are: 0.4.26, 0.4.25, 0.4.24

all possible versions conflict with previously selected packages.

  previously selected package `chrono v0.4.20`
    ... which satisfies dependency `chrono = "=0.4.20"` of package `rvcr v0.1.1`
    ... which satisfies dependency `rvcr = "^0.1.1"` of package `framework v0.1.0 (/home/mattsi/dev/rust/termibot/framework)`

failed to select a version for `chrono` which could resolve this conflict

Is there an explicit reason why newer chrono versions aren't supported? I had a quick look in the git history but couldn't see any documented reason.

Hi, thanks for the interest!
chrono authors chose to deprecate many methods in chrono versions 0.4.23+. Some other projects were using those methods, so this pin got into Cargo.toml template that was used for this project too.
However, for this crate use of chrono is really minimal, so there is no reason to pin.
Had created a PR https://github.com/ChorusOne/rvcr/pull/4 to unpin the minor version, let me know if it works for you -- will publish a new crate version soon if so.

New version published: https://crates.io/crates/rvcr/0.1.2


Flip Vertical and Flip Horizontal to sprites editor

A try to add Flip Vertical and Flip Horizontal to sprites editor.
Consider it mostly like a proof of concept as some aspect of the project are still far to be clear to me : )

Seems very fine to me, thank you! I think I will move the buttons to the sidebar though (I will add a main tool "Transform" and put these two options there ; they could be joined by a future rotation tool and maybe scaling tool). I am just trying to hit a first milestone on folders, then I will look into this.

Adding it to the toolbar was my first option too, but I didn't think about grouping them, and actually is the best thing to do.
By the way, the toolbar class interface seems not so handy to allow adding line and shape drawing.
Maybe I get it wrong but I didn't found a clean way to manage mouse input to start and end the drawing, and at same time provide user feedback like the region tool.
I'll look with interest at your commits when you'll take care of the subject.
The undo management seems also a candidate point where would be nice to simplify the operation before and after a change. But even here I find hard to help and I can mostly provide only my newbie point of view.


step-cli: 0.18.0 -> 0.18.1

Motivation for this change
https://github.com/smallstep/cli/releases/tag/v0.18.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 158334 run on x86_64-linux 1

1 package built:

step-cli


Expenses - Pay instead of review in IOU header message for approver

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.6-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4706625
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Create Collect workspace
Invite Employee and Employee Approver
OldDot > Approval mode > Submit and Approve > to Employee Approver

Steps:

As Employee submit expenses in workspace chat
As Employee Approver go to IOU details

Expected Result:
Header message should say "waiting for the you (Approver) to review these expenses"
Actual Result:
Header message says "waiting for the you to pay these expenses"
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/94a756ff-547c-4faa-b8cf-7af26ed63f2a
View all open jobs on GitHub

@OfstadC  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Will try reproducing now 😃

I'm not 100% sure what the expected behavior is here - so I need to dig a little more

I was configuring the workflow in Classic which was not helpful 😅 . I took the video way too literally.
But can confirm this is a thing.

@dylanexpensify @JmillsExpensify According to the doc this change is expected but wanted to confirm before closing out - are we replacing all instances of "review" with "pay"? Or does this change into "approve"?
The old message is sort of listed as being converted into both "Waiting for userApprover to approve expense(s)" AND "Waiting for userAdmin to pay expense(s)" - the 2nd and 3rd bullets in the list in the doc.

@dangrous given the steps in the OP, the reports should not be in Approved state, if that is the case, its a really bad bug :/
@Beamanator would be a great resource for this knowledge. Can you reproduce easily with this setup @dangrous?

yep! the steps in the "Action Performed" work like a charm.
I think i WAS wrong about it coming in as approved after trying it again... I'm not sure why my tests were saying that. Still trying to figure it out, it may be next steps after all.

okay yeah I think I've got this right. I had to update the tests accordingly but I think they were wrong before - mind taking a look at this commit when you have a moment @mountiny? I'm pretty sure if we're not on submit and close, then it should be approve, not pay...

@dangrous commented, I think the changes make sense, but left one question


Develop a Carousel Component

Create a carousel component that can display a series of images or content in a slideshow format.

@Keerat666  Can you please assign me this issue??I would love to work in it.

Sure.
Please go ahead!

@Keerat666 When I am making some changes it is not reflecting in the localhost server!!
https://github.com/Keerat666/Lumix/assets/114871538/6f461197-0911-4aa7-a908-1bda6e190aec

Hi,
Please go inside the UI/Lumix directory and run the project there. The root project is just for making the build from the ui/lumix folder and thus has the currently deployed version of Lumix in it.
Do a npm run start by going inside ui/lumix and it should work fine.


Cannot use Snapshot Testing in Xcode 15

Describe the bug
When using Snapshot Testing in Xcode 15b2, errors occur in Snapshot Testing's extension of NSBezierPath, stating curveTo is only available on macOS 11 and later.
To Reproduce
Use Snapshot Testing in Xcode 15b2.
Expected behavior
Tests should still build.
Screenshots

Environment

swift-snapshot-testing version 1.11.0
Xcode 15b2
Swift 5.9
OS: macOS 13.4

Additional context
I assume this is because of faulty  @available(iOS 11.0, *) annotations. Since NSBezierPath.swift is only used on macOS this annotation does not have any effect there. I will gladly fix this and open a PR if this is not intentional.

Same issue

Sorry, there must have been something wrong on my end. This is obviously already fixed with dc46eeb

@fluecke Yeah, seems like it was fixed in dc46eeb, but there is no release yet, so the problem is not on your end, guys should release 1.11.1 🌚

@stephencelis no worries, thanks for your work!


RANSAC PCL erro

This is the erro happened, it seemed to be the issue of setting threshold. And I found that the value in this project was set to 0.004.  Should I change the value? Thanks!

I' m using robosence M1 lidar, the points are more intensive. Does the brute-force approach take more time? I stucked at "capturing the sample" after clicked the CAPTURE button.

We tried calibrating a Robosense RS-LIDAR-32 using this tool but we found that it was particularly hard to fit the board using RANSAC due to large distance errors by the lidar. E.g. the distance on black and white vary quite a bit, making the board not very planar in 3D.
You could adjust the distance threshold as you pointed out but it can lead to a less accurate calibration. However, I guess you could use that as a starting point to tweak the parameters.


[Enhancement]: Navbar can be fixed on top

Hey I feel that the Navbar could be fixed at the top . It would be very much convenient for the user. I want to work on the feature. Can I start ?

can you elaborate the issue with current nav bar? i see Nav bar looks great in middle of the header, are you saying instead of middle you will fix them at top?

Got it you will fix the header at same place ?

Yesh

after you scroll the navposition is not fixed

Hey @Anandsg  I have an idea if you allow me i can work on that

Got it, go ahead with the changes

@Anandsg  Thanks you. can the issue got labeled hacktobarfest if you don't mind

Hey @Anandsg I am attaching some photos can you please review it.
For large screen

For mobile screen

Looks good please create PR i will review and let u know if any further changes required

Hey @Anandsg I have created the PR please review it