MNT: Update pinned versions.

Hi! This is the friendly conda-forge-admin automated user.
I've bumped some of the conda-forge pinned versions, and noticed that it impacts this feedstock.
If the changes look good, then please go ahead and merge this PR.
If you have any questions about the changes though, please feel free to ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The recipe license should not include the word "License".

these changes have been pulled-in by https://github.com/conda-forge/libgd-feedstock/pull/11.


satisfy some signed vs unsigned comparison warnings

Issue #, if available:
from the cpp-sdk #1646
Description of changes:
Had a comparison with an unsigned long to a negative value which triggered warnings, and similarly an unsigned to a signed value.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.27%. Comparing base (24da21d) to head (61edfa2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #809   +/-   ##
=======================================
  Coverage   83.27%   83.27%
=======================================
  Files          57       57
  Lines        5812     5812
=======================================
  Hits         4840     4840
  Misses        972      972

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


PSN Login via Passkey leads to a 502 Bad Gateway

PSN added in support for Passkey logins for their consoles. However trying to use your passkey to sign into the community integration now leads to the popup window hitting a 502 Bad Gateway rendering the integration unusable.
Using the alternative methods for passkey (after enabling passkey support on your account) doesn't work either.
For context when you enable passkey support you can't just use your password to login anymore.

it wont even let me login the normal way


Adding multiple admins fails with CASE error on TE6 branch

Adding 2nd admin(2nd python control) fails On TE6 branch (82bcd4e36f4856a4216cb76a16116faeec40e223).
Steps to reproduce :

Launch lighting app on a raspy
commission the lighting app with first python controller (running on raspi) over BLE
Open commissioning window
add the 2nd admin (2nd python controller running on different raspi than 1st controller) using connect -IP cmd
2nd commissioner resolves the node, but fails to establish CASE session.
(This setup uses 3 different raspis , one for accessory, one for 1st controller , one 2nd controller)

Attached logs,
1st_controller.txt
2ndController.txt
accessory_log.txt

It works for me, however I used our own BLE/Thread device instead of Lighting app. It looks like an mdns/routing problem, can you try with both controllers on same raspi as a test?

So it looks like controller2 correctly resolves the device.  It sends a Sigma1 (line 383 of 2ndController.txt).  The device receives it (line 2358 of accessory_log.txt) and sends a Sigma2 (line 2394).  The commissioner receives the Sigma2 but (starting line 384 in 2ndController.txt):
[1633646951.870298][3191:3199] CHIP:EM: Received message of type 0x31 with vendorId 0x0000 and protocolId 0x0000 on exchange 13378i
[1633646951.870406][3191:3199] CHIP:EM: Handling via exchange: 13378i, Delegate: 0x(nil)
[1633646951.870469][3191:3199] CHIP:EM: OnMessageReceived failed, err = ../../src/messaging/ExchangeMgr.cpp:298: CHIP Error 0x0000002A: Invalid message type

So most pressingly, the exchange delegate is null, so the Sigma2 message is not delivered to the CASE state machine and then the handshake fails.
I am also not sure what the deal is with the "invalid message type" message there.  That means this check tested true:
        if (ec->IsEncryptionRequired() != packetHeader.GetFlags().Has(Header::FlagValues::kEncryptedMessage))

which is pretty odd in this case.
  And in any case, on the server side we had, 5 seconds after sending Sigma2 (line 2396 in the accessory log):
[1633646956.576393][3488:3488] CHIP:SVR: Commissioning failed with error ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/DeviceControlServer.cpp:48: CHIP Error 0x00000032: Timeout
[1633646956.576453][3488:3488] CHIP:SVR: Commissioning failed (attempt 1): ../../examples/lighting-app/linux/third_party/connectedhomeip/src/platform/DeviceControlServer.cpp:48: CHIP Error 0x00000032: Timeout

which happens before the retransmits.
But the big question is what closed the CASE establishment exchange on 2ndController after sending Sigma1, so that the delegate ended up null.  @pan-apple any ideas?

https://github.com/project-chip/connectedhomeip/issues/12821 will contribute to this.

@cjandhyala Is this still an issue?

Issue Review: Closing issues prior to TE8. Please re-file if this is still an issue on newer SDKs


Replacing grpc_error_handle with absl::Status

Replacing grpc_error_handle with absl::Status. (This is the first step of https://github.com/grpc/grpc/pull/30325 to avoid merge conflict)

We've decided to keep grpc_error_handle for a while to use this as a cue for the potential optimization or refactoring tailored to absl::Status.


Update docs to use v3.6.3

fixes

documents

[ ] Tests
[ ] Documentation
[ ] Release note

None required

Deploy preview for calico ready!
Built with commit 29be5a4afeac248683bbbd6e6c868de2615a7aa3
https://deploy-preview-2664--calico.netlify.com


Fixed change media on iOS and Android

Fixed wrong arguments casting in Android PlayerLayout.
It was throwing exception and the change wouldn't happen.

Fixed crash on iOS when attempting to change media.
It was crashing due to force unwrapping a non existing value (showControls).

Published v1.0.32 which includes this PR. Many thanks @skytz


How to use RegisterWidgetPermissions

Hello. The usage example doesn't appear to include any specifics on how to use RegisterWidgetPermissions. Can you please provide an example of this? I have a widget registration that looks like this:
[assembly: RegisterWidget("Namespace.InfographicWidget", typeof(InfographicWidget), "Infographic Widget", typeof(InfographicWidgetProperties), IconClass = "icon-heartshake")]
What steps are needed to require that any user of this widget has a global administrator role?
Thank you!

It is in the readme, but wasn't as easy to spot.  Updated.
Just add the [assembly: RegisterWidgetPermissions()] attribute and add in the fields to the constructor.


Extracting versions

Could you provide some instructions on where exactly we can extract the Plex versions (EAE, codecs mainly) that are relevant to the config? I am a bit confused on where these values are derived from.

The versions are hardcoded in the binary, the way to extract it is documented in https://github.com/UnicornTranscoder/UnicornTranscoder#plex-version-configuration
Theses commands should be run next to the Plex Media Server binary on Linux.
It's pretty tricky, and since the 1.18 the EAE version can't be fully extracted.

Thank you! I didn't put two and two together to see the binary in the strings command.


Manage already stamped files in a .stamp db file

Using a .stamp file in folder where a license as already been applied seems to be a good usage to me. Implies a little doubt : how to manage which kind of license has already been applied?
In a first time we will only manage a True/False state to "is the file licensed with any license?"

.stamp db file should be stored in the home directory of current user.
An option should be compatible in order to store it anywhere else.
An option should be enable to vacuum the database from trashed files.

Database should be an independent class.
Stamper should instatiate it in an option (enable, disable the database activation).


[WIP] feat: Improve types

This PR improves some of the types, in particular around actions, but also in a few other places.
It does add ts-toolbelt as a development dependency, to help with manipulating some of the types and avoid manually writing out all the action variations. It’s a pretty nice tool allowing you to do things like manipulating nested object types:
import { Object } from 'ts-toolbelt'

interface Obj {
  x: {
    p1: string;
    p2: number;
  }
}

type FilteredObj = Object.P.Omit<Obj, ['x', 'p1']>
// FilteredObj is { x: { p2: number } }

If you think that’s overkill, I can remove it and type the actions manually.
Some other notes:

flatted bundles types for >1.0.2. It might be possible to upgrade from the current 0.2.3.

I don't mind the ts-toolbelt dep, especially if it makes life easier.

You might see some conflicts with https://github.com/nicolodavis/boardgame.io/pull/560, especially in initialize.ts and types.ts.  Happy to help with merging if it would make your life easier.
Also, I think the build error you see here will go away once merged with https://github.com/nicolodavis/boardgame.io/pull/560.

I’ll give merging a go now — I had been tinkering to find a nice way to fix that error, so it’ll be great if this fixes it. Curious to check out the new plug-in API!

Merge worked cleanly! There’s always more work to do, but I think this can be merged for now.


Write a create-platformatic-db interactive cli tool

Used with:
npm create platformatic-db@latest

# OR
npx create-platformatic-db@latest

This command should:

This command should:

Create a project directory if it it doesn’t exist (see create-remix behaviour)
Create default migrations (optional, default: true)
Generate a plugin (optional, default: false)

Set types.autogenerate to true if we’re creating the plugin
Ask user if they want to use JavaScript or TypeScript

Create tsconfig.json if they choose TypeScript

Create a platformatic.db.json (with configuration placeholders, SQLite by default)
Create the .env for the placeholders used in platformatic.db.json
Create a .gitignore
Create a package.json with all required dependencies (platformatic CLI, any packages needed for types)
Create a README with commands for starting server etc.
Run npm install? (optionally)
Apply migrations? (default: yes)
Show success message, point user to README.md

A few thoughts on what could go in the generated README.md:

Basic commands for getting started (e.g. apply migrations, start the server)
Links to documentation

For inspiration, I'd suggest running npx create-remix@latest and npm create astro@latest to see what they generate for their READMEs.

Should we also activate dashboard and metrics?

Should we also activate dashboard and metrics?

That seems like a good idea as it will help users discover this Platformatic DB functionality.

Agreed


[add ugrid mesh-api stubs

🚀 Pull Request
Description
This PR is the initial stub content to support the API for iris.experimental.ugrid.Mesh et al.
This is targeting the ng-vat-mesh-api feature branch, which was forked from the mesh-data-model feature branch.
The intent is to merge the ng-vat-mesh-api feature branch back to the main mesh-data-model feature branch.

Consult Iris pull request check list

Ignoring the MPL webpage structure given this is WIP on a feature branch


Server crash - cWSSAnvil::cMCAFile::GetChunkData

Not sure what is causing this, but over the past few days something has caused a crash several times.  I never saw this message before because I didn't have a batch file running to just restart the server.  Now I do and can see the error message to report it!
Running MCServer Windows x64-# 163.

https://app.box.com/s/29rx48b71ei232m73yqy6wmfrqzzbuv0

I'm wondering how this could happen. Is the world generated by MCServer, or did you copy it from a Vanilla or a Bukkit server?
The problem is that the data for the chunk really is corrupt - the entire chunk's datastream has been replaced with all zeroes.

Ah, found it. Turns out there was a loophole when the server actually did overwrite the next chunk with the data of the previous chunk.
Unfortunately, your data is already corrupt and there is nothing we can do to restore the missing chunk. I'll try to salvage the rest of the chunks from the file, at least.

Here's the salvaged file:
http://mc-server.xoft.cz/salvaged 1730/

For reference, I had indeed copied the world from a Forge server that had been up for a few days.  A few folks had been building in it for a bit (after moving it to MCServer), and then I also helped out with performing a few WorldEdit operations to clear a large cylinder.
Thank you for your efforts!


DC-587 Implement list style for landing page

Added classes to implement cards.
Updated quickstart.adoc (tutorial intro) with the new classes.

* Add a bit more padding at the top of the card. The title text is too close to the card border. Maybe 10px?

Changed it to 20px, which looks better.

* Address text overflow. This happens in mobile view tests:
  We probably want to truncate the text that doesn't fit.

Added overflow: auto. However, I can't find a solution for it to keep the padding, so the scrolling (and text) goes right to the top edge and bottom edge.
I also set a min-width so the card doesn't get too narrow.

* Add more space after the bottom of the cards section. The subsequent h2 is too close to the bottom. It looks like the clearfloat style might be a contributor.

It doesn't look like the clearfloat has any effect on the margin/padding until I added "{blank}" that it can apply the margin to. (I decided against changing the H2 styling because that affects everything.)

Also updated with the new card style:

src/asciidoc/docs/getting-started/developer.adoc
src/asciidoc/docs/guides-general/game-iap/intro.adoc
src/asciidoc/docs/guides-general/game-tutorial/intro.adoc

I also created a new class for the card height only so we could have flexibility in avoiding too many scrollbars or too big spaces at the bottom of the card.

Restored getting-started/developer.adoc.
Added card styling to develop/local-development/localDevelopment.adoc.

Thanks, Rachel!


Validate input of every Meteor methods

See http://docs.meteor.com/#/full/check and http://docs.meteor.com/#/full/auditargumentchecks

Done.


Crashes every time I join a session

Issue Type: Bug
Literally just joined a session and wont stop crashing
Extension version: 1.0.1293
VS Code version: Code 1.40.2 (f359dd69833dd8800b54d458f6d37ab7c78df520, 2019-11-25T14:54:45.096Z)
OS version: Windows_NT x64 10.0.18362

@jakeraffe: thanks for reporting! Sorry to hear you're hitting issues. Your logs may provide us with helpful information to help us resolve this. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

Closing this due to inactivity. Please reopen it if you’re still encountering the issue. Thanks!


Error on demo code execution -- in get_dataset if '.rec' in path: TypeError: argument of type 'NoneType' is not iterable

The following code yields an error. I'm using a Conda environment with Python 3.6 because it is required for the ConfigSpace Python package.
import autogluon as ag
from autogluon import ImageClassification as task

# Load a toy image dataset:
filename = ag.download('http://autogluon-hackathon.s3-website-us-west-2.amazonaws.com/data.zip')
ag.unzip(filename)
dataset = task.Dataset(train_path='data/train')

# Fit classification models:
classifier = task.fit(dataset, epochs=2)

# Evaluate predictions on test data:

test_dataset = task.Dataset('data/test', train=False)
test_acc = classifier.evaluate(test_dataset)

This also gives the error:
from autogluon import ImageClassification as task
dataset = task.Dataset(train_path='data/train',
                       test_path='data/test')
classifier = task.fit(dataset,
                      net=ag.space.Categorical('ResNet50_v1b', 'ResNet18_v1b'),
                      time_limits=None,
                      # ngpus_per_trial=1,
                      num_trials = 4)
image = 'data/test/BabyShirt/BabyShirt_323.jpg'
ind, prob = classifier.predict(image)

The error:
scheduler: FIFOScheduler(
DistributedResourceManager{
(Remote: Remote REMOTE_ID: 0,
        <Remote: 'inproc://<IP_ADDRESS>/28461/1' processes=1 threads=4, memory=7.28 GB>, Resource: NodeResourceManager(4 CPUs, 0 GPUs))
})

Starting Experiments
Num of Finished Tasks is 0
Num of Pending Tasks is 4
 25%|█████████████████████▌                                                                | 1/4 [00:00<00:00,  8.97it/s]Process Process-2:
Traceback (most recent call last):
  File "/home/z/anaconda3/envs/IC2/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/home/z/anaconda3/envs/IC2/lib/python3.6/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/home/z/anaconda3/envs/IC2/lib/python3.6/site-packages/autogluon/scheduler/scheduler.py", line 125, in _worker
    ret = fn(**kwargs)
  File "/home/z/anaconda3/envs/IC2/lib/python3.6/site-packages/autogluon/core/decorator.py", line 52, in __call__
    args = sample_config(args, new_config)
  File "/home/z/anaconda3/envs/IC2/lib/python3.6/site-packages/autogluon/core/decorator.py", line 38, in sample_config
    args_dict[k] = v.init()
  File "/home/z/anaconda3/envs/IC2/lib/python3.6/site-packages/autogluon/core/space.py", line 110, in init
    return self.sample(**config)
  File "/home/z/anaconda3/envs/IC2/lib/python3.6/site-packages/autogluon/core/decorator.py", line 185, in sample
    return self.func(*self.args, **kwargs)
  File "/home/z/anaconda3/envs/IC2/lib/python3.6/site-packages/autogluon/task/image_classification/dataset.py", line 108, in get_dataset
    if '.rec' in path:
TypeError: argument of type 'NoneType' is not iterable

@zhanghang1989 Could you respond to this issue?

I believe this issue has been resolved.
Could you try the newest tutorial?
https://autogluon.mxnet.io/tutorials/image_classification/beginner.html

the error still there with the latest tutorial.

@zhreshold Could you take a look at this?

@UNIcodeX The problem is that you used the wrong argument name train_path instead of the correct path arg.
I found it's actually due to the wrong documentation. To avoid similar problems in the future, I filed a PR to fix the docstrings: https://github.com/awslabs/autogluon/pull/436

@zhreshold LMAO! Alright thanks!


Code refactor, see the details in the description part

Fixes ISSUE #xxx
Description
What will be the pain point if you don't make this change?
Tests
Before fix
screenshots, console outputs or logs are acceptable.
After fix
screenshots, console outputs or logs are acceptable.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop-0.3@65cb21f). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             develop-0.3     #190   +/-   ##
==============================================
  Coverage               ?   56.28%
==============================================
  Files                  ?       11
  Lines                  ?      947
  Branches               ?        0
==============================================
  Hits                   ?      533
  Misses                 ?      380
  Partials               ?       34

Flag
Coverage Δ

unittests
56.28% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


CI 1.8.x RN & small updates

CI 1.8.x release notes
EULA no longer required for AIDA
Harness Cloud best practices

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://659ef128cebb091c696b08de--harness-developer.netlify.app


Bilibili

Description

Get Bilibili popular videos and your Bilibili dynamic video feed
Screencast

Checklist

[X] I read the extension guidelines
[X] I read the documentation about publishing
[X] I ran npm run build and tested this distribution build in Raycast
[X] I checked that files in the assets folder are used by the extension itself
[X] I checked that assets used by the README are placed outside of the metadata folder

牛啊，老铁～～
其实 b 站有一个国际版的站点，主要的是东南亚那边的用户 https://www.bilibili.tv

@404J 谢谢
我用的是国内版的，国际版还没有了解过😂


Running tests locally using minio & minikube fixed

Change Overview
This PR fixes running tests locally using minio & minikube.
Note: This is draft just because these changes have to be based on https://github.com/kanisterio/kanister/pull/2377, but it's not merged yet.
PR series:

https://github.com/kanisterio/kanister/pull/2376
https://github.com/kanisterio/kanister/pull/2366
https://github.com/kanisterio/kanister/pull/2377
https://github.com/kanisterio/kanister/pull/2378
=> https://github.com/kanisterio/kanister/pull/2379
https://github.com/kanisterio/kanister/pull/2365

Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[ ] :hamster: Trivial/Minor
[x] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test

I agree to the DCO for all the commits in this PR.

This PR fixes running tests locally using minio & minikube.

Hi @k0taperk0t ,
Can you please explain this a bit, what exactly are we fixing here? What do we mean by fixing running tests?

Can you please explain this a bit, what exactly are we fixing here? What do we mean by fixing running tests?

Hi @viveksinghggits!
I needed to add https://github.com/kanisterio/kanister/pull/2365 functionality to Kanister. Since I've never meet with Kanister, I've tried to follow official documentation and run tests, but I was not able to do this. I met few problems, such as:

Unability to run even make golint, because of I have M1 Mac: https://github.com/kanisterio/kanister/pull/2366
Unability to run tests locally because of make test every time returned "Please install MinIO using 'make install-minio' and try again." error even when minio has been installed, without any details: https://github.com/kanisterio/kanister/pull/2378

Even after fixing previous problems I met with failing of tests, if I try to run it locally.
Then I realized that to fix this I need to make changes for running docker containers, but I think it's a bad idea to make the same changes in a few places, so I did refactoring of running containers: https://github.com/kanisterio/kanister/pull/2377.
Thus, changes in this PR fixes running tests and further commits in this PR will fix failing of these test in local environment. But since these changes base on https://github.com/kanisterio/kanister/pull/2377, at this time this PR contains commits of https://github.com/kanisterio/kanister/pull/2377 as well. I can't rebase them in PR because then this PR will become "local" for my fork.
The main goal is to make ability to run tests locally to fix https://github.com/kanisterio/kanister/pull/2365.


⚠ ClamAV has degraded performance

In 71e5e8a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 195 ms

Resolved: ClamAV performance has improved in 117c1cd.


swap holder

base implementation for #103
review after #102

I'm unclear what the purpose of the splitter is in the 2 party swap scenario. The holder takes care of holding and refunding the funds. Splitting the funds should be a trivial function for it, correct?

Great point. It is indeed trivial to directly send the funds to routers with no splitter. I opted to use the splitter here because I see it as our dedicated module for distributing the funds, and there's probably some value in reusing components as much as we can.
That being said, do you think it's worth to get rid of it? We would save a trivial amount of gas and have one less contract involved.
cc @Art3miX


Command line tool with the GUI open

This is a minor issue. Maybe its by design: when I check a book with the GUI and then try to run the command line tool while the GUI is still open, then I get this error:
events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: EPERM: operation not permitted, stat 'C:\Users\go_th\AppData\Local\DAISY Ace\Log\ace.log'
Emitted 'error' event at:
    at C:\Users\go_th\AppData\Roaming\npm\node_modules\@daisy\ace\node_modules\winston\lib\winston\transports\file.js:542:23
    at FSReqCallback.oncomplete (fs.js:160:21)

Looks like the GUI is keeping the log file open even after it finished the check.

Good catch! Let's try to fix this.
MacOS uses different temp/user folders, but the problem is probably exactly the same as on Windows (as reported here).
Possible solution: configure different paths for standalone Ace core CLI vs. Ace-GUI programmatically-driven Ace core commands.

Yes, the Winston logger is "alive" for the duration of the app (not just the duration of a single Ace check).
Related issue: https://github.com/daisy/ace/issues/68#issuecomment-520163210

Fixed via https://github.com/daisy/ace-gui/commit/5218f542ecf1144be1629564030a8eca258ca739


The "owner-email" field is blank if the user is not anonymous

When editing issues, if the user is not anonymous, the "owner-email" and "copy-to" fields are always blank. When the Author is anonymous, the owner-email and copy-to fields are correctly completed with the email addresses
I need for registered users to automatically issue with their e-mails
can someone help me with this problem?
Environment:
Redmine version                4.0.0.stable
Ruby version                   2.7.4-p191 (2021-07-07) [x86_64-linux-gnu]
Rails version                  5.2.2
Environment                    production
Database adapter               Mysql2
Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery                smtp
SCM:
Git                            2.30.2
Filesystem
Redmine plugins:
redmine_helpdesk               0.0.18
redmine_people                 1.6.1

This is intended.


Cannot open dump results with Offline Viewer with ROS

Hi, thanks for the great work. I'm using the docker image you provided, the demo is working fine and generated dumped correctly.
But when I was trying to use the Offline Viewer, I found it doesn't work. To be exact, nothing happened after I clicked "Open Map" (no logs), and as I clicked "Export Points" it indeed told me there's nothing to export (which means the viewer itself is running correctly).

That should be fixed by installing zenity. I'll fix the dockerfiles soon.
https://github.com/koide3/glim/issues/36#issuecomment-2244348365

zenity is added to the dockerfiles, and updated images are now available on docker hub https://github.com/koide3/glim_ros2/pull/14


How to setup this extension?

Hi Bizley,
I am a new for Yii, I want to setup a forum use your Yii2-podium, so first I install the advance template form Yii2, and then I follow the step from you to install Yii2-podium, and it is a extension and go into "vendor". Question is this step I don't know how I can do:
> Go to the podium/install url of your application.
> Click Start Podium Installation button.
>
> Podium will create all database tables and prepare administrator account.

I am thinking is, shoud I copy the files from "vendor" to my application basepath to make a new application, right?
Anyhelp?
Thanks!

Are you using composer for installation? I hope so, it's so much easier this way.
Installation in case of advanced template is practically the same as for the basic one. You need to modify /frontend/config/main.php (or backend if you want Podium to run there instead) and console/config/main.php for mail queue.
Next step is to go to the URL where frontend is pointed to and add podium/install to the address.

Hi,
Thanks for your answer, but I still don't finish set up.
I use composer for installation.
Mine frontend/config/main.php like this:
$params = array_merge(
    require(__DIR__ . '/../../common/config/params.php'),
    require(__DIR__ . '/../../common/config/params-local.php'),
    require(__DIR__ . '/params.php'),
    require(__DIR__ . '/params-local.php')
);

return [
    'id' => 'app-frontend',
    'basePath' => dirname(__DIR__),
    'bootstrap' => ['log', 'podium'],
    'controllerNamespace' => 'frontend\controllers',
    'modules' => [
        'podium' => [
            'class' => 'bizley\podium\Module',
            //'allowedIPs' => ['xxx.xxx.xxx.xxx'], // optional
        ],
    ],
    'components' => [
        'request' => [
            'csrfParam' => '_csrf-frontend',
        ],
        'user' => [
            'identityClass' => 'common\models\User',
            'enableAutoLogin' => true,
            'identityCookie' => ['name' => '_identity-frontend', 'httpOnly' => true],
        ],
        'session' => [
            // this is the name of the session cookie used for login on the frontend
            'name' => 'advanced-frontend',
        ],
        'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'targets' => [
                [
                    'class' => 'yii\log\FileTarget',
                    'levels' => ['error', 'warning'],
                ],
            ],
        ],
        'errorHandler' => [
            'errorAction' => 'site/error',
        ],
        /*
        'urlManager' => [
            'enablePrettyUrl' => true,
            'showScriptName' => false,
            'rules' => [
            ],
        ],
        */
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=<IP_ADDRESS>;dbname=test',
            'username' => 'root',
            'password' => 'rootroot',
            'charset' => 'utf8',
        ],
    ],
    'params' => $params,

];

And onsole/config/main.php:
$params = array_merge(
    require(__DIR__ . '/../../common/config/params.php'),
    require(__DIR__ . '/../../common/config/params-local.php'),
    require(__DIR__ . '/params.php'),
    require(__DIR__ . '/params-local.php')
);

return [
    'id' => 'app-console',
    'basePath' => dirname(__DIR__),
    'bootstrap' => ['log'],
    'controllerNamespace' => 'console\controllers',
    'components' => [
        'log' => [
            'targets' => [
                [
                    'class' => 'yii\log\FileTarget',
                    'levels' => ['error', 'warning'],
                ],
            ],
        ],
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=<IP_ADDRESS>;dbname=sophon',
            'username' => 'root',
            'password' => 'rootroot',
            'charset' => 'utf8',
        ],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'useFileTransport' => false,
            'transport' => [
                'class' => 'Swift_SmtpTransport',
                'host' => 'SMTP host',
                'username' => 'SMTP username',
                'password' => 'SMTP password',
                'port' => 'SMTP port', // optional
                'encryption' => 'SMTP encryption', // optional
            ],
        ],
    ],
    'params' => $params,
];

And mine frontend URL is "localhost/test/frontend/web/", then I add "podium/install" behind this URL,
"localhost/test/frontend/web/podium/install". But still can't found page(404).
What should I change also?
Thanks!

Looks like your URL should be
localhost/test/frontend/web/index.php?r=podium/install

Hi,
Sorry, I try use this link, but it still 404 error.
I use this link:
http://localhost/test/frontend/web/index.php?r=podium/install
I don't how to do.

Right, sorry, it should be more like
http://localhost/test/frontend/web/index.php?r=podium/install/run

First link works in case of configured UrlManager.

Hi,
Thanks many much! Use the URl, I open the install page!
Unfortunately, it is have a error when I install.
There was a major error during installation! Check your runtime log for details.
And here is what I found in log field.
2016-10-27 11:02:12 [<IP_ADDRESS>][-][8j8qvvq1jq3f0suupvnhj53va2][error][yii\base\ErrorException:64] yii\base\ErrorException: Access level to Zelenin\yii\behaviors\Slug::validateSlug() must be protected (as in class yii\behaviors\SluggableBehavior) or weaker in D:\localweb\www\sophon\vendor\zelenin\yii2-slug-behavior\Slug.php:13
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleFatalError()
#1 {main}

Thanks!

Either run in the console composer update on the project again to fetch newer version of zelenin/yii2-slug-behavior or (if this doesn't work) run composer require zelenin/yii2-slug-behavior "~1.5.1"

Hi,
I run composer require zelenin/yii2-slug-behavior "~1.5.1" to update zelenin.
And I reinstall this extension, I got this error:
2016-10-27 16:25:16 [<IP_ADDRESS>][-][8j8qvvq1jq3f0suupvnhj53va2][error][Error] Error: Call to undefined method RuntimeException::getName() in D:\localweb\www\test\vendor\bizley\podium\src\maintenance\Installation.php:71
Stack trace:
#0 [internal function]: bizley\podium\maintenance\Installation->addAdmin(Array)
#1 D:\localweb\www\test\vendor\bizley\podium\src\maintenance\Installation.php(265): call_user_func(Array, Array)
#2 D:\localweb\www\test\vendor\bizley\podium\src\controllers\InstallController.php(80): bizley\podium\maintenance\Installation->nextStep()
#3 [internal function]: bizley\podium\controllers\InstallController->actionImport()
#4 D:\localweb\www\test\vendor\yiisoft\yii2\base\InlineAction.php(55): call_user_func_array(Array, Array)
#5 D:\localweb\www\test\vendor\yiisoft\yii2\base\Controller.php(154): yii\base\InlineAction->runWithParams(Array)
#6 D:\localweb\www\test\vendor\yiisoft\yii2\base\Module.php(454): yii\base\Controller->runAction('import', Array)
#7 D:\localweb\www\test\vendor\yiisoft\yii2\web\Application.php(100): yii\base\Module->runAction('podium/install/...', Array)
#8 D:\localweb\www\test\vendor\yiisoft\yii2\base\Application.php(375): yii\web\Application->handleRequest(Object(yii\web\Request))
#9 D:\localweb\www\test\frontend\web\index.php(17): yii\base\Application->run()

Thanks for finding the bug! I need to fix it in the next version.
You see this in logs because adding new admin failed from any reason.
As a quick fix you can change this line in your vendor/bizley/podium/src/maintenance/Install.php file to
use yii\base\Exception;

It should be fine with this. Still, there must be an error with saving admin on your side. I've installed fresh Yii 2.0.10 with advanced template on fresh database and everything was ok.

Hi bizley,
Thank you many much, I chang this code like you commend. It is works for me now.
Good work, very nice forum!
Thanks!


change bundle.js to main.js

In recent versions of webpack, the default name for output file is 'main.js'.
Users might be confused as they wouldn't be able to locate 'bundle.js'.

Thanks for your contribution, unfortunately this was already updated on https://github.com/webpack/webpack.js.org/pull/1993.


Release 1.0.1

Release version 1.0.1 containing bugfixes

@rultor release, tag is 1.0.1

@rultor release, tag is 1.0.1

@amihaiemil Invalid release tag 1.0.1 specified. There is already a release 1.8.0 newer than the given release in this repository.

@rultor release, tag is 1.0.1

@amihaiemil I'm sorry, I don't understand you :( Check this page and try again please

@rultor release, tag is 1.0.1

@rultor release, tag is 1.0.1

@amihaiemil OK, I will release it now. Please check the progress here

@rultor release, tag is 1.0.1

@amihaiemil Done! FYI, the full log is here (took me 3min)

@rultor release, tag is 1.0.1

@rultor release, tag is 1.0.1

@amihaiemil OK, I will release it now. Please check the progress here

@rultor release, tag is 1.0.1

@amihaiemil Oops, I failed. You can see the full log here (spent 3min)
Downloading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/maven-metadata.xml

Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/maven-metadata.xml
305/305 B

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/maven-metadata.xml (305 B at 6.6 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1-javadoc.jar.asc
473/473 B

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1-javadoc.jar.asc (473 B at 38.5 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1.jar
2/28 KB
4/28 KB
6/28 KB
8/28 KB
10/28 KB
12/28 KB
14/28 KB
16/28 KB
18/28 KB
20/28 KB
22/28 KB
24/28 KB
26/28 KB
28/28 KB

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1.jar (28 KB at 728.5 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1.pom
2/9 KB
4/9 KB
6/9 KB
8/9 KB
9/9 KB

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1.pom (9 KB at 206.3 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1-sources.jar.asc
473/473 B

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1-sources.jar.asc (473 B at 38.5 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1-sources.jar
2/39 KB
4/39 KB
6/39 KB
8/39 KB
10/39 KB
12/39 KB
14/39 KB
16/39 KB
18/39 KB
20/39 KB
22/39 KB
24/39 KB
26/39 KB
28/39 KB
30/39 KB
32/39 KB
34/39 KB
36/39 KB
38/39 KB
39/39 KB

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1-sources.jar (39 KB at 984.2 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1.pom.asc
473/473 B

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1.pom.asc (473 B at 46.2 KB/sec)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1.jar.asc
473/473 B

Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comamihaiemil-1005/com/amihaiemil/web/charles/1.0.1/charles-1.0.1.jar.asc (473 B at 46.2 KB/sec)
[INFO]  * Upload of locally staged artifacts finished.
[INFO]  * Closing staging repository with ID "comamihaiemil-1005".

Waiting for operation to complete...
.....

[INFO] Remote staged 1 repositories, finished with success.
[INFO] Remote staging repositories are being released...

Waiting for operation to complete...
......

[INFO] Remote staging repositories released.
[INFO]
[INFO] --- nexus-staging-maven-plugin:1.6.7:release (deploy-to-sonatype) @ charles ---
[INFO]  + Using server credentials "oss.sonatype.org" from Maven settings.
[INFO]  * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.1-01 and edition "Professional"
[INFO] Releasing staging repository with IDs=[comamihaiemil-1005]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:00 min
[INFO] Finished at: 2016-11-20T13:26:23+00:00
[INFO] Final Memory: 39M/348M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:release (deploy-to-sonatype) on project charles: Execution deploy-to-sonatype of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:release failed: Internal Server Error : entity body dump follows: <nexus-error>
[ERROR] <errors>
[ERROR] <error>
[ERROR] <id>*</id>
[ERROR] <msg>Unhandled: Repository with ID="comamihaiemil-1005" not found</msg>
[ERROR] </error>
[ERROR] </errors>
[ERROR] </nexus-error>
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
container 6ead5526004fa71b8ed43dbd712b2562e42d552abb5ef36dd1d30ab0e6fab43a is dead
Sun Nov 20 13:27:11 UTC 2016


Change Frontend API call to use with new API URLs

Change to REST Framework results in the change of APIs endpoint which frontend needed to be updated to use them.

/acivities

GET: Return all of available activity
POST: Create new activity
/activies/<activity_id>
PUT edit an activity
GET get activity detail
POST join an activity


closes #347 Adjustment Factor Bug

refactor to function and make minimum 1.01

Coverage increased (+0.008%) to 94.28% when pulling e1b8cd7b4cf21f1ae302f73ea7bb85d4e495cacf on bugfix/347-Adjustment-Factor-Bug into dabcaab5853ed71e95eed1c076706a41ded334e9 on master.


support setting explicit metrics version in inventory

Take metrics image version from specified release, image tag or
explicitly set oso_metrics_tag. The installer defaults to 'latest',
which can lead to problems later when incompatible changes are
introduced.

The evolution here is from a single file with loads of conditionals to 2 separate files, that have grown too big. Using include for common parts is one option. But we should revisit the whole process, maybe this templating could be made more straight forward by using example inventories from openshift-ansible project. Needs sitting down and planning.


[backport] Use fix_random in xfail backward tests

Backport of #8419

[automatic post] Jenkins, test this please.

As resolving conflict, removed some tests that have not been backported: ad5136487aee2f6dec17c943a39d04916b7f5ea6

Jenkins CI test (for commit ed3a068a0b1a9dc1b30ab4a9bda9c655398d896b, target branch v6) failed with status FAILURE.

As resolving conflict, removed some tests that have not been backported: ad51364

ref: #7831


Remove EhcacheStateService.getClusteredTierManagerIdentifier()

test this please

test this please

org.ehcache.integration.statistics.TierCalculationTest.iterator[2] failed

new unrelated test failing - merging


feat(impl):[#297] compatibility matrix

wouldn't it be good to also add a link from changelog to this file?


Application state in restoring from foreground

Short description of the problem:
After open new application and restoring ionic2 app from foreground the state of the app not restored and again bootstarap from startup.
What behavior are you expecting?
This is normal in cordova or ionic2 application or not, the application state not restored when app comming from foreground.
I used in android.
Steps to reproduce:

Open application
Navigate to pages.
Open another app or press to home button to application go to foreground
4- Restore application from foreground
5- Application start from bootstrap not from last state.

Which Ionic Version? 1.x or 2.x
2

Hello! Thanks for using Ionic! I unfortunately cannot reproduce this on my devices but do know exactly why this is happening. When putting an app in the background in Android (or any other mobile operating system) the app state is stored in memory. When you have a few apps open and in the background at a time (especially games), and are doing actions on the device these apps begin to take up a good bit of memory. Once a certain threshold is reached the operating system will begin to shut down apps in the background to relinquish memory to the device. This happens with any kind of app, native or hybrid. Since this is not an Ionic issue but is instead just normal behavior I will be closing this issue for now. Thanks for using Ionic!


Upgrade openapi dependency

@Haarolean could I work on this ?

@dshubhadeep hey, sure!

Thanks @Haarolean
Just wanted to confirm the expectations for this -
Do we need to just upgrade the openapi-generator-maven-plugin.version to the latest version i.e., 6.2.1?
Also, I'm facing import errors for classes belonging to com.provectus.kafka.ui.api, is there a prerequisite step that I need to do to get it to work?

@dshubhadeep yep, to the latest possible.
Yeah, the trick is to build them via openapi-generator :D try running clean install with maven to get it done.

@dshubhadeep any luck?

@Haarolean apologies for the delay. It seems like the bulk of work is already done.
I've updated current version i.e., 6.5.0 to 6.6.0

@dshubhadeep yep, it seems it's been done within #3624. Thanks


NIFI-10230 added FetchSmb

Summary
NIFI-00000
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[x] JDK 8
[x ] JDK 11
[ ] JDK 17

Licensing

[x] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[x] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[x] Documentation formatting appears as expected in rendered files

@kulikg There are Checkstyle violations. Please always run mvn clean verify -P contrib-check before adding a commit.

LGTM.
I think it's ready to be merged.
@exceptionfactory, do you have any additional comments?

Thanks for your work @kulikg!
Thanks for you review @turcsanyip and @exceptionfactory!
Merged to main.


add documentation about excluding elasticsearch specs

Relates to issue #944 : specs apparently are tagged.  To exclude one needs to run bundle exec rspec spec --tag '~elasticsearch' . Info is added to README file

Yes! I run the tests without stopping elasticsearch...
For me only one test failed that is related to elasticsearch (the one in searching_for_profiles_spec.rb). After the tagging, the following test failed:
.
Is it also elasticsearch related? if not the work on this issue is done :)

Thank you @netagonen :tulip:


No logs from uvicorn when started with poetry

We don't see any HTTP requests in the log when the server is started via poetry.
Maybe it doesn't doesn't pass the filter in lnbits/app.py anymore:
def configure_logger() -> None:
    logger.remove()
    log_level: str = "DEBUG" if lnbits.settings.DEBUG else "INFO"
    formatter = Formatter()
    logger.add(sys.stderr, level=log_level, format=formatter.format)

    logging.getLogger("uvicorn").handlers = [InterceptHandler()]
    logging.getLogger("uvicorn.access").handlers = [InterceptHandler()]

Using
poetry run uvicorn lnbits.__main__:app

to run LNbits also gives you back the uvicorn logs. Nice.

Fixed.


about the paper code?

Hi, when you will publish the paper code.

Hi, we plan to release the code after publication in proceedings.

Hello @Khrylx
Great work! Loved the paper <3.
May I know  what is the tentative target date for code release?
Thank you for the response.

Hi, we are actively cleaning the code and will release it before the camera-ready ddl of ICCV 2021.

Code is released!


[AI-3657] Add Metrics Origins metadata for python checks

What does this PR do?
Add Metrics Origins metadata for python checks

Motivation
Metrics Origins for core and jmx checks is already implemented, there was a need to add python checks as well

Additional Notes

Possible Drawbacks / Trade-offs
This will cause all new python integrations to require creating new values for the MetricSource and origin.proto enums.

Describe how to test/QA your changes
OriginCategory and OriginService can be viewed using scott's proxy-dumper.
Run the proxy-dumper and change dd_url to http://localhost:8081.
Run the agent.
See that the correct OriginCategory and OriginService values being populated for the checks

One question: If a check is configured to use say the http_check but it sets a new name in the config, does that break this mapping? Or does that name not affect the check id?

As discussed on Slack, this indicates that changing the name in the config would change the check instance and check id accordingly.
So running a custom check with a python check name would not be possible.

/merge

/merge

/merge

/merge

/merge

@dkirov-dd You need a changelog and a milestone to merge it


Potential security vulnerabilities in your dependencies

Hi,
My team works on AWS Amplify and typedoc is a dev dependency that we consume for our packages.
We got a notification about a security vulnerability in one of your dependencies -> marked package which requires an update from version 0.3.5 to 0.3.9. I have forked your package currently to update the dependency.
Is there an ETA as to when the update will be done on the package or can we submit a pull request for the same?
Thanks,
Nidhi

Resolved with 6cfeec0bd26049afb6f42b89dcc6ca2dbac146ff


Suggestion:  Allowing the host to add people with a specific color

Thank you so much for your hard work and efforts toward this, this is such a great tool that I think could use a tiny tweek.
As a streamer, playing this game with viewers can get a little hectic.
The concept is that I need to be in full control of the bot at all times so trolls/griefers don't run havoc.
I already see there is a suggestion to have a lock-down command so only the hose can control the bot, which is great!  In the mean-time, I made a work around so only "I" could send the bot commands, I created a special admin-amongcord channel that only I and the bot have access too (and removed the bot's access to general text channels).  Since nobody else can join, nobody else can see it, send it commands, or control it...
However, that removes the availability for them to use the ,join  command to add themselves to the bots player list...
I currently can use the ,joinall and that will populate the list, but the colors are "random" (as it says it does).
This means I have to now mentally  ignore the colors (while using the phone sync feature) and do a mental what is their name on discord vs what is their name in game, to moderate their alive/dead status (or force them to use discord name as game name)...
My suggestion would be to have a command, something like ,forcejoin <@discordname> <color>
This way I can personally populate the list with the appropriate and correct colors for the names. for examp in my hidden admin channel I could do a command:
,forcejoin @someplayer red
and that would populate the current game that the bot is tracking with that discord name as the color red.
OR an even more fancy version would be something like a  ,joinallnocolor command that grabs all the names, and then spits back out the list (like the ,players command does) and then you could just react to each name to set the color.
The react-to-set-color would be much better/easier but I'm sure would take more work.  I've noticed in my lobbies people have a habit of changing their color/skin between games, so before starting, you could just do a ,players command, react to whom ever needs the appropriate color change to fix the colors.  Otherwise you probably would need a ,changecolor <@username> <new color> command which would assign a player a new color (and if their new color was previously used, the bot would unassign that color from whom ever had it last, and would echo a warning about a player not having a color, and that they need to be assigned a new color.
I see this type of feature being great for everyone (not just a streamer) as it makes the setup easier since usually the host will be more skilled with using the bot, rather then explaining to people who may be new, how to join themselves into the game.  This makes it much easier to get the list populated with correct discord to game color relationships and lets you play the game more and mess around setting the bot up less!
Again thank you so much for this, and your efforts as it makes this game much more manageable.  Looking forward to a streamdeck plugin you mention may come in the future as that would be killer too!!!! Stay Safe and be well!

up

First of all, than you for taking your time to write such a detailed issue. These really help.

My suggestion would be to have a command, something like ,forcejoin <@discordname> <color>

That's in the works! I'm sketching out a system that will let users with the right permission ("Mute Members", to be specific) target other users when running commands. There will be no need for new commands, as you'll just have to append the mention to the end of the command: ,join red @mention, ,color blue @mention, etc

an even more fancy version would be something like a ,joinallnocolor command that grabs all the names, and then spits back out the list (like the ,players command does) and then you could just react to each name to set the color.

I don't think I see how you want react-to-join to work. Currently, I can only add reactions to the end of each message, not per line. So "react-to-join" would require me to send one message per player and then add the according reactions, which takes time to do, due to how Discord ratelimits the reaction endpoint.
Again, thank you so much for the detailed issue :)

Gonna go ahead and mention #7 just to link both issues and make it easier to track.

Awesomesauce!

There will be no need for new commands, as you'll just have to append the mention to the end of the command: ,join red @mention, ,color blue @mention, etc

That works perfectly!  I didn't know you could use the same command with optional arguments! Fewer commands are better!  Can't wait for this to be released!!!

I don't think I see how you want react-to-join to work.

Again not knowing the "backend" or how the programming works, I was thinking how with just general chat, I am able to type Hello <enter> what's up <enter> it will show on two lines under my name like this:

Hello
what's up

And I'm able to react to each line independently, so my thinking was that there could be a separate command from ,players (I think that should stay as is) but maybe ,setplayercolors that would only spit out just the names in separate lines.. For example:

(input)
,setplayercolors
(output)
name1
name2
name3
etc...

and I could right-click on a name, do a reaction on it, which would tell the bot what color to assign to that name.
In simpler terms, I guess what I'm suggesting is ,players command wouldn't change (used as a status of who is in, and what colors they have).  While the ,setplayercolors would just output a raw list of names, so they could be set as needed.  the workflow I envision would be something like:

,joinallnocolor
(bot grabs all the names in the voicechat, but no colors assigned)
,setplayercolors
(outputs the raw list of names is grabbed)
right click and add reactions to each name to set the colors
then just a final check to be sure all looks good you could do:
,players
(bot outputs the nice pretty list, as it currently does, to make sure all looks good before starting)
,sync
Fire up website on phone and start playing.

Again let me thank you for your hard work, and want you to know how useful this bot is for the Among Us community.!  Looking forward to the `,join  @mention command!!!!

Again not knowing the "backend" or how the programming works, I was thinking how with just general chat, I am able to type Hello  what's up  it will show on two lines under my name like this:

Hello
what's up

Yeah, that's two different messages, which probably wouldn't be possible because Discord limits how fast I can send stuff.
I like the idea of grabbing everyone in the voicechat without colors, though. Maybe I'll add some buttons on the app to let you set people's colors there.

Maybe I'll add some buttons on the app to let you set people's colors there.

That would be awesome!  If you did implement that, would it apply to the website sync too, or just the android app (iOS user here)?
Between the ,join <color> @mention and the possibility of setting the colors on the phone, I'm super pumped about this right now!!!  Do you do paypal tips? I'm not into the Patreon thing but would love to buy you a coffee/beer to help you through a coding session or help contribute towards a streamdeck.

If you did implement that, would it apply to the website sync too, or just the android app (iOS user here)?

Sync on the web and the Sync app share the same codebase. If one is updated, so is the other one! Same will happen to iOS once I release an app there.

Do you do paypal tips?

Sure! Paypal email is the one on my GitHub profile.

,forcejoin is out! Ended up going with a new command to avoid making a mess with the systems I already had in place. Syntax is ,forcejoin <color> <@mention>.


Fix missing description and http --> https

Docs Build status updates of commit cf778f1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

docset/winserver2012-ps/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit a879a70:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

docset/winserver2012-ps/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit 5e71c37:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

docset/winserver2012-ps/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

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

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@get-itips @tseward
Peer review needed for this PR. Thanks.

Docs Build status updates of commit acdc6ff:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

docset/winserver2012-ps/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/dhcpserver/Get-DhcpServerv6FreeIPAddress.md
:white_check_mark:Succeeded

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


Remove custom apache ssl endpoint

We do not leverage a custom http endpoint on 8443
We should have removed this in 5.3.1 when we went away from mutual peer certificates
Remove this code and instead generate an actual http certificate
/cc @jrafanie @abellotti

fixed rubocop. think failure was sporadic but we'll try again

I don't really follow this change.  Why remove cfme-https-cert.conf?  Maybe @abellotti understands it.  :pray:

@jrafanie this is an endpoint I put into place when we were going to use mutual peer ssl certificates. When it became apparent that these did not meet our needs, we tore out most of the work but this remained. Instead we went back with the password for region to region 1
Instead of putting the generated http password on a strange port, lets put it on por 443, and replace the shipped self signed certificate.

Ok @kbrock, thanks.  I still don't fully follow the details.  Seems Ok from the surface.  Will wait for @abellotti's and @brandondunne's opinion.

@kbrock should all of the "http" references be changed to "https"?

ipa calls it http and it is an http daemon. Would prefer to keep it "http".

@abellotti Please review.

LGTM (removing 8443), other than the doc question above. Thanks.

@abellotti any outstanding questions?
(just pushed again to bring it closer to head)

@abellotti does this answer the ssl endpoint question?

@kbrock @abellotti @gtanzillo Please sync up on this PR.

I'm good with this.  Thanks.

Yay. This makes me happy. thanks


path/filepath: endless loop in EvalSymlinks because it resolves a link to the same path it asked for

What version of Go are you using (go version)?
1.14.4
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
Windows
What did you do?
$vhd = New-VHD -Path Test.vhdx -SizeBytes 3MB -Fixed
$vhd | Mount-VHD
$vhd = Get-VHD Test.vhdx # refresh IsAttached etc
$vhd | Get-Disk | Initialize-Disk -PartitionStyle GPT
$part = $vhd | Get-Disk | New-Partition -UseMaximumSize -AssignDriveLetter:$false
$vol = $part | Format-Volume -FileSystem NTFS
mkdir Test
$part | Add-PartitionAccessPath -AccessPath "$PWD\Test"

package main

import ("path/filepath"; "fmt")

func main() {
   p, err := filepath.EvalSymlinks("Test")
   if err != nil { panic(err) }
   fmt.Println(p)
}

What did you expect to see?
"$PWD\Test"
What did you see instead?
EvalSymlinks: too many links

#39786
The code path is not using go API surface to do path math or using private internal code paths that go API surface uses and gets it wrong.

Pls put the code in a block bracketed by ``` lines

@gopherbot add OS-Windows
cc @alexbrainman

@ericwj thank you for creating this issue. I think this issue is a duplicate of #39786. Same reproduction steps as per @networkimprov (see https://github.com/golang/go/issues/39786#issuecomment-657197399). No?
Alex

Not really, the code paths are different. This one fails for links to a target volume that does have a DOS device name (C:\EmptyDir) while the other one only fails for links to a target volume that doesn't.
I think the confusion is that the other issue was filed with the error that occurs here, while in the description it sais that the situation had been that there was no DOS device name. But then you don't get the 'too many links' error.

Not really,

If this is not a dup of #39786. I am happy to investigate this separately. But I cannot run your steps. See https://github.com/golang/go/issues/39786#issuecomment-660606258 for details.
Alex

This failure mode can be reproduced without Hyper-V with the following code snippet:
package main

import (
	"fmt"
	"os"
	"path/filepath"
)

func main() {
	err := os.Symlink("./self", "./self")
	if err != nil {
		panic(err)
	}
	p, err := filepath.EvalSymlinks("./self")
	if err != nil {
		panic(err)
	}
	fmt.Println(p)
}

In the example of ln -s self self (producing a symlink from self to itself), the current behavior is correct: The target of the link cannot be resolved, because there is an infinite cycle of links. We can see this without involving Go at all:
$ ln self self
$ ls -l self
lrwxr-xr-x  1 dneil  wheel  4 Nov 30 10:15 self -> self
$ cat self
cat: self: Too many levels of symbolic links

I'm not familiar with the Windows filesystem operations in the original example in this issue, so I'm not certain what the correct behavior there is.

The equivalent to what ls -l self is doing is os.Lstat.
filepath.EvalSymlinks evaluates all symlinks within a path, returning an equivalent path that contains no symlinks. In the case of a link cycle, there is no such path and EvalSymlinks returns an error.

filepath.EvalSymlinks evaluates all symlinks within a path, returning an equivalent path that contains no symlinks. In the case of a link cycle, there is no such path and EvalSymlinks returns an error.

My bad, I thought EvalSymlinks was another thing. Then I don't know how to reproduce this issue without using a virtual hard drive.


#Bugs showed in the treemap/graph are not the same amount as at the SATs

Fixed in the Visualization PR


local feature 1st commit 2 regions chaned

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Other information:

local feature 1st commit 2 regions changed


az postgres throws a python error

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az postgres
Errors:
The command failed with an unexpected error. Here is the traceback:
No module named 'psycopg2._psycopg'
Traceback (most recent call last):
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 583, in execute
    parsed_args = self.parser.parse_args(args)
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/knack/parser.py", line 261, in parse_args
    return super().parse_args(args)
  File<EMAIL_ADDRESS>line 1825, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/parser.py", line 284, in parse_known_args
    self._namespace, self._raw_arguments = super().parse_known_args(args=args, namespace=namespace)
  File<EMAIL_ADDRESS>line 1858, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File<EMAIL_ADDRESS>line 2070, in _parse_known_args
    stop_index = consume_positionals(start_index)
  File<EMAIL_ADDRESS>line 2026, in consume_positionals
    take_action(action, args)
  File<EMAIL_ADDRESS>line 1935, in take_action
    action(self, namespace, argument_values, option_string)
  File<EMAIL_ADDRESS>line 1213, in __call__
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/parser.py", line 284, in parse_known_args
    self._namespace, self._raw_arguments = super().parse_known_args(args=args, namespace=namespace)
  File<EMAIL_ADDRESS>line 1858, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File<EMAIL_ADDRESS>line 2095, in _parse_known_args
    self.error(_('the following arguments are required: %s') %
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/parser.py", line 160, in error
    recommender.set_help_examples(self.get_examples(self.prog))
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/parser.py", line 201, in get_examples
    return self.cli_help.get_examples(command,
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/_help.py", line 192, in get_examples
    else self.group_help_cls(self, delimiters, parser)
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/knack/help.py", line 253, in __init__
    child.load(options)
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/_help.py", line 303, in load
    loader.versioned_load(self, options)
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/_help_loaders.py", line 154, in versioned_load
    super(CliHelpFile, help_obj).load(parser)  # pylint:disable=bad-super-call
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/knack/help.py", line 198, in load
    description = getattr(options, 'description', None)
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/knack/parser.py", line 241, in __getattribute__
    self.description = self._description() \
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 133, in description_loader
    op = self.get_op_handler(self.op_path)
  File "/usr/local/Cellar/azure-cli/2.33.1/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 59, in get_op_handler
    handler = import_module(mod_to_import)
  File<EMAIL_ADDRESS>line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/muel42/.azure/cliextensions/db-up/azext_db_up/custom.py", line 15, in <module>
    import psycopg2
  File "/Users/muel42/.azure/cliextensions/db-up/psycopg2/__init__.py", line 51, in <module>
    from psycopg2._psycopg import (                     # noqa
ModuleNotFoundError: No module named 'psycopg2._psycopg'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az postgres

Expected Behavior
Environment Summary
macOS-12.2.1-x86_64-i386-64bit, Darwin 21.3.0
Python 3.10.2
Installer: HOMEBREW

azure-cli 2.33.1

Extensions:
account 0.2.1
db-up 0.2.2

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0

Additional Context

route to CXP team

@kurt-mueller-osumc Could you please share which subcommand you are using when running with az postgres ?


wrap Module properties

Co-authored-by: Marcus Chiam<EMAIL_ADDRESS>What does this PR do?
Fixes #2537. Adds wrappers for property attributes for Module primarily to catch AttributeErrors in order to give a better error message (see  discussion in #2537). Implementation follows the same strategy for our current method wrapper but specializes it for propertys.

Codecov Report

Merging #2541 (0d61b42) into main (e0de630) will increase coverage by 0.06%.
The diff coverage is 90.00%.

@@            Coverage Diff             @@
##             main    #2541      +/-   ##
==========================================
+ Coverage   79.44%   79.51%   +0.06%
==========================================
  Files          49       49
  Lines        5197     5227      +30
==========================================
+ Hits         4129     4156      +27
- Misses       1068     1071       +3

Impacted Files
Coverage Δ

flax/linen/module.py
92.49% <88.88%> (-0.17%)
:arrow_down:

flax/errors.py
87.36% <100.00%> (+0.41%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@levskaya curiously staticmethod and classmethod objects are not callable themselves, their __get__ method returns a callable.


[SPARK-32023][Streaming]Generate spark streaming test jar with maven plugin maven-jar-plugin

What changes were proposed in this pull request?
Generate spark streaming test jar with maven plugin maven-jar-plugin
Why are the changes needed?
When I compile streaming module alone,  the test jar generated incorrect.

No
How was this patch tested?
Jenkins Tested.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

What do you mean it's incorrect?

It seems that he meant 22 bytes, the size of tests jar.
-rw-r--r-- 1 kun.wan staff      22 Jun 18 19:46 spark-streaming_2.12-3.0.0-tests.jar

Oh I see. Do you have to remove the shade plugin config though?

Hi @srowen, I have compared the compilation results with and without shade plugin. Their result classes are the same. So I don't think we need to keep shade plugin anymore.
➜  tmp ls -al shade
total 11864
drwxr-xr-x  21 wankun  staff      672  6 19 11:11 .
drwxr-xr-x   9 wankun  staff      288  6 19 11:15 ..
-rw-r--r--   1 wankun  staff       30  6 19 11:11 .plxarc
drwxr-xr-x   4 wankun  staff      128  6 19 11:11 analysis
drwxr-xr-x   3 wankun  staff       96  6 19 11:11 antrun
-rw-r--r--   1 wankun  staff     2103  6 19 11:11 checkstyle-cachefile
-rw-r--r--   1 wankun  staff     8225  6 19 11:11 checkstyle-checker.xml
-rw-r--r--   1 wankun  staff     2133  6 19 11:11 checkstyle-output.xml
drwxr-xr-x   3 wankun  staff       96  6 19 11:11 maven-archiver
drwxr-xr-x   3 wankun  staff       96  6 19 11:11 maven-shared-archive-resources
-rw-r--r--   1 wankun  staff   849617  6 19 11:11 original-spark-streaming_2.12-3.0.0-tests.jar
-rw-r--r--   1 wankun  staff  1129042  6 19 11:11 original-spark-streaming_2.12-3.0.0.jar
drwxr-xr-x   4 wankun  staff      128  6 19 11:11 scala-2.12
-rw-r--r--   1 wankun  staff       91  6 19 11:11 scalastyle-output.xml
drwxr-xr-x   3 wankun  staff       96  6 19 11:11 site
-rw-r--r--   1 wankun  staff  1640857  6 19 11:11 spark-streaming_2.12-3.0.0-javadoc.jar
-rw-r--r--   1 wankun  staff   252544  6 19 11:11 spark-streaming_2.12-3.0.0-sources.jar
-rw-r--r--   1 wankun  staff   170013  6 19 11:11 spark-streaming_2.12-3.0.0-test-sources.jar
-rw-r--r--   1 wankun  staff   854204  6 19 11:11 spark-streaming_2.12-3.0.0-tests.jar
-rw-r--r--   1 wankun  staff  1137942  6 19 11:11 spark-streaming_2.12-3.0.0.jar
drwxr-xr-x   2 wankun  staff       64  6 19 11:11 tmp
➜  tmp ls -al without_shade
total 10192
drwxr-xr-x  20 wankun  staff      640  6 19 11:13 .
drwxr-xr-x   9 wankun  staff      288  6 19 11:15 ..
-rw-r--r--   1 wankun  staff       30  6 19 11:13 .plxarc
drwxr-xr-x   4 wankun  staff      128  6 19 11:13 analysis
drwxr-xr-x   3 wankun  staff       96  6 19 11:13 antrun
-rw-r--r--   1 wankun  staff     2103  6 19 11:13 checkstyle-cachefile
-rw-r--r--   1 wankun  staff     8225  6 19 11:13 checkstyle-checker.xml
-rw-r--r--   1 wankun  staff     2133  6 19 11:13 checkstyle-output.xml
drwxr-xr-x   3 wankun  staff       96  6 19 11:13 maven-archiver
drwxr-xr-x   3 wankun  staff       96  6 19 11:13 maven-shared-archive-resources
-rw-r--r--   1 wankun  staff  1129002  6 19 11:13 original-spark-streaming_2.12-3.0.0.jar
drwxr-xr-x   4 wankun  staff      128  6 19 11:13 scala-2.12
-rw-r--r--   1 wankun  staff       91  6 19 11:13 scalastyle-output.xml
drwxr-xr-x   3 wankun  staff       96  6 19 11:13 site
-rw-r--r--   1 wankun  staff  1640857  6 19 11:13 spark-streaming_2.12-3.0.0-javadoc.jar
-rw-r--r--   1 wankun  staff   252504  6 19 11:13 spark-streaming_2.12-3.0.0-sources.jar
-rw-r--r--   1 wankun  staff   169973  6 19 11:13 spark-streaming_2.12-3.0.0-test-sources.jar
-rw-r--r--   1 wankun  staff   849577  6 19 11:13 spark-streaming_2.12-3.0.0-tests.jar
-rw-r--r--   1 wankun  staff  1137902  6 19 11:13 spark-streaming_2.12-3.0.0.jar
drwxr-xr-x   2 wankun  staff       64  6 19 11:13 tmp

Hm, I'm a little uneasy about it, as that shade config was put in a long time ago to work around Guava issues. It may or may not be necessary, but, what if you leave it in?
Also, do you actually need test jars?

Update PR, and leave the shade plugin in.
The test jar is need if I want to compile some other spark modules(eg. mllib ) individually.

Jenkins test this please

Merged build finished. Test PASSed.

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

Test build #124291 has started for PR 28857 at commit cbeaeb1.

Merged build finished. Test PASSed.

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

Test build #124291 has finished for PR 28857 at commit cbeaeb1.

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

Merged build finished. Test PASSed.

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

Hi, @wankunde . I tried the command in the PR description in master branch, but got a different result. Where did you get the result?
$ ls -al streaming/target/*tests.jar
fish: No matches for wildcard 'streaming/target/*tests.jar'. See `help expand`.
ls -al streaming/target/*tests.jar

$ mvn clean package -DskipTests -Phive -Phive-thriftserver -Pyarn -DskipTests -pl streaming

$ ls -al streaming/target/*tests.jar
-rw-r--r--  1 dongjoon  staff  849937 Jun 19 16:35 streaming/target/original-spark-streaming_2.12-3.1.0-SNAPSHOT-tests.jar
-rw-r--r--  1 dongjoon  staff  854537 Jun 19 16:35 streaming/target/spark-streaming_2.12-3.1.0-SNAPSHOT-tests.jar

Gentle ping, @wankunde .

@wankunde Just curious what's the result w/ sbt?

Gentle ping again, @wankunde .

Hi, @dongjoon-hyun , I'm sorry , the result of maven compile seems OK after I change a computer.

Oh, thank you for confirmation, @wankunde . Then, I close this PR and SPARK-32023.
In any way, thank you for your contribution on this issue. Please don't hesitate to report a weird situation like this. We can solve together! Thanks again.


Error when fine-tuning using the SFT with QLORA

Hello,
I tried to fine-tune a model using the SFT/QLoRA method provided in the handbook. Everything runs until the beginning of the training phase. At this moment, the following error occurs:
#Error#
Traceback (most recent call last):
File "/home/michelet/my_projects/fine_tuning/alignment-handbook-main/scripts/run_sft.py", line 233, in
main()
File "/home/michelet/my_projects/fine_tuning/alignment-handbook-main/scripts/run_sft.py", line 188, in main
train_result = trainer.train(resume_from_checkpoint=checkpoint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michelet/my_env/new_fine_tuning_env/lib/python3.11/site-packages/trl/trainer/sft_trainer.py", line 451, in train
output = super().train(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michelet/my_env/new_fine_tuning_env/lib/python3.11/site-packages/transformers/trainer.py", line 1929, in train
return inner_training_loop(
^^^^^^^^^^^^^^^^^^^^
File "/home/michelet/my_env/new_fine_tuning_env/lib/python3.11/site-packages/transformers/trainer.py", line 2202, in _inner_training_loop
self.control = self.callback_handler.on_train_begin(args, self.state, self.control)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michelet/my_env/new_fine_tuning_env/lib/python3.11/site-packages/transformers/trainer_callback.py", line 460, in on_train_begin
return self.call_event("on_train_begin", args, state, control)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michelet/my_env/new_fine_tuning_env/lib/python3.11/site-packages/transformers/trainer_callback.py", line 507, in call_event
result = getattr(callback, event)(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michelet/my_env/new_fine_tuning_env/lib/python3.11/site-packages/transformers/integrations/integration_utils.py", line 681, in on_train_begin
self.tb_writer.add_text("args", args.to_json_string())
^^^^^^^^^^^^^^^^^^^^^
File "/home/michelet/my_env/new_fine_tuning_env/lib/python3.11/site-packages/transformers/training_args.py", line 2471, in to_json_string
return json.dumps(self.to_dict(), indent=2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/michelet/anaconda3/lib/python3.11/json/init.py", line 238, in dumps
**kw).encode(obj)
^^^^^^^^^^^
File "/home/michelet/anaconda3/lib/python3.11/json/encoder.py", line 202, in encode
chunks = list(chunks)
^^^^^^^^^^^^
File "/home/michelet/anaconda3/lib/python3.11/json/encoder.py", line 432, in _iterencode
yield from _iterencode_dict(o, _current_indent_level)
File "/home/michelet/anaconda3/lib/python3.11/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/home/michelet/anaconda3/lib/python3.11/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/home/michelet/anaconda3/lib/python3.11/json/encoder.py", line 439, in _iterencode
o = _default(o)
^^^^^^^^^^^
File "/home/michelet/anaconda3/lib/python3.11/json/encoder.py", line 180, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type BitsAndBytesConfig is not JSON serializable
#More details#
To provide more details, I'm using the following command: ACCELERATE_LOG_LEVEL=info accelerate launch --config_file recipes/accelerate_configs/multi_gpu.yaml --num_processes=1 scripts/run_sft.py recipes/zephyr-7b-beta/sft/config_qlora.yaml --load_in_4bit=true (Note that I left the recipe untouched, except for the percentage of samples taken from the dataset to speed up the issue reproduction).
I also tried to reinstall a new venv several times and on different machines.
#What I did in the meantime#
It looks like the self.to_dict() call serving as a parameter for the json.dumps() call returns a dictionary of training arguments (2471 training_args.py). One of these arguments is a dictionary itself, that contains a BitsAndBytesConfig object as one of its values. This object is not serializable, but the BitsAndBytesConfig class provides a function named to_dict() that can transform a BitsAndBytesConfig object into a dictionary.
I tried to modify the to_dict() function of the TrainingArguments class (2444 training_args.py). I know this should not be done but it kind of solved the problem. By retrieving this BitsAndBytesConfig object, changing it to its dictionary form (by using the to_dict() function of BiysandBytesConfig objects), and replacing the object with the dictionary form in the arguments dictionary, the error is not triggered anymore, and the BitAndBytesConfig appears in the log file.
I don't know if this is a logging matter only or if this modification might have screwed up the fine-tuning process (from what I could understand the result of this json.dumps() is added to a SummaryWriter which is used for logging purposes. I'm not sure though).
I don't know if this is related to my installation or my use of the handbook/recipes. Did anyone run into the same error? Or can someone reproduce it?
Have a nice day!

This could be solved when you convert quantization_config in sft script to json with to_json() method.
I realized that this is the issue that transformers does not convert all nested config to JSON recursively.

Should I do this conversion in the run_sft.py file from the alignment handbook?

Ah sorry it's to_dict
https://github.com/huggingface/transformers/blob/e0d82534cc95b582ab072c1bbc060852ba7f9d51/src/transformers/utils/quantization_config.py#L129

Changing line 120 of alignment_handbook/scripts/run_sft.py from quantization_config=quantization_config to quantization_config=quantization_config.to_dict() worked!
Thank you for your help!
Should I close the issue now?


Add feature branch to workflows

Issue #, if available:
Description of changes:
As this is a feature branch it would be helpful to have automated CI enabled for this branch.
Testing performed:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Putting in draft as we discuss the necessity of this PR.

Closing as we are not interested in maintaining a feature branch. #1329 has more context for why this was created to begin with


ANDROID_SDK_ROOT enviroment variable is deprecated

Hello.
According to https://developer.android.com/studio/command-line/variables ANDROID_SDK_ROOT is deprecated and ANDROID_HOME should be used as they point to the same path.
Or during the build step you cam maybe check for both variables for compatibility cases.

Hello, thank you for this! I will add an ANDROID_HOME variable check in the future update.


[How to fetch anchor innerText]

What is the example you wish to see?
export const getInlineAnchorList: PlasmoGetInlineAnchorList = async () => {
  return document.querySelectorAll("div[id^='message-content']")
}

export const getShadowHostId = (anchor: PlasmoCSUIAnchor) =>
anchor.element.innerText + "plasmo-inline-example-unique-id"

const TranslateComponent = () => {
 // how to fetch anchor innerText
 const orgMsgText = anchor.element.innerText
 const newMsgText = (orgMsgText) => {}
  const [fontColor, _setColor] = useStorage("pickColor", "blue")
  return (
    <div style={{
        color: fontColor
    }}>
      <span> {newMsgText} </span>
    </div>
  )
}
export default TranslateComponent

Is there any context that might help us understand?
I want to fetch anchor innerText in TranslateComponent ,
I didn't find the corresponding solution in the documents and examples，
Is there any way to solve it?
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

It's 2024, and I'm also looking for a solution to this

You can try this
...
const TranslateComponent = ({ anchor: { element } }) => {
...

You can try this
...
const TranslateComponent = ({ anchor: { element } }) => {
...

Thank you, I discovered this usage after some time by reviewing some reference code, but it was not mentioned in the official documentation. In fact, I do not know how much more advanced usage I am unaware of.


MINOR: Bump the request timeout for the transactional message copier

Multiple inflights means that when there are rolling bounces or other cluster instability, there is an increased likelihood of having previously tried batch expire in the accumulator. This is a fatal error
for a transactional producer, causing the TransactionalMessageCopier to exit. To work around this, we bump the request timeout. We can get rid of this when KIP-91 is merged.

cc @ijuma @hachikuji

retest this please

retest this please

retest this please
I keep forgetting to look at the results since there are no emails anymore. And once I remember, the results are removed :(

I keep forgetting to look at the results since there are no emails anymore. And once I remember, the results are removed :(


attach os.Stdin to plugin's stdin

closes #206
Manually tested using the example I provided in #206:
><> draft hi
What is your name?
Matt
Hi Matt!

@bacongobbler,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Codecov Report

Merging #208 into master will increase coverage by 0.06%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           master   #208      +/-   ##
========================================
+ Coverage   32.94%    33%   +0.06%
========================================
  Files          18     18
  Lines        1108   1109       +1
========================================
+ Hits          365    366       +1
  Misses        694    694
  Partials       49     49

Impacted Files
Coverage Δ

cmd/draft/plugins.go
76.19% <100%> (+0.28%)
:arrow_up:

Continue to review full report at Codecov.

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


PR: If TextEditor fails to be initialized, it is not shown in the Variable Explorer

Fixes #3673

@mariacamilaremolinagutierrez, this is not the solution I asked you to implement. What I want is for you to add a method called setup_and_check to the TextEditor class, and use it to verify if it's able to display strings passed to it. setup_and_check must return True is there are no problems and False otherwise.
Besides, please add a test for that method using the code I put on issue #3673 in
spyder/widgets/variableexplorer/tests/test_texteditor.py

@ccordoba12 This is ready :)


Remodeler l'architechture des routes et des modules

Utiliser les Behaviours

[] Use ETS to store dummy routes
[] Fetch ETS to execute routing
[] Populate ETS from path methods in services files


Some errors when initializing mysql

Tried this on fresh installation on Ubuntu 16.04
For table pairing_secrets: "Invalid default value for 'expiry_date'"
Solution: change "expiry_date TIMESTAMP NOT NULL" to "expiry_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP"
For table wallet_signing_paths: "All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead"
Solution: change "PRIMARY KEY (wallet, signing_path)," to "UNIQUE KEY (wallet, signing_path),"
For table shared_address_signing_paths: "All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead"
Solution: change "PRIMARY KEY (shared_address, signing_path)" to  "UNIQUE KEY (shared_address, signing_path)"
Hope this helps.

Another problem, when running byteball:
Error: ER_MIX_OF_GROUP_FUNC_AND_FIELDS: In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column 'byteball.peer_host_urls.url'; this is incompatible with sql_mode=only_full_group_by
You should tell, to disable only_full_group_by in config.

Another thing, to establish connection to mysql i should put connection details to conf.json.
But after initializing byteball, it overwrites it with object containing only deviceName!
So the connection details are lost and i have to read them manually, otherwise the node would not start.

Another database error, when i paired device:
failed query: SELECT SUM(total) AS total FROM (
SELECT SUM(amount) AS total FROM my_addresses CROSS JOIN witnessing_outputs USING(address) WHERE is_spent=0 AND wallet=''
UNION ALL
SELECT SUM(amount) AS total FROM my_addresses CROSS JOIN headers_commission_outputs USING(address) WHERE is_spent=0 AND wallet='' )
/home/byteball/byteballd/node_modules/mysql/lib/protocol/Parser.js:79
throw err; // Rethrow non-MySQL errors
^
Error: ER_DERIVED_MUST_HAVE_ALIAS: Every derived table must have its own alias
at Query.Sequence._packetToError (/home/byteball/byteballd/node_modules/mysql/lib/protocol/sequences/Sequence.js:52:14)

Again, when issuing command 'pay' to bot.
failed query: SELECT address, SUM(amount) AS total
FROM outputs JOIN my_addresses USING(address)
CROSS JOIN units USING(unit)
WHERE wallet='xxxx AND is_stable=1 AND sequence='good' AND is_spent=0 AND asset IS NULL
AND NOT EXISTS (
SELECT * FROM unit_authors JOIN units USING(unit)
WHERE is_stable=0 AND unit_authors.address=outputs.address AND definition_chash IS NOT NULL
)
GROUP BY address ORDER BY (total>1100) DESC, ABS(total-1100) ASC
Error: ER_ILLEGAL_REFERENCE: Reference 'total' not supported (reference to group function)
at readFundedAddresses (/home/byteball/byteballd/node_modules/byteballcore/wallet.js:967:5)
This query is just won't work, maybe we can omit order by?

Thank you for finding these issues and proposing solutions for the newer mysql versions (we tested only on mysql 5.5 and even that long time ago).

primary keys fixed
ER_MIX_OF_GROUP_FUNC_AND_FIELDS: the query rewritten
added alias for the temp table
Regarding "ORDER BY (total>1100) DESC, ABS(total-1100) ASC" could you try replacing total with SUM(amount)?
Rewriting of conf.json: yes the script shouldn't rewrite it, the bug belongs to headless-wallet though

You forgot about
For table pairing_secrets: "Invalid default value for 'expiry_date'"
Solution: change "expiry_date TIMESTAMP NOT NULL" to "expiry_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP"
Will try Sum(amount), it should work, i suppose, will confirm later.

Thanks, fixed that too

"Regarding "ORDER BY (total>1100) DESC, ABS(total-1100) ASC" could you try replacing total with SUM(amount)?"
  Make sure you are not running two instances of your node at the same time.

Of course i am not, but sometimes you need to start/stop daemon, and that could be the cause.
Although it shouldn't happen, it may happen, and i believe it is a good idea to fix it, as easy as add 'INSERT IGNORE' to mysql requests.

So, another two days of waiting and i got this:
failed query: INSERT INTO known_bad_joints (unit, json, error) VALUES ('j/dC62enrCskmhoJUcvufIlF7q6PlqVBmTDi6dRRiL8=','{\"unit\":{\"version\":\"1.0\",\"alt\":\"1\",\"messages\":[{\"app\":\"data_feed\",\"payload_location\":\"inline\",\"payload_hash\":\"BV/rW3sib+7jnd7sUHJmp/4lNChEddwfmJo7hlhIAkI=\",\"payload\":{\"timestamp\":1496506189377}},{\"app\":\"payment\",\"payload_location\":\"inline\",\"payload_hash\":\"IgSJySgWnDWaA+uI0LeF1ERY9msS6iNdQoF7cMK5nSo=\",\"payload\":{\"outputs\":[{\"amount\":23,\"address\":\"I2ADHGP4HL6J37NQAD73J7E5SKFIXJOT\"}],\"inputs\":[{\"unit\":\"CH3HfoBNRr/+AhCdmxHogkSbPSdMAIOghPGhtcUfEVs=\",\"message_index\":1,\"output_index\":0},{\"type\":\"headers_commission\",\"from_main_chain_index\":505426,\"to_main_chain_index\":505436},{\"type\":\"witnessing\",\"from_main_chain_index\":169986,\"to_main_chain_index\":170004}]}}],\"authors\":[{\"address\":\"I2ADHGP4HL6J37NQAD73J7E5SKFIXJOT\",\"authentifiers\":{\"r\":\"tlIFCme+t2DufjDhwmekBEivXLaCFXAL+BSanrQLMfUG0/9jTFK0vO2mdKr3GqxcGKMJq8tyP+PrK8v3vvJAyg==\"}}],\"parent_units\":[\"v7JhuAKPLKsXC3uUSgLRmV3l1l5lVjbNGIJtiSQ1vZE=\"],\"last_ball\":\"IS5lP6T5z7ZW3tokLDe/vLviw2ZgLXrbjCbPyvD7sLY=\",\"last_ball_unit\":\"2mNmkHUjC8ppK3zTJNXzHgIJaDQAsFW09iMI98A2BI0=\",\"witness_list_unit\":\"oj8yEksX9Ubq7lLc+p6F2uyHUuynugeVq4+ikT67X6E=\",\"headers_commission\":344,\"payload_commission\":284,\"unit\":\"j/dC62enrCskmhoJUcvufIlF7q6PlqVBmTDi6dRRiL8=\",\"timestamp\":1496506189}}','some of the unit\'s parents are known bad: **THIS PHRASE WAS HERE 1560 times** some of the unit\'s parents are known bad: ')
Error: ER_DATA_TOO_LONG: Data too long for column 'error' at row 1

And after this there were some additional errors with duplicate entry to INSERT INTO headers_commission_contributions
And then it just was exiting immediately affter start with
Error: known bad csbufrzlQvce0p3MiYzcDiT/daukyjxw8FeVyxOoSdg=:
at Error (native)
at Object.ifKnownBad (/home/byteball/BetByteBall/node_modules/byteballcore/network.js:725:12)
I guess, i need to start syncing node to mysql for third time...

INSERT INTO known_bad_joints

This bug was fixed today (there are two of you who are syncing on mysql for the first time), please npm update and DELETE FROM known_bad_joints

Although it shouldn't happen, it may happen, and i believe it is a good idea to fix it, as easy as add 'INSERT IGNORE' to mysql requests.

It is intentional that the app crashes when something that shouldn't happen happens.  This way, we immediately know about the issues, fix them, and go ahead.


update jenkins test names

Fixes https://github.com/Microsoft/ChakraCore/issues/1933 and no-jit test names

@dilijev dont we have to update README too ? or we should update that in a separate PR?

Yes, you'll need to update the readme and the wiki. If you have the time to do that now, go ahead. Keep in mind only to update the README in the affected branches and only the Build Status tables in the wiki that are affected. Older branches will not be affected by this change.

@obastemur ping, you can merge this when ready

@obastemur ping

@obastemur Any update here? Should we retarget this to latest master and get it merged in?

@dilijev Thanks for the review


⚠ Bofrost.lu has degraded performance

In c2a495e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1341 ms

Resolved: Bofrost.lu performance has improved in 9c4c9a4 after 9 minutes.