C++ compilation of rule '//kythe/cxx/common:k\ zip_writer_test' failed

kythe/cxx/common/kzip_writer_test.cc:89:5: error: return type 'kythe::Status' must match previous return\
 type 'const kythe::Status' when lambda expression has unspecified explicit return type
    return OkStatus();
    ^
kythe/cxx/common/kzip_writer_test.cc:112:5: error: return type 'kythe::Status' must match previous retur\
n type 'const kythe::Status' when lambda expression has unspecified explicit return type
    return OkStatus();
    ^

Fixed by:
--- a/kythe/cxx/common/status.h
+++ b/kythe/cxx/common/status.h
@@ -87,7 +87,7 @@ class ABSL_MUST_USE_RESULT Status final {
 };

 /// \brief Returns a non-error status.
-inline Status OkStatus() { return {}; }
+inline const Status OkStatus() { return {}; }

 /// \brief Return a Cancelled error with the given message.
 Status CancelledError(absl::string_view message);

Thanks, this is #2873. Can you tell me a bit more about your setup? I haven't been able to repro it locally yet.

In particular, can you tell us what clang --version you are using?

I can repro with 3.5.2. This may be a bug in clang that's since been fixed.

#2877 should hopefully give you a working build again.

This is a compiler bug which we should fix by requiring a compiler without the bug.

Yes, at least 3.6. 3.5 is ancient. 3.6 is also pretty old, but is still a better choice.  3.8 and 4.0 should both be broadly available for distros as well.

Should I install clang-3.6?

I don't know if this particular issue is fixed there. I'm using 4.0.1, and would probably advise using at least 4. To your point, though, we should probably update the documentation to stipulate a higher version.

3.8 will work, but Ubuntu has a variety of clang's available including 4.0 (but it's the clang-4.0 package, rather than just clang).  You'll likely also have to set the CLANG environment variable to the path to the clang binary so the Bazel repository rules will pick the right version.

3.8 didn't work (on regular Ubuntu 16.04). I'll install clang-4.0 later
today or tomorrow and try again.
ERROR: $HOME/src/kythe/kythe/cxx/indexer/cxx/BUILD:367:1: Linking of rule
'//kythe/cxx/indexer/cxx:indexer' failed (Exit 1)
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/imputed_constructor_library_support/kythe/cxx/indexer/cxx/ImputedConstructorSupport.o:kythe/cxx/indexer/cxx/ImputedConstructorSupport.cc:function
kythe::ImputedConstructorSupport::InspectCallExpr(kythe::IndexerASTVisitor&,
clang::CallExpr const*, kythe::GraphObserver::Range const&,
kythe::GraphObserver::NodeId&): error: undefined reference to
'clang::NamedDecl::getQualifiedNameAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/indexer_pp_callbacks/kythe/cxx/indexer/cxx/IndexerPPCallbacks.o:kythe/cxx/indexer/cxx/IndexerPPCallbacks.cc:function
kythe::IndexerPPCallbacks::BuildNodeIdForMacro(clang::Token const&,
clang::MacroInfo const&): error: undefined reference to
'clang::SourceLocation::printToString[abi:cxx11](clang::SourceManager
const&) const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/kythe_graph_observer/kythe/cxx/indexer/cxx/KytheGraphObserver.o:kythe/cxx/indexer/cxx/KytheGraphObserver.cc:function
kythe::KytheGraphObserver::recordIntegerConstantNode(kythe::GraphObserver::NodeId
const&, llvm::APSInt const&): error: undefined reference to
'llvm::APInt::toString[abi:cxx11](unsigned int, bool) const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/proto_library_support/kythe/cxx/indexer/cxx/ProtoLibrarySupport.o:kythe/cxx/indexer/cxx/ProtoLibrarySupport.cc:function
kythe::GoogleProtoLibrarySupport::InspectCallExpr(kythe::IndexerASTVisitor&,
clang::CallExpr const*, kythe::GraphObserver::Range const&,
kythe::GraphObserver::NodeId&): error: undefined reference to
'clang::QualType::getAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/indexer_ast_hooks/kythe/cxx/indexer/cxx/IndexerASTHooks.o:kythe/cxx/indexer/cxx/IndexerASTHooks.cc:function
kythe::IndexerASTVisitor::RangeForNameOfDeclaration(clang::NamedDecl
const*) const: error: undefined reference to
'clang::DeclarationName::getAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/indexer_ast_hooks/kythe/cxx/indexer/cxx/IndexerASTHooks.o:kythe/cxx/indexer/cxx/IndexerASTHooks.cc:function
kythe::IndexerASTVisitor::BuildNodeIdForExpr(clang::Expr const*,
kythe::IndexerASTVisitor::EmitRanges): error: undefined reference to
'clang::APValue::getAsString[abi:cxx11](clang::ASTContext&,
clang::QualType) const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/indexer_ast_hooks/kythe/cxx/indexer/cxx/IndexerASTHooks.o:kythe/cxx/indexer/cxx/IndexerASTHooks.cc:function
kythe::IndexerASTVisitor::BuildNodeIdForTemplateArgument(clang::TemplateArgumentLoc
const&, kythe::IndexerASTVisitor::EmitRanges): error: undefined reference
to 'llvm::APInt::toString[abi:cxx11](unsigned int, bool) const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/indexer_ast_hooks/kythe/cxx/indexer/cxx/IndexerASTHooks.o:kythe/cxx/indexer/cxx/IndexerASTHooks.cc:function
kythe::IndexerASTVisitor::BuildNodeIdForTemplateArgument(clang::TemplateArgument
const&, clang::SourceLocation): error: undefined reference to
'llvm::APInt::toString[abi:cxx11](unsigned int, bool) const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/indexer_ast_hooks/kythe/cxx/indexer/cxx/IndexerASTHooks.o:kythe/cxx/indexer/cxx/IndexerASTHooks.cc:function
kythe::IndexerASTVisitor::RecordObjCInterfaceType(kythe::GraphObserver::NodeId,
bool, clang::ObjCObjectType const*, llvm::ArrayRefclang::SourceLocation):
error: undefined reference to
'clang::DeclarationName::getAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/marked_source/kythe/cxx/indexer/cxx/marked_source.o:kythe/cxx/indexer/cxx/marked_source.cc:function
kythe::GetDeclName[abi:cxx11](clang::LangOptions const&, clang::NamedDecl
const*): error: undefined reference to
'clang::Selector::getAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/marked_source/kythe/cxx/indexer/cxx/marked_source.o:kythe/cxx/indexer/cxx/marked_source.cc:function
kythe::MarkedSourceGenerator::GenerateMarkedSourceUsingSource(kythe::GraphObserver::NodeId
const&): error: undefined reference to
'clang::NamedDecl::getQualifiedNameAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/marked_source/kythe/cxx/indexer/cxx/marked_source.o:kythe/cxx/indexer/cxx/marked_source.cc:function
kythe::MarkedSourceGenerator::GenerateMarkedSourceUsingSource(kythe::GraphObserver::NodeId
const&): error: undefined reference to
'clang::SourceLocation::printToString[abi:cxx11](clang::SourceManager
const&) const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/marked_source/kythe/cxx/indexer/cxx/marked_source.o:kythe/cxx/indexer/cxx/marked_source.cc:function
kythe::MarkedSourceGenerator::GenerateMarkedSourceUsingSource(kythe::GraphObserver::NodeId
const&): error: undefined reference to
'clang::SourceLocation::printToString[abi:cxx11](clang::SourceManager
const&) const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/marked_source/kythe/cxx/indexer/cxx/marked_source.o:kythe/cxx/indexer/cxx/marked_source.cc:function
kythe::MarkedSourceGenerator::GenerateMarkedSourceUsingSource(kythe::GraphObserver::NodeId
const&): error: undefined reference to
'clang::SourceLocation::printToString[abi:cxx11](clang::SourceManager
const&) const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/marked_source/kythe/cxx/indexer/cxx/marked_source.o:kythe/cxx/indexer/cxx/marked_source.cc:function
kythe::MarkedSourceGenerator::GenerateMarkedSourceUsingSource(kythe::GraphObserver::NodeId
const&): error: undefined reference to
'clang::NamedDecl::getQualifiedNameAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/marked_source/kythe/cxx/indexer/cxx/marked_source.o:kythe/cxx/indexer/cxx/marked_source.cc:function
kythe::(anonymous namespace)::DeclAnnotator::Annotate(clang::NamedDecl
const*): error: undefined reference to
'clang::DeclarationName::getAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/semantic_hash/kythe/cxx/indexer/cxx/semantic_hash.o:kythe/cxx/indexer/cxx/semantic_hash.cc:function
kythe::SemanticHash::Hash(clang::TemplateArgument const&) const: error:
undefined reference to 'clang::QualType::getAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/semantic_hash/kythe/cxx/indexer/cxx/semantic_hash.o:kythe/cxx/indexer/cxx/semantic_hash.cc:function
kythe::SemanticHash::Hash(clang::TemplateArgument const&) const: error:
undefined reference to 'llvm::APInt::toString[abi:cxx11](unsigned int,
bool) const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/semantic_hash/kythe/cxx/indexer/cxx/semantic_hash.o:kythe/cxx/indexer/cxx/semantic_hash.cc:function
kythe::SemanticHash::Hash(clang::QualType const&) const: error: undefined
reference to 'clang::QualType::getAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/semantic_hash/kythe/cxx/indexer/cxx/semantic_hash.o:kythe/cxx/indexer/cxx/semantic_hash.cc:function
kythe::SemanticHash::Hash(clang::RecordDecl const*) const: error: undefined
reference to 'clang::QualType::getAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/semantic_hash/kythe/cxx/indexer/cxx/semantic_hash.o:kythe/cxx/indexer/cxx/semantic_hash.cc:function
kythe::SemanticHash::Hash(clang::Selector const&) const: error: undefined
reference to 'clang::Selector::getAsStringabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/vfs/kythe/cxx/indexer/cxx/KytheVFS.o:kythe/cxx/indexer/cxx/KytheVFS.cc:function
kythe::IndexVFS::status(llvm::Twine const&): error: undefined reference to
'llvm::Twine::strabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/vfs/kythe/cxx/indexer/cxx/KytheVFS.o:kythe/cxx/indexer/cxx/KytheVFS.cc:function
kythe::IndexVFS::openFileForRead(llvm::Twine const&): error: undefined
reference to 'llvm::Twine::strabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/vfs/kythe/cxx/indexer/cxx/KytheVFS.o:kythe/cxx/indexer/cxx/KytheVFS.cc:function
kythe::IndexVFS::FileRecordForPathRoot(llvm::Twine const&, bool): error:
undefined reference to 'llvm::Twine::strabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/indexer/cxx/_objs/vfs/kythe/cxx/indexer/cxx/KytheVFS.o:kythe/cxx/indexer/cxx/KytheVFS.cc:function
kythe::IndexVFS::setCurrentWorkingDirectory(llvm::Twine const&): error:
undefined reference to 'llvm::Twine::strabi:cxx11 const'
bazel-out/host/bin/kythe/cxx/common/_objs/lib/kythe/cxx/common/path_utils.o:kythe/cxx/common/path_utils.cc:function
kythe::RelativizePath(std::__cxx11::basic_string<char,
std::char_traits, std::allocator > const&,
std::__cxx11::basic_string<char, std::char_traits,
std::allocator > const&): error: undefined reference to
'clang::tooling::getAbsolutePathabi:cxx11'
bazel-out/host/bin/kythe/cxx/common/_objs/lib/kythe/cxx/common/path_utils.o:kythe/cxx/common/path_utils.cc:function
kythe::RelativizePath(std::__cxx11::basic_string<char,
std::char_traits, std::allocator > const&,
std::__cxx11::basic_string<char, std::char_traits,
std::allocator > const&): error: undefined reference to
'clang::tooling::getAbsolutePathabi:cxx11'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
On 27 July 2018 at 09:32, Shahms King<EMAIL_ADDRESS>wrote:

3.8 will work, but Ubuntu has a variety of clang's available including 4.0
(but it's the clang-4.0 package, rather than just clang). You'll likely
also have to set the CLANG environment variable to the path to the clang
binary so the Bazel repository rules will pick the right version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/kythe/issues/2874#issuecomment-408471719, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AhBmtaAaJXrRtx32YHWTz0gQ2hJFKkYzks5uK0CjgaJpZM4Vig7x
.

LLVM needs to be re-built with the same version

LLVM needs to be re-built with the same version

Specifically, I think that you'll need to
rm third_party/llvm/llvm/build
./tools/modules/update.sh

…after switching a compiler version.

Hmmm ... I think I did do tools/modules/update.sh but for whatever reason
it didn't rebuild llvm.
Shouldn't bazel clean --expunge reset everything anyway (plus bazel build
@local_config_cc//:toolchain)?
On 27 July 2018 at 10:03, M. J. Fromberger<EMAIL_ADDRESS>wrote:

LLVM needs to be re-built with the same version
Specifically, I think that you'll need to
rm third_party/llvm/llvm/build
./tools/modules/update.sh
…after switching a compiler version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/kythe/issues/2874#issuecomment-408479871, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AhBmtXYZomrbNWYfM6asu9JINfrKu_Kyks5uK0ftgaJpZM4Vig7x
.

Aha, I see, it's not enough to remove the symlink, but one must remove the whole directory:
rm -r third_party/llvm/llvm/build.*.*

As you say, though, starting from a fresh repo will also do the trick.

I don't think we can prevent the errors from clang-3.5, so I think a documentation fix will have to do.


WIP Dashboard page andy -AddCourse

@Andymendez100  what is this missing - just mobile responsiveness to get work started on the backend?

@Andymendez100 is this mobile-friendly yet? Or is this one that you need to offload? Let me know - thanks!

@dhuan008 can you please check this branch out and see what is missing? Check for responsiveness and check if anything is broken layout-wise. Thanks!

Sorry, Didn't notice comments. Responsiveness and functionality. But both are blocked by file drag concept I am implementing. Still WIP

Pushing this through so @VelazquezLuis can work on Media queries for page


hover on contributors page

Hover effect on contributors page . under jwoc 2024

It's good, but can you change the hover colour to something that is similar to the theme?
Like some darker shade like Chrome Yellow or Brownish.

Also, as the circle is getting bigger, you can make its colour just a little lighter.
It would give the impression of it getting closer to the user upon hover.

Also, as the circle is getting bigger, you can make its colour just a little lighter. It would give the impression of it getting closer to the user upon hover. @thesri Also, can you make it such that if the name is clicked, it redirects to the github page, currently, only clicking on the picture does that.

okay okay


Initial commit of wip from https://github.com/zio/zio-web/pull/90. #7

Co-authored-by: Brandon Brown<EMAIL_ADDRESS>Co-authored-by: Jason Pickens<EMAIL_ADDRESS>

@jdegoes this is a flattened version of the work currently in https://github.com/zio/zio-web/pull/90. I plan on working through the remaining work in the new couple of days.

I was wrapping up a zio-sql Pr and plan to look back at this one tomorrow!

@brbrown25 I think only a few changes are necessary for merging (mainly depending on ZIO JSON source, so the build will pass). If  we get this in, I don't mind doing the wrap up work myself. Any chance you can push this over the finish line?

@jdegoes most certainly I can get this build working tomorrow!

Awesome, thank you!

@jdegoes
I tried adding the git://github.com/steinybot/zio-json.git#bug/duration-encoder branch as a build dependency and it caused
Caused by: java.lang.ClassNotFoundException: org.scalajs.ir.ScalaJSVersions$
how ever publishing locally didn't give me any complaints. I've commented out the test and pulled in the latest main code. Unfortunately I'm not able to work any more on this at the moment but have really liked work on this and can't wait to come back for some more ZIO action!

@brbrown25 No worries, I'll take it over! Thank you for your work on this. 🙏

Closing this in favor of #28 for now.


syncer: sync region with statistics

What problem does this PR solve?
tidb-dashboard needs followers to know about the statistic of regions.
What is changed and how it works?
This PR support syncs regions with their statistics.
Check List
Tests

Unit test

Codecov Report

Merging #2197 into master will decrease coverage by 0.2%.
The diff coverage is 94.23%.

@@            Coverage Diff             @@
##           master    #2197      +/-   ##
==========================================
- Coverage   76.06%   75.85%   -0.21%
==========================================
  Files         196      196
  Lines       21104    21039      -65
==========================================
- Hits        16053    15960      -93
- Misses       3878     3897      +19
- Partials     1173     1182       +9

Impacted Files
Coverage Δ

server/cluster/cluster.go
81.64% <100%> (+0.47%)
:arrow_up:

server/region_syncer/server.go
81.25% <100%> (+1.76%)
:arrow_up:

server/region_syncer/client.go
82.11% <100%> (-4.1%)
:arrow_down:

server/core/region.go
91.26% <75%> (-0.27%)
:arrow_down:

server/server.go
80.18% <80%> (-0.54%)
:arrow_down:

pkg/etcdutil/etcdutil.go
78.26% <0%> (-10.15%)
:arrow_down:

server/schedulers/shuffle_hot_region.go
63.96% <0%> (-9.91%)
:arrow_down:

server/kv/etcd_kv.go
75.32% <0%> (-6.5%)
:arrow_down:

tools/pd-ctl/pdctl/command/scheduler.go
68.97% <0%> (-3.81%)
:arrow_down:

... and 13 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 2d4e14b...ff548f5. Read the comment docs.

/merge


AsyncWrite::poll_close should call the shutdown instead of flush?

https://github.com/stjepang/smol/blob/69c04a9e42ff51a47e2e5b7886d3126f2a545645/src/async_io.rs#L538
AsyncWrite::poll_close should call the shutdown instead of flush? Otherwise  it can't notify other end we have nothing to send.
I come across this issue when i split the TcpStream into ReadHalf and WriteHalf, then there is noway to call TcpStream::shutdown again, only can be done in AsyncWrite::poll_close.

Well you don't need to call split on TcpStream, because AsyncRead / AsyncWrite are implemented for &Async<TcpStream> too. You can use &Async<TcpStream> or std::sync::Arc or this Arc. With these you still have access to the shutdown method.
(This is just FYI. It might still make sense to change poll_close to shutdown the stream regardless.)

I  am concat two streams in two futures. To avoid two mutable borrow, it need to be split into reader and writer.
`
async fn concat_stream(src : TcpStream, dst : yamux::Stream){
let (mut src_reader, mut src_writer) = src.split();
let (mut dst_reader, mut dst_writer) = dst.split();
let a= async {
    io::copy(&mut src_reader, &mut dst_writer).await;
    dst_writer.close().await
};

let b= async {
    io::copy(&mut dst_reader, &mut src_writer).await;
    src_writer.close().await
};

future::try_join(a, b).await;
`
yamux::Stream  already works as expected, but TcpStream is not.
use min_specialization to fix it.
impl AsyncWrite for &Async<TcpStream> {     fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> {         poll_future(cx, self.write_with(|io| io.shutdown(Shutdown::Write)))     } }

What exactly is TcpStream in your code? If it's smol's Async<TcpStream>, I think you can do this (untested):
let a = async {
    io::copy(&src, &mut dst_writer).await;
    dst_writer.close().await
};

let b = async {
    io::copy(&mut dst_reader, &mut &src).await;
    src.get_ref().shutdown(Shutdown::Write)
};

I think we should fix this and shutdown the stream when poll_close() is called.

To be clear, i am using the async_std::TcpStream, there is no way to access the underlying Async.

To be clear, i am using the async_std::net::TcpStream, there is no way to access the underlying Async<TcpStream>.

It should work too, because Read and Write are implemented for &TcpStream: https://docs.rs/async-std/1.6.2/async_std/net/struct.TcpStream.html#impl-Read-1
There is also a Clone implementation, so you don't need any Arc even if you need owned clones.

Well, async_std::net::TcpStream has a Clone implementation, that is good. Then there is no need to split,  use clone instead, then call TcpStream::shutdown, the problem solved.
But not every stream can be cloned, and different concrete stream have different shutdown method name.  What if i have a more generic concat function.
async fn concat_stream<T1, T2>(x : T1, y : T2) where
    T1 : AsyncRead + AsyncWrite,
    T2 : AsyncRead + AsyncWrite,
{
}

The split version still works, but the clone version does not.

This is now fixed in async-io: https://github.com/stjepang/async-io


Adding React support

When trying to adopt controls from this library in React components it doesn't work out of the box. For example:

"class" as a reseved keyword in ECMAScript and in jsx/tsx, react uses "className"

boolean values as props will not be handled simply as expected, and should add falsy values as fallback.

custom event handler not work if attached in classic inline manner.

Are there any thought of creating some adapter or address these kind of differences?

There is a react example repo, although I forgot to mention it in the docs.
https://github.com/vscode-elements/react-example
These are the important parts:
https://github.com/vscode-elements/react-example/blob/main/src/global.d.ts
https://github.com/vscode-elements/react-example/blob/main/src/Demo.tsx
class and className: It's a bit confusing. React uses className for native elements, but class for web components.
Event handlers: React's event system doesn't work with custom events. This will be changed in the next version. Until then, you need to add event handlers "manually" using useEffect (see the example in the linked demo above). Publishing a react wrapper package with @lit/react is already on my to-do list.

Custom CSS and HTML data are also included with the package. It will also be published as a VSCode extension.
https://github.com/vscode-elements/language-support-extension
https://code.visualstudio.com/blogs/2020/02/24/custom-data-format

Thanks @bendera for your quick reply and examples! we'll take a look into it.

I have done with the React wrapper: https://github.com/vscode-elements/react-elements
You can also find a demo application in the repo.


Install failing

Here are the final lines of the sudo apt install howdy
Setting up howdy (2.5.1) ...

>>> Upgrading pip to the latest version

Traceback (most recent call last):
  File "/usr/bin/pip3", line 11, in <module>
    sys.exit(main())
TypeError: 'module' object is not callable
Error while running last command
dpkg: error processing package howdy (--configure):
 installed howdy package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.7-3) ...
Processing triggers for libc-bin (2.30-0ubuntu2.1) ...
Errors were encountered while processing:
 howdy
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Pop!_OS 19.10
Howdy version: 2.5.1
I have looked at the other issues, and I have not found anything which points to a solution.
I have also googled the errors, but TypeError: 'module' object is not callable is pretty generic.

I can not Confirm the Issue. I have installed howdy (over the PPA) on PopOS 19.10 and it works finde.

Please search for other issues with the same error trace, this issue has been reported already and a fix is in #265


Area Book

Martin, I love that you're looking at mirroring the missionary area book. I am a return missionary and have had multiple conversations with missionaries and other programmers about doing an area book for RMs someday just like this. If you ever want to bounce ideas off me or ask for input, I would definitely be interested looking into more of what you're doing. This would be a cool thing to be involved in.

That would be great! Shoot me an email and I'd love to talk about it


package.json link is broken

package.json link is broken

Hm, interesting. I can find that string only in the README.md. Looks like the thing responsible for rendering that tooltip fails at parsing markdown?
The package.json currently has no homepage or repository links, I'll fix that with the next release.

fixed


Changed look and a couple new features

I changed the look to make it a bit cleaner looking and make it so that if you dont type a url it googles whatever you put.

Very nice, thanks. Any plans on a way to stop the url_form.php elements from covering the top parts of webpages? Maybe some way to add a bar to the top of every page so that it gets covered instead.

hmm yeah that would be nice


When changing from one slide to another one, we should keep the lateral panel in the same state

I don't understand the issue here. Right now when I click a slide the pane remains open. Maybe it was an old issue?

?

Close it then, and we will open a similar one if we find something weird :)

:clap: ok :)


Bump golang version from 1.20 to 1.21

Description
This PR upgrade the golang version from 1.20 to 1.21

/rebase test=true

/rebase test=true

/merge


combined stop and speed control into one working version

combined stop and speed control into one working version, combining code from two different full requests.
speed function from a pull request
https://github.com/Marak/say.js/pull/21
// say stuff, speak
exports.speak = function(voice, text, callback, speed) {
  var commands,
    pipedData;

  if (arguments.length < 2) {
    console.log('invalid amount of arguments sent to speak()');
    return;
  }

  if (process.platform === 'darwin') {
    if (!voice) {
      commands = [ text ];
    } else {
      commands = [ '-v', voice, text];
    }
    if (speed) {
      commands.push('-r', speed);
    }
  } else if (process.platform === 'linux') {
    commands = ['--pipe'];
    pipedData = '(' + voice + ') (SayText \"' + text + '\")';
  }

stop function from a pull request on https://github.com/Marak/say.js/pull/10
exports.stop = function () {
  if (!child) {
    return;
  }
  child.stdin.pause();
  child.kill();
}

as well as
[https://github.com/thomascullen/voicebox/blob/6bffff743f86d9662c0a5f9e5d609b2e45216e13/say.js]

Thanks for combining the previous two PR's, though I'm going to try to merge the original authors works.


[BUG] i can't do daily set

idk why but the bot do that since 1 week
Description
2023-11-28 13:36:51,595 [INFO]<EMAIL_ADDRESS>2023-11-28 13:36:53,392 [INFO] Using default request storage
2023-11-28 13:36:53,416 [INFO] Created proxy listening on <IP_ADDRESS>:54740
2023-11-28 13:36:53,416 [INFO] Using undetected_chromedriver
2023-11-28 13:36:56,405 [INFO] patching driver executable C:\Users\hoho\appdata\roaming\undetected_chromedriver\undetected_chromedriver.exe
2023-11-28 13:36:57,203 [INFO] Screen size: 1595x1126
2023-11-28 13:36:57,204 [INFO] Device size: 1540x975
2023-11-28 13:36:57,283 [INFO] [LOGIN] Logging-in...
2023-11-28 13:37:01,449 [INFO] [LOGIN] Writing email...
2023-11-28 13:37:02,717 [INFO] [LOGIN] Writing password...
2023-11-28 13:39:29,701 [INFO] [LOGIN] Logged-in !
2023-11-28 13:43:48,704 [INFO] [LOGIN] Ensuring login on Bing...
2023-11-28 13:43:56,423 [INFO] [LOGIN] Logged-in successfully !
2023-11-28 13:43:56,423 [INFO] [POINTS] You have 5 650,00 points on your account
2023-11-28 13:43:56,424 [INFO] [DAILY SET] Trying to complete the Daily Set...
2023-11-28 13:48:56,773 [ERROR] TimeoutException: Message: timeout: Timed out receiving message from renderer: 299.410
(Session info: chrome=119.0.6045.160)
Stacktrace:
GetHandleVerifier [0x006E72A3+45731]
(No symbol) [0x00672D51]
(No symbol) [0x0056880D]
(No symbol) [0x0055ABF2]
(No symbol) [0x0055AA9A]
(No symbol) [0x005597F2]
(No symbol) [0x00559FFA]
(No symbol) [0x00563882]
(No symbol) [0x00570BAA]
(No symbol) [0x00573BA6]
(No symbol) [0x0055A52C]
(No symbol) [0x00570AC0]
(No symbol) [0x005CB8C3]
(No symbol) [0x005B7DD6]
(No symbol) [0x005931F6]
(No symbol) [0x0059439D]
GetHandleVerifier [0x009F0716+3229462]
GetHandleVerifier [0x00A384C8+3523784]
GetHandleVerifier [0x00A3214C+3498316]
GetHandleVerifier [0x00771680+611968]
(No symbol) [0x0067CCCC]
(No symbol) [0x00678DF8]
(No symbol) [0x00678F1D]
(No symbol) [0x0066B2C7]
BaseThreadInitThunk [0x76AD7BA9+25]
RtlInitializeExceptionChain [0x7731BD2B+107]
RtlClearBits [0x7731BCAF+191]
Traceback (most recent call last):
File "C:\Users\tomma\Downloads\MS-Rewards-Farmer-3.1-stable\main.py", line 32, in main
earned_points = executeBot(currentAccount, notifier, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\tomma\Downloads\MS-Rewards-Farmer-3.1-stable\main.py", line 183, in executeBot
DailySet(desktopBrowser).completeDailySet()
File "C:\Users\tomma\Downloads\MS-Rewards-Farmer-3.1-stable\src\dailySet.py", line 18, in completeDailySet
self.browser.utils.goHome()
File "C:\Users\tomma\Downloads\MS-Rewards-Farmer-3.1-stable\src\utils.py", line 112, in goHome
self.webdriver.get(BASE_URL)
File "C:\Users\tomma\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init_.py", line 629, in get_wrapped
return orig_get(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\tomma\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init_.py", line 665, in get
return super().get(url)
^^^^^^^^^^^^^^^^
File "C:\Users\tomma\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\remote\webdriver.py", line 356, in get
self.execute(Command.GET, {"url": url})
File "C:\Users\tomma\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\remote\webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "C:\Users\tomma\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 299.410
(Session info: chrome=119.0.6045.160)
Stacktrace:
GetHandleVerifier [0x006E72A3+45731]
(No symbol) [0x00672D51]
(No symbol) [0x0056880D]
(No symbol) [0x0055ABF2]
(No symbol) [0x0055AA9A]
(No symbol) [0x005597F2]
(No symbol) [0x00559FFA]
(No symbol) [0x00563882]
(No symbol) [0x00570BAA]
(No symbol) [0x00573BA6]
(No symbol) [0x0055A52C]
(No symbol) [0x00570AC0]
(No symbol) [0x005CB8C3]
(No symbol) [0x005B7DD6]
(No symbol) [0x005931F6]
(No symbol) [0x0059439D]
GetHandleVerifier [0x009F0716+3229462]
GetHandleVerifier [0x00A384C8+3523784]
GetHandleVerifier [0x00A3214C+3498316]
GetHandleVerifier [0x00771680+611968]
(No symbol) [0x0067CCCC]
(No symbol) [0x00678DF8]
(No symbol) [0x00678F1D]
(No symbol) [0x0066B2C7]
BaseThreadInitThunk [0x76AD7BA9+25]
RtlInitializeExceptionChain [0x7731BD2B+107]
RtlClearBits [0x7731BCAF+191]
Expected Behavior
he should complete the daily set
Actual Behavior
he doesn't complete the daily set
Your Environment

Version used:3.1
Environment name and version (e.g. Chrome ver):119.0.6045.160
Operating System and version:Windows 11

same. also idk why but mine is almost always stopping at "Writing password". Most of times on the first account, but sometimes on the next account. Also happening with the original ms rewards farmer.

 If that does not work then you can remove the contents of the sessions folder and then go again.

 If that does not work then you can remove the contents of the sessions folder and then go again.

don't work and i use -v argument and the page keep loading until the bot close it

Pull a fresh copy of the updated files - rerun the requirements file - then report back.

 If that does not work then you can remove the contents of the sessions folder and then go again.

ok thanks now it work but the desktop point is 90 search it's too many no ?

Values were adjusted for multiple things - if you see issues I would suggest looking to see what files were updated OR pull a fresh copy and try again


Feature/subalbums

Just configured here on a fresh install. The first problem that comes to me, is that if you protect a top level album with a password, it will be asked again when you enter the sub-album. Then on several occasions, I was sent back to the home page, but with a "#identifier" afterwards, and this resulted in an empty page. Title is "Albums", like the home page, but everything is gone.

just install this branch on a fresh install
very usefull for me. I use it without password, so no problem. I hope this will be push in the main branch soon

Waiting for this to main branch.

I am really looking forward to this feature. I have a large Gallery3 site I want to recreate in Lychee. The structure is a simple two level (Album=year) -> (Subalbum=Happening) -> (Photos). This branch probably has all I need but I am reluctant to try it as I am afraid that it will break once the proper version is out. Do you think it is safe and future-proof to go for this now or should I wait on the real version?

@electerious do you have plan with the merge?

@electerious so no plans?

If this is not going to be merged should this be converted to plugin or extension? we really need this because it has so many use cases.

@electerious could you please say something?

Very excited to see this!

I've also been interested in this for a very long time now. It'll be an extremely useful and exciting feature. :)

@electerious still waiting for reply..

Does this mean that the latest version will support sub-albums?

I have been asking comment from @electerious for 8 moths now... annoying, but I'm still waiting..

This would be really nice to have.  I want to make a switch to Lychee for visual and performance reasons, but multi-level-deep albums is a hard requirement for me

Waiting..

Please :(

Would love to switch to Lychee, it looks great and is fast, unfortunately nested albums is a requirement for me. It looks like most of the work has already been done. Is it something you are still working on and if so is there any chance of a rough ETA?
Keep up the great work!
Thanks

is this coming to the new repo? https://github.com/LycheeOrg/Lychee

@haivala Yes, it will come to the new repo but since there's a issue with some of the pieces in this it needs deeper investigations

This PR will be closed because I'm not actively working on Lychee anymore. The repository of Lychee will stay available, but the main development continues under the Lychee Organisation. A fork maintained by the community.


limitedStore should purge oldest files rather than largest

This is less likely to cause issues for end users where they're uploading multiple large files in succession as it's currently causing files to 404 when uploads are being processed.

I agree that the current situation is not ideal. You can adjust the deletion order by modifying limitedstore.go (https://github.com/tus/tusd/blob/master/limitedstore/limitedstore.go). I would be happy to accept a PR for it but we don't have the resources right now for that on our own (especially considering that limitedstore is going to be removed in the next major version).

Closing this since the limitedstore package will be removed in the next release 1.0. See https://github.com/tus/tusd/issues/212 for more details.


lower case the images folder

images folder must be lowercased to match manifest when installing on Linux
alternately make the change to all paths in manifest

Feel free to submit a PR ;-)


doc(ja): translate CLI into Japanese

Summary
Partial work of https://github.com/biomejs/biome/issues/880 .
I've translated reference/cli.mdx.

I've noticed there are some default values missing in the docs. I think having a more consistent format for the documentation would really help make things clearer.
Test Plan

FYI This page is automatically generated from the source code, maybe it should not be translated

@ematipico Oh, I guess I couldn't check it properly... Thank you for pointing that out.
@sakimyto This file is automatically generated, so there is no need to translate it. I'm really sorry for the contribution you made 🙇

@nissy-dev Oh,OK.
I need to translate the other reference/vscode.mdx that I'm assigned to, right?

@sakimyto

I need to translate the other reference/vscode.mdx that I'm assigned to, right?
Yes. reference/vscode.mdx is not auto-generated, so t would be helpful if you could translate it.

@sakimyto We can always refer to this, so your work will not be in vain.


[11.x] Adds BackedEnum to PendingDispatch's phpDoc for onQueue, allOnQueue, onConnection, allOnConnection methods

We already accept BackendEnum in Queueable trait (ref #52604), however, PendingDispatch is missing the phpDoc for BackedEnum
This PR adds that ✌

@sethsandaru there's also \Illuminate\Bus\PendingBatch that could use the same treatment. Are you able to submit a PR for that?


[GraphSDK] Implement Graph and Page Structs

Acceptance Criterea

implement Graph and Page structs
Each struct should be self contained and expose methods to interact with them
Suggested methods for Page

new: initializing a page with page number and connections
contains: checks if a connection exists in the page
is_empty: checks if a page is empty
add: adds a connection to the page
remove: removes a connection from the page

Suggested methods for Graph

new: initializing a graph with privacy level and connection types
create_page: create a page with page number and existing connections
get_page: exposes a page with page number
get_connections: returns all connections with the pages that they are in
find: returns page number of a connection if it exists in the graph and None if not
add: adds a connection to a certain page
remove: removes a connection from a certain page

write tests

additional info
Data model and details are located at https://github.com/LibertyDSNP/frequency/blob/main/designdocs/graph_sdk.md

@aramikm -- qq regarding this for Graph operations:

add: adds a connection to a certain page
remove: removes a connection from a certain page

Should we remove "to a certain page" here for Graph? I'm thinking that for "add", the page to which we add a connection would be determined by internal optimization logic (and likely not until the time of final evaluation for update). For "remove", we should remove the connection from any page(s) we find it in. If a client wants to operate on a specific page, they can "get" the page and operate on it directly. Graph operations should be more holistic.
Agree?


file is too large

the files is so large the html,css part

ok ok I already noticed this issue , I can update html pages by removing repeating codes ,creating base pages and dumping all the CSS codes to the base page & extends to other html pages will decrease the size of the code .Thankyou again for mentioning that


Unable to open the usd in isaac sim

Hi,
I have tried to open the usd in the isaac sim but I got the error of
[Error] [omni.usd] Failed to open.
I am wondering whehter there is any ways to open these usds in the isaac sim 4.1.0. Thank you.

What USDs are you tryng to open?

Hi,
I downloaded the data from the link and tried to open the USD file in the Isaac sim 4.1.0, such as the sponge and got the error of ```Error] [omni.kit.window.file.file_window] Failed to open stage /home/lme/Downloads/og_dataset/objects/acorn/qkjrwt/usd/qkjrwt.encrypted.usd: Failed to open:/home/lme/Downloads/og_dataset/objects/acorn/qkjrwt/usd/qkjrwt.encrypted.usd

Thanks for replying! This is expected.
These USD files are encrypted because they can only be used within OmniGibson due to copyright reasons. You can use DatasetObject(category="acorn", model="qkjrwt") to load the object, which internally will decrypt the USDs for you. Let me know if you run into further issues.

@ChengshuLi hi，I am wondering how can I modify your object like the axis, or how can I make a similar object with similar Properties? I really need a tool for robot.


fix doc index

dial-augends-user was found in two places in the same document and has been fixed.

Thank you so much!


feat: load config and plugins from project

Fix #14
Fix #29

Test experience:

getting asked to update for a final time with legacy bookmarklet (change URL to):javascript:/* ** Helix Sidekick Bookmarklet ** */(() %3D> %7Bwindow.hlx%3Dwindow.hlx%7C%7C%7B%7D%3Bif(!window.hlx.sidekick)%7Bwindow.hlx.sidekickConfig%3D%7B"project":"Spark","host":"www.adobe.com","owner":"adobe","repo":"spark-website","ref":"main","byocdn":true,"hlx3":true%7D%3Bdocument.head.appendChild(document.createElement("script")).src%3D"https://sidekick-updates--helix-pages--adobe.hlx.page/tools/sidekick/app.js"%3B%7Delse%7Bwindow.hlx.sidekick.toggle()%3B%7D%7D)()%3B

(don't install the new bookmarklet from www.hlx.live, instead use):
with new bookmarklet: e.g. https://sidekick-updates--helix-pages--adobe.hlx.page/tools/sidekick/?project=Spark&giturl=https://github.com/adobe/spark-website

:tada: This PR is included in version 3.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Turn the Scijava kernel into a polyglot kernel

So the implementation is working. Bindings between engines are also synced which allow re-using variables between different languages in the same notebook.
The only think I am not happy with is the syntax color that is wrong because all the cells are now independent and I don't know how to set a language for an individual cell (is that even possible ?).

ping @ctrueden (if you have time)

For syntax highlighting, see this https://github.com/jupyterlab/jupyterlab/issues/2143

And here is a notebook example  : https://gist.github.com/hadim/f0916cfdd242c074c11f3f81a9487d76

@hadim This is awesome. It looks like it actually simplified matters, too.
For the syntax highlighting, perhaps we could create a new "meta-highlighter" that does the right thing based on the shebang at the beginning. I guess it depends on how the highlighter library works—how powerful it is.

Any reason not to merge it? (After fixing conflicts of course.)

Yeah, only the lack of syntax makes me not merge it. On the client side, it does not look that feature gonna come soon (see https://github.com/jupyterlab/jupyterlab/issues/2143).
If you want it I am ok to merge it. I guess we can live with Groovy syntax only for now.


feat!: change AVM PC to byte indexed

#9386  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dbanks12 and the rest of your teammates on  Graphite

Resolved by https://github.com/AztecProtocol/aztec-packages/pull/9582


Rename /opt/openshift to opt/app-root

https://github.com/sclorg/rhscl2dockerfile/issues/29

@humaton can you also update the path in the base-usage file.
https://github.com/openshift/sti-base/blob/master/bin/base-usage#L19

[test]

Sorry guys but I would not write tests in bash.

@humaton don't worry, I'm just using this PR as canary to test Jenkins ;-)

[test]

[test]

@humaton pls squash it into one commit, no point to have two separate commits with the same change.

LGTM

I would want to test all images before we merge this change so we know if we're broken or not.

@mfojtik +1
will manually test this change in all our images

@bparees @mfojtik I've applied and tested(manually) the change on all our sti images and it worked. Since that I've opened PR for sti-ruby,python,perl,php
Will also test the change on *-ex apps so we are safe on this change, since this is a pretty big change.

:+1: thanks @jhadvig -ex testing is a very good idea

Tested this change with all our sti images + rails/dancer/django-ex
Everything went without problem. Lets merge it :)


ENTITY parent doesn't work when running tests by "TestNG Test"

Hello,
I have xml with some parameters (childXML/base.xml):
<?xml version="1.0" encoding="UTF-8"?>
<parameter name="baseUrl" value="https://someurl.com"></parameter>
<parameter name="pass" value="sel"></parameter>

and I want to use these parameters in some suite xml (testng.xml):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"
[
<!ENTITY parent SYSTEM "src/main/resources/childXML/base.xml">
]>
<suite name="suite" verbose="2">
    <parmeters>&parent;</parmeters>

	<parameter name="ex" value="123"></parameter>

	<!-- TESTS -->
	<test name="test">
		<packages>
			<package name="tests" />
		</packages>
	</test>

</suite>

I use Eclipse Luna with TestNG plugin. I added testng.xml to the Windows -> Preferences -> TestNG -> Template XML File. When I run tests by TestNG Suite (right click on the testng.xml - > Run as -> TestNG Suite) everything works well. Problem appears when I try to run test by TestNG Test (right click on the project or test class -> Run as -> TestNG Test). I got this error:
java.io.FileNotFoundException: C:\eclipse\src\main\resources\childXML\base.xml
It seems that problem is in the relative path:
<!ENTITY parent SYSTEM "src/main/resources/childXML/base.xml">

I try with other combinations childXML/base.xml, ./childXML/base.xml, but it doesn't work. Maybe I doing something wrong, but I think it is a problem with TestNG or with the plugin.
Thank you in advance

I don't know how you expect it should work, but neither <parmeters> nor <parameters> are supported by TestNG.

http://xml.silmaril.ie/includes.html shows that it should be possible to do what you want, but as @juherr said you should remove the <parmeters> tag because that is not correct testng markup.

You need to mention the module: moduleName/src/main/resources/childXML/base.xml
or absolute uri:
 <!ENTITY parent SYSTEM "file:///C:/any_folders_to_your_project/module/selenium-tests/src/test/resources/childXML/base.xml">

3 / in the uri is not a mistake!
Now should work


Implement CustomDebugStringConvertible for CollectionViewDriver

Let's implement something similar to the existing debug descriptions for the view model objects.
Print:

options
viewModel
_emptyViewProvider?
_cellEventCoordinator?
view?

How should we prettify these outputs?
<ReactiveCollectionsKit.CollectionViewDriver: 0x6000033086e0>
CollectionViewDriver {
  options: CollectionViewDriverOptions(diffOnBackgroundQueue: false, reloadDataOnReplacingViewModel: false)
  viewModel:
    CollectionViewModel {
      id: grid_view
      sections:
        [0]:
          id: section_people_grid
          header: People (HeaderViewModel)
          footer: 1 people (FooterViewModel)
          cells:
            [0]: Noam Chomsky (PersonCellViewModelGrid)
          supplementary views:
            [0]: Noam Chomsky_badge (FavoriteBadgeViewModel)
          isEmpty: false
        [1]:
          id: section_colors_grid
          header: Colors (HeaderViewModel)
          footer: 1 colors (FooterViewModel)
          cells:
            [0]: blue (ColorCellViewModelGrid)
          supplementary views:
            [0]: blue_badge (FavoriteBadgeViewModel)
          isEmpty: false
      registrations:
        - ColorCellViewModelGrid (cell)
        - FavoriteBadgeViewModel (favorite-badge-view)
        - FooterViewModel (UICollectionElementKindSectionFooter)
        - HeaderViewModel (UICollectionElementKindSectionHeader)
        - PersonCellViewModelGrid (cell)
      isEmpty: false
    }
  view: <UICollectionView: 0x104014600; frame = (0 0; 402 874); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x600000cb4cf0>; backgroundColor = <UIDynamicSystemColor: 0x600001770c80; name = systemBackgroundColor>; layer = <CALayer: 0x60000024a700>; contentOffset: {0, -100.33333333333333}; contentSize: {402,<PHONE_NUMBER>3333337}; adjustedContentInset: {100.33333333333333, 0, 83, 0}; layout: <UICollectionViewCompositionalLayout: 0x102a08480>; dataSource: <ReactiveCollectionsKit.DiffableDataSource: 0x600000cb4a80>>
  emptyViewProvider: EmptyViewProvider(viewBuilder: (Function))
  cellEventCoordinator: <ExampleApp.GridViewController: 0x102a07e90>
  scrollViewDelegate: nil
  flowLayoutDelegate: nil
}

options: same line or multi lines?
viewModel: including CollectionViewModel { and } or not?
view: simple `<UICollectionView: 0x104014600> or current (more info)
emptyViewProvider: ?
cellEventCoordinator: <ExampleApp.GridViewController: 0x102a07e90> or nil
scrollViewDelegate: likes cellEventCoordinator?
flowLayoutDelegate: likes cellEventCoordinator?

Thanks @nuomi1! This initial output is looking great.

Let's do multiple lines for the options. In fact, let have CollectionViewDriverOptions conform to CustomDebugStringConvertible on its own, then from the driver, we can just print it directly.
I like what you have for the view model output
I think this is good for the view. However, let's make this the very last property in the list.
For EmptyViewProvider, yeah.... let's just leave how you have it for now.
Looks good
Yes, sounds good 👍
Yes, sounds good 👍


Do not use deprecated APIs.

Resolves kenokabe/markdown-stream/issues/12
[#12]

Thanks @kenokabe for included this. Can you push a new release to atom?


IntelliJ Idea and Webstorm Crashes when Performing Certain Actions

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit 2ead1fd22103ce065661555513bace5897083ded  (virtual-keyboard: emit event before finishing keyboard).
Date: Fri May 17 15:07:33 2024
Tag: v0.40.0-111-g2ead1fd2, commits: 4717
flags: (if any)
System Information:
System name: Linux
Node name: khoa-arch
Release: 6.8.9-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000
GPU information:
0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] [10de:1e81] (rev a1) (prog-if 00 [VGA controller])
os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
plugins:

Bug or Regression?
Bug
Description
When using Webstorm or IntelliJ Idea, certain actions will crash Hyprland.
How to reproduce

Open Webstorm
Access the menu bar by pressing ...
Should crash.

Crash reports, logs, images, videos
hyprlandCrashReport25351.txt
After Bisecting, first bad commit is: xdg-shell: move to new impl
commit 0cfdde3d1acbfbf698af17f6986fbc4d644214da

Same issue here on NixOS
 System/Version info
Hyprland, built from branch  at commit 3ac0e7ead1434c172f276a12f81da1eeb0dc4491  ().
Date: 2024-05-16
Tag: , commits:

flags: (if any)

System Information:
System name: Linux
Node name: xps
Release: 6.6.30
Version: #1-NixOS SMP PREEMPT_DYNAMIC Thu May  2 14:32:50 UTC 2024

GPU information:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08) (prog-if 00 [VGA controller])
0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] [10de:2820] (rev a1) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240515.33d1e75"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"

plugins:

ugh. Looks like an annoying UAF due to wlroots. This should be gone with #6086, so I won't fix this in main atm.

Sounds good, will leave open for visibility


Many addresses are missing file + line information

When using addr2line to find file and line information from a local Firefox build on macOS, many addresses end up without file or line information. Here's one example:

Download nsEmbedFunctions.o.
Look up addresses 0x104d and 0x1052.

Result:
cargo run --release --example addr2line -- -C -f -i --exe /Users/mstange/code/obj-m-opt/toolkit/xre/nsEmbedFunctions.o 0x104d 0x1052
    Finished release [optimized + debuginfo] target(s) in 0.18s
     Running `target/release/examples/addr2line -C -f -i --exe /Users/mstange/code/obj-m-opt/toolkit/xre/nsEmbedFunctions.o 0x104d 0x1052`
XRE_InitChildProcess(int, char**, XREChildData const*)
??:?
XRE_InitChildProcess(int, char**, XREChildData const*)
??:?

lldb finds file + line + column information for these addresses correctly: nsEmbedFunctions.cpp:740:34.
(Edit: unnecessary details elided, see next comment for atos getting it right)

More importantly, atos also finds the information:
atos -o /Users/mstange/code/obj-m-opt/toolkit/xre/nsEmbedFunctions.o 0x104d 0x1051 0x1052
XRE_InitChildProcess(int, char**, XREChildData const*) (in nsEmbedFunctions.o) (nsEmbedFunctions.cpp:740)
XRE_InitChildProcess(int, char**, XREChildData const*) (in nsEmbedFunctions.o) (nsEmbedFunctions.cpp:740)
XRE_InitChildProcess(int, char**, XREChildData const*) (in nsEmbedFunctions.o) (nsEmbedFunctions.cpp:744)

Does this only occur for object files? We don't currently process relocations.

Ah, yes, it's likely that this only happens for object files.
If I run dsymutil (which takes 3.5 minutes) and look up the corresponding address in XUL.dSYM, addr2line does find the correct filename + line information.
How hard would it be to add support for object files?

The dwarfdump example in gimli can handle them, so not hard to do in the addr2line example. I assume you want this in a library you can use too though?

We'll want to implement this for split debuginfo support in backtrace-rs too.

Not sure I completely understand the question, but I'd want addr2line::Context::find_frames to find this information in object files. Here's where I'm calling it.
(And I have homegrown split debuginfo code here which I'd love to replace with something from object.)

find_frames will work as long as the Reader supports relocations. You're currently using EndianSlice, which can't handle relocations. dwarfdump has its own Reader implementation, so that will need to be put in a library somewhere. It relies on object though, and gimli has tried to remain independent of object.
Thanks for the split debuginfo link, I plan to add that to object soon. I'm also aware of an implementation in https://github.com/mozilla/fix-stacks

Ooohh, I see. Thanks for the pointers!

I think I have everything I need then.

The problem doesn't seem to be related to relocations. If I comment out the call to add_relocations in the dwarfdump example, it still finds the lines.
And cargo run --release --example simple_line -- /Users/mstange/code/obj-m-opt/toolkit/xre/nsEmbedFunctions.o also works, and from what I can tell the simple_line example doesn't seem to handle relocations:
...
104a /Users/mstange/code/mozilla/toolkit/xre/nsEmbedFunctions.cpp:740:34
1052 /Users/mstange/code/mozilla/toolkit/xre/nsEmbedFunctions.cpp:744:16
...

I'm looking into it some more.

It's because of this check:
https://github.com/gimli-rs/addr2line/blob/a8757e5275ddc7c11c360a1b0c645bcbc2ae6c43/src/lib.rs#L478
The first line row starts at address 0 in this object. This check makes us ignore all the rows.

Ah right. So I'm pretty sure we need that check for executables, because I think the linker leaves the address at 0 for functions that are omitted, instead of deleting the line information (and same for DIEs). So maybe we need to set a flag on Context to say whether it is an object or executable file.

That check was added based on the investigation I did in https://github.com/gimli-rs/addr2line/issues/67#issuecomment-345502244.
This was when we were still using an interval tree, and so doing a lookup of 0 resulting in poor behaviour. It might be safe to delete the check now. I'll look into it a bit more.

Deleting the 0 check looks okay and matches other tools. I'll do a PR for that once #178 is merged.

Awesome, thank you!


Use es6 modules for node

If possible ofc.
("type": "module" in package.json)

Not supported by pnp (used by yarn)


[bug] libsoup-3.0-dev is missing from deps on Linux

Describe the bug
Hi,
After a lot of issues with CI, I figured that libsoup-3.0-dev should be listed as a dependency on https://beta.tauri.app/guides/prerequisites/#linux.
This helped to fix my debian 12 CI installation
Reproduction
No response
Expected behavior
No response
Full tauri info output
N/A

Stack trace
No response
Additional context
No response

Do you still have some of those errors on hand? Libsoup is a direct dependency of webkitgtk so it's generally not required to list it manually.

Do you still have some of those errors on hand? Libsoup is a direct dependency of webkitgtk so it's generally not required to list it manually.

Yes. This is what we had in our gitlab CI yml file:

apt update && apt install -yqq protobuf-compiler build-essential git curl wget file libssl-dev libayatana-appindicator3-dev librsvg2-dev nodejs

This is the error that came out:
The following warnings were emitted during compilation:
warning<EMAIL_ADDRESS>
error: failed to run custom build command for `soup3-sys v0.5.0`
Caused by:
  process didn't exit successfully: `/builds/xxx/zzz/target/debug/build/soup3-sys-9f003424d49fdf89/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=LIBSOUP_3.0_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:warning=
  pkg-config exited with status code 1
  > PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags libsoup-3.0 libsoup-3.0 >= 3.0
  The system library `libsoup-3.0` required by crate `soup3-sys` was not found.
  The file `libsoup-3.0.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
  The PKG_CONFIG_PATH environment variable is not set.
  HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `libsoup-3.0.pc`.
warning: build failed, waiting for other jobs to finish...

Do you still have some of those errors on hand? Libsoup is a direct dependency of webkitgtk so it's generally not required to list it manually.

Let me double check that. I think I have spotted that the soup was still missing even with webkitgtk installed. I'll get back to you.

@FabianLars it seems that I messed something up and you'r right, soup is indeed not needed.

I think I messed up on CI and forgot to include libwebkit2gtk-dev, this is why the soup was missing. Nevermind.


fix headings

First issue. Change Box divs to Headings where applicable.

Hello. This issue isnt very specific. Will every instance of a Box div be changed to a Heading?

Hello, I mostly just opened this issue as a first issue for this project - sorry it wasn't very specific. I've already addressed it - it was a minor styling change.

Hello, I mostly just opened this issue as a first issue for this project - sorry it wasn't very specific. I've already addressed it - it was a minor styling change.

All right no problem. Happy hacking


too many f**king things

added Mod type
added Mod.vue
a single mod page
added Modpack.vue
unfinished modpack page
navbar is sticky
navbar now has a back button
ModPreview component
a small preview of a mod
Modlist much faster at getting results
uses Promise.all now for HYPERSPEED mod result loading
update electron
vscode debugging
make the refresh button work
use .replaceAll in making a new instance and remove most special characters
use husky
after pull install hook
the Mod type in Schema.ts type property is now 'modrinth' | 'direct'
the mods field in instance.json now gets updated on mod download
debug reset settings button
use shelljs for instance making
recursivly creates paths

Unprofessionalism is not how you get what you want.

Unprofessionalism is not how you get what you want.

ok then

ok then

hows it now tehc

hows it now tehc


fix(accordion-native): content height

When accordion has dynamic content, the height was only measured at initial render. Therefore the content could never change.
This PR will fix this behaviour. See Support ticket #202419

@vadymv-mendix Fixed the unit test, though they dont run on my side, so i can not generate a new snapshot, can you have a look at it?


Add test and benchmark options

Being able to run tests with --verbose is sometimes useful.
Maybe testOptions (and a separate benchmarkOptions) is a better more generic approach?

testOptions and benchmarkOptions would be much preferred I think

OK. Separate strings and benchmarkOptions including --verbose by default sounds good to me, I'll take a look at some point.

I think making "mesonbuild.benchmarkOptions" default to ["--verbose"] instead of doing any magic in the logic of the extension will be best. Hopefully that makes sense.

Yeah, that's what I was getting at too.

One more thought: #48 pre-dated https://github.com/mesonbuild/meson/commit/9a1a5c2b74627d8d0476def0ae11848308994b5f so made more sense / was required back then.
Anyway, here's the testOptions and benchmarkOptions.


update require url format  on eng\templates\Azure.ResourceManager.Template\src\autorest.md

the template url does not fit the actual url format, since we want to create a project and replace the commit id in a automation script process. so we changed to the actual url format like  "https://github.com/Azure/azure-rest-api-specs/blob/main/specification/ProviderNameLowercase/resource-manager/readme.md" , what the automation process does is to replace the main to the commit id  user typed.

//cc: @ArthurMa1978, for awareness

@jsquire  description added.


Solps2

First draft of poloidal plotting method completed, needs some revising to correctly implement averaging.  Some new variables introduced to handle different magnetic topologies appropriately.

@Reksoatr have you made any progress on this? It'd be better not to have  PR's stalling for too long. Please push your latest work and we can "checkpoint" here for the moment. Thanks!

Thanks @Reksoatr for initiating this PR! Please open a new PR or let me know if you run into any problems with the new SOLPS-related functionality.


CFE-962: Refactor code to mock GCP tag service for UTs

PR contains below changes:

GCP Resource tags specific code refactoring to mock services to add unit test cases.
Added permissions required for fetching tags and creating tag bindings.
Removed checks for unsupported regions us-east2 and us-east3, as these are not officially regions and restriction has also been removed from bucket doc here

/retest

/retest

/retest

/test e2e-hypershift-conformance

In this PR's description, you list 4 things that changed here. Could you separate your commits to also be broken down into those 4 things you listed? The refactoring (which I appreciate) is very hard to review when it's lumped together with other changes. I left a few comments but have not been able to go through the whole thing yet.

The PR description had below conflicting changes listed and I have updated it (by removing (1)).

(1)Code changes to update status condition when adding tags was skipped due to buckets created in tags unsupported region
(2)Removed checks for unsupported regions us-east2 and us-east3, as these are not officially regions and restriction has also been removed from bucket doc here

I have also tried adding different commits for the specific changes. Please let me know WDYT.

/test e2e-aws-operator

/label docs-approved

/test e2e-hypershift

/test e2e-aws-operator

/test e2e-hypershift

Very nice work with the unit tests @bharath-b-rh, thank you for putting the time to write them well!
While I continue the work on reviewing this, could you provide some test instructions for QE? This way we're ready for the next step (QE testing) when the time comes. You will want to describe how to exercise the changes in this PR, and what to expect from the changes. It's probably best to do this in the reference Jira ticket, sometimes just a list of acceptance criteria might be enough to get QE started.
Thanks!

I had reached out to QE about the changes, and pre-merge verification was completed and qe-approved label is added. QE also has updated JIRA with the test results.
Also reached out to docs team to update below change.

Removed checks for unsupported regions us-east2 and us-east3, as these are not officially regions and restriction has also been removed from bucket doc here

/test e2e-aws-ovn-image-registry

/test e2e-aws-operator

/test e2e-gcp-ovn

/test e2e-gcp-operator

/test e2e-hypershift-conformance

/test e2e-hypershift

tests are failing with errors unrelated to changes and hypershift CI tests are for other PRs as well.

/test e2e-gcp-ovn

/retest

/lgtm

/label px-approved

/retest

/test e2e-hypershift-conformance

/test e2e-aws-operator

/test e2e-aws-operator

/test images


Is the calculation of the value vector incorrect?

Should this line of code be changed to noise_v = self.v_noise.weight[0] + v ?

The noise is added into the query itself to make the noised self attention.


Create GitHub releases

Would it be possible to create GitHub releases? I can see that the last official GitHub release was in 2017 : v1.7.3, or do you have a different release cycle?

We've stopped making github releases of libcalico-go since it's not a "product" deliverable.
What's your reason for wanting releases?

Closing due to inactivity, please add a comment if this is still an issue and we'll re-open it.


Fix/146-History-Homepage

The History page of the homepage was missing the actual description from the real website. I added as best I could and would appreciate feedback on how it looks, thank you.

I applied the suggested changes and some of my own, I hope it's better now! thank you


Evaluate a new usage for recent_slot in lookup table creation & cooldown

Problem
Address Lookup Tables make use of a recent_slot from the SlotHashes sysvar to both:

Ensure a valid recent slot has been provided to be used in the lookup table's derived address.
Calculate an appropriate cooldown period from the lookup table's deactivation to allow in-flight transactions referencing the lookup table to land before it's closed.

With the Address Lookup Table program moving to BPF, SlotHashes is no longer available as a sysvar. We can still perform calculations on a recent slot using the Clock sysvar, however,  we will have the following trade-offs:

Recent slots are no longer confirmed to be block-producing slots.
The cooldown period for deactivated lookup tables is no longer based on the number of blocks produced since deactivation, but simply slots passed, which could be tricky if many slots are skipped.

Solution
Determine the most appropriate way to handle the lookup tables' relationship with slots.
Land on one of the three approaches:

Use Clock and no longer concern the program with whether or not a block was produced at any particular slot or range of slots (currently in draft implementation).
Expose SlotHashes in the sysvars available to BPF programs in a way that won't blow the stack.
Break the Address Lookup Table program's ABI to require the SlotHashes account on creation/deactivation. This could be only required on deactivation. Creation could possibly still use Clock.

A few thoughts:
[A] What are the trade-offs of implementing solution 2?
It seems it is the only solution that would make the migration to BPF fully backwards compatible so it's worth exploring IMO but I'm not sure how much it would "blow up the stack".
[B] How about creating two ALT programs?
One that is fully backwards compatible and may be less performant with the BPF migration; and one that only uses the Clock sysvar and revisits the way we activate/deactivate ALT accounts to be more performant. That way we don't break any existing apps with the migration (both in terms of behaviour and API) but offer a better alternative for new apps or apps that explicitly want to migrate.
I'm not too sure how feasible it is on the validator side to recognise accounts from multiple ALT programs but thought I'd throw that idea in the ring.

@lorisleiva Hey thanks for weighing in!
[A]: I agree this one is the most sensible, if we definitely can't use Clock. We'd have to introduce a SIMD proposal to expose some additional sysvar information to BPF programs. The nice thing about going this route is if other Core BPF programs need certain unobtainable sysvar data, we'd be able to expose everything all the programs need in one change.
In order to not blow the stack, all we'd really need to do is expose a pointer to the data, and leave the iteration/deserialization up to the program author.  In our case with ALT, we could use the existing binary search available in SlotHashes::get() or iterate over the slots top-down. The list is ordered, so for our use case of simply "checking how many slots have passed" for cooldown, we'd probably not use much compute.
[B]: This is an interesting idea.
Firstly, it's not that it wouldn't be performant, but rather it would be a behavioral change for managing cooldown periods for deactivated lookup tables. Using Clock, it's no longer based on block-producing slots, so even if the Core BPF version is 100% backwards compatible from an ABI standpoint, the cooldown behavior would have changed. We can't use SlotHashes like the builtin does without [A]. The second implementation in [B] would likely be one that requires the SlotHashes account, which would behave the same as the original builtin but require that extra account on deactivation.
From what I can tell it wouldn't be much work to support this. From some initial poking around I don't see strict ownership requirements for AddressLookupTableAccount in V0 messages. It seems the important thing is to make sure the state adheres to the AddressLookupTableAccount layout. However, we might end up in SIMD territory if we need to modify the checking of ownership as well as cooldown periods within the runtime.
I tend to lean more towards [A] since going the route of [B] doesn't seem to result in either ALT program being 100% backwards compatible for ABI and function. However, there might other interesting reasons [B] would be useful to explore.

@buffalojoec Thanks for the detailed response Joe.
I think we're both on the same page that if we can ship [A] (without deserialising by default to save CUs), that would be ideal all round and would eliminate the need for [B] altogether. [B] might just be something to keep in mind as we migrate more native programs to BPF.

I've merged the current implementation, which uses Clock as mentioned above in the issue description.

Land on one of the three approaches:

Use Clock and no longer concern the program with whether or not a block was produced at any particular slot or range of > slots (currently in draft implementation).
Expose SlotHashes in the sysvars available to BPF programs in a way that won't blow the stack.
Break the Address Lookup Table program's ABI to require the SlotHashes account on creation/deactivation. This could be > only required on deactivation. Creation could possibly still use Clock.

However, I'm willing to continue discussions on the other two approaches, as well as @lorisleiva's points mentioned above.
I think out of all the programs whose instruction interface we can introduce a breaking change to, Address Lookup Table seems to be the least dangerous, but we should still proceed with caution if we decide using real SlotHashes is necessary.
Alternatively, I've created a draft syscall PR that vends the original program's use of SlotHashes through the invoke context's SysvarCache.
https://github.com/buffalojoec/solana/pull/14

Just some follow-up here. As of right now, the program is still using Clock as described. However, should SIMD 0127 be approved, we can use that new syscall to revert this program back to its original cooldown behavior.

SIMD 0127 is in, and @2501babe has rolled the implementation! So now I'll add a SlotHashes implementation using the new syscall and this will be fully backward-compatible!
Thanks @lorisleiva for the discussion here!


HTTPS Wiki page is out-of-date

https://github.com/square/okhttp/wiki/HTTPS lists the built-in connection specs but doesn't mention RESTRICTED_TLS:
https://github.com/square/okhttp/blob/911a625cd5c2a98d721daa5c0f3945674b707500/okhttp/src/main/java/okhttp3/ConnectionSpec.java#L97-L101
Also, the Wiki mentions falling back to COMPATIBLE_TLS, but I could not find evidence of this in the code.

Yeah, wow that’s quite out of date. Can fix.

I've fixed https://github.com/square/okhttp/wiki/HTTPS, but no offense taken if you edit further.  I'll update this page when either JDK 11 or Conscrypt is released with TLS 1.3 support.


[v3] reduce global style conflicts with external components

Description
Hi teams,
I've referenced the following issues: #2613, #2764, and #3099. This change aims to reduce conflicts with outer-land styles and components.
I introduce cascade layers that unlayered styles can take precedence over Nextra's predefined styles. This approach seems to resolve issues like https://github.com/shuding/nextra/issues/747#issuecomment-1341362631. At the same time, it prevents Nextra's unlayered styles from inadvertently overriding user-defined CSS layers.
The current priority order is as follows:

nextra-utilities (highest)
nextra-components
nextra-base (lowest)

To avoid conflicts with the focus-visible style in external components, I added a nextra-focus-ring class to replace the original element selector. Users can choose in the theme config's focusRing option whether to apply it to all elements or selectively opt out using the not-nextra-focus-ring class name.
As shown in the image below, when the focusRing option is false, the focus-visible style comes from the user agent settings.
I believe this modification is more aligned with the design system docs. As seen with kuma-ui, some components are currently affected by Nextra's focus ring, which might confuse some users.
Feel free to close this if the approach is not suitable.

I will make some modifications for fewer changes and better consistency, so I have turned it back to a draft. 🙏

@87xie I am OOO currently and will go to the graphql conf next week, will review once will have some free time

Thanks for letting me know! No rush. I’ll go ahead and close this PR for now and split the content into separate PRs. This should make it easier to review and help avoid conflicts.


Fixes overlapping progressbar

Fixes issue #831 and refactors about_us dialog by using dialog factory method.

@rohanagarwal94 please rebase with upstream and then add commits


Custom home route with data to /home view

protected $redirectTo='brandadmin/home' is set for default home. But i am unable to send my data on the view.
I have tried   Route::get('/home','BrandAdminController@index')->name('brandadmin.home');
also in web.php but its not working.
How can i send my custom data to /home view in multi auth system.???

have the same issue

you can use your "user" file into route folder , to passing data to "home" view

yeah that works...thanks.


Master

Updated the sources for the “All notifications” option so that it
only displayed the notifications for the apps that the user has
permissions for.

If the user is an admin account, it will get a list of all apps
notifications.

I have completed adding User-Level Permissions for Push Notifications. =)
Thanks!
Sandy Davis

Can you merge into the develop branch instead of master?

How do I merge it into the develop branch instead of the master?

When I click that, what button do I click to merge them?? Because all it says "Able to merge, these branches can be automatically merged."

Do I just create another pull request??

Ah, I do the merging - you just have to issue a merge (pull) request to develop, instead of master.

Do I do this from my project page?

Yes

Ok, well I did that... and now it gives me a button to merge the pull request....

Go here: https://github.com/boboldehampsink/pushnotifications/compare

I can't do anything on that page. It doesn't allow me to create a pull request from there.
Maybe I need to create a new pull request that connects my project to your projects "develop" branch??

I'm clueless

Ok. I did it from my master to your develop branch. Did that work?? I'm clueless too... I've never done any of this in Github.
Sorry....


Remove (unused) status_old field from offers model

Remove (unused) status_old field from offers model

Codecov Report

Merging #1000 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

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


test PR with Github API

Please pull this in!

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

File
Status
Preview URL
Details
Dependent Files

node-azure-tools.md
:white_check_mark:Succeeded

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


Feature/homepage styling

I made some styling changes while I was working on my own and added a footer. When I saw that Chiemeka had made one as well I merged his in and deleted mine. Styling for it is a bit different now as everything broke with his was inserted, but all the content is still there.


Update DeltaSharingClient

Update DeltaSharingClient.scala to use the new listAllTables REST API.

The DeltaSharingRestClientSuite is failing in main after https://github.com/delta-io/delta-sharing/pull/63 due to the test setup change. This PR fixes the test and also simplifies the implementation of DeltaSharingClient.listAllTables.


Internal webtrees directories are exposed

Some directories that are not expected to be published are available via browser.
Steps to reproduce:

Prepare a database container called "mysql"
Launch container docker run -d -p 8443:443 --name webtrees --link mysql:db dtjs48jkt/webtrees:v2.0.5-1
Open https://localhost:8443 in browser, set up: database details, user and example tree
Open https://localhost:8443/data/config.ini.php. A semicolon is displayed.

According to Webtrees github:

In the unlikely event you do fetch the file (you will just see a semicolon), then that protection is not working on your site and you should take some further action.

This should be fixed with PR #18
The release version will be v2.0.5-2.

Docker Image v2.0.5-2 is available on docker hub.
Thank you for your contribution.


Bug : Expected full stops at the end of each feature's description.

Describe the bug
Absence of full stops at the end of each feature in Home page. I have attached the screenshot of it you can see below inside the screenshot section.
Link- Link here of that home page.
Expected behavior
As you can see in the screenshots , there should be full stop after each description of features in Home page.
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser - Chrome
Version - v0.1.79

Please assign this issue to me.

@ayushrakesh what do you mean by "full stops" at the end?

means there should be full stops in feature's description ,in main page (home).  I have provided screenshot.

@ayushrakesh for example, instead of "Get started in minutes, without having to change a single line of code. Just select an observability backend and thats it" -> "Get started in minutes, without having to change a single line of code. Just select an observability backend and thats it**.**"?

@ayushrakesh for example, instead of "Get started in minutes, without having to change a single line of code. Just select an observability backend and that's it" -> "Get started in minutes, without having to change a single line of code. Just select an observability backend and that's it . "?

Exactly what I meant and for all cards also..

great, you can do it :) @ayushrakesh


hook-use-state rule doesn't allow omitting unused setter

Thanks for implementing the new hook-use-state rule! I'm excited to use it on my team's codebase to enforce consistently-named [state, setState] pairs.
Occasionally we have code like this:
const [ constantValue ] = useState(() => expensivelyComputeConstantValue());

We use useState for this because it's the most straightforward way to guarantee that the initializer is run only once. While there may be more idiomatic ways to do this depending on the use case, I don't see a practical downside to using useState this way, so I think would be helpful if the hook allowed this pattern. What do you think about changing hook-use-state so that a one-argument array is considered correct?

The proper thing to do here is useMemo, not useState.

As we understand it, useMemo currently runs the function only once, but doesn't guarantee that it'll always behave that way in the future. Hence we're using useState instead.

Of course it does? It's based on the provided dependency array.

If the value depends on the props, then react should be free to recalculate it whenever it wants.
if it doesn't, then why is it computed inside the component? Memoize it at module level, with your own memoization helper.

Why is computing a unique ID expensive? That's definitely the kind of thing useMemo is meant for.

would it be in character for the React lint plugin to suggest switching from useState to useMemo if it detects that the state setter isn't being used?

That definitely shouldn't be an autofix, but it's a reasonable suggestion for the rule to make, sure!

I have to raise a pattern I use sometimes, for incomplete code that is to be completed later:
const [thing, _setThing] = useState(null);

It violates react/hook-use-state because of the variable naming, but I think an option to allow leading underscore on either of the variable names might be nice to have.

Seems like it'd be more obviously a TODO to add an eslint override comment instead?

I still feel the rule could accept a ignorePattern like eslint core rule no-unused-vars takes as it's essentially the same, a unused var. I configure that eslint rule like this:
no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, caughtErrorsIgnorePattern: ^_, destructuredArrayIgnorePattern: ^_, ignoreRestSiblings: false}]

So for consistency sake with that config, I would suggest :
  react/hook-use-state: [2, {ignorePattern: ^_}]

Having a rule take a regex string is a very dangerous path that results in a ton of CVEs, so I wouldn't want to replicate that.

If you are afraid of regex runtime, you can use https://github.com/sindresorhus/super-regex, but generally I think eslint configs are unlikely to receive untrusted inputs.

I agree, but they are highly likely to get CVEs about untrusted inputs, which cause a lot of churn and cost.
That package (along with all of that author's packages) aren't viable options, since they're ESM-only.


Inaccessibility Issues with Sites using Cloudflare Turnstile (e.g., chat.openai.com, kick.com)

What is your Scenario?
We're using testcafe-hammerhead as a core part of our testing infrastructure. Our project involves interacting with various websites during testing, some of which use Cloudflare Turnstile for verification purposes (e.g., https://chat.openai.com/ and https://kick.com/). We've been encountering issues accessing these sites.
What is the Current behavior?
Currently, when we attempt to interact with sites that use Cloudflare Turnstile, we're unable to gain access despite successful verification. Upon clicking on the verification, a 'Success' message is displayed, but the site remains inaccessible and does not proceed beyond the verification page.
What is the Expected behavior?
The expected behavior after clicking on the verification and receiving a 'Success' message would be to gain access to the site and proceed beyond the verification page. TestCafe Hammerhead should seamlessly handle the interaction with the Cloudflare Turnstile verification process.
What is your public website URL? (or attach your complete example)
We're encountering this issue across multiple sites, but for reproducibility, we're using a local setup at localhost:1400.
What is your TestCafe test code?
Latest Source
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
1.Setup TestCafe Hammerhead and run it
2.Navigate to a site that uses Cloudflare Turnstile, such as popular sites like https://chat.openai.com/ or https://kick.com/.
3.Attempt to verify and access the site.
4. Observe that despite receiving a 'Success' message, the site does not proceed beyond the verification page.
TestCafe version
Latest
Node.js version
No response
Command-line arguments
node node_modules/gulp/bin/gulp http-playground
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response

Hi @RichiRossi,
Thank you for the shared information. I've reproduced the issue.
For the team

miherlosev

Thanks for taking the time to reproduce the issue. You're the best! 🙌
By the way, while we're on the topic, do you happen to have any insights into what might be causing the Cloudflare Turnstile issue specifically on our favorite tech website, chat.openai.com?
Thanks again for your help, my friend! 🤗

miherlosev

Thanks for taking the time to reproduce the issue. You're the best! 🙌
By the way, while we're on the topic, do you happen to have any insights into what might be causing the Cloudflare Turnstile issue specifically on our favorite tech website, chat.openai.com?
Thanks again for your help, my friend! 🤗

Do we have some progress or updates on this? @miherlosev @Artem-Babich

Hi,

miherlosev

Thanks for taking the time to reproduce the issue. You're the best!
By the way, while we're on the topic, do you happen to have any insights into what might be causing the Cloudflare Turnstile issue specifically on our favorite tech website, chat.openai.com?
Thanks again for your help, my friend! hugs

@RichiRossi, We don't have any information about this now since the issue requires research.

Do we have some progress or updates on this? @miherlosev @Artem-Babich

@SurfSkip, There are no updates on this issue. We are still researching it and cannot give you any ETA.

Hey @Artem-Babich and @Aleksey28, do we have any more information regarding the Cloudflare Turnstile issue?

Hi @RichiRossi,
Thank you for the shared information. I've reproduced the issue.
For the team

Hello,
testcafe-hammerhead is a proxy designed for use with TestCafe. Using it separately is not considered a target use case. Since the issue is not reproducible in TestCafe's Native Automation mode, the priority for this task is low. We do not plan to solve this problem and are closing the ticket.
However, you are always welcome to create a pull request (PR) regarding this issue. We will review it.


image gpt

contribution by Teddy Koker
(https://github.com/teddykoker/image-gpt)

Hello @williamFalcon! Thanks for opening this PR.

In the file pl_bolts/models/vision/image_gpt/gpt2.py:

Line 31:14: W291 trailing whitespace
Line 32:28: W291 trailing whitespace
Line 33:24: W291 trailing whitespace
Line 34:25: W291 trailing whitespace
Line 35:32: W291 trailing whitespace
Line 36:29: W291 trailing whitespace

In the file tests/models/test_vision_models.py:

Line 28:67: E226 missing whitespace around arithmetic operator

Do see the Hitchhiker's guide to code style

Codecov Report

Merging #89 into master will decrease coverage by 0.19%.
The diff coverage is 86.71%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
- Coverage   91.39%   91.20%   -0.20%
==========================================
  Files          71       73       +2
  Lines        3613     3728     +115
==========================================
+ Hits         3302     3400      +98
- Misses        311      328      +17

Flag
Coverage Δ

#unittests
91.20% <86.71%> (-0.20%)
:arrow_down:

Impacted Files
Coverage Δ

pl_bolts/models/vision/image_gpt/igpt_module.py
81.25% <81.25%> (ø)

pl_bolts/models/vision/image_gpt/gpt2.py
95.55% <95.55%> (ø)

pl_bolts/datamodules/__init__.py
100.00% <100.00%> (ø)

pl_bolts/datamodules/mnist_datamodule.py
97.61% <100.00%> (-0.11%)
:arrow_down:

pl_bolts/models/__init__.py
100.00% <100.00%> (ø)

...bolts/models/self_supervised/amdim/ssl_datasets.py
71.64% <0.00%> (-1.22%)
:arrow_down:

..._bolts/models/self_supervised/moco/moco2_module.py
84.34% <0.00%> (-0.40%)
:arrow_down:

pl_bolts/models/rl/common/wrappers.py
92.52% <0.00%> (-0.21%)
:arrow_down:

pl_bolts/losses/self_supervised_learning.py
97.43% <0.00%> (-0.02%)
:arrow_down:

... and 2 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 b17ac92...415e012. Read the comment docs.


Change encoding from 'utf8' to 'utf-8'

'utf8' is an invalid encoding value and never works.
I followed the documentation but always got garbage Chinese characters until I changed 'utf8' to 'utf-8'.

You have to use 'utf8' in mysql.
http://dev.mysql.com/doc/refman/5.7/en/charset-unicode.html

Medoo executes SET NAMES 'utf8' while initializing mariadb, mysql, pgsql, sybase and mssql.[code]
The usage of charset in dsn only with oracle.[code]
And as @pwwang said, 'utf8' is the valid charset name in MySQL.

@SyuTingSong
You are right, as you can see code, if you don't set charset in the constructor, it won't be executed.
So you yourself have to set the right charset for the database you chose.
But as shown in the doc, the example is for mysql, so charset 'utf8' is exactly the right one.

The charset name of UTF-8 is also 'UTF8' or 'utf8' in PostgreSQL, Sybase.
And I just found that MS SQL Server NOT supports UTF-8 before ver 2012. :o:


Cleanup enhancements

Add pacing interval between deletes to not overwhelm disk. Add endpoints to control script operation (stop, pause, resume, etc). Add support for multiple policies.

dspartz --
Thank you very much for this PR.  It would be helpful to us moving forward if you would put your full name into your github account.
Thanks,
Mark Galpin
Senior Solution Architect, JFrog Inc.

Added my full name in github, sorry about that.


Optimize deletation

The benchmark has pretty bad result on deletion.
More than 20ms as average.
Queue should fix this.

Fixed in 6003754b380c8905591d56aa3e5fab015ff065f1


Test JDBC connectors with DB2

I plan to test the new JDBC connectors (resource, integration) with IBM DB2 products & will update the documentation with results.

I am currently working on this, and raising issues on specific problems found.
The initial sample configuration is using

coco pharma labs
running in k8s
IBM db2 as a service in IBMcloud
db2 11.5
db2 driver 4.32.28
simple employee database


endpoint: clean up unused code

Clean up some unused code around pkg/endpoint noticed while reviewing the code. See individual commits for details.

/test


test-cases for wildcard match label selector

Related issue
Signed-off-by: Vyankatesh<EMAIL_ADDRESS>Related issue
closes #203
Related Issue : https://github.com/kyverno/kyverno/issues/2460

Milestone of this PR
milestone 1.5.3
What type of PR is this

/kind bug

Checklist

[x] I have read the contributing guidelines.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] My PR contains new or altered behavior to Kyverno and
[x] I have read the PR documentation guide and followed the process including adding proof manifests to this PR.

Further Comments

Adding in Kyverno/kyverno repo.


Mask API key for Aleph Alpha LLM

Description: Add masking of API Key for Aleph Alpha LLM when printed.
Issue: #12165
Dependencies: None
Tag maintainer: @eyurtsev

merge when tests pass

@slangenbach i'll resolve conflicts and relock poetry file


Spatial viewer defaults to EPSG:4326 when first setting geometry transform

Description
When setting a geometry transform on a Well Known Text (WKT) column, no matter what EPSG code is set, the spatial viewer window is set to EPSG:4326.  You can then set the spatial viewer window to the correct EPSG code, however this is an additional step that was not required previously.  This behavior seems to have been introduced in DBeaver CE 23.x as the last working version found was 22.3.5.  This issue also appears to be independent of connected database and is reproduceable for Snowflake, PostGIS and MS SQL.

DBeaver Version
Community Edition 23.2.0
Operating System
Microsoft Windows 10 Enterprise 10.0.19045
Database and driver
DB: Microsoft SQL Server 2019 (RTM) - 15.0.2000.5 (X64)
Sep 24 2019 13:48:23
Copyright (C) 2019 Microsoft Corporation
Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2019 Standard 10.0  (Build 17763: ) (Hypervisor)
Driver: Microsoft JDBC Driver 9.2 for SQL Server <IP_ADDRESS>
DB: PostgreSQL 12.14
PostgreSQL 12.14 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-12), 64-bit
Driver: PostgreSQL JDBC Driver 42.5.2
DB: Snowflake 7.32.1
Driver: Snowflake 3.14.1
Steps to reproduce

Connect to your favourite database
Open an new SQL script and paste this query in:
SELECT
'Polygon ((370522.1688461 7335907.46601652,<PHONE_NUMBER>7423 7333578.53977923,<PHONE_NUMBER>1347 7226441.32412412,<PHONE_NUMBER>461 7335907.46601652))' GDA94ZONE50,
'Polygon ((115.72625795 -24.08379332,<PHONE_NUMBER>1 -24.11008493,<PHONE_NUMBER>9 -25.07761604,<PHONE_NUMBER>5 -24.08379332))' WGS84
Right click text in column "GDA94ZONE50" and select View/Format --> Set "GDA94ZONE50" transform --> Geometry
Set SRID value to 28350
Observe EPSG at the bottom of spatial viewer window is '4326' instead of '28350'

Additional context
No response

https://github.com/dbeaver/dbeaver/issues/22413 may not be related a #21190 is still unresolved.


Module 2 exercises [Nutifafa Ahiawodzi]

Please "drag & drop" exercise 1 file below.
WS2_M2E2_NUTIFAFA AHIAWODZI.docx

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 2 and make sure to take
the post-training survey.

Well done, Nutifafa. You clearly grasped the material outlined in Module 2 and successfully applied it to these exercises. Thank you for your participation! Please be sure to fill out the post-Module survey before you begin the next Module.


PCMS interpolation functionality

This pull request brings in @abhiyan123 initial changes for dealing with RBF field interpolations. I have gotten this into a state where it can be merged with develop and tests/compilation passes.
However, I have not done a formal review of this code and there are a some issues that need to be addressed before merging with develop.
@Fuad-HH I have requested you as a reviewer. Please take a look and see if you have any input, questions, etc.
@cwsmith relevant code for our discussion on surface fitting is here. Unfortunately, getting everything merged took some time and I have not had time to do the proper review I wanted before our meeting. Let me know if you prefer to push back that discussion until Thursday/Friday.

@jacobmerson Thanks for the heads up.  Thursday or Friday works for me.


Fixes deprecation initializer for Ember 2.x

DEPRECATION: The initialize method for Application initializer 'ember-breadcrumbs' should take only one argument - App, an instance of an Application. [deprecation id: ember-application.app-initializer-initialize-arguments] See http://emberjs.com/deprecations/v2.x/#toc_initializer-arity for more details.

@chrisfarber: Can you make a new release with this fix, so I don't see the deprection warning any longer in my console (I know I can remove those, but it's nicer if it's just fixed in the core of the released add-on).

+1 Please make a new release.

+1 for the new release :)


Add an option for queue naming

According to stackoverflow question:
Problem: the queue name is always <destination>.<group>
Solution: add a boolean option includeDestInQueueName

@sabbyanandan - second request here I don't think it's a big task if you want to schedule it for the next point release(s).


As a release manager, I want to investigate the viability of using TrialForce to provision clean orgs for CI use so I can ensure a consistent org configuration for each build.

We can do a clean through the metadata api for most of the metadata we handle in Cumulus.  However, there are some types, specifically RecordTypes, which cannot be deleted through the metadata api.  Most of our build related issues are caused by persistent data left in the org from a previous build.
Also, if we could spin up orgs dynamically as part of the build, we could run multiple feature branch builds in parallel to speed up the build process after Cumulus_dev_to_feature runs and updates all feature branches.

@jlantz also mrbelvedere??


Incorrect directory?

https://github.com/vendasta/setup-new-computer-script/blob/50ac22ebbbe86752c670d82a99a38ae166bd7c27/setup-new-computer.sh#L616
This should probably be .ssh?

Appreciate you sharing this script - it's so awesome. :)

Hello! In our case, we are using the go programming language, and that is the default directory for go workspace.
https://go.dev/doc/gopath_code#GOPATH