cmake --build . fails

This is the output error I get. What am I to change
<Scanning dependencies of target uWS
[  6%] Building CXX object CMakeFiles/uWS.dir/src/Extensions.cpp.obj
[ 13%] Building CXX object CMakeFiles/uWS.dir/src/Group.cpp.obj
In file included from D:\cppw\uWebSockets\src\WebSocketProtocol.h:5:0,
from D:\cppw\uWebSockets\src\WebSocket.h:4,
from D:\cppw\uWebSockets\src\Group.h:4,
from D:\cppw\uWebSockets\src\Group.cpp:1:
D:\cppw\uWebSockets\src\Networking.h:133:10: error: 'mutex' in namespace 'std' does not name a type
std::mutex asyncMutex;
^~~~~
In file included from D:\cppw\uWebSockets\src\WebSocketProtocol.h:5:0,
from D:\cppw\uWebSockets\src\WebSocket.h:4,
from D:\cppw\uWebSockets\src\Group.h:4,
from D:\cppw\uWebSockets\src\Group.cpp:1:
D:\cppw\uWebSockets\src\WebSocketProtocol.h: In static member function 'static size_t uWS::WebSocketProtocol::formatMessage(char, const char*, size_t, uWS::OpCode, size_t, bool)':
D:\cppw\uWebSockets\src\Networking.h:26:28: error: there are no arguments to 'htonll' that depend on a template parameter, so a declaration of 'htonll' must be available [-fpermissive]
#define htobe64(x) htonll(x)
^
D:\cppw\uWebSockets\src\WebSocketProtocol.h:280:39: note: in expansion of macro 'htobe64'
((uint64_t ) &dst[2]) = htobe64(reportedLength);
^~~~~~~
D:\cppw\uWebSockets\src\Networking.h:26:28: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
#define htobe64(x) htonll(x)
^
D:\cppw\uWebSockets\src\WebSocketProtocol.h:280:39: note: in expansion of macro 'htobe64'
((uint64_t ) &dst[2]) = htobe64(reportedLength);
^~~~~~~
D:\cppw\uWebSockets\src\WebSocketProtocol.h: In member function 'void uWS::WebSocketProtocol::consume(char, unsigned int, void)':
D:\cppw\uWebSockets\src\Networking.h:27:28: error: there are no arguments to 'ntohll' that depend on a template parameter, so a declaration of 'ntohll' must be available [-fpermissive]
#define be64toh(x) ntohll(x)
^
D:\cppw\uWebSockets\src\WebSocketProtocol.h:347:74: note: in expansion of macro 'be64toh'
} else if (consumeMessage<LONG_MESSAGE_HEADER, uint64_t>(be64toh((uint64_t ) &src[2]), src, length, frame, user)) {
^~~~~~~
In file included from D:\cppw\uWebSockets\src\WebSocket.h:5:0,
from D:\cppw\uWebSockets\src\Group.h:4,
from D:\cppw\uWebSockets\src\Group.cpp:1:
D:\cppw\uWebSockets\src\Socket.h: In member function 'void uS::Socket::transfer(uS::NodeData, void ()(uv_poll_t*))':
D:\cppw\uWebSockets\src\Socket.h:28:19: error: 'struct uS::NodeData' has no member named 'asyncMutex'; did you mean 'async'?
nodeData->asyncMutex->lock();
^~~~~~~~~~
D:\cppw\uWebSockets\src\Socket.h:30:19: error: 'struct uS::NodeData' has no member named 'asyncMutex'; did you mean 'async'?
nodeData->asyncMutex->unlock();
^~~~~~~~~~
In file included from D:\cppw\uWebSockets\src\Networking.h:56:0,
from D:\cppw\uWebSockets\src\WebSocketProtocol.h:5,
from D:\cppw\uWebSockets\src\WebSocket.h:4,
from D:\cppw\uWebSockets\src\Group.h:4,
from D:\cppw\uWebSockets\src\Group.cpp:1:
D:\cppw\uWebSockets\src\Socket.h: In static member function 'static uv_poll_t* uS::Socket::init(uS::NodeData*, uv_os_sock_t, SSL*)':
D:\cppw\uWebSockets\src\Socket.h:47:31: error: 'SSL_MODE_RELEASE_BUFFERS' was not declared in this scope
SSL_set_mode(ssl, SSL_MODE_RELEASE_BUFFERS);
^
C:/PROGRA~2/GnuWin32/include/openssl/ssl.h:578:32: note: in definition of macro 'SSL_set_mode'
SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
^~
In file included from D:\cppw\uWebSockets\src\WebSocket.h:5:0,
from D:\cppw\uWebSockets\src\Group.h:4,
from D:\cppw\uWebSockets\src\Group.cpp:1:
D:\cppw\uWebSockets\src\Socket.h: In static member function 'static void uS::Socket::io_cb(uv_poll_t*, int, int)':
D:\cppw\uWebSockets\src\Socket.h:272:38: error: 'EWOULDBLOCK' was not declared in this scope
if (errno != EWOULDBLOCK) {
^~~~~~~~~~~
D:\cppw\uWebSockets\src\Socket.h:291:75: error: 'EWOULDBLOCK' was not declared in this scope
} else if (length <= 0 || (length == SOCKET_ERROR && errno != EWOULDBLOCK)) {
^~~~~~~~~~~
In file included from D:\cppw\uWebSockets\src\WebSocket.h:5:0,
from D:\cppw\uWebSockets\src\Group.h:4,
from D:\cppw\uWebSockets\src\Group.cpp:1:
D:\cppw\uWebSockets\src\Socket.h: In member function 'void uS::Socket::changePoll(uS::SocketData*)':
D:\cppw\uWebSockets\src\Socket.h:364:35: error: 'struct uS::NodeData' has no member named 'asyncMutex'; did you mean 'async'?
socketData->nodeData->asyncMutex->lock();
^~~~~~~~~~
D:\cppw\uWebSockets\src\Socket.h:366:35: error: 'struct uS::NodeData' has no member named 'asyncMutex'; did you mean 'async'?
socketData->nodeData->asyncMutex->unlock();
^~~~~~~~~~
D:\cppw\uWebSockets\src\Socket.h: In member function 'bool uS::Socket::write(uS::SocketData::Queue::Message*, bool&)':
D:\cppw\uWebSockets\src\Socket.h:403:34: error: 'EWOULDBLOCK' was not declared in this scope
if (errno != EWOULDBLOCK) {
^~~~~~~~~~~
In file included from D:\cppw\uWebSockets\src\Hub.h:5:0,
from D:\cppw\uWebSockets\src\Group.cpp:2:
D:\cppw\uWebSockets\src\Node.h: At global scope:
D:\cppw\uWebSockets\src\Node.h:19:10: error: 'mutex' in namespace 'std' does not name a type
std::mutex asyncMutex;
^~~~~
D:\cppw\uWebSockets\src\Node.h: In member function 'uS::Socket uS::Node::connect(const char*, int, bool, uS::SocketData*)':
D:\cppw\uWebSockets\src\Node.h:44:80: error: there are no arguments to 'getaddrinfo' that depend on a template parameter, so a declaration of 'getaddrinfo' must be available [-fpermissive]
if (getaddrinfo(hostname, std::to_string(port).c_str(), &hints, &result) != 0) {
^
D:\cppw\uWebSockets\src\Node.h:63:28: error: there are no arguments to 'freeaddrinfo' that depend on a template parameter, so a declaration of 'freeaddrinfo' must be available [-fpermissive]
freeaddrinfo(result);
^
In file included from D:\cppw\uWebSockets\src\Networking.h:56:0,
from D:\cppw\uWebSockets\src\WebSocketProtocol.h:5,
from D:\cppw\uWebSockets\src\WebSocket.h:4,
from D:\cppw\uWebSockets\src\Group.h:4,
from D:\cppw\uWebSockets\src\Group.cpp:1:
D:\cppw\uWebSockets\src\Node.h:70:43: error: 'SSL_MODE_RELEASE_BUFFERS' was not declared in this scope
SSL_set_mode(socketData->ssl, SSL_MODE_RELEASE_BUFFERS);
^
C:/PROGRA~2/GnuWin32/include/openssl/ssl.h:578:32: note: in definition of macro 'SSL_set_mode'
SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
^~
In file included from D:\cppw\uWebSockets\src\Hub.h:5:0,
from D:\cppw\uWebSockets\src\Group.cpp:2:
D:\cppw\uWebSockets\src\Node.h:71:63: error: there are no arguments to 'SSL_set_tlsext_host_name' that depend on a template parameter, so a declaration of 'SSL_set_tlsext_host_name' must be available [-fpermissive]
SSL_set_tlsext_host_name(socketData->ssl, hostname);
^
D:\cppw\uWebSockets\src\Node.h: In static member function 'static void uS::Node::accept_cb(uS::ListenData*)':
D:\cppw\uWebSockets\src\Node.h:104:55: error: 'EWOULDBLOCK' was not declared in this scope
if (!TIMER && errno != EAGAIN && errno != EWOULDBLOCK) {
^~~~~~~~~~~
In file included from D:\cppw\uWebSockets\src\Networking.h:56:0,
from D:\cppw\uWebSockets\src\WebSocketProtocol.h:5,
from D:\cppw\uWebSockets\src\WebSocket.h:4,
from D:\cppw\uWebSockets\src\Group.h:4,
from D:\cppw\uWebSockets\src\Group.cpp:1:
D:\cppw\uWebSockets\src\Node.h:140:31: error: 'SSL_MODE_RELEASE_BUFFERS' was not declared in this scope
SSL_set_mode(ssl, SSL_MODE_RELEASE_BUFFERS);
^
C:/PROGRA~2/GnuWin32/include/openssl/ssl.h:578:32: note: in definition of macro 'SSL_set_mode'
SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
^~
In file included from D:\cppw\uWebSockets\src\Hub.h:5:0,
from D:\cppw\uWebSockets\src\Group.cpp:2:
D:\cppw\uWebSockets\src\Node.h: In member function 'bool uS::Node::listen(const char*, int, uS::TLS::Context, int, uS::NodeData*, void*)':
D:\cppw\uWebSockets\src\Node.h:169:76: error: there are no arguments to 'getaddrinfo' that depend on a template parameter, so a declaration of 'getaddrinfo' must be available [-fpermissive]
if (getaddrinfo(host, std::to_string(port).c_str(), &hints, &result)) {
^
D:\cppw\uWebSockets\src\Node.h:192:32: error: there are no arguments to 'freeaddrinfo' that depend on a template parameter, so a declaration of 'freeaddrinfo' must be available [-fpermissive]
freeaddrinfo(result);
^
D:\cppw\uWebSockets\src\Node.h:210:32: error: there are no arguments to 'freeaddrinfo' that depend on a template parameter, so a declaration of 'freeaddrinfo' must be available [-fpermissive]
freeaddrinfo(result);
^
D:\cppw\uWebSockets\src\Node.h:230:28: error: there are no arguments to 'freeaddrinfo' that depend on a template parameter, so a declaration of 'freeaddrinfo' must be available [-fpermissive]
freeaddrinfo(result);
^
CMakeFiles\uWS.dir\build.make:96: recipe for target 'CMakeFiles/uWS.dir/src/Group.cpp.obj' failed
mingw32-make.exe[2]: *** [CMakeFiles/uWS.dir/src/Group.cpp.obj] Error 1
CMakeFiles\Makefile2:116: recipe for target 'CMakeFiles/uWS.dir/all' failed
mingw32-make.exe[1]: *** [CMakeFiles/uWS.dir/all] Error 2
Makefile:102: recipe for target 'all' failed
mingw32-make.exe: *** [all] Error 2

That code is way, way deprecated and is not supported in any way. CMake was removed many years ago, and Mingw32 was never supported.

Thanks for the reply


Current head has not been pushed to PyPI (ver 0.1.3)

curl -I https://pypi.python.org/pypi/awscli-keyring/0.1.3
returns 404

@sj26 any news on this?

@sj26 please publish 0.1.3


No longer working?

Hi, been using this for a long time now but has stopped working sometime in the last week or so. Anyone else found the same? My charging slot, regardless of my intelligent slot, has reverted to the standard 23:30-05:30.

I have a similar issue. The slots don’t always update. I have a slot assigned in the octopus app but the integration shows no slot.

Pretty sure this is a duplicate of: https://github.com/megakid/ha_octopus_intelligent/issues/30
I'm not sure if this is getting any attention from @megakid
The other issue raised references this working: https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy/
It also mentions rate limiting, which fits with the system flipping between working and sensors going unavailable.

Thanks. I should have checked that thread first! I'll check out the other intergration.

I'm not sure, but is this the same issue as https://github.com/megakid/ha_octopus_intelligent/issues/32 ?

I'm finding similar issues too. Is there an alternative out there for HA?

I'm finding similar issues too. Is there an alternative out there for HA?

https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy/
Doesn't have everything but does detect if you are in a dispatch slot

Excellent point! The bottlecapdave integration has the same intelligent entities, and it's possible to scrape the charge slots out of the state attributes. I don't think this integration offers much more?


Add sequence diagrams for more flows.

This change is

@SanjayVas just to clarify when does Create account (new_mc_account_creation_flow.png) happens? or is it not relevant and should focus only on "Generation a MC creation token" and "creating a MC"?


Multigrid::Mult with multiple RHS

Includes:

Operator::Mult(const Array<const Vector *> &X, Array<Vector *> &Y) overload for application to multiple RHS. Base class implementation just loops over columns of the input and calls Mult on each Vector.
Operator::AddMult and Operator::AddMultTranspose methods to the base Operator class for derived classes which already implement this.
Upgraded Multigrid class to support multiple RHS vectors per cycle, useful when the coarse solve has an optimized routine for solving with multiple RHS.
Eliminated redundant initial residual calculation for pre-smooth at all levels.

Resolves #3021

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#3075
@sebastiangrimberg
@mlstowell
@jandrej + @psocratis
6/16/22
6/30/22
⌛due 7/7/22

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

This PR seems well executed. It's clear what the changes involve and they present a minimal API difference. I'd like an additional reviewer on this PR since it touches the main components of Operator and Multigrid.
ping @drzisga

I tried to factor out the interface changes to Operator into #3073, so those changes are showing up in this PR only because it is based on that branch. So this should probably only be reviewed after those changes are merged and this branch is rebased. Alternatively if these changes are a small enough addition I would be fine closing #3073 and doing the full review here.

Apologies for the rebase. I ran into a few small bugs for the Multigrid changes in testing so I fixed them and squashed the history.

Hi all, just a follow up for review to try to get this approved and merged. Thank you!

Hi all, just a follow up for review to try to get this approved and merged. Thank you!

Apologies for the delay, I got back to this today and tbh I need some more time to review it. I'll try to finish it soon

Thanks @psocratis! Indeed, originally this PR included #3081, #3082, and #3083 which is really where the multiple RHS functionality is useful. Useful for MG also if the coarse solve is some sparse direct solver, so that's the motivation for this starting PR.

@dylan-copeland, do you have an opinion for what should be the correct interface for a collection of vectors from your ROM work?

@dylan-copeland, do you have an opinion for what should be the correct interface for a collection of vectors from your ROM work?

@tzanio I have not reviewed this PR, but it appears to be using Array<Vector*> for a collection of vectors, which on first thought seems good for the context of multigrid with multiple RHS. I like the flexibility, since the vectors can come from anywhere and be wrapped if necessary without significant overhead. The context of ROM is different in that ROM involves dense linear algebra on a small collection of vectors, so it is most natural to store the vectors as columns of a dense matrix. That approach would not be beneficial in multigrid, and it would probably require copying data from various vectors into a matrix. Thanks for asking if there is any connection with ROM, but I don't see one, and I think this PR has a good interface.

thanks Dylan!

@tzanio @dylan-copeland I originally thought it would be more natural to make the interface use DenseMatrix instead of Array<Vector *>, where each RHS could be individually accessed by columns of the matrix. Multigrid aside, this is how must sparse direct solver libraries are built or, for example, PETSc with its KSPMatSolve.
This implementation here was just inspired from the discussion in #3021 and I would be happy to change it if there is an opinion one way or another.

Hi @drzisga @jandrej, any chance you could give this a final review when you have a moment? Sorry for the ping but this would be nice to move on from or I can make any desired changes.

Ping @mlstowell? I'm worried this may have gotten lost.

Re-merged in next for testing...

When building this PR with CUDA support enabled, the nvcc compiler produces a ton of warnings of this type:
../../linalg/operator.hpp(313): warning #611-D: overloaded virtual function "mfem::Operator::Mult" is only partially overridden in class "mfem::TimeDependentOperator"

These can be suppressed by adding using Operator::Mult; in sub-classes. However, another solution may be simpler in terms of changes and add some clarity -- the solution is to NOT overload the method name Mult and instead use a different name for the new Mult version, e.g. instead of
   virtual void Mult(const Array<const Vector *> &X, Array<Vector *> &Y) const;

use
   virtual void ArrayMult(const Array<const Vector *> &X, Array<Vector *> &Y) const;

The same issue affects other methods that this PR turns into overloaded methods, like Operator::MultTranspose, Operator::AddMult, etc.
We'd like to resolve these warnings -- which solutions is best is up for discussion. What do you think?

I think using ArrayMult and avoiding the overload is a good solution here. I will make this change, thanks @v-dobrev.

Re-merged in next for testing...

Hi @v-dobrev @mlstowell , do you see any remaining build issues in next? Alternatively, is there a place I can view the build output for next to check and resolve issues myself if that would be helpful?

Hi @v-dobrev @mlstowell , do you see any remaining build issues in next? Alternatively, is there a place I can view the build output for next to check and resolve issues myself if that would be helpful?

There are no issues from this PR in the nightly tests. I think it is ready to be merged. I'll merge the master branch here to prepare it for merging. I'll let @mlstowell merge the PR since he's the editor.


remove "goal" from demographics

The list  dimensions of demographics is not part of the GQM approach but a reference. Removing the "goal" at the top eliminates confusion.

LGTM


Add Release Workflow

Each build will get one or more image tags, depending on whether it's a build of the master branch, a PR branch, or a release branch.  Computation of the image tags is handled by the metadata-action workflow.

Add git-version-gen script to compute a VERSION value from the git repo.
Remove the .version file; this is now computed by the git-version-gen script.
Add rules to Makefile to generate the .version file and use its value.
Use "v" prefix in release tag filter.
Add workflow to verify that tags are annotated.
Use metadata-action to generate all of the appropriate tags for the build.
Use build-push-action to execute all of the tags for the build.

Tagging:

Builds of the master branch get an image tag of "master".
Builds of a PR branch get an image tag similar to "pr-3".
Builds of a PR or merge event get an image tag similar to "<IP_ADDRESS>-9e04", which is the value generated by git-version-gen.
Builds of a PR or merge event will get an image tag that is the long SHA of the top commit, which is the image tag expected by nnf-deploy.
Builds of a push to a tag will get an image tag that matches the git tag.
Builds of a push to a tag will get an image tag of "latest".

Signed-off-by: Dean Roehrich<EMAIL_ADDRESS>

This is copied from Caleb's lustre-csi-driver work.  It adds an initial "v0.0.1" tag.


SQL export does not put quote around column names

To Reproduce
Steps to reproduce the behavior:

Export project as SQL

Current Results
Column names are not quoted. If a column is named Plot, Plot VARCHAR(255) NULL, will be printed. Creating such table in Postgres would result in a lowercase plot column, if the column name is not quoted.
Expected Behavior
Column names should be quoted always or when needed.
Screenshots

Versions

Operating System: Linux
Browser Version: Firefox
JRE or JDK Version: OpenJDK Runtime Environment 17.0.4+8-nixos
OpenRefine: 3.6.2

Datasets

Additional context

Looks like this is a follow up on #1940 where we did not quite get the fix right!

I'd like to work on this issue, as I'm starting to contribute to Open Source projects. Could I get this issue assigned to me?

Thanks for volunteering, the floor is yours!

Sadly PR #5674 had test failures so I had to revert it. This issue can still be tackled.

I'd like to work on this issue, as I'm starting to contribute to Open Source projects. Could I get this issue assigned to me?


test suite does not stop with ctrl-C

The reason being all test classes are loaded in the event loop.

this has been fixed

(I can open a new issue if you prefer)
I'm using Python 3.4 on a Debian Jessie

Run python -m runtests --coverage
Stop it with ctrl+C
Run python -m runtests --coverage again. It fails with the following output :

$ python -m runtests --coverage                                               [15-10-02 14:56]
3.4.3 (default, Sep 17 2015, 15:46:34)
[GCC 4.9.2]
Coverage file available. Type "coverage html" for a report

Bye (exit code = 2)

My solution right now is to use git clean -fdx between test executions.

please, file a different issue.
I cannot replicate it on mac osx.


SynthSeg: Segmentation of brain MRI scans of any contrast and resolution without retraining

Hi professor,
I would like to ask if the open source code for your new paper SynthSeg: Segmentation of brain MRI scans of any contrast and resolution without retraining has been updated in this repository.

Hi,
yes the code is regularly updated :)
Also, I'm not a professor (maybe one day....) ;)


Add package.json to exports so it can be resolved

Many tools attempt to require.resolve package.json, and in the latest versions of node that is not possible if the package specifies exports. The solution is to simply add package.json to exports.
Resolves #8992

Thanks for the pull request @wallw-bits!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.


Weird Transition behavior if next page is longer than view height

Resources:
Before submitting an issue, please consult our troubleshooting guide (http://ionicframework.com/docs/troubleshooting/) and developer resources (http://ionicframework.com/docs/developer-resources/)
Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ x] 3.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
If we have PageA and PageB,
PageA have a button to trigger this.navCtrl.push(PageB).
if PageB with content longer than view height, There will be a weird transition behavior (the whole screen will slide to right by total white screen, then only display PageB.)
If PageB with the content shorter than view height, the transition is fine.
Expected behavior:
Normal this.navCtrl.push() transition behavior.
Steps to reproduce:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (/Users/xuanxi/.nvm/versions/node/v6.9.1/lib/node_modules)
@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:
Cordova CLI : 6.4.0

local packages:
@ionic/app-scripts : 2.1.4
Cordova Platforms  : android 6.1.2 ios 4.1.1
Ionic Framework    : ionic-angular 3.6.0

System:
ios-deploy : 1.9.0
Node       : v6.9.1
npm        : 3.10.8
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b

Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having? Thanks for using Ionic!


Gradle Action add app directory name option

Some old projects created with Android Studio, didn’t have an “app” directory, but
the directory had the project name, so I had this option to deal with some
of those projects.

deprecated in favor of https://github.com/fastlane/fastlane/pull/1082


Unable to extract uploader id error

Description
I'm encountering an error when trying to download videos from a channel. The error message is:
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
version
2021.12.17
Verbose Log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/@BANAMVSBR']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:tab] @BANAMVSBR: Downloading webpage
[download] Downloading playlist: BAN AMVS 愛 - Home
[youtube:tab] playlist BAN AMVS 愛 - Home: Downloading 7 videos
[download] Downloading video 1 of 7
[youtube:tab] @BANAMVSBR: Downloading webpage
[download] Downloading playlist: BAN AMVS 愛 - Videos
[youtube:tab] Downloading page 1
[youtube:tab] Downloading page 2
[youtube:tab] Downloading page 3
[youtube:tab] Downloading page 4
[youtube:tab] Downloading page 5
[youtube:tab] Downloading page 6
[youtube:tab] Downloading page 7
[youtube:tab] Downloading page 8
[youtube:tab] Downloading page 9
[youtube:tab] playlist BAN AMVS 愛 - Videos: Downloading 287 videos
[download] Downloading video 1 of 287
[youtube] jnreRnYBeDM: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I have the same question

I know how to solve it! Just download the nightly upgraded version~~

As explained in #30839 that you were asked to read and follow.


Add SortApplicant Command

added SortApplicant, SortApplicantParser classes
implemented Comparable interface (DateApplied, InterviewDate, JobId)
implemented sortApplicant(Comparator) (AddressBook, Model, ModelManager)
implemented sort(Comparator) (UniqueApplicantList)
added prefix for applicant comparator (CliSyntax)
added parseApplicantComparator (ParserUtil)
added empty applicant list error message (Messages)
override Model::sortApplicant (AddApplicantTest, AddCommandTest, AddJobTest)

Codecov Report

Merging #157 (9ab5fe1) into master (35c27fd) will decrease coverage by 1.41%.
The diff coverage is 1.75%.

@@             Coverage Diff              @@
##             master     #157      +/-   ##
============================================
- Coverage     70.43%   69.01%   -1.42%
  Complexity      768      768
============================================
  Files           126      128       +2
  Lines          2706     2763      +57
  Branches        345      350       +5
============================================
+ Hits           1906     1907       +1
- Misses          690      746      +56
  Partials        110      110

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

...ddress/logic/commands/applicant/SortApplicant.java
0.00% <0.00%> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
50.00% <0.00%> (-1.62%)
:arrow_down:

...in/java/seedu/address/logic/parser/ParserUtil.java
69.91% <0.00%> (-3.24%)
:arrow_down:

...ss/logic/parser/applicant/SortApplicantParser.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/model/AddressBook.java
86.95% <0.00%> (-2.60%)
:arrow_down:

src/main/java/seedu/address/model/Model.java
100.00% <ø> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
84.09% <0.00%> (-1.96%)
:arrow_down:

...ava/seedu/address/model/applicant/DateApplied.java
75.00% <0.00%> (-6.82%)
:arrow_down:

...a/seedu/address/model/applicant/InterviewDate.java
60.00% <0.00%> (-2.50%)
:arrow_down:

... and 4 more

Continue to review full report at Codecov.

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


IPTC Methods

Saw the recent inclusion of IPTC methods in December.  Wondering when the next official release will be to get these included?

I think you could use simply by EXIF.getAllIptcTags(img);
My example in Javascript:
`function getExif() {
var img1 = document.getElementById("test1");

EXIF.getData(img1, function() {
    var allMetaData = EXIF.getAllTags(this);
    var allIptcData = EXIF.getAllIptcTags(img1);

    console.log(allMetaData);
    console.log(allIptcData);

});

}`

@getup8 I've been added as an op for the GitHub repo.
But I assume with official release you mean the NPM version? And/or Bower.
Doing an update of the NPM package would require

Updating the source in NPM (npm update)
And upping the major or minor version with 1 in package.json

I don't have the NPM rights to do the first thing. @jseidelin @kirisu do u have those rights? Roald de Vries originally wrote both the package.json and bower.json. But I don't know his GitHub name.

I've added @bartvanderwal as a collaborator on npm as well.

Well thanks @jseidelin. So you found me on npm.
I've now tried an npm publish now for a new v2.2.0 release (change version numbers in package.json and bower.json), and adding a git tag etc. And even generating changelog (as this is a podcast I like) with gren but to no avail.
The publish finally worked, but now npm is still showing the old/current v2.1.1 version.


Energy consumption of 'non essential load'

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Essential loads can only be displayed with power, but not with energy consumption entities
Expected behaviour
Power and energy sensor entity to be displayed in essential loads area
Possible Solutions
No response
Mode
full
Context / Reason
Actually I'm using the non essential loads area for visualization of my wallboxes. Unfortunately there's no option to display the sensor for consumption of essential loads - only the power can be displayed. Is it possible to insert energy sensor area for non essential loads as it is in load section?
Thanks a lot for this great project!

@blackbird0589 Could you please paste an example of the card how your seeing it ? And the inverters your using?
Here's an example from a site, using the setup for a Huawei inverter(s), in the purple card area is the 'Essential Load'.

As shown there, the box showing 132W / 136W is the Active Power for the Essential Load for the house. In the Huawei setup its slightly different as its based upon stripping out the Non-Essential and AUX power values, but for your question its fine.
Above there is where I'm using to display the Total Energy used for the whole house for the day (Non-Essential + Essential + AUX) , showing 37.7kWh... I presume your referring to that part of the card and getting the Essential_Load kWh used for the day into there?
If your trying to do the same thing, but for your Essential Load only, if your inverter brand doesn't provide a CT reading and monitoring for the Essential_Load by itself, then you need to have some other device to provide it (i.e. IoTaWatt or a Shelly EM etc). Once you have Power readings for that circuit(s) you can use the utility_meter in HA to define a template sensor calling it.
I prefer to use the Energy_Meter addon instead of utility_meter, with the former allowing tracking costs at the same time.
# IMPORT UTILITY METERS
# See: https://github.com/zeronounours/HA-custom-component-energy-meter

energy_meter:
  sunsynk_essential_energy_daily:
    unique_id: sunsynk_essential_energy_daily
    name: SunSynk - Essential - Energy Daily
    source: sensor.name-of-the-sensor-giving-your-essential-power-reading
    cycle: daily
    price_entity: &electricity-price sensor.electricity_price

Just swap energy_meter for utility_meter to use that, also the price_entity above is used to call another sensor with the cost of power from the grid at that moment, then work out the accruing cost for that sensor above and have a like names sensor for tracking the cost.  Just remove it if not wanted or if using the utlity_meter instead.
Once you've got that sensor going and showing your Essential_Load kWh used for the day, map it to the entity: day_load_energy_84:

@blackbird0589 this should already work. What issue are you having?. You can display any data there i.e. temp, energy power etc
essential_load1: sensor.daily_load1_energy
essential_load2: sensor.daily_load2_energy

I'm sorry, but I've made an mistake in my description. I'm using 'non essential load' area for displaying wallboxes and my question is if you could add a sensor for 'non essential loads consumption' like it is in the essential load area.

Ok I understand now.  Yes that cant be displayed at the moment, there just isn't any space.


Roll engine 3d2e9b24aa71..e40768c63a00 (1 commits)

https://github.com/flutter/engine/compare/3d2e9b24aa71...e40768c63a00
git log 3d2e9b24aa712ba60206e7ac392a709df0939635..e40768c63a00252062ea1061a6db9e756ccb65e8 --no-merges --oneline
e40768c63 Initialize next_pointer_flow_id_ to 0 (flutter/engine#9026)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Knob-like pitch and octave select

It can help choose the basic note of an individual synth

Here we go with  component!


Programmatically enable selection mode

Aside from the selection mode activation on long-press, my app also includes a dedicated button for this purpose, similar to Apple Photos. This design choice is based on the fact that Android users are accustomed to the long press, while iOS users expect a separate button for enabling the selection mode.
To enhance user experience, I would like to propose the addition of a function called dragSelectState.enableSelectionMode() or a similar method. This feature would provide a convenient way for users to activate the selection mode, regardless of their preferred method (long-press or button).
Of course it is essential to maintain the behavior of automatically ending the selection mode when the last photo is deselected.

Great idea!  As a android user I had no idea about iOS not really utilizing long presses.

Very nice 👍


Should _get_exc_class_and_code method have param entry for the docstring?

Currently the _get_exc_class_and_code method does not have :param: entry for exc_class_or_code.
If so, I can add :param: entry for methods which does not contain :param: entry.
https://github.com/pallets/flask/blob/d4b688bd035b9704b3168b28fed39c8fcfe3b997/src/flask/app.py#L1334-L1346

Sure, more docs are welcome.

@davidism Ok. Thanks. I think this should be only the one. The others need a new issue because I mentioned a method name in this issue.


The trained model can not be downloaded

http://vllab1.ucmerced.edu/~yli62/CartoonGAN/pytorch_pth/Hayao_net_G_float.pth
This url shows 404

https://github.com/maciej3031/comixify/tree/master/CartoonGAN/pretrained_model
It can be downloaded from this URL


Remove upgrade-per-user-key option from config

Remove upgrade-per-user-key from configurable places like CLI arg and json config. It remains in Env for tests.

go/chat tests pass locally. I think CI is playing dead.


Create Terraform deployment for application

Terraform can manage Kubernetes so the application can be deployed through it. However, it will need to be a container image and pushed to ECR so that Kubernetes can grab it.

Deployment is still broken but it might be since I dont have the provider block set.

Added provider block but now has new error failing on replicas so probably something is broken with the deployment itself or maybe a vpc/security group issue not sure.

The main issue with this after adding the provider block was the timeout with waiting for the ECR container. Since that kept failing k8s would hit its timeout. It didnt make sense that it was taking a long time for the deployment to show up. However, since it was waiting for the container to get pushed it ending up hitting the timeout value.

Not sure how to get to the app though. Need to figure out if something else needs to be added to the outputs or the right combination of url/ports needs to be found. Could be the networking needs to be adjusted as well.

So the load balancer hostname is indeed correct. Just have to add the port and endpoint. It does take a bit for it to become available so just have to be patience.


raftstore: fix not schedule split check

Signed-off-by: Little-Wallace<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close https://github.com/tikv/tikv/issues/10111
Problem Summary:
TiKV will schedule a task to get approximate size when the leader of TiKV tries to send a heartbeat message to PD but it finds that it has not gotten approximate size before. This task will reset the approximate size of peer and it will cause the condition of split check does not match. In these case, the regions will not split even if the TiKV restarts and ticks a split-check task again.
What is changed and how it works?
I just change the task type to split check task for heartbeat-pd.
Proposal: xxx
What's Changed:
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

Unit test

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note

No release note.

/run-cherry-picker

/run-cherry-picker


Carry over hash from literal maps in cache key computation

TL;DR
Until now, the hash of a literal map is not carried over into the representative literal map entering the cache key computation, despite the code clearly stating so.
This commit enables carrying hashes from LiteralMaps over by explicitly setting the hashes on the representer literal map.
Also fixes a shadowing bug in the key-value loop over the literal map, which happened since the value argument and the input name were both literal.
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[x] Any pending items have an associated Issue (there aren't any I guess)

Complete description
This came up during internal tests, where it broke existing tests when I changed from a single Literal to a LiteralMap in a type transformer with an explicitly set hash value.
Minimal reproducer:
# test.py
from flytekit import Literal
from flytekit.core.local_cache import _recursive_hash_placement
from flytekit.models.literals import LiteralMap, Scalar, Primitive

lit = Literal(
    map=LiteralMap(
        literals={
            "hello": Literal(scalar=Scalar(primitive=Primitive(string_value="hello"))),
        }
    ),
    hash="0xffff",
)

if __name__ == "__main__":
    print(lit)
# --> prints <FlyteLiteral map { literals { key: "hello" value { scalar { primitive { string_value: "hello" } } } } } hash: "0xffff">
    print(_recursive_hash_placement(lit))
# --> prints <FlyteLiteral map { literals { key: "hello" value { scalar { primitive { string_value: "hello" } } } } }>

This means that the _recursive_hash_placement function, which facilitates part of the hash key computation, silently scrubs hash values from input literal maps, which can cause involuntary cache hits if the values inside the map stay the same.
I would be happy for a discussion - maybe the repro can go in as a unit test in a suitable location.
Tracking Issue
N/A
Follow-up issue
N/A

Judging by the block handling the case of literal collections directly above, it will be the same situation for literal collections.
If the solution presented here is feasible, I can also fix the collection case if you'd like.

Thanks for working on this. This is indeed a problem that affects the local cache.
Let's add a few unit tests. Also, can you also fix the collections case?

a049425b75742cfe7647dc226145fad3bb201848 (hopefully) fixes the collection case and adds a unit test for both the literal map and collection. Let me know your thoughts!

How about remote cache?

How about remote cache?

In what way does the remote cache behave differently than the local one?

How about remote cache?

In what way does the remote cache behave differently than the local one?

Good catch. Initially I was under the impression that this would only affect the local cache, but that's not the case. The computation of remote cache keys happens here. It's also affected by a similar bug as the one fixed in this PR.

Thanks for the link. I can take that up as well if you want, in a separate PR to the plugins repo. What do you think?

That would be awesome. Thank you!


Overhead items

https://www.curseforge.com/minecraft/texture-packs/apple-overhead-addon not working(optifine 1.20.1 works without issues)

No logs and I'm not really willing to help with hacks or resourcepacks specifically designed to give players the upper hand.


openstack manifest stub

Can I found somewhere working 'stub.yml' file for OpenStack?
After few changes, generated cf manifest was deployed but some jobs are not running. I guess it can be because invalid properties or something in manifest.
Or maybe someone can provide example working cf-openstack-manifest?

The one on the docs website hasn't been updated yet, but you can check out the stub on the release-candidate branch:
https://github.com/cloudfoundry/cf-release/blob/eee7972f8874992fde2486d6636d11d03d59c73b/spec/fixtures/openstack/cf-stub.yml
Can you see if that works for you?

@pawel2-grape probably, it will interesting for you to take a look at cf-boshworkspace project, it is build around idea of using templates from cf-release.

Thanks for replies.
@amitkgupta I am checking this and I'll let you know if it's working or not.
@allomov in case of cf-boshworkspace, I'm just curious, can I generate entire manifest without deploying it to bosh? I was using this before with terraform on AWS but I'll check it again (if diego will be working with this I will be so happy:))

@pawel2-grape at this moment this functionality is not supported by the latest version bosh-workspace. Here a PR for this https://github.com/cloudfoundry-incubator/bosh-workspace/pull/35, but it was not accepted. I am going to work on it during this days.

Nice, I will be looking for this functionality, thanks :)

@amitkgupta I have tested stub file that you provided. After some changes in final manifest, CF was deployed (all vms are running). I've changed number of workers to 1 and removed all instances associated with cf2 network.
There are some errors (I cannot push an app) but it's not the subject of this issue:) I will try to make it work and let you know what was wrong.

@allomov I have deploy CF using cf-boshworkspace and manifest looks good. However I cannot push an app. There is an error when starting the app:
504 Gateway Time-out
The server didn't respond in time.

I was trying to push cf-env app. "cf logs cf-env" is empty...

@pawel2-grape glad your deploy worked!  If you're having new issues, do you mind opening a separate GH issue for that one.  You can add details there that are specific to that issue (e.g. CF_TRACE output).


I still don't know how to fix that...


0.26.3

Codecov Report

Merging #373 into master will decrease coverage by 0.61%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master    #373      +/-   ##
=========================================
- Coverage   92.92%   92.3%   -0.62%
=========================================
  Files          86      86
  Lines       17006   16910      -96
=========================================
- Hits        15802   15608     -194
- Misses       1204    1302      +98

Impacted Files
Coverage Δ

src/lib/command.rs
88.98% <0%> (-2.4%)
:arrow_down:

src/lib/scriptengine/rsscript.rs
22.22% <0%> (-77.78%)
:arrow_down:

src/lib/scriptengine/rsscript_test.rs
40.76% <0%> (-45.39%)
:arrow_down:

src/lib/scriptengine/mod_test.rs
83.15% <0%> (-13.19%)
:arrow_down:

...c/lib/installer/rustup_component_installer_test.rs
85.91% <0%> (-8.46%)
:arrow_down:

src/lib/command_test.rs
85% <0%> (-8.34%)
:arrow_down:

src/lib/installer/cargo_plugin_installer.rs
74.68% <0%> (-7.82%)
:arrow_down:

src/lib/installer/cargo_plugin_installer_test.rs
88.63% <0%> (-4.65%)
:arrow_down:

src/lib/scriptengine/mod.rs
88.88% <0%> (-3.71%)
:arrow_down:

... and 23 more

Continue to review full report at Codecov.

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


v1.3.9 SMTP timeouts in Docker

Checklist

[x] I have read and tried the steps outlined in the Troubleshooting Guide
[x] I have searched through existing issues.

Description

Using mailtrap.io as SMTP provider, tried their sandbox and production config, two different smtp servers, and tried with regular Gmail with app password, same error occurs, attached image of error below.
I have triple checked parameters for env variables per documentation before asking for help here.
Platform

[x] Docker Image

Docker image I used is with edge tag, since it fixed the blank settings tab, which at the time of writing runs v1.3.9
App/Container Console Error

Config issue, sounds like your docker container doesn't allow outbound connections, make sure you didn't isolate it.
I just tested it myself with gmail smtp and it works.


apple/macbook-pro/12-1: PM: set cpuFreqGovernor and power Up/Down commands

fixes #211.
fixes #210.
Added default CPU governor "conservative" to enable gradually increasing/decreasing CPU freq, rather than using "powersave", which would keep CPU freq at 0.8Ghz.
Added power Up/Down PM commands which will unload and load brcmfmac on state change. This is not elegant way, to say the least.

Thanks!


Bugfixes on Android iBeacon monitoring

Changed beacon major and minor ids to String in BeaconRegionIBeacon to prevent parsing errors, removed unbind function

Someone should be handling these PRs.


Update README.md

Updated README.md with instructions for installing package with Bower

:+1: thanks


Add get_procedure_by_name interface

What do these changes do?

Related issue number

Fixes

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

Project coverage is 26.16%. Comparing base (b81e511) to head (9730f3b).
Report is 1 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #3681   +/-   ##
=======================================
  Coverage   26.16%   26.16%
=======================================
  Files         188      188
  Lines       17250    17250
=======================================
  Hits         4514     4514
  Misses      12736    12736

Continue to review full report in Codecov by Sentry.

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


New features

Can you rename this PR to reflect changes more explicit? E.g. Add static constructors, remove global instance


[6.x] Dynamic Vue components not importing

Setup:

Laravel Mix Version: v6.0.0-beta-3
Node Version: v14.13.0
NPM Version: v6.14.8
OS: macOS Catalina v10.15.6

Description:
I am using a CDN build of Vue v3.0.0 (not sure if this is relevant or not, but it is the global build).
Previously (Mix v5 & Vue v2), I was registering global Vue components in the following way within my app.js file:
Vue.component('v-button', () => import(/* webpackChunkName:'js/button' */ '../vue/components/button.vue'));

Then within my webpack.mix.js file, I would use the following:
mix.webpackConfig({
    resolve      : { symlinks: false },
    watchOptions : { ignored: /node_modules/ },
    output       : { publicPath: '/', chunkFilename: '[name].js?[hash]' },
});

mix.js('resources/js/app.js', 'public/js');

However, this no longer works in Mix v6 / Vue v3.
Instead, I've adjusted the code to account for changes to Vue's code in v3, and created a static factory class:
export default class CreateVueApplication
{
    static factory()
    {
        let app = Vue.createApp({ data() { return {} } });

        app.component('v-button', () => import(/* webpackChunkName:'js/button' */ '../vue/components/button.vue'));

        return app;
    }
}

Then, within my app.js file, I have the following:
import CreateVueApplication from './factory.js';

let app = CreateVueApplication.factory().mount('#app');

The result is two separate errors:

Single file vue components are split, but they are massive (1 MB in size, where as they were previously ~18 KB).
The SFC scripts are not loaded (added as scripts to the page head) when Vue encounters the relevant components on the page.

In addition, the following message is printed as a warning in the console:
[Vue warn]: Invalid VNode type: – undefined – "(undefined)" (7)
"
"
" at <VButton"
"id=\"delete\""
">"
"
"
" at <App>"

Have you gone through the update notes yet? Did you add mix.vue() to your webpack.mix.js file?

Yes, sorry, forgot to mention that I had added it and been explicit on the version number.
My revised webpack.mix.js looks like this:
mix.webpackConfig({
    resolve      : { symlinks: false },
    watchOptions : { ignored: /node_modules/ },
    output       : { publicPath: '/', chunkFilename: '[name].js?[hash]' },
});

mix.js('resources/js/app.js', 'public/js').vue({ version: 3 })

The console message in Chrome might provide some insight as it emitting the message "You are running a development build of Vue." This might indicate that Vue itself is being compiled into the component? Possibly accounting for the large file size?

Vue 3 async components require the use of defineAsyncComponent .
Try something like this:
app.component('v-button', Vue.defineAsyncComponent(() => import(/* webpackChunkName:'js/button' */ '../vue/components/button.vue')));

Thanks for the suggestion @thecrypticace, unfortunately, it didn't fix the issue.

The generated javascript files for each component are still 1MB +
The scripts are still not being loaded in the head tag.
The warning in the console is now slightly different: [Vue warn]: Invalid VNode type: – Symbol(Comment) – "(symbol)"

I also now receive the following error in the console:
Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating '_ctx.window.document')

I've been able to partially fix the issue by removing the CDN link and changing my app.js like so:
import { createApp, defineAsyncComponent } from 'vue';

app.component('v-button', defineAsyncComponent(() => import(/* webpackChunkName:'js/button' */ 	  '../vue/components/button.vue')));

Doing this removes all the errors and allows the components to load, however, I'd still like to be able to use the CDN.
I'm also able to confirm that nom run production causes the following error:
ChunkLoadError: Loading chunk 727 failed.

It also doesn't minify the individual component js files.

If you're using a CDN version of Vue the bundling won't work correctly. You'll have to treat vue as an external dependency using mix.autoload(…) but I've not tested that so I'm not sure what other gotchas there are. As for the chunk loading failure I'll take a look this evening and see what I can come up with.
In the mean time can you put up a sample repo with a reproduction of the problem?

That's interesting considering I never had an issue doing it with Vue v2 / Mix v5.
I've created a test repo here: https://github.com/mattkingshott/mix-vue-issue.
Thanks for all your help!

That's interesting considering I never had an issue doing it with Vue v2 / Mix v5.
Previously, Vue 2 imported the entire Vue bundle during the build process whereas in Vue 3, it will only import the methods and properties that you actually use.

Thanks for the test repo. That was helpful!
So it appears that manually setting the chunk filename output: { chunkFilename: '[name].js?[hash]' }, causes the component loading failure. It looks like the chunk is generated with /js/button as the name but app.js loads js/button. That seems like it could be a webpack bug.
See: https://github.com/thecrypticace/mix-triage/blob/332605c928b832b99176e442a6101d6a3d4c3ce2/2516-vue-async-chunks/webpack.mix.js#L14

Previously, Vue 2 imported the entire Vue bundle during the build process whereas in Vue 3, it will only import the methods and properties that you actually use.

Yeah, I'm just abandoning the CDN and importing / creating a vendor.js file

Thanks for the test repo. That was helpful!
So it appears that manually setting the chunk filename output: { chunkFilename: '[name].js?[hash]' }, causes the component loading failure. It looks like the chunk is generated with /js/button as the name but app.js loads js/button. That seems like it could be a webpack bug.
See: https://github.com/thecrypticace/mix-triage/blob/332605c928b832b99176e442a6101d6a3d4c3ce2/2516-vue-async-chunks/webpack.mix.js#L14

What's interesting is that I don't experience that on my main project. I have everything working other than running a production build...

For this following along, here is my current webpack.mix.js file:
const mix = require('laravel-mix');
mix.webpackConfig(webpack => { return {
    resolve      : { symlinks: false },
    watchOptions : { ignored: /node_modules/ },
    output       : { publicPath: '/', chunkFilename: '[name].js?[hash]' },
    plugins      : [new webpack.DefinePlugin({ '__VUE_OPTIONS_API__': 'true', '__VUE_PROD_DEVTOOLS__': 'false' })],
}});

mix.extract()
   .js('resources/js/app.js', 'public/js').vue({ version: 3 });

So is there a bug we need to address at this point, or am I free to close this issue?

Aside from the fact that you can’t do npm run production without getting the error I mentioned.
To be honest, I downgraded to Vue 2 / mix v5, so I’m not really able to confirm if the latest beta has fixed this.
On 10 Oct 2020, at 9:25 pm, Jeffrey Way <notifications<EMAIL_ADDRESS>wrote:
So is there a bug we need to address at this point, or am I free to close this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/JeffreyWay/laravel-mix/issues/2516#issuecomment-706606275, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMMOMCRECELP4VBMS2PYS3DSKC7J7ANCNFSM4SEYS4QQ.

Okay I've partially tracked this down. Webpack’s public path is set to / in the runtime and then it adds / to the beginning of the chunk filename resulting in //js/whatever.js as the public path is always prepended to chunk filenames. This is causing the loss of the host in the url when chunk loading. I'll see what I can figure out here.


drone ci crashed

error msg:
  {"time":"2018-06-12T03:45:54Z","level":"debug","message":"request next execution"} ctrl+c received, terminating process 2018/06/12 03:46:26 grpc error: done(): code: Canceled: rpc error: code = Canceled desc = context canceled {"time":"2018-06-12T03:46:26Z","level":"error","error":"rpc error: code = Canceled desc = context canceled","message":"pipeline done with error"} {"time":"2018-06-12T03:46:33Z","level":"debug","message":"request next execution"}
docker version:
Client:
 Version:      18.05.0-ce
 API version:  1.37
 Go version:   go1.9.5
 Git commit:   f150324
 Built:        Wed May  9 22:18:05 2018
 OS/Arch:      linux/amd64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      18.05.0-ce
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.9.5
  Git commit:   f150324
  Built:        Wed May  9 22:16:14 2018
  OS/Arch:      linux/amd64
  Experimental: false

drone docker-compose
version: '2'
 services:
   drone-server:
     image: drone/drone:0.8

     ports:
       - 8000:8000
       - 9000:9000
     volumes:
       - /var/lib/drone:/var/lib/drone/
     restart: always
     environment:
      - DRONE_OPEN=true
      - DRONE_HOST=http://<IP_ADDRESS>:8001
      - DRONE_GITLAB=true
      - DRONE_GITLAB_CLIENT=909f660d3b786aec5f2f60f9546ca8825097242667de85ac9985ef4f39ca140c
      - DRONE_GITLAB_SECRET=743b82165123fefdd74e1248330aeab99f5aa74a3dc8bb7c711aa75bb81d5c03
      - DRONE_GITLAB_URL=http://<IP_ADDRESS>:12080
      - DRONE_SECRET=123

   drone-agent:
     image: drone/agent:0.8

     restart: always
     depends_on:
       - drone-server
     volumes:
       - /var/run/docker.sock:/var/run/docker.sock
     environment:
       - DRONE_SERVER=drone-server:9000
       - DRONE_SECRET=123

drone ci example
https://github.com/drone-demos/drone-with-go
drone.yaml config
workspacs:
  base: /Users/zhuhaifeng/Desktop/workspace/gocode/
  path: src/drone-with-go

pipeline:
  backend:
    image: golang
    commands:
      - go test -v

https://github.com/drone/drone/blob/a85f89a3c188ea9eba0991c483bb2a2b9e855377/cmd/drone-agent/agent.go#L111


doc(howto): update csharp sample of @encode(string)

a follow up of https://github.com/Azure/autorest.csharp/issues/4919

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


TfL Bakerloo line on-board announcements

Link to announcements: https://transportforlondon.sharepoint.com/:f:/r/sites/ic-68268-j1v9/Ibus/Audio announcements/London Underground/TEMPORARY test announcements Bakerloo line 2023?csf=1&web=1&e=MVVSFf

Or just https://github.com/Rail-Announcements/tfl-bakerloo-line


added Joao Silva to Contributors list

@joaopfsilva, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?

@Roshanjossey I'm an active user in github for a while. However, and since I'm going to start working on projects with multiple contributors, I wanted to guarantee that my procedures were correct.  I didn't  feel any pain to follow the tutorial. Notwithstanding the 'upstream remote url' command I never used before so it was very helpful to me. Another thing I never used was the 'Project' tab, do you think that it could replace the Trello board?

We also have a slack team to help/mentor people trying to contribute to open source projects.
You could help others work on projects you're going to contribute to.
You can join the team by going to https://firstcontributions.herokuapp.com


Dependabot shouldn't open PRs if it will take a "good" id 😉

Over in React Native for Windows we were coming up on issue/PR 10,000. What a milestone for an OSS project!
Imagine our dismay when it ended up getting grabbed by dependabot: https://github.com/microsoft/react-native-windows/pull/10000
Dependabot should check that it isn't going to take a "good" id number by opening a PR. Maybe something like:
while (isPowerOfTen(nextID)) { sleep(0) };

See https://codereview.stackexchange.com/questions/117203/checking-whether-a-number-is-a-power-of-10 for options on defining isPowerOfTen().

Congratulations, 10K is an impressive milestone! 🥳
I'm a maintainer on a number of OSS projects, so I understand the urge to celebrate project milestones. Although I'm a little surprised as I rarely hear of projects celebrating the number of tickets/PRs... more typical is number of commits, or number of committers, or a particular release.
One difficulty with this feature request is that it leaves open-ended the question of "so what do we do if we've got a valid PR but on a 'special' number?" Because some (most?) project owners will want the immediate PR, and others will want to reserve it. Sure, we could build in a special config for reserved ID's, but by the time we roll that out, write tests, docs etc it takes a fair bit of work.
Given the work required and that this affects less than 0.01% of projects running Dependabot, I don't think it's worth putting our limited resources into.
Congratulations again on the milestone!


transparency causing viewing issues in mobile phone browser

Hi there,
I've set up a dashboard using your template (thank you for that). However, when I try to access my dashboard using a mobile phone, the transparency in the menu causes me to not see the menu options clearly.  Is there a way to update the settings so that the transparency is gone?
thanks!

Figured out the issue. It was because I was hard coding "height: 28px" in my css file to try and shrink the bar. Removing it fixed the issue.


deploy script is broken on 1.9.8

trying too run 1.9.8 and I see the yaml spitted out is malformed. I think its printing formatter                     format: BinarySI than actual storage size value .. Tried direct deploy which as expected gives same error.
cmd used pachctl deploy XXX ${BUCKET_NAME} ${STORAGE_SIZE} --dynamic-etcd-nodes=1 --output yaml --dry-run
Snippet below:
    volumeClaimTemplates:
      - metadata:
            annotations:
                volume.beta.kubernetes.io/storage-class: etcd-storage-class
            labels:
                app: etcd
                suite: pachyderm
            name: etcd-storage
            namespace: kubeflow
        spec:
            accessModes:
              - ReadWriteOnce
            resources:
                requests:
                    storage:
                        format: BinarySI
---

Hi Suneeta, this was due to a change we made in our YAML parser in 1.9.8. Obviously we're focused on getting this fixed as quickly as possible, but in the interim, if it's possible to run your deploy script without --output yaml then hopefully you'll be able to avoid this.

@msteffen Yep its not blocking me .. I got my way around .. thanks!
I was very excited to be trying your TFJob stuff :) Exciting!

Not only that, but the secret also got weird in yaml deploying to amazon using the same command as @suneeta-mall did:
kind: Secret
apiVersion: v1
metadata:
    name: pachyderm-storage-secret
    namespace: pachyderm
    labels:
        app: pachyderm-storage-secret
        suite: pachyderm
data:
    amazon-bucket:
      - 115
      - 116
      - 103
      - 45
      - 115
      - 111
      - 108
      - 111
      - 109
      - 111
      - 110
      - 45
      - 112
      - 97
      - 99
      - 104
      - 121
      - 100
      - 101
      - 114
      - 109
      - 45
      - 112
      - 114
      - 105
      - 99
      - 101
      - 101
      - 118
      - 97
      - 108
      - 117
      - 97
      - 116
      - 105
      - 111
      - 110
    amazon-distribution: []
    amazon-region:
      - 101
      - 117
      - 45
      - 119
      - 101
      - 115
      - 116
      - 45
      - 49
    max-upload-parts:
      - 49
      - 48
      - 48
      - 48
      - 48
    part-size:
      - 53
      - 50
      - 52
      - 50
      - 56
      - 56
      - 48
    retries:
      - 49
      - 48
    reverse:
      - 116
      - 114
      - 117
      - 101
    timeout:
      - 53
      - 109
    upload-acl:
      - 98
      - 117
      - 99
      - 107
      - 101
      - 116
      - 45
      - 111
      - 119
      - 110
      - 101
      - 114
      - 45
      - 102
      - 117
      - 108
      - 108
      - 45
      - 99
      - 111
      - 110
      - 116
      - 114
      - 111
      - 108
---

@msteffen did this get fixed in 1.9.9?

@JoeyZwicker it's not been fixed. I'm using 1.9.9 and I still have this issue.

@theomessin @JoeyZwicker @suneeta-mall @ronaldosaheki Hi all, this should be fixed by https://github.com/pachyderm/pachyderm/pull/4290, which will go out with 1.9.10 by the end of the week.
As before, apologies for throwing a wrench in the works and thanks for being patient with us.


Fix:full layout of app is updated after few seconds of launching app.

[Android] Fix: scroll position automatically changes after few seconds of launching app.
I tested and not able to find any difference. (or am i missing out something?)
BTW it also improved pref issues :)

Good catch. We didn't need that.


Add "fractions" to README.md and Cargo.toml keywords

Fixes #57
Should "AKA" be lowercase?
https://lib.rs/crates/num-rational seems to match README.md, which I edited. Hopefully editing the README will edit the crate description too.

Added "fractions" as a Cargo.toml keyword.

Thanks!
bors r+


How to wrap lines when adding custom plug-in names?

Where is the problem?
https://docs.konghq.com/gateway/2.8.x/plugin-development/file-structure/
What happened?
If we have a lot of plugins,It is very inconvenient to view.
How to wrap lines when adding custom plug-in names?

What did you expect to happen?
like this:
plugins = bundled,
my-custom-plugin1,
my-custom-plugin2
...
Code of Conduct and Community Expectations

[X] I agree to follow this project's Code of Conduct
[X] I agree to abide by the Community Expectations

Unfortunately I don't believe this is possible


Tags are not URL encoded

Create a tag with the name "test+tag"
Push this tag to the repository
View the Network and click on tag

This links out to http://localhost:7990/projects/PROJ/repos/repo/browse?at=test+tag which is not URL encoded and results in the object "test tag" not existing.
The proper link should be http://localhost:7990/projects/PROJ/repos/repo/browse?at=test%2Btag

There's a similar problem with # in tag names.

This repo is being archived. Thanks for your support along the way!


MSIX: update identity name and publisher

Update the MSIX manifest file with the official product identity.

Fix available in 0.15.0 https://github.com/microsoft/PowerToys/releases


Bring develop branch up to date with Master

In the future we need to make sure that any time we want to merge onto master we do it through develop. This should keep us from having to merge master back onto develop. As much as we can keep the data Flowing in one direction other->develop->master we will be able to have a good clean history. This will really help us down the road if we ever have problems.

I went ahead and did it this way because the only thing that actually changed in those 5 commits was a typo in README.md

Yeah it's ugly but it'll bring 'develop' back in line with 'master.


Resolve #51, use new asm! macro

Resolve issue #51
We replaced all the llvm_asm! call with the new asm! macro, which implies:

Use intel syntax by default (coherent with asm code used in the project)
We tried to choose the best option (nomem, nostack, etc...) for each call
"m" memory operand does not exist anymore, which implies passing reference address through a register

We tried to ensure the generated assembly stayed the same, using rust playground.

Awesome! I'll take a look at this tomorrow. Before merger though, I'd like some of these commits squashed, e.g.
92d1672 looks like a fix for an earlier commit, and f385de6 has the same commit message as c9e846f. But at a glance this looks really solid.

Awesome! I'll take a look at this tomorrow. Before merger though, I'd like some of these commits squashed, e.g.
92d1672 looks like a fix for an earlier commit, and f385de6 has the same commit message as c9e846f. But at a glance this looks really solid.

I rewrote the history, and squashed the two or three commits that were the same.

I rewrote the history, and squashed the two or three commits that were the same.

Ok, reading through these changes it looks good to me. I had one concern, which is that in a few places we no longer express that the rflags register is clobbered by the asm. However, it appears that is not possible to specify, as it is implied unless preserves_flags is set (per https://github.com/rust-lang/project-inline-asm/issues/5). Does that align with your understanding of things? I'm not that familiar with the new asm stuff (but it certainly seems nicer to use than llvm_asm).
Thanks again for working on this.

Ok, reading through these changes it looks good to me. I had one concern, which is that in a few places we no longer express that the rflags register is clobbered by the asm. However, it appears that is not possible to specify, as it is implied unless preserves_flags is set (per https://github.com/rust-lang/project-inline-asm/issues/5). Does that align with your understanding of things? I'm not that familiar with the new asm stuff (but it certainly seems nicer to use than llvm_asm).
Thanks again for working on this.

I'm going to go ahead and merge this. Thanks for the contribution!

I'm going to go ahead and merge this. Thanks for the contribution!

Thanks for merging it. What you figured about preserves_flags matches our understanding of the new macro. It seems that the new options of the asm! macro are defined as opposites of the old llvm_asm ones such as no options is nearly always at least correct and then you can optimize by providing more information (like nomem, nostack, pure, preserves_flags, etc).

Thanks for merging it. What you figured about preserves_flags matches our understanding of the new macro. It seems that the new options of the asm! macro are defined as opposites of the old llvm_asm ones such as no options is nearly always at least correct and then you can optimize by providing more information (like nomem, nostack, pure, preserves_flags, etc).


Fix types in ArbitraryTuple

From #127: is anyone brave enough to put some sanity in the types of this class? Typescript supports variadic tuple types ever since v4.0, but we are clearly not using them correctly, and so we have a lot of unsafe casting going around.

After spending an afternoon trying to fix this, I created the following minimal example:
interface Wrap<Value> {
  pick(): Value
}

class WrapConstant<Value> implements Wrap<Value> {
  constructor(public readonly a: Value) { }
  pick(): Value { return this.a }
}

type Unwrap<Wrapped> = { [P in keyof Wrapped]: Wrapped[P] extends Wrap<infer Value> ? Value : never }

class WrapTuple<Tuple extends Wrap<unknown>[], Value = Unwrap<Tuple>> implements Wrap<Value> {
  readonly ts: Tuple
  constructor(...t: Tuple) { this.ts = t }

  pick(): Value { return this.ts.map(a => a.pick()) }
}

type T0 = WrapTuple<[WrapConstant<number>, WrapConstant<string>]>
type T1 = Unwrap<[WrapConstant<number>, WrapConstant<string>]>

new WrapTuple(new WrapConstant(1), new WrapConstant("hello")).pick()

The pick() in WrapTuple doesn't type check, although the types at the call site are inferred correctly (see T0 and T1). I opened a question in stack overflow.


RCMPROJ-5893: Test that content timeout works in Indy

RCMPROJ-6007: Test Quartz-based timeout of cached remote content
RCMPROJ-6008: Test CacheProvider-based timeout of cached remote content
As 6007 and 6008 is very similar with only differences in validation, I merged these two into one file ContentTimoutWorkingTest.
But I've tested and found that for RCMPROJ-6008 it is not working as well, which means the file still exists when timeout, and the lastModified did not change too.
Per above and mentioned, I've marked the test as @Ignore.

Hi John,
Please ignore this PR because i want to do some refactor to split these two tests to different method. Will give new PR later.


To add a convertor to convert decimal to 2421 code

Describe the solution you'd like

To add a convertor to convert decimal to 2421 code

Hi, I want to work on this issue I will start working on it as soon as I get assigned!! I am a part of GSSoC'21.
Kindly assign this issue to me!
Discord Username : Abhijeet Sinha(P)
Discord Tag: #4018

This code is not widely used

Yes sir i agree that it is not widely used but i thought that we should have all convertors in website

Go ahead
Deadline 14 April,2021 (11:59 PM IST)


GitHub pull request template: Update chart best practices link

What this PR does / why we need it:
The link was a 404, the files got moved to a different location.
Checklist
I assume all of the usual checklist items are irrelevant to this PR.

/assign @unguiculus

@Krenair thanks for the correction.
On Helm we use a DCO to show that you have permission to contribute. This requires git signoff (which is different from crypto signing). The checks tab at the top has directions on fixing this. Can you please correct this issue.

/ok-to-test

/lgtm


Unable to ping client from server

I wasn't sure whether to open this on Nyr's page or this one, but I'm using your fork of the script.
I have been trying to forward a port over from the OpenVPN server to a client but I haven't been able to get it to work. I have net.ipv4.ip_forward = 1 for both the client and server, at first it was just the server and it didn't work still. I'm running OpenVPN on an openvz vps with Tun/tap, PPP, and IPSec enabled, at first it was just tun/tap.
Host is running Centos 7, Client is Ubuntu 16.04, I didn't run this script on the client, only server. I had followed this tutorial for setting up OpenVPN on the client though  http://www.htpcguides.com/force-torrent-traffic-vpn-split-tunnel-debian-8-ubuntu-16-04/
I am able to connect to the vpn and ping ip addresses and domain names, as well as ping the server from the client. I can't however ping the client from the server. <IP_ADDRESS> is my client IP and <IP_ADDRESS> is the server IP from within the VPN.
At first using the default script without modifying, When I would try to ping the client from server, it wouldnt show anything, like it was blocking ping but still resolving. I had then tried this http://securityblog.gr/2131/forward-ports-to-openvpn-clients-in-centos/ with no luck, using the openvz version. So I had tried out this on Nyr's issue page Nyr/openvpn-install#190 and https://github.com/Nyr/openvpn-install/issues/211#issuecomment-258063856 but then after doing that, pinging the client shows
From <IP_ADDRESS> icmp_seq=5 Destination Port Unreachable

instead. I'm not sure what to do now. I basically wanted to port forward the port 32400 to the client from server to use by the client.

Same as #17?

I can ping a client from the server as of now.


Added More Programming Courses in Hindi

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

The title as given by the source is "C Language Tutorial For Beginners In
Hindi (With Notes)".
On Sun, Oct 25, 2020 at 12:31 AM Eric Hellman<EMAIL_ADDRESS>wrote:

@eshellman commented on this pull request.
In free-courses-hi.md
https://github.com/EbookFoundation/free-programming-books/pull/4671#discussion_r511503423
:

@@ -16,11 +16,13 @@

C
+* [All C Concepts with Free Handwritten Notes | Hindi] (https://youtu.be/ZSPZob_1TOk) - Harry
title is C Language Tutorial For Beginners In Hindi (With Notes)
We need the title as given by the resource so we can avoid duplicates.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/pull/4671#pullrequestreview-516299779,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJXNGO4UPL2VD7SFWTR553DSMMQB7ANCNFSM4S5KP46A
.


CI/CD pipeline - Test new application instances

Currently validating the new DEV and TEST environments with development team.


How to add http/2.0 headers to the OnRequest callback function

use r.Headers.add() directly,  will be prompted with "net/http: invalid header filed name..."

I don't think it's exposed in Go net/http library.
What are you trying to accomplish, anyway? The :path: thing is set automatically from the URL, for example.


Remove deprecated coordinator dynamic configs

Changes
Remove config decommissioningMaxPercentOfMaxSegmentsToMove

It is a complicated config 😅 ,
It is always desirable to prioritize move from decommissioning servers so that they can be terminated quickly, so this should always be 100%
It is already handled by smartSegmentLoading (enabled by default)

Remove config maxNonPrimaryReplicantsToLoad
This was added in #11135 to address two requirements:

Prevent coordinator runs from getting stuck assigning too many segments to historicals
Prevent load of replicas from competing with load of unavailable segments

Both of these requirements are now already met thanks to:

Round-robin segment assignment: This ensures that asssignments in a single coordinator run happen very fast
Prioritization in the new coordinator: Load of unavailable segments is always prioritized over load of under-replicated segment
Modifications to replicationThrottleLimit: The replicationThrottleLimit now ensures that for any tier, the sum of the number of replicas in load queue at start of a coordinator run and the number of replicas assigned during the run is always within the limit. So, it can perform the same function as maxNonPrimaryReplicantsToLoad except replicationThrottleLimit is per tier.
smartSegmentLoading (enabled by default) takes care of all of the above without requiring the user to change any config

Pending

Cluster testing

Release note
Remove deprecated coordinator dynamic configs:

decommissioningMaxPercentOfMaxSegmentsToMove
maxNonPrimaryReplicantsToLoad
These configs are not needed anymore as smartSegmentLoading automatically ensures the optimal behaviour in the underlying scenarios.

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[x] added documentation for new or modified features or behaviors.
[x] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Thanks for the review, @AmatyaAvadhanula !


[#2117] feat(server): Introduce block count in buffer pool metrics

What changes were proposed in this pull request?
Introduce block count in buffer pool metrics.
Why are the changes needed?
(Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.)

Fix: #2117
Does this PR introduce any user-facing change?
Yes. block_count_in_buffer_pool metrics introduced.
How was this patch tested?
By dashboard server metrics popup page.

@kuszz This PR base on the addLabeledCacheGauge API finished by you, you can create a new PR about that code.

Codecov Report
Attention: Patch coverage is 51.72414% with 14 lines in your changes missing coverage. Please review.

Project coverage is 52.37%. Comparing base (7e84a1a) to head (79df183).
Report is 1 commits behind head on master.

Files with missing lines
Patch %
Lines

...g/apache/uniffle/common/metrics/SupplierGauge.java
0.00%
10 Missing :warning:

.../apache/uniffle/common/metrics/MetricsManager.java
0.00%
2 Missing :warning:

...rg/apache/uniffle/server/ShuffleServerMetrics.java
50.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2118      +/-   ##
============================================
+ Coverage     43.83%   52.37%   +8.53%
- Complexity        0     2730    +2730
============================================
  Files            21      444     +423
  Lines          2537    20693   +18156
  Branches          0     1896    +1896
============================================
+ Hits           1112    10837    +9725
- Misses         1352     9169    +7817
- Partials         73      687     +614

Flag
Coverage Δ

52.37% <51.72%> (+8.53%)
:arrow_up:

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

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


Fix access error while reading project files.

This PR will fix an exception occurring from unauthorized access of a sub-directory in scanDirs
This will close #174
I created a new function for error handling and returned empty arrays to keep the sequence expression in scanDirs relatively the same. I was unsure what to do when encountering an exception so I decided to add similar logging logic to what's already present in the repository.
I'm unsure how I would add tests for this.
Any feedback would be much appreciated!
(I forgot to create a new branch on my fork... sorry about that)

Yeah, it does seem that testing this would be hard to do. If you have a local repo where this error exists, you could build this project and drop the built DLL into the FSAC install you're using (for Ionide this would be in the ~/.vscode/extensions/ionide.ionide-fsharp-VERSION/bin/ folder, specifically in both the net6.0 and net7.0 subfolders of that folder), then restart the server. Since you didn't make any API-level changes it should just drop right in.

I've tested it locally and it's partially fixed. However, there seem to be a few more instances of these exceptions. I'll work on fixing them. Thanks for the advice!

That should be it. The issue no longer occurs locally.

Awesome! Thank you for taking the time to dig into this, I expect this was a common-but-hard-to-debug error for many users.

I'll work on making a release of this later today so we can flow it into FSAC. There are other FSAC fixes we want to release as well so this should roll up into those.


Support socket_sendmsg() and socket_recvmsg()

Functions have been added in PHP 5.5.
See RFC: https://wiki.php.net/rfc/sendrecvmsg

As much as I'd love to work on this myself, there are currently no immediate plans to build this from my end (no demand at the moment and more important outstanding issues currently). If you need this for a commercial project and you want to help sponsor this feature, feel free to reach out and I'm happy to take a look.


WIP: added 1 npm install per workflow

This is how I approached this problem with yarn and caching.. Not completely sure that it solves the issue that we are currently facing.
closes #353
This should actually speed up our circle CI as it will not go thru setting up stuff on each job. It will only do setup/install prior to running our workflow jobs

no progress for long time, closing now
Feel free to reopen it it's up to date 🙂


Correct typo in develop metric_list

The metric list yields an error without a "," trailing the metric_list parameter
What is this PR?
This is a:

[x] documentation update
[ ] bug fix with no breaking changes
[ ] new functionality
[ ] a breaking change

All pull requests from community contributors should target the main branch (default).
Description & motivation

Checklist

[x] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[x] BigQuery
[ ] Postgres
[ ] Redshift
[ ] Snowflake
[ ] Databricks

[x] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have added an entry to CHANGELOG.md

Tenets to keep in mind

A metric value should be consistent everywhere that it is referenced
We prefer generalized metrics with many dimensions over specific metrics with few dimensions
It should be easier to use dbt’s metrics than it is to avoid them
Organization and discoverability are as important as precision
One-off models built to power metrics are an anti-pattern

Without the trailing comma my_metric_yml develop metric, when queried, will yield the error Compilation Error in rpc request (from remote system.sql) expected token ',', got 'grain' line 35 grain='month' in BigQuery but resolved when added.


Restructure source for Python

The directory structure is not consistent for standard Python projects. Additionally, a setup.py and requirements.txt should be added in as well.

Pull requests #105


Using KeychainAccess for saving UUID and store after reinstall app

Hi,
I am looking solution for have same ID for device even when user delete app and then install it again. I found that others are using keychain for this. But I've read about some problems that sometimes Keychain returns nil and the second problem could be that ID from keychain would be shared across devices and I really don't want that. I guess that when I set synchronizable to false that there shoudn't be second issue. But what about first one? Is it possible that sometimes Keychain returns nil even if there are saved data? For example link here: https://github.com/soffes/sskeychain/issues/75  Should I combine this with NSUserDefaults? When app is launched for first time get ID from keychain and save it to NSUserDefaults for other needs. Thanks for help

I think that Keychain returns nil is very rare case.

Ok, thanks for answer. My usage of KeychainAccess:
func getUUID() -> String {
    let userDefaults = NSUserDefaults.standardUserDefaults()
    if let uuid = userDefaults.objectForKey(Constants.UserDefaults.UUID) as? String {
      return uuid
    } else {
      let keychain = Keychain(service: Constants.Keychain.Service)
      if let token = try? keychain.getString(Constants.Keychain.UUID) {
        if let tkn = token {
          userDefaults.setObject(token, forKey: Constants.UserDefaults.UUID)
          return tkn
        } else {
          return  self.generateNewUUID()
        }

      } else {
        return self.generateNewUUID()
      }
    }
  }

  func generateNewUUID() -> String {
    let userDefaults = NSUserDefaults.standardUserDefaults()
    let keychain = Keychain(service: Constants.Keychain.Service)

    let UUID = NSUUID().UUIDString
    userDefaults.setObject(UUID, forKey: Constants.UserDefaults.UUID)
    userDefaults.synchronize()
    keychain[Constants.Keychain.UUID] = UUID
    return UUID
  }

If it is okay you can close this. I am use it this way and for now without problem.

Hi LiborZ,
Did setting the synchronizable to false help prevent the Keychain from being shared among devices through iCloud?

Nope. Is it enought to change in both methods code to:
let keychain = Keychain(service: Constants.KeyChain.Service).synchronizable(false)
or do I need to do more changes? Thanks


Initial mongodb validator for line-list case data

This validator is missing a bunch of things, but it's a solid first attempt that at least validates everything's types, required fields, and some of the basic values.
It's still missing things like:

Requiring one field or another (for source data)
Actual dictionary values
Maybe a better way of doing nested validation? (i.e. the location validation is redundant between location and travel_history.location)

Btw this is for use in importing existing data, not in the server -- lmk if you want it to live somewhere else, like in a data-import dir or something

I'm assuming the action failures are unrelated?

As far as I can tel? @attwad wdyt?

Yeah it seems like github still had issues running actions, I reran them manually now and they passed. LGTM.


setStyle

I would like to set the style of the layer, I was trying:
var myStyle = {color:'red', fillColor:'orange', radius: 4, apacity: 1.0, fillOpacity: 1.0, weight: 2, clickable: false};
var geojsonLayer = L.geoJson.ajax(myLayer, {style: myStyle});
Does not seem to allow for the style option?
Cheers, Ben

the example has a curly braces missing:
L.geoJson.ajax(urlToLayer, {pointToLayer: function (feature, latlng) {
    return L.circleMarker(latlng, myStyle);
}
});

and that works! :D
txs


Add Indiana

Indiana aggregates all but one of its counties' address points files in a single file, available via an ArcGIS service, and documented fully. Somebody who knows what they're doing can add us-in.json using this information. :)

Thanks, Ian!


mvnd fails if there is no .mvn/ dir in the user home

Right after mvnd --install, mvnd fails with the following error:
$ mvnd --version
Maven Daemon 0.0.0 (native)
Exception in thread "main" java.lang.IllegalStateException: Could not detect maven.multiModuleProjectDirectory by climbing up from [/home/tasato] seeking a .mvn directory. You may want to create a .mvn directory in the root directory of your source tree.
	at org.jboss.fuse.mvnd.client.Environment.lambda$findMultiModuleProjectDirectory$4(Environment.java:127)
	at org.jboss.fuse.mvnd.client.Environment$EnvValue.get(Environment.java:246)
	at org.jboss.fuse.mvnd.client.Environment$EnvValue.asPath(Environment.java:258)
	at org.jboss.fuse.mvnd.client.Environment.findMultiModuleProjectDirectory(Environment.java:131)
	at org.jboss.fuse.mvnd.client.ClientLayout.getEnvInstance(ClientLayout.java:45)
	at org.jboss.fuse.mvnd.client.DefaultClient.lambda$main$0(DefaultClient.java:69)
	at org.jboss.fuse.mvnd.client.DefaultClient.execute(DefaultClient.java:170)
	at org.jboss.fuse.mvnd.client.DefaultClient.main(DefaultClient.java:69)

Manually creating a directory .mvn/ in the user home solves the error, but it's handy if mvnd auto resolves it.

Yeah, I admit it's not especially robust, but we basically mimic, what stock Maven does in mvn.[sh|cmd]. The only substantial difference is that while Maven can do without maven.multiModuleProjectDirectory we cannot (or maybe we could?).

it's handy if mvnd auto resolves it.

I wonder how? I do not think we can reliably autodetect the top level directory of any random multimodule project.

I thought that mvnd could just mkdir $HOME/.mvn if it doesn't exist. Not sure if it's a silly hack or not though.

@tadayosi there's a misunderstanding here.  mvnd is looking for [project]/.mvn dir to detect the root directory of a multiproject module, not $HOME/.mvn.

No, .mvn directory is supposed to mark the root of a multimodule maven project and we cannot know where it is. The bottom line is that mvnd --version shouldn't really require a maven project at all.

Thanks for the explanation. So there are a couple of suggestions here:

Make mvnd --version (and possibly other non-project general options) not rely on .mvn/
For project-related commands, show more use-friendly message in the absence of .mvn/ tracing the dir hierarchy


[PE-D][Tester C] Cannot find student in the student list but not in the displayed list

These are the 2 existing students, Betsy and John.
After list, I do find Betsy. It displays a list of Besty only.

Then I do find jo be using the incomplete names, which is supposed to return Betsy and John as Betsy and John are both in the student list according to the user guide. However, it only shows Betsy.

What I intend to do is to do several times of searches ceaselessly over the whole list of students while the app only searches over the very latest list displayed. If I want to achieve what I intend to do, then I have to do list before find every time I want to search for some students over the whole list. Maybe it is better to fix the search range to be the whole instead of the latest displayed list.

Labels: severity.Medium type.FeatureFlaw
original: SweetPotato0213/ped#4

This is an intended feature, and we will need to explain this in the UG.

Turns out this issue was already addressed in the UG. Will add additional info.