Embedder without EFL

I'm currently writing an experimental embedder that purely depends on wayland so that it can work with other compositors (more specifically Weston) than Enlightenment. I'm not sure if the work will go very well. I'll make updates here when some progress is made.
If anybody is familiar with this topic or has ever considered about the approach, please share your thoughts.

It's very interesting work!! Just curious... I have a few questions.

What motivated you to start this?
Where is the problem part at current embedder implementation?
Is there any devices that work without EFL in tizen?

@bwikbs My ultimate goal is to build a new desktop environment for Tizen purely based on Flutter, getting rid of the entire Enlightenment-based software stack from Tizen. Thus the first step is to remove EFL dependencies from our Flutter embedder itself. Tizen's IVI profile used to have Weston as its compositor a long time ago but I don't know the detailed history.

getting rid of the entire Enlightenment-based software stack from Tizen

Does this include all ecore-related stuff?

@bwikbs Yes, because ecore is part of EFL. Do you think it will be feasible?

@swift-kim
I don't know. But I think there will be a lot of things needed not only compositor.. I also hate efl, :smile: But not using it would be quite challenging in tizen.

Weston is a display server like E20, EFL is the foundation of E20, it implemented lots of functions such ecore, ecore_input, ecore_imf, ecore_wl2, these basic libraries are necessary for applications, so that apps don't need to reinvent wheels
So, weston can only replace part of E20, basic libraries need to be re-implemented
I think we need to list all requirements/apps which are necessary on RB5, and then check which features are needed, then evaluate workload.

I think we need to list all requirements/apps which are necessary on RB5, and then check which features are needed, then evaluate workload.

Eliminating Efl is not currently our official goal. If we think we need this, the first step will be to discuss whether we really need it.

There are too many Tizen module that are dependent on Enlightenment and EFL, starting from App FW and many basic Tizen APIs to the system UI itself. It's really impossible to reimplement them all from scratch. So although it's technically possible to implement a Tizen embedder that runs on stock wayland compositors, there's no benefit we can earn from it.
Still I have implemented an embedder that has no ecore_wl2 dependency (still depends on ecore) and works purely based on wayland, as a proof of concept. It supports some basic functionalities such as touch and the back key, but lacks many other features. Please take a look if anyone is interested:
https://github.com/swift-kim/engine/commits/wayland

https://github.com/swift-kim/engine/commits/wayland

OMG! Very interesting!!(Ignoring all other difficulties for now) :+1:

Would webose's lunabus be helpful for transitioning away from efl at all.

We don't have a plan to implement this feature in the near future. Closing.
@oilipheist Thanks. I'll take a look.

FYI) The dahliaOS team is still working on a Flutter-based compositor: https://blog.dahliaos.io/posts/state-of-the-project
I asked the Tizen team about EFL deprecation but their main focus is on app-facing APIs such as Elementary and Evas. Not sure about Ecore main loop. Pretty sure they will not discard Ecore Wl2 and Enlightenment.


Invoke

This is a partial fix for issue #2. I have only fixed the problem in socket. The problem still exists in file_server but the same solution could be applied there.

Merged.
The only change I did was the removal of system::errc::success: https://github.com/BoostGSoC14/boost.http/commit/b0c4db49508675000d24cc895796b31fccc0f6ea


Application creation feature - services

This PR contains the business logic / services for the application creation feature. Note that it does not target master, but instead https://github.com/GoogleCloudPlatform/google-cloud-intellij/pull/1169, the parent PR for the application creation feature.
Notable changes:

added new application service: AppEngineAdminService -  wraps the app engine admin api & provides some convenience methods for interacting with it.
added new application service: GoogleApiClientFactory - factory class for instantiating google API clients, since many of them have common instantiatoin logic and can benefit from sharing certain resources

@elharo I know @patflynn had some concerns about adding this to appengine-plugins-core. @patflynn, do you still think this type of logic would be inappropriate to add there?

Not sure I agree with the design. It sounds to me like we're adding abstraction layers unnecessarily. Depending on our usage of this, I'd much rather just call the API directly.
I have a strong preference for not adding this to appengine-plugins-core. As we discussed in the meeting, the common library provides a Java API for things that don't have a Java API, yet, which isn't the case for Cloud Resource Manager or App Engine.

:+1: I'm good on not including this is appengine-plugins-core

Just pushed a new change to address some more comments from offline discussion with @patflynn: Modified the API of AppEngineAdminService to use more thoughtfully designed exception types.
All methods in that service now can throw two exception types: IOException, when a transient or unexpected error occurs, and a GoogleApiException, when a request successfully completes but returns an error response. (A common case would be if we get a 400 response if user's credentials are revoked).

@aslo did you have a chance to check what gets thrown when the network is out?  It'd be nice for the client to know when to report an error to feedback vs transient network problems.

Yep, if there's no network any API call throws an UnknownHostException, which extends IOException.  Currently, IOExceptions like this are being re-thrown by the GoogleApiClientAppEngineAdminService to be handled by the client, which I think is appropriate since this falls under the category of a transient exception.
On the other hand, any issue relating to auth or misconfiguration on our part will result in us throwing a GoogleApiException. These can be handled differently at the UI level.

I'd never considered whether an object's effect on external systems
qualifed as 'observable state'.  For instance the argument against Logger
being constant case has typically been that it has observable mutable
state, rather than that it performs IO mutations on disk.  However in this
case it's just not particularly obvious whether these classes are immutable
in the more narrow sense. JacksonFactory clearly seems to not be, and
NetHttpTransport I'm not really sure just by looking at it.  So fine with
leaving as is.
On Fri, Dec 16, 2016 at 1:11 PM, Alex Sloan<EMAIL_ADDRESS>wrote:

@aslo commented on this pull request.
In google-cloud-tools-plugin/src/com/google/cloud/tools/
intellij/resources/DefaultGoogleApiClientFactory.java
https://github.com/GoogleCloudPlatform/google-cloud-intellij/pull/1170:

+import com.google.api.client.http.HttpRequestInitializer;
+import com.google.api.client.http.HttpTransport;
+import com.google.api.client.http.javanet.NetHttpTransport;
+import com.google.api.client.json.JsonFactory;
+import com.google.api.client.json.jackson.JacksonFactory;
+import com.google.api.services.appengine.v1.Appengine;
+import com.google.api.services.cloudresourcemanager.CloudResourceManager;
+import com.google.cloud.tools.intellij.CloudToolsPluginInfoService;

+import com.intellij.openapi.components.ServiceManager;
+
+import org.jetbrains.annotations.Nullable;
+
+public class DefaultGoogleApiClientFactory extends GoogleApiClientFactory {
+

private static HttpTransport httpTransport = new NetHttpTransport();

These should probably be final (good catch), but I'm not sure that they
act enough like constants as described in the style guide
https://google.github.io/styleguide/javaguide.html#s5.2.4-constant-names
to warrant using CONSTANT_CASE. Namely, these classes have methods that
do cause observable side effects (IO).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-intellij/pull/1170,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HSeoHXLEp_zsSHM2wR2eYXUjRNOvks5rItRWgaJpZM4LK58e
.

Fair point, perhaps I was interpreting the phrase "observable side effects" too literally.

related to #1232


When will the package be released?

Describe the bug
This package is what I have been looking for. When I tried installing it, I noticed that it has not been released yet.
Any idea when this plugin will be released?
To Reproduce
Steps to reproduce the behavior:

npm install @capacitor-community/file-opener

Expected behavior
Download en install the package

Any idea when this plugin will be released?

as soon as i will be granted the permission to publish the npm package to capacitor-community. it seems that there is no straightforward workflow to do this and I have to request this permission through slack channel and not sure when it will be approved :(
For now, you can install the plugin using the below command:
npm install capacitor-community/file-opener#chore/latest-version-with-dist-directory

The package has been released - see https://www.npmjs.com/package/@capacitor-community/file-opener


BUG: Fix broken links

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When clicking on certain pages, "Page not found" Error is being shown.

Location : Quick-links
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@AkhilaSunesh Assigned!
Make sure to attach before & after screenshots in your PR. Also, star the repo before working on it. While creating your PR, ensure you pull all existing changes beforehand to avoid conflicts.
Happy open-source contributing!


HDDS-9018. Refactor creation of IAccessAuthorizer

What changes were proposed in this pull request?

extract IAccessAuthorizer creation out of OmMetadataReader to a factory class
pass IAccessAuthorizer instance to OmMetadataReader
replace the bNeedAccessAuthInitialization flag with two separate methods in the factory class
use direct instantiation instead of reflection for known implementations (OzoneAccessAuthorizer and OzoneNativeAuthorizer)
eliminate cumbersome way of checking whether native authorizer is in use (in OMBucketSetPropertyRequest and OMKeyRequest)
make OzoneAccessAuthorizer (no-op implementation) a singleton (without strictly enforcing it for compatibility)
use OzoneAccessAuthorizer, instead of null, if ACL is disabled
add unit test for IAccessAuthorizer creation

https://issues.apache.org/jira/browse/HDDS-9018
How was this patch tested?
CI:
https://github.com/adoroszlai/hadoop-ozone/actions/runs/5554283426

@ashishkumar50 please review

Thanks @ashishkumar50, @GeorgeJahad for the review.


Migrate all web (js) libraries to use pkg:web and dart:js_interop

See https://github.com/dart-lang/sdk/issues/50721
Consider this "blocked" by the above – opening for tracking perposes.

Closing in favor of https://github.com/firebase/flutterfire/issues/12466


Authentication using Google Sign-in on android

Introduction paragraph (2-3 paragraphs):
Sign In With Google is a secure authentication system that reduces the burden of login for your users. You can let your users authenticate with Firebase using their Google Accounts by integrating Google Sign-In into your app.
Key takeaways:
-What is google sign in
-Features of google sign in
-Implementation of google sign in on android
References:
-https://firebase.google.com/docs/auth/android/google-signin

Good afternoon and thank you for submitting your topic suggestion. @lokalawashington
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

Hi @lokalawashington
Sorry but this article has already been covered by @BrianaNzivu in this article. Please check existing content before submitting article suggestions.


[Diagnostics] Extend the AllowInOutConversion fix to cover inout attribute mismatches in function types.

This improves the diagnostic in cases where we have argument-to-parameter conversion failures or contextual type mismatches due to inout attribute mismatches.
Example:
func foo<T>(_ f : (inout T) -> Void) {}
foo({ (x : Int) -> Void in return })

Previously, we would diagnose cannot convert value of type '(inout Int) -> Void' to expected argument type '(inout _) -> Void'. Now, we diagnose cannot convert value of type '(Int) -> Void' to expected argument type '(inout Int) -> Void'.

@swift-ci please smoke test

@swift-ci please smoke test


Does SMT support parallel computing or GPU computing?

I want to use smt for global optimization with the surrogate model, but I don't know if smt supports parallel computing or GPU computing

No, there is no native support for parallel computing or GPU.


helpers not appended by default

What are you trying to achieve?
Automatically append new helper to config file.
What do you get instead?
Not appended. Just the info that I should update the config myself.
Docs say that it is automatically appended:
https://codecept.io/helpers/

This command generates a basic helper and appends it to helpers section of config file:

Details

CodeceptJS version: 2.1.3 (is there a --version flag?)
NodeJS Version: v10.11.0
Operating System: macOS
Protractor || WebDriverIO || Nightmare version (if related)
Configuration file:

Looks like that behavior changed with #1433


@craigspaeth => Hack for creative time :(

This is a super temporary fix, just so we can launch the creative time auction in an hour or so.
The Creative Time auction is currently not showing any artworks on the auction page because none of the artworks have estimates, which is a field that we're filtering by. For now we can fix this by explicitly not passing the estimate_range param in our query (sending '' or '0-* is not sufficient). We also need to hide the price filter box.
I will follow up immediately with the "correct" fixes, which will be to either also filter the price filter by the starting price cents, or to be more forgiving on gravity's side, and have a flag for hiding the price filter on the front end. I'm leaning towards the first option but have to confirm with Devang.

LGTM! Thanks for the quick fix. Feel free to merge + deploy when 💚


Added support for build and test on windows

The diff stats look a bit weird to me, you've added more than you've deleted... Did you forget to delete the old shell scripts or are they still required?


SDO: fix to always check if buffer is empty before freeing it

This is critical fix for PR #174 (issue #39)
In 5967fc607c502bb52009e8ecaa7c565f5f55f908 I missed checking isNew also in if(!NMTisPreOrOperational){}. Without this process pointer could overrun receive pointer on receiving NMT stop command during active SDO communication - this totally breaks all further proper working.
Now checking, if buffer is empty before freeing it, is always done inside CO_SDO_process_done for sure.

This is also fixed in master branch.


Add AFIT

Adding AFIT as a school domain

@SpaceMagicDragon lib/domains/edu/af/au: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@SpaceMagicDragon I edited your request to include @af.edu and all its subdomains to the trusted list.
Pull request merged. Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


fix: always close volume file (#4530)

If sync fails then close is never called. We should always be calling close on the file.
What problem are we solving?
The issue described in #4530 and #5066. When vacuuming the file is not closed properly so the file could not be deleted.
How are we solving the problem?
Always make sure to close the file, even if error occurs during sync.
How is the PR tested?
By running the seaweed, storing data, clearing it and then letting the vacuum process run.
Checks

[ ] I have added unit tests if possible.
[ ] I will add related wiki document changes and link to this PR after merging.

Actually previously there were no explicit sync operations. Only close operations were used. Supposedly sync should happen inside close?

The sync was added as part of this change: https://github.com/seaweedfs/seaweedfs/pull/3832

How was the PR tested on windows? Is there any error logged during the sync?

It does not hurt to have this. But is it fixing some reproducible cases?

Yes, it fixes the issue of files handles not being released properly on Windows when vacuuming meaning the .dat files can't be deleted and eventually running out of writable volumes.


The label added to the model is incorrect

Describe the bug
The label auto added to the model is incorrect:

Steps to reproduce
Deploy model and use the vllm backend.

GPUStack version: 71a49fd

The label ‘os:linux’ is also incorrect, the correct worker label is ‘os:Linux’.

Those are legacy labels before we support label selectors

It worked after editing the worker labels.


Default Content-Type header re-applied when using test client

When using 'make_response' in a view function, default headers can be cleared, such as the default 'Content-Type' header. This works fine when using flask run, but when using the test client, the default 'Content-Type' header is re-applied, causing the test response to be different from the actual server response.
Current Behaviour
Given the following flask app (test_app.py):
from flask import Flask, make_response

app = Flask(__name__)

@app.route("/")
def hello_world():
    response = make_response("
Hello, World!
")
    response.headers.clear()
    return response

if __name__ == '__main__':
    client = app.test_client()
    response = client.get('/')
    print(response.headers)

When you do flask run in one terminal window, and curl in another, the output is as expected (No Content-Type header):
>> curl -i http://<IP_ADDRESS>:5000/
HTTP/1.1 200 OK
Server: Werkzeug/2.1.2 Python/3.10.5
Date: Fri, 08 Jul 2022 12:58:44 GMT
Content-Length: 20
Connection: close

When you run the application standalone, so the test client is triggered however, the default flask 'Content-Type' header is applied:
>> python test_app.py
Content-Length: 20
Content-Type: text/html; charset=utf-8

Expected behavior
I expect, if default headers are cleared in the view function, that they are not re-applied by the test client, especially since this doesn't match the actual response of the server.
Environment:
Python 3.10.5
Flask 2.1.2
Werkzeug 2.1.2
Cause
The test_client method initializes the FlaskClient class with self.response_class (flask.wrappers.Response), which in term passes this as a 'response_wrapper' to the werkzeug.test.Client __init__ method. Since flask.wrappers.Response.default_mimetype has the value seen above, this is always applied to a test_client response in case there's no 'Content-Type' header.

Seems like setting TestResponse.default_mimetype = None should do the trick, happy to review a PR.

@davidism I'm happy to submit a PR, but as far as I can see (On the latest 'main' branch for flask), the 'app.test_client' defined here still passes the Flask.Response as second argument to the FlaskClient, which in term passes the 'Flask.Response' as the second argument to werkzeug.test.Client, meaning the Flask.Response is the second base class when the 'WrapperTestResponse' is constructed, in term the default_mimetype from Flask.Response is used for the WrapperTestResponse (see here), or am I missing something?
If the above is the case, the fix should be inside the 'flask' repo, e.g. by changing line 1067 - 1069 in app.test_client() to:
return cls(  # type: ignore
    self, type('AppTestResponse', (self.response_class,), {'default_mimetype': None}), use_cookies=use_cookies, **kwargs
)

Please let me know your thoughts on this!


Changing workspace Cargo.toml doesn't invalidate build cache for workspace members

Problem
The environment variables Cargo sets when building crates don't appear to get updated if the crate's Cargo.toml inherits values from the workspace, and the only change between builds is the value in the workspace's Cargo.toml.
Steps
% cat >Cargo.toml <<EOF
[workspace]
members = ["lib"]
package.version = "0.2.0"
package.readme = "beep.md"
EOF
% mkdir -p lib/src
% cat >lib/Cargo.toml <<EOF
[package]
name = "lib"
version = "0.1.0"
edition = "2021"
readme = { workspace = true }
EOF
% cat >lib/src/main.rs <<EOF
fn main() {
    println!("Readme: {}", env!("CARGO_PKG_README"));
}
EOF
% cargo run -p lib 2>/dev/null
Readme: ../beep.md
% cat >Cargo.toml <<EOF
[workspace]
members = ["lib"]
package.version = "0.2.0"
package.readme = true
EOF
% # Next command should print ../README.md because the workspace value changed:
% cargo run -p lib 2>/dev/null
Readme: ../beep.md
% # Clearing the cache forces a rebuild, which gives the correct value:
% rm -rf target
% cargo run -p lib 2>/dev/null
Readme: ../README.md

Possible Solution(s)
No response
Notes
No response
Version
cargo 1.79.0 (ffa9cf99a 2024-06-03)
release: 1.79.0
commit-hash: ffa9cf99a594e59032757403d4c780b46dc2c43a
commit-date: 2024-06-03
host: aarch64-apple-darwin
libgit2: 1.7.2 (sys:0.18.3 vendored)
libcurl: 8.1.2 (sys:0.4.72+curl-8.6.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
ssl: OpenSSL 1.1.1w  11 Sep 2023
os: Mac OS 13.5.2 [64-bit]

Just reproduced this without workspace inheritance involved.

Not seeing an existing issue for cargo-generated env variables but this seems similar in internals to #13280 and #10358.

Actually this doesn't need workspace to involve. Simply with a single package change package.readme = "foo" to package.readme = "bar", and observe it doesn't rebuild.
I believe the bug shares the same root cause from https://github.com/rust-lang/cargo/issues/13280#issuecomment-1887225691, where CARGO_PKG_README was removed.

I'll go ahead a close this in favor of #13280. Thanks for the report and reproduction!

Reopen since #13280 could have a partial fix not covering internal environment variables like CARGO_PKG_README.

@rustbot claim


What happened to 4-3, 4-4, 5-2, 5-3   --  not in figData

fig 5-2/3  fixed;  tif not in figData; and tif's no longer supported, changed to jpg


fix https://github.com/apache/skywalking/issues/4512

Closes https://github.com/apache/skywalking/issues/4512

Elasticsearch related configuration is expressed as elasticsearch.config.xxx, and you also need to modify the deployment.yaml file and give tips in the values.yaml file.
 @vision-ken

Hello, do you want to continue to do this PR? @vision-ken

@innerpeacez
Can't find  deployment.yaml file in the project.

@innerpeacez
Can't find deployment.yaml file in the project.

oap-deployment.yaml and es-init.job.yaml

@innerpeacez
I think it should be added here but not  elasticsearch.config.xxx:
oap:
  env:
    SW_ES_USER: "elastic"
    SW_ES_PASSWORD: "xxx"

I'v changed the  es-init.job.yaml file  and oap-deployment.yaml  file no need to change.

It doesn't matter where the configuration is placed, as long as it can be read when the container starts. I want to put it under the elasticsearch.config.xx related to put together for easy management.Because some other configurations of es have been placed under elasticsearch.config.xx

@innerpeacez Ok, I’ll make a change.

@innerpeacez
Done.


Avoid deprecation warning when running partybus migrations

Right now we get this error:
[Infra Server Upgrade] - Sleeping for 15 seconds while services comes online...
[Infra Server Upgrade] - Reindexing postgreSQL...
[Infra Server Upgrade] - 	Running Command: sudo -H -u  opscode-pgsql bash -c '/opt/opscode/embedded/bin/reindexdb --all' with options {}
[DEPRECATED] `Bundler.clean_system` has been deprecated in favor of `Bundler.unbundled_system`. If you instead want to run the command in the environment before bundler was originally loaded, use `Bundler.original_system` (called at /opt/opscode/embedded/service/partybus/lib/partybus/command_runner.rb:10)

Signed-off-by: Tim Smith<EMAIL_ADDRESS>

https://buildkite.com/chef/chef-chef-server-master-omnibus-adhoc/builds/3102#a97bed15-daed-4547-8842-18246ceea350


Refactor the App Engine Facet

Issue #377

move AppEngineFacet from com.google.cloud.tools.eclipse.appengine.newproject to com.google.cloud.tools.eclipse.appengine.facets
create Action ids for AppEngineFacet install and uninstall actions
move AppEngineFacet#installAppEngineFacet and AppEngineFacet#installAppEngineRuntime into FacetInstallDelegate

@briandealwis @chanseokoh

A few things:

FacetUninstallDelegate.java is unimplemented.
do we really want to bring in appengine-tools-api.jar?  This contains com.google.appengine.tools.* classes.  I expected com.google.appengine.api.* classes instead, which are from $GCLOUD_SDK_HOME_PATH/platform/google_appengine/google/appengine/tools/java/lib/impl/appengine-api-stubs.jar or $GCLOUD_SDK_HOME_PATH/platform/google_appengine/google/appengine/tools/java/lib/impl/appengine-api.jar

Does it make sense to enable the App Engine facet without an App Engine runtime?  (It's currently possible.)

@briandealwis
The changes you mentioned are things that will be implemented in the subsequent PR. This PR is just a prerequisite for issue #377.

@nbashirbello — ok, though I'd like to see the uninstall actually remove the classpath container.  It's left dangling at the moment and re-adding the facet then throws exceptions.

lgtm

please merge and repush

This PR was only meant to move the AppEngineFacet class. The subsequent cl will change the way the facet works and most of these errors will not exist.

LGTM


onCellContextClick()

It would be nice to have a right click on a table cell
Expected Behavior
When user do right click on a table cell, a callback function should be provided in options

This can be accomplished using the setCellProps feature:
var columns = [
    name: "Column 1",
    options: {
        setCellProps: {
            onContextMenu: (evt) => {
                alert("right click!");
            }
        }
    }
];


updated image tag to digest specific values

This PR is ready to merge. tested with pipelines

build-deploy-pl
build-push-pl
build-pl


Update type definitions for v7

@maxlath @noinkling @EdJoPaTo
In the meantime, you should push a new version without the  types key in package.json so as not to give people bad types automatically.

new version without the types: v7.0.8

I created the wikibase-types npm package for types returned by the wikibase / wikidata API. Its helpful but still not as good as a fully typed library.
If someone has the time: The typings from #69 could be used to type this library on DefinitelyTyped but without this change the typings seem to get way more complicated than in #69. (Maybe I have overlooked something?)

without this change the typings seem to get way more complicated than in #69. (Maybe I have overlooked something?)

That seems weird to me, usually it's not up to the library to write hacks to ensure compatibility between CommonJS and ES modules. I thought that was what the allowSyntheticDefaultImports TS compiler option did (although there are other options that can enable it implicitly), or maybe esModuleInterop.

These compiler options only help, as far as i understand, to import things into your lib. The types have to be correct for that in the first place. (Correct me if im wrong!)
The problem in this case is the duplicate export of the common types.
The library exports methods like isPropertyId and the WDK function and the object returned also contains the common methods.
Normally you would create a namespace and the function with the same name and export that to follow the JS code. But you can not export * from from within namespaces which creates a lot of method: typeof method stubs. On the returned interface you have to do the same which creates a lot of typing code just for that. (which is also prone to errors when something changes)
Having the default export you can simply export * from without the need for the extra namespace and have way less typing code. Also i didnt exported the common methods from the returned object which also simplified the typing code a lot (but thats far from perfect typings).
Personally I think the time invested to type this could be also spent to refactor things. But thats up to everyone themselves. I only started to look differently onto source code since I started using TypeScript and I am not used to code which is used in front end / browsers. The way this library is built certainly has its purpose (I personally just think differently).

Closing in favor of #82


Examples

https://www.howesfishing.com/pages/rates
https://www.howesfishing.com/ice-fishing/

gowalleyefishing -- https://gowalleyefishing.com/ice-fish-idaho


Plumbing context through all engine-api calls

Method signatures were updated to uniformly pass a net/context.Context struct for each method (https://github.com/docker/engine-api/pull/140). We should adopt this right now, so that there are fewer issues down the road.
It took some work to get the Godeps right, because something is seriously wrong with handling of nested dependencies, such as in https://github.com/tools/godep/issues/400 (due to this #1996 was failing). I think now Godeps needs for all sub-packages to be explicitly imported. For now I fixed this by manually deleting the offending package (engine-api) from the Godeps/ directory, then running godep restore, followed by pulling the latest engine-api, then godep save ./....

CI is failing. Please take a look.
--- FAIL: TestMock (0.00s)
panic:
mock: Unexpected Method Call
-----------------------------
ServerVersion(*context.emptyCtx)
		0: (*context.emptyCtx)(0xc8200156d0)
The closest call I have is:
ServerVersion()

@dongluochen it should be fixed now.
@MHBauer please see this instead :)

Builds and tests fine for me. I have go1.6 installed for other projects, so I get this nice warning:
godep: WARNING: Go version (go1.6) & $GO15VENDOREXPERIMENT= wants to enable the vendor experiment, but disabling because a Godep workspace (Godeps/_workspace) exists

It looks like other dependencies besides engine-api were also pulled in or updated. It also seems bizarre that individual packages in a project are being listed explicitly. Probably better to move from godep to vendor sooner rather than later.

@MHBauer only libkv was updated, I had to do that because godep would delete files and cause issues. But you're right, best to move away from Godep ASAP.

Test failures seem unrelated. Ping @dongluochen @vieux

LGTM

LGTM


Add ux parameter support to allow requesting things like signup first

This allows Partners and other RPs to use the ux query parameter (much like the prompt standard parameter) to request specific UX things of ID.  Initially, I plan to send ux=signup as a hint to request the signup page be shown to the user rather than the login page.

Coverage increased (+0.1%) to 99.502% when pulling fcf86a51e900483992f9c0b561e6178b98a58c84 on Shopify:add-ux-parameter-support into 849b181551a61f732f9990dd7ad58c258b970019 on jjbohn:master.

Coverage increased (+0.1%) to 99.502% when pulling fcf86a51e900483992f9c0b561e6178b98a58c84 on Shopify:add-ux-parameter-support into 849b181551a61f732f9990dd7ad58c258b970019 on jjbohn:master.


css attribute selector

It seems query on attributes are not working:
let x = tr.firstChild(css: "td[attribute=value]")?.stringValue
is returning a wrong value (the one of the 1st TD, not the one that should be matched by attribute=value)

Hi, thanks for reporting. I would appreciate it if you could provide the html source and the query you use to find out what happens

asd

asd2

if let table = doc.firstChild(css: "table.dataTable") {
for tr in table.css("tr") {
let x = tr.firstChild(css: "td[headers= attr2]")?.stringValue
}
}
x would be always "asd" instead of "asd2"

my fault, sorry.


Manuadg/upgrade upstream node 16

GitHub is deprecating the save-state and set-output commands and updating all Actions from Node 12 to Node 16.
PLENG-844

No longer needed, as will ask users to switch to actions/checkout@v3


docs: update roadmap

Moved dialog to November

Codecov Report

Merging #267 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #267   +/-   ##
=======================================
  Coverage   97.21%   97.21%
=======================================
  Files          33       33
  Lines        1258     1258
  Branches      120      120
=======================================
  Hits         1223     1223
  Misses         35       35

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 c7b4cf6...a9bd708. Read the comment docs.


when trying train on custom data set i am unable to train due to this error.Please help

Traceback (most recent call last):
File "train.py", line 504, in
train()
File "train.py", line 270, in train
for datum in data_loader:
File "/home/avs/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 345, in next
data = self._next_data()
File "/home/avs/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 856, in _next_data
return self._process_data(data)
File "/home/avs/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 881, in _process_data
data.reraise()
File "/home/avs/.local/lib/python3.6/site-packages/torch/_utils.py", line 394, in reraise
raise self.exc_type(msg)
KeyError: Caught KeyError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/avs/.local/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/home/avs/.local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/avs/.local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/avs/Documents/yolact-master/data/coco.py", line 94, in getitem
im, gt, masks, h, w, num_crowds = self.pull_item(index)
File "/home/avs/Documents/yolact-master/data/coco.py", line 153, in pull_item
target = self.target_transform(target, width, height)
File "/home/avs/Documents/yolact-master/data/coco.py", line 42, in call
label_idx = self.label_map[label_idx] - 1
KeyError: 0

i fixed it by changing the config file to { 0:  1,  1:  2} since in my dataset  the json file starts from 0.thank you


notmuch: install ruby bindings

Motivation for this change
Previously, the ruby bindings couldn't be used because they weren't actually installed into $out
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

how does it affect closure size ? shouldn't it be disabled by default (ruby being less popular than e.g. python) ?

how does it affect closure size ?

withRuby: 262.6M
without: 245M

shouldn't it be disabled by default (ruby being less popular than e.g. python) ?

I just turned it on by default because it already being built. I don't really care that much, though another option might be to use multiple outputs?

the difference in size is less than I expected but multiple output sounds nice. I am not the maintainer though so you may want to hear from them before doing extra-work.

Multiple outputs sound nice - and I'd personally also be fine if we'd do the same with the python bindings.

Multiple outputs sound nice

That seems reasonable yeah.

I'd personally also be fine if we'd do the same with the python bindings.

despite the package bringing in python/cffi as build inputs, AFAICT the python bindings are actually built separately and aren't part of the package $out anyway. There are two variants:

the "classic" pythonPackages.notmuch from $src/bindings/python
notmuch2 cffi bindings from $src/bindings/python-cffi, which strangely aren't in pythonPackages (why??)

@floki / @teto any opinions on ed4ac9fc55a3875cd223a69518e03290d5038497?

Feel free to merge if you feel confident. Looks ok


Add --use-defaults option to kontena stack upgrade command

With this PR you don't have to hit enter if you want to use the variable values from master metadata.
Currently they are used as defaults and prompted, but with --use-defaults they will be used as the final values instead.

Outdated


No such file or Directory found In Ubuntu 19.10

First of all thanks for the latest version of framework, Now coming to the issue. I got the error like below

I got above error when i write
$model = new CodeIgniterUsers();         return $model->findAll();

That sounds like your database configuration is off. I've gotten around that in the past by changing localhost to <IP_ADDRESS> in the database config before.


Kitematic Not working after Docker update

Expected behavior
Kitematic should work after docker updated
Actual behavior
Kitematic throws an error stating "There seems to have been an expected error with Kitematic"
Information about the Issue
Current Docker version : Version 18.03.1-ce-mac64 (24245)
Compose version : 1.21.0
Machine: 0.14.0
Notary: 0.6.1
OS - macOS High Sierra , Version 10.13.1 (17B1003)
Steps to reproduce the behavior

Install Docker,
Install Kitematic
Enable Docker updates, On update request, Update docker.

It's possible that some of the settings may have caused this. If you look, to the bottom right of the red container image, there's a reset button.
Could you give that a try and see if it fixes your issue?

I'm having the same issue on windows

Yeah this happened to me also after upgrading to Mojave I had to uninstall everything docker related and start over for it to work again - (nothing local on my mac is production)

It's possible that some of the settings may have caused this. If you look, to the bottom right of the red container image, there's a reset button.
Could you give that a try and see if it fixes your issue?

I tried resetting it as well. At the end, I have to uninstall everything related to docker and start over again to make it work.


⚠ Bofrost.nl has degraded performance

In af944d7, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1186 ms

Resolved: Bofrost.nl performance has improved in 34fb221 after 6 minutes.


Case-insensitive highlight

Just a small fix, making the highlight case-insensitive.

Good job 🤝


XHTML mode is not honored

Description
Currently the plugin does not honor "XHTML mode": for example, if we have a configuration like this:
            new HtmlWebpackPlugin({
                filename: 'index.html',
                template: './src/index.html',
                xhtml: true,
            })

the plugin will still output html-style tags (e.g., <meta charset="utf-8"> instead of <meta charset="utf-8"/>).
What type of issue is this? (place an x in one of the [ ])

[x] bug
[x] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackhq/csp-html-webpack-plugin version: 4.0.0
node version: 12.17.0
OS version(s): any
Steps to reproduce:
See above - create a Webpack config with xhtml: true set for html-webpack-plugin
Expected result:
The generated HTML should have self-closing tags where appropriate, like
<meta charset="utf-8"/>

Actual result:
The generated markup does not honor xhtml: true:
<meta charset="utf-8">

Fixed in https://github.com/slackhq/csp-html-webpack-plugin/pull/75


PHOENIX-7362: Update owasp plugin to 10.0.2

Thanks.
In the future, please do not put a colon after the JIRA ID, that's not the convention Phoenix uses.


Matt j/front end

Front end functionality for light mode and dark mode. Simplified state and cleaned up bugs associated with it.

Great job!

Thanks!


Templated codegen

Need to integrate a templating engine to generate all Variant types and tests

Using Python/Jinja2 to generate Variant types


DSND-3203: Make healthcheck private

DSND-3203

CI: Security warnings found!

CI: No security warnings found


feat: search with selection text.

i'll take a look when i get back to work. no pc by hand now lol.

Wonder why the code lint was not passed. 🤨

Wonder why the code lint was not passed. 🤨

Checking lua/keymap/tool.lua                      1 warning

    lua/keymap/tool.lua:136:56: accessing undefined variable _buf_vtext

functionality it works

b3ed6ca (#1175)
this might do the trick lol


Subtitle Elements Added as Blank in Video Track Despite SRT Generation

Hello,
The script is generating the .srt file, and the text elements are being added as well. However, the issue is that the text elements are empty; they're being added as blank elements on the video track without any text in them. I am using the latest resolve 19.

I have the same issue. I would love this resolved !

I have the same issue. I would love this resolved !

Use Text+ element. Solved it for me.


[Event Request] Table 36 "Sales Header" - OnUpdateSellToCustOnBeforeContactBusinessRelationFound

We are migrating our code from NAV 2018 to BC16.4. In the Table 36 "Sales Header", in the procedure UpdateSellToCust, we need to add our code at a specific moment. To do so, we need an event publisher, like this :

With the integration event :

Do you think it could be possible ?
Thanks for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


bugfix: use a more compatible syntax with bsd sed for mac users

This fixes an issue I have with the file scripts/deploy_subnet_under_calibration_net/deploy.sh failing on my mac with the error
sed: 1: "/CometBFT node ID:/ {n;p}": extra characters at the end of p command

The open bsd instance of sed on my mac expects a ; after the n;p part of the sed command

Looks good. Did you test it on a Linux as well?
(tips: I also use a Mac (M2) but I can use Multipass to easily test in local Linux VMs).

Tested this on Linux -- works!


What is self.backward() ?

The problem related with model.py module,  I can not find the '' self.backward( ) '' function  in '' line 324'' ?
And I also can not realize why '' self.forward ( ) '' function just return 2 parameter, but no match to the line 284 in expecting 3 output , but unpack only 2 return values ?
I'll appreciate to accept your reply.

Hi,
I have ran into the same problem. What was your solution for this?
Thanks

Sorry~ i just give up in the last years, since the backward just
disappeared...
Hope you find other source code of Bi-LSTM for BP ~~
tova-hallas @.***> 於 2020年8月16日 週日 下午3:04寫道：

Hi,
I have ran into the same problem. What was your solution for this?
Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/psu1/DeepRNN/issues/3#issuecomment-674489271, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMQWRTOAAAE6GKVYPK7IVT3SA6AGVANCNFSM4JCYCP3A
.


Drush aliases not read from sites/all/drush/site-aliases/whatever.aliases.drushrc.php

Drush aliases stored in the project at sites/all/drush/site-aliases/whatever.aliases.drushrc.php should get automatically picked up by Drush but they don't. It doesn't appear to be an issue with Drush itself as this is working fine in Vlad with Drush 8.1.0.
Tested with Drupal VM 3.0.0, drush master, 8.x, & 8.1.0. Setting configure_local_drush_aliases to true or false makes no difference.

Just tested storing an aliases file at drush/site-aliases/whatever.aliases.drushrc.php too and that also doesn't work. From the sound of this comment that did work very recently.

What directory are you running the drush command from? Are you using the default structure of:
.
├── Vagrantfile
├── config.yml
├── docroot
│   ├── index.php
│   ├── sites/all/drush/site-aliases/whatever.aliases.drushrc.php

Currently, the structure I'm using looks more like:
.
├── docroot
│   ├── index.php
│   ├── sites/all/drush/site-aliases/whatever.aliases.drushrc.php
│   └── other D7 project stuff...
└── drupal-vm
    ├── Vagrantfile
    ├── config.yml
    ├── provisioning
    └── other Drupal VM repo stuff...

local_path is configured with the full path to that docroot location.
destination has been left as the default value /var/www/drupalvm.
I'm testing this by running drush sa once I've SSHd into the guest so the path would be /home/vagrant.
I've just noticed that if I try to cd to /var/www/drupalvm the shell just hangs - not sure if related but doesn't seem right.

If you use site specific aliases they are only available within that project dir. So you can only see them if you cd /var/www/drupalvm/docroot/

That would explain it, I wasn't aware of that restriction and I'm likely too used to Vlad cd-ing me into the web root as soon as I ssh into the guest.
Now I just need to figure out why cd /var/www/drupalvm/docroot/ hangs...

So I re-provisioned and the shell no longer hangs when I try to cd any deeper than /var/. Now that I can finally cd to /var/www/drupalvm/docroot/ I can confirm that my site aliases are indeed available when I run drush sa - no need for a .drush-wrapper script as mentioned above.

Glad you got it working! The wrapper is only needed if you want to issue drush commands outside of docroot/.

Aaah, gotcha now. Thanks for your help :)


Fixed badly set bitrate causing sweep object creation to hang on Linux

This bug was causing sweep object creation to hang when trying to read the returned value from serial port. ==> Issue #72
Bitrate of the serial communication was badly set during the creation of the sweep object when using the libsweep library on Linux.
cfsetispeed(...) and cfsetospeed(...) both take a termios bitrate constant and not the bitrate directly. So should the get_baud(115200) call return the B115200 value defined in termios.h.
The fix seems to have a limitation when compiling on some MAC OS X computers. Termios constants like B115200 doesn't seem to be always defined. That's why the code uses a #ifdef as a workaround for MAC.
Thanks.

Thanks for this second PR. Even if a more robust and elegant portability fix can't be resolved just yet, the library is currently broken.... so I'd like to get this merged ASAP!!

Done

I'll do one more final check on mac and get this merged! Thanks so much.

Urgh thanks for the deep dive here and fixing the bug.
I think we hit this last week when playing with Haskell bindings in https://github.com/scanse/sweep-sdk/pull/115 but didn't look further (since struggling with Haskell was already enough for the evening 😅).

The first fix I made was actually including a condition testing the bitrate before setting a constant, but this one was not merged.


[FEAT] Add a button to indicate that a flashcard is completely forgotten, and then start remembering the card again

Is your feature request related to a problem? Please describe.
When I meet a flashcard that I have totally forgotten, I want to review it next day and reset the review status.
Describe the solution you'd like
Add a button to tag the flashcard to "Immediate” like in RemNote
Additional context
Add any other context or screenshots about the feature request here.

For your case, what does the Reset Card Progress button do?

Dunno if my request is related... I'd like a "Reset all (in deck/note)" button. I have some notes with dozens of old flashcards in them, and when I first started using this plugin, the interval was set too high, so Easy ones would be marked as to review 2-3 months later.
I lowered the interval so easy now adds just a few days, but theres no option to quickly reset a bunch of cards.
Workaround: use a regex search and replace.


[question] Refresh Token Flow

I'm building an application to hook into users' CRM and send automated text messages throughout their sales campaigns. I'm a bit confused regarding the best way to generate a new token using the refresh token flow -  I'm able to obtain a token using the Authorization Flow and cache the token for future use. I'm able to use the cached token with a new Rest Client (client.set_token(token)) and the refresh performs automatically if the token's 'expires_at' time has passed, however I can't get access to the refresh token object after the refresh has been performed. Will I be able to reuse the original token object indefinitely so long as it's refreshed within a week of when the previous refresh was performed? I was under the impression that the refresh token would cease to work one week (or however long the 'refresh_token_expires_in' is set to) after the original token was issued.
Essentially, I'm wondering whether users will need to log in at least once a week and obtain a new OAuth token, or if we're able to retrieve a new token via a background process/worker via Refresh Token Flow.
I posted this question on the developer forum as well - https://devcommunity.ringcentral.com/ringcentraldev/topics/text-automation#reply-comment-list-18391351
Thanks in advance for your help! Hope you're having a nice day.

Retrieving the Refresh Token

Retrieving the Refresh Token after a Token Refresh

You can always retrieve the current refresh token via the OAuth2::AccessToken object from client.token. However, at this time, the SDK will not inform you when the token has been refreshed and a new access token and refresh token are present. Since the access token expires after an hour, if you wish to retrieve the latest refresh token, you could retrieve the latest refresh token each hour.

Reusing Original Access Token after a Token Refresh

Each token refresh generates a new access_token and refresh_token pair. The new tokens will have lifetimes starting from the refresh time, e.g. 1 hour or 1 week respectively.

Let me know if you have any other questions.

Thanks so much for the quick response!
Let me see if I understand this correctly:
When I generate a token using the code provided from the authorization flow, and set an OAuth token like so:token = client.authorize_code(code), the token will automatically refresh when I use it with another client instance, client.set_token(token) so long as the expires_at time has passed, correct?
I just tested this with an OAuth token that expired last Friday - when I call client.token, it returns the expired token. It appears to perform the refresh, as I'm able to send messages from the client, but I'm unable to access the new token.
Let me know if you need me to clarify at all.

After a token refresh, the OAuth2::AccessToken should be updated with the new access and refresh tokens. Let me verify this and post back here a bit later.

I've been playing around with this a bit and I think I found the reason for my question:
If I obtain an OAuth2 token via Authorization flow and store the token, I can successfully use the token for another client instance by calling client.set_token(*token*)
From what I can tell, the refresh token isn't used until the client performs an action. For example, if I call client.set_token(original_token) after the original_token's exipres_at time has passed, client.token will return the the original_token. However, if I call client.set_token(original_token) and then call client.send_message(message_params), client.token will return a new token.
I'm wondering if there's a way to obtain a new token without actually performing an action. Is there a method that I can call on client that will obtain a new access token without sending a message, etc?
Let me know if you need me to clarify. Thanks for your help!

How can I refresh access token using refresh token in Sdk.I am using this
Dictionary<string, string> obj = new Dictionary<string, string>();
obj.Add("refresh_token", CurrentUser.RCRefreshToken);
obj.Add("grant_type", "refresh_token");
                var request = new Request("/restapi/oauth/token", obj);
                var responseToken = sdk.Platform.Post(request);

But geting error. 'Access has Expired


Netflix Clone

Title: Netflix Clone
Tech Tools: Html,Css and Js
Screenshort

Please assign me under OSEN

@Geeks-Arpan start working


[🐛 BUG]: Can not open the archive "roadrunner-2.10.0-linux-amd64.deb"

No duplicates 🥲.

[X] I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?
No matcher for deb archive? On ubuntu vendor/spiral/roadrunner-cli/src/GetBinaryCommand.php atttemps to download and use .deb archive then throws the error shown below. RR was running just fine on this system the other day.
I was looking through the code a bit and it looks like there's no matcher for debs, so why does it not just use a tarball then?
    /**
     * @return void
     */
    private function bootDefaultMatchers(): void
    {
        $this->extend($this->matcher('zip',
            static fn (\SplFileInfo $info): ArchiveInterface => new ZipPharArchive($info)
        ));

        $this->extend($this->matcher('tar.gz',
            static fn (\SplFileInfo $info): ArchiveInterface => new TarPharArchive($info)
        ));

        $this->extend($this->matcher('phar',
            static fn (\SplFileInfo $info): ArchiveInterface => new PharArchive($info)
        ));
    }

Version
2.10.0
Relevant log output
./vendor/bin/rr get-binary --verbose

 Environment:
   - Version:          2.*
   - Stability:        stable
   - Operating System: linux
   - Architecture:     amd64

  - roadrunner-server/roadrunner (v2.10.0): Downloading...
     -- roadrunner-2.10.0-linux-amd64.deb

In Factory.php line 97:

  [InvalidArgumentException]
  Can not open the archive "roadrunner-2.10.0-linux-amd64.deb":

Exception trace:
  at /home/inman/Sites/digapp/vendor/spiral/roadrunner-cli/src/Archive/Factory.php:97
 Spiral\RoadRunner\Console\Archive\Factory->create() at /home/inman/Sites/digapp/vendor/spiral/roadrunner-cli/src/Archive/Factory.php:119
 Spiral\RoadRunner\Console\Archive\Factory->fromAsset() at /home/inman/Sites/digapp/vendor/spiral/roadrunner-cli/src/GetBinaryCommand.php:320
 Spiral\RoadRunner\Console\GetBinaryCommand->assetToArchive() at /home/inman/Sites/digapp/vendor/spiral/roadrunner-cli/src/GetBinaryCommand.php:170
 Spiral\RoadRunner\Console\GetBinaryCommand->installBinary() at /home/inman/Sites/digapp/vendor/spiral/roadrunner-cli/src/GetBinaryCommand.php:127
 Spiral\RoadRunner\Console\GetBinaryCommand->execute() at /home/inman/Sites/digapp/vendor/symfony/console/Command/Command.php:291
 Symfony\Component\Console\Command\Command->run() at /home/inman/Sites/digapp/vendor/symfony/console/Application.php:989
 Symfony\Component\Console\Application->doRunCommand() at /home/inman/Sites/digapp/vendor/symfony/console/Application.php:299
 Symfony\Component\Console\Application->doRun() at /home/inman/Sites/digapp/vendor/symfony/console/Application.php:171
 Symfony\Component\Console\Application->run() at /home/inman/Sites/digapp/vendor/spiral/roadrunner-cli/bin/rr:72
 include() at /home/inman/Sites/digapp/vendor/bin/rr:117

This was missfiled. apologies

@inmanturbo I am encountering the same issue since the new deploys today, how did you fix it?

Upgrade the roadrunner cli to the latest release.

@jwillp go here: https://github.com/spiral/roadrunner-cli/issues/31

@inmanturbo Thank you, I will downgrade


Remote storage in kafka or HBase

What did you expect to see?
could prometheus supported remote storage in kafka or HBase?
thank you for your response!

We decided to not further support any specific remote storage implementations as they are way more complex than service discovery integrations for example.
Instead, we just started adding a remote API based on gRPC, which will allow you to integrate Prometheus with any long-term storage you want and also read back from it.
Some of the discussion was captured here.
The first bit of implementation was merged yesterday in this PR.


Add ability for worker requester to provide additional filtration

Codecov Report

Merging #209 (a3df9fb) into develop (649c14e) will decrease coverage by 0.13%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop     #209      +/-   ##
===========================================
- Coverage    54.95%   54.81%   -0.14%
===========================================
  Files           43       43
  Lines         4451     4464      +13
===========================================
+ Hits          2446     2447       +1
- Misses        1857     1868      +11
- Partials       148      149       +1

Flag
Coverage Δ

unittests
54.81% <0.00%> (-0.14%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/worker/pool.go
71.64% <0.00%> (-7.70%)
:arrow_down:

pkg/plugins/gateway/lambda/lambda.go
69.72% <0.00%> (+0.54%)
:arrow_up:

Continue to review full report at Codecov.

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


push_graphics_constants/push_compute_constants offset parameter is inconsistent across different backends

Here's something that I just ran into.. The Metal backend expects the offset passed to push_graphics_constants/push_compute_constants be in bytes, but the Vulkan backend expects it to be a multiple of 4 bytes (the size of u32). This causes user code to break across the different backends.
I'm not sure what the DirectX 12 backend expects in this regard. Could someone familiar with that backend check it out? I'd do it myself, but I'm having problems getting my code to run on that particular backend..

Good find! Let's fix the Vulkan backend then. Care to file a PR?

Sure, give me a second. Is the DirectX 12 backend consistent with Metal's behaviour, or do we need to fix the DirectX 12 backend as well?


Several changes to blocklist(s)

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

  Provide the following infos properly, which will help us to resolve your issue quickly.

Issue(s):
Type x in between [ ] and make sure there isn't any space between brackets. Example; for Your Selected Issue(s), type like this - [x]
You can select more than one category of issues if you need to!

[x] Whitelist
[x] Blacklist
[x] App Broken
[x] Website Broken
[ ] Request
[ ] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name: Ultimate

Extension(s):
Also name the extension(s) if you are using any. If you don't then leave it blank.

Extension(s) Name: Regional

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

hitfile.net
hitf.to
www.pc-magazin.de
abload.de
www.volksverpetzer.de
www.cutcaptcha.com
*.update.microsoft.com
*.mp.microsoft.com
*.windowsupdate.com
*.wfcdn.de
*.ioam.de
ioam.de

Your Config:
Just to ensure there is no issues or conflicts with other app/software/magisk module/extension/source list.
Make sure you are running Energized Protection Service only.

Client: pi-hole

Version: 20.06

Details:
Write us a lil bit more about your issue or query. You can attach any screen shot or log of the issue or advert, this will help to highlight it.

Your Issue Detail:

Please REMOVE DOMAIN 'hitfile.net' | file hosting service
Please REMOVE DOMAIN 'hitf.to' | link shortener of above 'hitfile.net'
Please REMOVE DOMAIN '(www.)pc-magazin.de' | online IT magazine
Please REMOVE DOMAIN 'abload.de' | picture hosting service
Please REMOVE DOMAIN '(www.)volksverpetzer.de' | fact checker/publisher against fake news
Please REMOVE DOMAIN '(www).cutcaptcha.com' | captcha service
Please REMOVE SUBDOMAIN/SUBDOMAINS OF 'update.microsoft.com' | breaks Microsoft updates
Please REMOVE SUBDOMAIN/SUBDOMAINS OF 'mp.microsoft.com' | breaks Microsoft updates
Please REMOVE SUBDOMAIN/SUBDOMAINS OF 'windowsupdate.com' | breaks Microsoft updates
Please REMOVE DOMAIN/SUBDOMAINS OF 'wfcdn.de' | content delivery network of online IT magazine 'winfuture.de' / breaks the page / does not deliver ads
Please REMOVE SUBDOMAINS OF 'ioam.de' and ADD DOMAIN 'ioam.de' entirely | tracker 'service'
Thanks for your work and thank you in advance!

Thank you for making Energized Protection great, with your kind help!
A project by Ador with ❤

hitfile.net
hitf.to
www.pc-magazin.de
abload.de
www.volksverpetzer.de
www.cutcaptcha.com
*.update.microsoft.com
*.windowsupdate.com

seem resolved, not appearing on today's Ultimate | Regional set.

*.mp.microsoft.com

Unless mistaken MP probably relates to something phone (Microsoft Phone or Mobile Phone) but I could not reproduce:

'mp.microsoft.com' | breaks Microsoft updates

licensingphone.mp.microsoft.com stems from https://block.energized.pro/assets/sources/filter/1hosts.cf-pro.txt

*-prod.do.dsp.mp.microsoft.com  entries stemming from https://block.energized.pro/assets/sources/filter/airelle-trc.txt

Might be better to get those sorted at the respective upstream source

*.ioam.de
ioam.de

Are actual user profile trackers, part of https://www.infonline.de/en/, and should not be globally whitelisted. If a user elects to be tracked such should be whitelisted locally on the user's node instead.

*.wfcdn.de

Whilst being a CDN for winfuture.de the content admin choose to delivery ads though it (embedding) and therefore it should not be globally whitelisted but instead locally on the user's node, if such is the user's preference.

*.mp.microsoft.com

Unless mistaken MP probably relates to something phone (Microsoft Phone or Mobile Phone) but I could not reproduce:

'mp.microsoft.com' | breaks Microsoft updates

* `*-prod.do.dsp.mp.microsoft.com ` entries stemming from https://block.energized.pro/assets/sources/filter/airelle-trc.txt

Might be better to get those sorted at the respective upstream source

*.prod.do.dsp.mp.microsoft.com is mentioned by MS as connection endpoints for non-Enterprise editions  but being on various public places as MS telemetry domains (apparently Enterprise editions can do without...). If it really breaks WIN updates the matter should probably addressed with the upstream source (Airelle).

Thanks for your response! =)

*.mp.microsoft.com

Unless mistaken MP probably relates to something phone (Microsoft Phone or Mobile Phone) but I could not reproduce:

'mp.microsoft.com' | breaks Microsoft updates

I can reproduce it and if I whitelist this domain manually it works so if you don't have those problems than you shouldn't judge ;)

*.prod.do.dsp.mp.microsoft.com is mentioned by MS as connection endpoints for non-Enterprise editions but being cited in
various public places as MS telemetry domains (apparently Enterprise editions can do without...).

If you have a specific version installed you need to tell it to the update server so that it can provide you the update package you need. This is telemetry! And even if you would do this on the client before the server would know it because of the requested package. Otherwise you would always need to download a full installation package! But hey. As some people started to cry some years ago that telemetry is evil because Microsoft uses it (at least since Vista btw.) it must have been invented by the devil itself ;)

* `licensingphone.mp.microsoft.com` stems from https://block.energized.pro/assets/sources/filter/1hosts.cf-pro.txt

* `*-prod.do.dsp.mp.microsoft.com ` entries stemming from https://block.energized.pro/assets/sources/filter/airelle-trc.txt

If it really breaks WIN updates the
matter should probably addressed with the upstream source (Airelle).
Might be better to get those sorted at the respective upstream source

This may be correct but if I need to address such changes to the upstream sources then this option would be really unnessesary in this repository ;)

*.ioam.de
ioam.de

Are actual user profile trackers, part of https://www.infonline.de/en/, and should not be globally whitelisted. If a user elects to be
tracked such should be whitelisted locally on the user's node instead.

I know that but this was not meant to be whitelisted completely. My intention was to clean up the lists. You do not need to use subdomains (e.g. script.ioam.de) when the whole domain (ioam.de) is blocked. Please read my issue details again but carefully ;)

*.wfcdn.de

Whilst being a CDN for winfuture.de the content admin choose to delivery ads though it (embedding) and therefore it should not
be globally whitelisted but instead locally on the user's node, if such is the user's preference.

The page is not usable without scripts from the CDN. So either you visit it then you need them or you don't visit it then you don't need those entries on the list because it doesn't host any content for third parties. Thus it should be deleted in any way!
The best solution for this (and my dream :D) would be:

Use one list that does only contain (full) ad/malware/tracker... domains (ideally as a network side DNS filter like pi-hole)
Use a 2nd list (on application side / browser) that does not contain any entries from the first list and uses only adblock filters on the corresponding content for domains that also host legit stuff.

This would be the most performant choice especially for low hardwared mobile devices saving battery and is therefore also life-prolonging

I could not reproduce:

'mp.microsoft.com' | breaks Microsoft updates

I can reproduce it and if I whitelist this domain manually it works so if you don't have those problems than you shouldn't judge ;)

Nothing judgemental, just a statement of facts for my nodes, for which Delivery Optimization with peers over the internet is disabled via GPO and therefore not utilising those domains and updates are not being broken - different setup than your end it would seem.


There's no such thing as "Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)"

There are 3 options exactly now:

Accounts in this organizational directory only
Accounts in any organizational directory (Any Azure AD directory – Multitenant)
Accounts in any organizational directory or any identity provider. For authenticating users with Azure AD B2C

So which one should be selected? Please specify exactly.
Or even better = NUMBER THIS LIST and just use numbers!

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

ID: 7646910a-39c5-eebd-97f9-db6e7e55d1fa
Version Independent ID: 34f989f5-05ea-19ad-7db9-40cc0a753b29
Content: Set up sign-up and sign-in with a Microsoft Account - Azure AD B2C
Content Source: articles/active-directory-b2c/identity-provider-microsoft-account.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@alvipeo, Thank you for reaching out. We are looking into this and will get back to you soon.

Also, please add the following:
"If you use b2clogin.com endpoint your Redirect URI must follow same pattern: https://.b2clogin.com//oauth2/authresp".

@alvipeo, Ideally in case of B2C, when trying to perform the app registration, the following option "Accounts in any organizational directory or any identity provider. For authenticating users with Azure AD B2C" can be selected.
I agree this point is missing in the document and allow us sometime, will incorporate the changes in the doc soon.

@msmimart, Can you please take a look at this and update the doc.

@alvipeo @souravmishra-msft
It's important to note that the steps in this article specify you must register the application in your Azure AD tenant, and not the Azure AD B2C tenant:

Also:

If you follow the steps as specified, you'll see the selection as described:

As written, the direction are correct, and you should select this option when you create the application registration in your Azure AD tenant:
Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
#reassign:mmacy
Cc: @msmimart

Hi @alvipeo, I'm going to close this issue as there is currently no work to be performed in the article. If you feel this issue was closed prematurely, however, please let us know. Thanks! #please-close


Make passing fern-docs required for squashing and merging in CI

Closing. fern docs will move to another github repo


This socket has been ended by the other party

We have this stack trace sometimes in production (maybe it's because of the high-traffic).
This socket has been ended by the other party
  at Socket.writeAfterFIN [as write] (net.js:276:12)
  at [object Object].Client.sendToBroker (node_modules/kafka-node/lib/client.js:422:20)
  at [object Object].Client.send (node_modules/kafka-node/lib/client.js:375:14)
  at node_modules/kafka-node/lib/client.js:144:14
  at done (node_modules/kafka-node/node_modules/async/lib/async.js:132:19)
  ...

Any idea ? Is there a way to handle this exception ?
node: v0.10.40
kafka-node: 0.2.27
kafka: <IP_ADDRESS>

+1

same issue

@obazoud What do you use producer / consumer / both?

I get the same error occasionally using the kafka-node consumer to subscribe to a separate zookeeper service. It seems to be a traffic load related issue for me but the error is hard to debug.
node: 4.4.3
kafka-node: 0.3.3

Is your consumer still in a working state after this error? the client code has logic to reconnect the socket on errors.

Hi we have exactly some error in our production (not on test), so I guess it is somehow workload related. We use both producer/consumer and when this happen both are dead.


bloxstrap is launched but dosen't operate with roblox[BUG]

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
when i try to launch roblox with bloxstrap it dosen't load any changes to roblox

like here, i turn on my alternative slider but it dosen't add that option

CAN ANYONE HELP
😥😥😥

For one, do you see the Bloxstrap launcher before Roblox opens? For another, make sure Roblox isn't running in Task manager first before you launch it, since it probably thinks Roblox is already running which will skip mod application.

no
it wasn't running

Launch Roblox using the "Play Roblox" shortcut that's located in the Start menu. https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap
You should only have to do this once.

it didn't work

it didn't work + i used this shortcut multiple times

You said that you don't see the Bloxstrap launcher before Roblox opens though. When you launch it with that shortcut, do you see it?

CASE CLOSED
all i had to do is restart the computer


Home: Add notice about Node.js merge

Fixes #426.

If the change is accepted, I will copy the message to all other languages for translation.
/cc @Fishrock123 @mikeal

We may still do v3.x patches for critical security bugs. But probably the next one will be the last, if at all.

"There won't be any further separate io.js releases (except for critical security fixes) …" then?

Updated the message:

LGTM :+1:


website: code sample card size

the code sample card size seems too small and disoriented. can we make it use the maximum width like some pages do?

website with this change is live here. if someone is interested, you can check and give us your feedback here on this thread. :)


Implement debouncing for search bar

As described here.
This is probably overkill for the amount of resources we have atm, but would be good for future proofing. Outside of scope of MVP fs.

Have you tried using the useDebounce custom hook from useHooks? (The logic for handling debouncing can be contained to just a single custom hook).


pandoc - need to add to Dockerfile and references

pandoc version <IP_ADDRESS> or higher is needed to show the toc in the report

Add to:

[ ] report

[ ] bibliography

[ ] Dockerfile

[ ] README dependencies


feat: add support for @semantic-release

Description
This PR adds support to optionally use the @semantic-release/exec plugin as part of this preset.
If files for the semantic release hooks are present then they will be run. If not, it will be a noop.
Supported hooks are: fail, publish and success.
The convention is that the files live in ./script/semantic-release-<hook> and that they are executable.
Changes

fix(deps): add @semantic-release/exec
feat: add support for @semantic-release/exec

🚀 PR created with fotingo

I need to undo this last commit, as the releasse config in this repo is not configured to support beta releases...


Version 8.0 with support for NG 8

Angular 8 made opts argument for @ViewChild() mandatory and { static : true } must be provided in order to populate treeviewComponent on time.
I've made the minimum changes for my project (NG9) to be able to consume this lib without any runtime errors, please consider upgrading Karma, Jasmine, etc..

@brainydevs when are we planning to check in this PR? We are not able to upgrade to Angular 9 without these changes. Thanks!

@leovo2708 Could you please have a look at this PR? It is a small change that is required for Angular 9 (issue #254).


🐛 BUG: No error handling for failed deploy due to binding with the name 'assets'.

Which Cloudflare product(s) does this pertain to?
Pages
What version(s) of the tool(s) are you using?
Wrangler 3.64.0
What version of Node are you using?
20.10.0
What operating system and version are you using?
Windows 11
Describe the Bug
Observed behavior
When deploying a Hono application in Wrangler, if a binding uses the name 'ASSETS' the application will fail to deploy.
Expected behavior
The application failing to deploy is expected as assets is a reserved keyword, however no error message is provided to explain that this is the cause of the failed deployment. An error message that explains that a binding with the name assets exists and that the name needs to be changed is the expected behavior.
Steps to reproduce
Please provide the following:

Create a Hono application
Add a binding with the name 'ASSETS'
Attempt deploying the application

I think this is a problem specifically with pages, is that right @dbenCF?

Oh right. Hono created via C3 is for Workers. But yes, I expect that ASSETS is blocked in Cloudflare Pages.
Let me try to recreate it...

OK I managed to recreate this, I think. I don't think this has anything to do with Hono or R2. I think that any Pages project that is configured with a wrangler.toml that has an ASSETS binding (of any kind) will error with an output that looks like:
pnpm wrangler pages deploy
🌍  Uploading... (1/1)

✨ Success! Uploaded 0 files (1 already uploaded) (0.16 sec)

✨ Compiled Worker successfully
✨ Uploading Worker bundle
🌎 Deploying...

✘ [ERROR] Deployment failed!

  Failed to publish your Function. Got error: Unknown internal error occurred.

Indeed I can recreate this with the following files:
_worker.js
export default {
  fetch(_req, env) {
    return new Response(env.ASSETS);
  },
};

package.json
{
  "name": "test"
}

wrangler.toml
name = "test"
pages_build_output_dir = "."
[vars]
ASSETS = "test"

Then running
pnpx wrangler pages deploy
✔ Select an account › Pete Bacon Darwin Account
🌏  Uploading... (2/2)

✨ Success! Uploaded 1 files (1 already uploaded) (1.22 sec)

✨ Compiled Worker successfully
✨ Uploading Worker bundle
🌎 Deploying...

✘ [ERROR] Deployment failed!

  Failed to publish your Function. Got error: Unknown internal error occurred.

Really we should be getting a better error back from the API when this fails, but we could perhaps put an additional validation check into Wrangler.


Update OpeApi MD file

Purpose

This PR will update the OpenApi Documentation for the new channges of OpenApi

Codecov Report

Merging #18686 into master will increase coverage by 4.68%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #18686      +/-   ##
==========================================
+ Coverage    15.1%   19.78%   +4.68%
==========================================
  Files          48       53       +5
  Lines        1258     1385     +127
  Branches      198      220      +22
==========================================
+ Hits          190      274      +84
- Misses       1054     1097      +43
  Partials       14       14

Impacted Files
Coverage Δ

...ool-plugins/vscode/src/debugger/config-provider.ts
0% <0%> (ø)
:arrow_up:

composer/packages/tracing/src/ToolBar.tsx
71.05% <0%> (ø)

composer/packages/tracing/src/TraceList.tsx
94.44% <0%> (ø)

composer/packages/tracing/src/DetailView.tsx
79.31% <0%> (ø)

composer/packages/tracing/src/TraceLogs.tsx
70.83% <0%> (ø)

composer/packages/tracing/src/index.ts
0% <0%> (ø)

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 6486f83...f9ad59f. Read the comment docs.


defmt not working as expected

I've generated a template project (cargo generate esp-rs/esp-template --name test -d mcu=esp32c3 -d advanced=false), updated the esp-println feature to esp-println = { git = "https://github.com/esp-rs/esp-println", features = ["esp32c3", "defmt"]  }, included the defmt crate and tried several things:

If we use espflash v2.1.0 which does not have defmt support:

esp_println::println!("Hello world!") prints the message
Using any defmt macro results in a linker error, which I guess is expected

If we use espflash v2.1.1-dev (main branch) with defmt feature

defmt::println!("Hello world!") results in a linker error
defmt::debug!("Hello world!") builds but does not print the message, same for defmt::info and defmt::warn
defmt::error! results in a linker error
esp_println::println prints the message fine

If we use espflash v2.1.1-dev (main branch) with defmt feature

defmt::println!("Hello world!") results in a linker error
defmt::debug!("Hello world!") builds but does not print the message, same for defmt::info and defmt::warn
defmt::error! results in a linker error
esp_println::println prints the message fine
Using the defmt-raw instead of the defmt feature in esp-println results in similar outputs.

cc @bugadani

you need to set DEFMT_LOG to some level to print messages above that level

Did some quick testing, trying to print a defmt::info! with DEFMT_LOG=warn does not print the message, with DEFMT_LOG=inforesults in linker script error

works as expected. you'll need to add to your .cargo/config.toml this line:
[target.xtensa-esp32s3-none-elf]
rustflags = [
  "-C", "link-arg=-nostartfiles",
  "-C", "link-arg=-Wl,-Tlinkall.x",
  "-C", "link-arg=-Trom_functions.x",
  "-C", "link-arg=-Tdefmt.x", <--- this
]

Still not working for me, I also tried with S3:

cargo generate esp-rs/esp-template --name=defmt -d mcu=esp32s3 -d advanced=false
Modified .cargo/config.toml:

runner = "espflash flash --monitor"

[build]
rustflags = [
  "-C",
  "link-arg=-Tlinkall.x",
  "-C",
  "link-arg=-nostartfiles",
  "-C",
  "link-arg=-Tdefmt.x",
  "-C",
  "link-arg=-Trom_functions.x",
]

target = "xtensa-esp32s3-none-elf"

[unstable]
build-std = ["core"]

Modified Cargo.toml, added:

esp-println = { git = "https://github.com/esp-rs/esp-println", features = [
    "esp32s3",
    "defmt-raw",
] }
defmt = "0.3.5"

Removed esp_println::prinln! calls in main.rs and added defmt::info!("Hello world!");
DEFMT_LOG=info cargo r results in linker error

Please don't use defmt-raw. It's meant as an advanced feature for folks who only use defmt and have the tools to read it. espflash users are supposed to use defmt instead.

cannot open linker script file rom_functions.x

I can reproduce this error, but this is an esp-wifi file and is not necessary for defmt. Remove the
  "-C",
  "link-arg=-Trom_functions.x",

part and the project compiles.

Please don't use defmt-raw. It's meant as an advanced feature for folks who only use defmt and have the tools to read it. espflash users are supposed to use defmt instead.

Ups, that was a typo, let me try without rom functions

Still getting linker error or nothing printed.

main.rs:

#![no_std]
#![no_main]

use esp_backtrace as _;
use hal::{clock::ClockControl, peripherals::Peripherals, prelude::*, Delay};

#[entry]
fn main() -> ! {
    let peripherals = Peripherals::take();
    let system = peripherals.SYSTEM.split();
    let clocks = ClockControl::max(system.clock_control).freeze();
    let mut delay = Delay::new(&clocks);

    // println!("Hello world!");
    defmt::warn!("Hello world!");
    loop {
        defmt::info!("Hello world!");

        // println!("Loop...");
        delay.delay_ms(500u32);
    }
}

Cargo.toml

[package]
name    = "defmt"
version = "0.1.0"
authors = ["Sergio Gasquez<EMAIL_ADDRESS>edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
hal = { package = "esp32s3-hal", version = "0.12.0" }
esp-backtrace = { version = "0.8.0", features = [
    "esp32s3",
    "panic-handler",
    "exception-handler",
    "print-uart",
] }
esp-println = { git = "https://github.com/esp-rs/esp-println", features = [
    "esp32s3",
    "defmt",
] }
defmt = "0.3.5"

.cargo/config.toml

[target.xtensa-esp32s3-none-elf]
runner = "espflash flash --monitor"

[build]
rustflags = [
  "-C",
  "link-arg=-Tlinkall.x",
  "-C",
  "link-arg=-nostartfiles",
  "-C",
  "link-arg=-Tdefmt.x",
]

target = "xtensa-esp32s3-none-elf"

[unstable]
build-std = ["core"]

what's the exact linker error you see?

error: linking with `xtensa-esp32s3-elf-gcc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/Users/sergio/.rustup/toolchains/esp/lib/rustlib/aarch64-apple-darwin/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/sergio/.rustup/toolchains/esp/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin:/Users/sergio/.rustup/toolchains/esp/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/Users/sergio/.cargo/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/sergio/.rustup/toolchains/esp/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin:/Users/sergio/.rustup/toolchains/esp/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin" VSLANG="1033" "xtensa-esp32s3-elf-gcc" "/var/folders/_w/919x4xzs7zl5kyydzg5nr_v40000gn/T/rustcJVVKyS/symbols.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.1t5wwyxzq3xr2t7v.rcgu.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.1xatxwufv56mifoz.rcgu.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.2c6fd93hfrl0rvnw.rcgu.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.2gy6r62l9r3kmg43.rcgu.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.2r394gr85xrdftqm.rcgu.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.2sxu2r1jifg0jh8.rcgu.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.49d8b7bo4b1sxcjn.rcgu.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.558ozvhyz9fe7vvb.rcgu.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.5d4lnacj13j6361r.rcgu.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.k3qmbeojym8xtv1.rcgu.o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.ksnplor95kgg45l.rcgu.o" "-Wl,--as-needed" "-L" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps" "-L" "/Users/sergio/Documents/Espressif/tests/defmt/target/debug/deps" "-L" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/build/defmt-aaf09b57d34cf050/out" "-L" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/build/esp32s3-hal-1a4075be64451cb7/out" "-L" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/build/esp32s3-hal-1a4075be64451cb7/out" "-L" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/build/esp-hal-common-e2187ba43ff17732/out" "-L" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/build/esp32s3-20acba107c24f96e/out" "-L" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/build/xtensa-lx-ce810a44aefe3fce/out" "-L" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/build/xtensa-lx-rt-97a62a37a804626f/out" "-L" "/Users/sergio/.rustup/toolchains/esp/lib/rustlib/xtensa-esp32s3-none-elf/lib" "-Wl,-Bstatic" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libdefmt-caad4a23e598647e.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libbitflags-e85f62d11ff9d0e5.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libesp32s3_hal-9469f43f1260a3ff.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libesp_hal_common-607c2ea011b92472.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libembedded_io-b0d1d948907075a4.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libbitfield-32f9af196384c0ab.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libbitflags-b45032d3cf7f110b.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libcfg_if-26968e6f9c77e082.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libesp32s3-006391992160d3d7.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libstrum-28b65754e511ef0b.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libesp_synopsys_usb_otg-1da1b984205ea9a0.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libvcell-8809acefa7d2ff09.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libusb_device-9de331603759a9cb.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libcritical_section-88f68fb4e61c8eca.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libembedded_dma-810a3fbadd46afe3.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libstable_deref_trait-7086843dba86e15b.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libfugit-44a414c5cb867aa9.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libgcd-50a5656aa4b837a4.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libembedded_hal-5de747947d9a677b.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libvoid-2aa1c668ffbcd8e3.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libnb-c7ec6e81346ced55.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libnb-6fa200a05806e679.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libxtensa_lx_rt-62a8f1309cac3bed.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libr0-be1df12262242686.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libxtensa_lx-2e2d731cee8daeef.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libspin-5439fe01bedff424.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/liblock_api-48dde2484dac7ce7.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libscopeguard-a23cae6a4c6bafeb.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libmutex_trait-4c1b071cddc4fe64.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libbare_metal-2a28604f8e15d996.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libesp_backtrace-078b1cd7844850f4.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libesp_println-5044140283c2b225.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/librustc_std_workspace_core-9646f0d3ff9cf912.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libcore-d24e87a2ae40755f.rlib" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libcompiler_builtins-6cb843b5627cdc52.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/Users/sergio/.rustup/toolchains/esp/lib/rustlib/xtensa-esp32s3-none-elf/lib" "-o" "/Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "-Tlinkall.x" "-nostartfiles" "-Tdefmt.x"
  = note: /Users/sergio/.rustup/toolchains/esp/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: /Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.2gy6r62l9r3kmg43.rcgu.o:(.literal.main+0x14): undefined reference to `_defmt_acquire'
          /Users/sergio/.rustup/toolchains/esp/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: /Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/defmt-3a7fed31810c4a3b.2gy6r62l9r3kmg43.rcgu.o:(.literal.main+0x24): undefined reference to `_defmt_release'
          /Users/sergio/.rustup/toolchains/esp/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: /Users/sergio/Documents/Espressif/tests/defmt/target/xtensa-esp32s3-none-elf/debug/deps/libdefmt-caad4a23e598647e.rlib(defmt-caad4a23e598647e.defmt.39a0b776f8c7640b-cgu.0.rcgu.o):(.literal._ZN5defmt6export4istr17h3ac1469c5169805bE+0x4): undefined reference to `_defmt_write'
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `defmt` (bin "defmt") due to previous error

Added that line, but the output is still the same

I can't reproduce any more build errors but I probably should have run the code, not just build it.
❯ with-env [DEFMT_LOG "info"] { cargo +esp r }
   Compiling defmt-macros v0.3.6
   Compiling defmt v0.3.5
   Compiling esp-println v0.6.0 (https://github.com/esp-rs/esp-println#8b52dca7)
   Compiling defmt v0.1.0 (C:\_Hobby\defmt)
    Finished dev [unoptimized + debuginfo] target(s) in 2.66s
     Running `espflash flash --monitor target\xtensa-esp32s3-none-elf\debug\defmt`
[2023-10-19T15:10:17Z INFO ] Serial port: 'COM4'
[2023-10-19T15:10:17Z INFO ] Connecting...
[2023-10-19T15:10:17Z INFO ] Using flash stub
Chip type:         esp32s3 (revision v0.1)
Crystal frequency: 40MHz
Flash size:        8MB
Features:          WiFi, BLE
MAC address:       68:b6:b3:2d:94:7c
App/part. size:    198,848/8,323,072 bytes, 2.39%
[00:00:00] [========================================]      14/14      0x0                                                                                [00:00:00] [========================================]       1/1       0x8000                                                                                [00:00:01] [========================================]      77/77      0x10000                                                                                [2023-10-19T15:10:20Z INFO ] Flashing has completed!
Commands:
    CTRL+R    Reset chip
    CTRL+C    Exit

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x40378c15
0x40378c15 - esp_hal_common::interrupt::xtensa::vectored::handle_interrupts
    at C:\Users\bugad\.cargo\registry\src\index.crates.io-6f17d22bba15001f\esp-hal-common-0.12.0\src\interrupt\xtensa.rs:417
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fce3818,len:0x16f8
0x3fce3818 - _stack_end_cpu0
    at ??:??
load:0x403c9700,len:0x4
0x403c9700 - __user_exception
    at ??:??
load:0x403c9704,len:0xc00
0x403c9704 - __user_exception
    at ??:??
load:0x403cc700,len:0x2eb0
0x403cc700 - __user_exception
    at ??:??
SHA-256 comparison failed:
Calculated: b8f485cf73c8ad59b009a332167b4a854ec774585c7fa428926acc30cc0c964b
Expected: 3499e4149a363c2b1ee4ee9709ca5031f50ee6b595a532f697c8659516763ae3
Attempting to boot anyway...
entry 0x403c9908
0x403c9908 - __user_exception
    at ??:??
I (46) boot: ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader
I (47) boot: compile time Jun  7 2023 08:07:32
I (47) boot: Multicore bootloader
I (51) boot: chip revision: v0.1
I (55) boot.esp32s3: Boot SPI Speed : 40MHz
I (60) boot.esp32s3: SPI Mode       : DIO
I (65) boot.esp32s3: SPI Flash Size : 8MB
I (69) boot: Enabling RNG early entropy source...
I (75) boot: Partition Table:
I (78) boot: ## Label            Usage          Type ST Offset   Length
I (86) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (93) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (101) boot:  2 factory          factory app      00 00 00010000 007f0000
I (108) boot: End of partition table
I (113) esp_image: segment 0: paddr=00010020 vaddr=3c030020 size=06d94h ( 28052) map
I (128) esp_image: segment 1: paddr=00016dbc vaddr=00000001 size=00008h (     8)
I (129) esp_image: segment 2: paddr=00016dcc vaddr=40378000 size=01888h (  6280) load
I (140) esp_image: segment 3: paddr=0001865c vaddr=00000000 size=079bch ( 31164)
I (154) esp_image: segment 4: paddr=00020020 vaddr=42000020 size=20874h (133236) map
I (188) boot: Loaded app from partition at offset 0x10000
I (189) boot: Disabling RNG early entropy source...
[WARN] - Hello world!
[INFO] - Hello world!
[INFO] - Hello world!
[INFO] - Hello world!
[INFO] - Hello world!
[INFO] - Hello world!

Output stops after that, and I'm not 100% sure but I suspect this is an espflash issue. I have experienced similar when printing the same string over and over and over again. This doesn't really happen in my nontrivial project, though.

Actually, I think you found a bug in Delay. Removing that means this demo prints Hello world! continuously, not stopping after a few.

Could you please try this? https://github.com/bugadani/esp32s3-defmt-example
I have been able to use this exact project with my USB-connected S3. This works for me without issues: no stopping, everything printed as I'd expect.
I had to change the printer to use jtag_serial, though, which is actually the setting I moved away from in my project, which is something I don't understand.

Just tried your esp32s3-defmt-example project and it's also working fine for me!

If I use the uart feature, I have no dropped bytes, but I have longer hangs sometimes, and this example project stops working reliably. I have no idea what's going on with that. Maybe @bjoernQ could help debug the byte dropping part, but I don't have a reliable reproduction for that.

Once you have a way to reliably reproduce it, we should create an issue for that. (Maybe also without it)

If I use the uart feature, I have no dropped bytes, but I have longer hangs sometimes, and this example project stops working reliably. I have no idea what's going on with that. Maybe @bjoernQ could help debug the byte dropping part, but I don't have a reliable reproduction for that.

Once you have a way to reliably reproduce it, we should create an issue for that. (Maybe also without it)

cc #53 - the issue is a bit vague but at least it's recorded now :)

I this this issue can be closed. The problems here are not specific to defmt, they relate to how rom functions flush (or not) the tx fifo.
The issue just never surfaced because most log prints end in a newline, which triggers a flush in uart, or, in jtag_serial the flush is done by hand in esp-println.