[BUG] straight branch: command not found: fd when calling +helm/projectile-find-file

Describe the issue
When calling +helm/projectile-find-file Emacs complains that it can't find the fd command:

When installing fd it works.
Steps to reproduce

remove fd from your system
call +helm/projectile-find-file (e.g. by pressing C-c p f)

System information

emacs   version    26.2
        features   JPEG RSVG IMAGEMAGICK GLIB NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS LCMS2
        build      Apr 23, 2019
        buildopts  (--disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus/26.2/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus/26.2 --with-xml2 --without-dbus --with-gnutls --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained)
doom    version    2.0.9
        build      HEAD -> straight, origin/straight 0f9ce4de 2019-07-29 03:55:42 +0200
system  type       darwin
        config     x86_64-apple-darwin18.5.0
        shell      /usr/local/bin/zsh
        uname      Darwin 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64
        path       (~/dev/emacs/elixir-ls/release ~/.rbenv/shims ~/.rbenv/shims ~/.rbenv/shims /usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/local/MacGPG2/bin /usr/local/opt/go/libexec/bin /usr/local/opt/go/libexec/bin /usr/local/opt/go/libexec/bin /usr/local/Cellar/emacs-plus/26.2/libexec/emacs/26.2/x86_64-apple-darwin18.5.0/)
config  envfile    envvar-file
        elc-files  0
        modules    (:completion company (helm +fuzzy) :ui doom doom-dashboard doom-quit hl-todo indent-guides modeline nav-flash ophints (popup +all +defaults) treemacs vc-gutter vi-tilde-fringe window-select :editor file-templates fold (format +onsave) multiple-cursors rotate-text snippets :emacs dired vc :tools ansible editorconfig eval flycheck (lookup +docsets) lsp macos magit :lang data erlang (elixir +lsp) emacs-lisp (javascript +lsp) markdown (org +attach +babel +capture +export +habit +present +protocol) (ruby +lsp) sh (web +lsp) :config default)
        packages   (n/a)

As of baafa0f this should be fixed. Let me know if that isn't the case and I will reopen this issue. Thanks for bringing it to my attention!

Works like a charm, thank you very much for your work!


Override stylelint's at-rule-no-unkown by default

Every time you have to include stylelint-scss plugin these lines are mandatory
rules: {
    'at-rule-no-unknown': null,
    'scss/at-rule-no-unknown': true,
  },

can this configuration be provided by default by stylelint-scss plugin?

Thanks @theahmadzai  ! Doing that would mean that we would enable scss/at-rule-no-unknown for everyone by default, which does not make sense. Anyone can create their own shareable stylelint configs that include the configuration that you mentioned.


Remove connections for a node that is being deleted.

Pull Request Description
Fixes https://github.com/enso-org/enso/issues/7135
https://github.com/enso-org/enso/assets/1428930/85433a69-03dc-4ad9-9563-717a78ff6ff8
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

QA: :green_circle:


Improve documentation and discoverabilty of LinearComponents.linear()

This issue is taken from https://github.com/SpongePowered/SpongeAPI/pull/2275#issuecomment-739912355
LinearComponents.linear() is clearly designed to ease the burden of creating a tree like structure, but is hindered by the fact that it's not obvious what it is, why it's there, how it works. The documentation says this:
https://github.com/KyoriPowered/adventure/blob/3af760f73830902f1a546f905ef1565814d9bc50/api/src/main/java/net/kyori/adventure/text/LinearComponents.java#L39-L45
which tells me nothing about it and devalues the existence of the function. Until recently, I was under the impression that it was mostly to be used to effectively join multiple components together - however, based on recent conversations, it actually aspires that it can be used for more than that - like including colours and styles. I have no idea how that works - does it work like Sponge API 7's Text.of() when it comes to colours and styles?
It's also not a particularly descriptive name: to most people it's not going to be obvious that "linear" components means the same as this Text.of(...) - people I know only know of it because I told them about it (and even then, I should just use a join method)! It might be better on the Component interface - but it certainly needs fleshing out in terms of documentation and what it can do.

I talked about this on Discord a bit. I think this would be a lot better if we called it Component.compose(ComponentBuilderApplicable...) instead.


Streaming celery

Summary Change Description
This adds a "progress status" to make long downloads provide status updates in a new window.  It requires 2 daemons running (RabbitMQ and the python interface to that named Celery).  I implemented a very barebones progress page that simple updates a fraction every second until the download starts.  If we like this, we can implement a prettier progress bar.  But, I expect, given the added complexity, we may just decide to live with downloads that do not show a progress "bar"...
Affected Issue Numbers

Resolves the previous download issue, but with status

Code Review Notes
I kept the old download interface as a "fallback" if the RabbitMQ or celery daemons are not started.
I wanted the window that was open to be small, but have not figured that out yet.  I am submitting for review now before I spend longer on it, to see if others feel it's a good direction to go.
The CONTRIB doc was updated if you want to try it out, but basically, all you should have to do is pip install requirements.txt and brew install rabbitmq, then start the rabbitmq and celery daemons as in the contrib doc notes.
Checklist

[x] All issue requirements satisfied (or no linked issues)
[x] Linting passes.
[x] Migrations created & committed (or no model changes)
[ ] Tests implemented (or no code changes)
[x] All tests pass

I am ok with this, if people actually prefer the customized progress bar. It seems a little overkill to me, but will defer to those with strong opinions.

I believe it to be overkill as well, as do many people on slack who respond with celery answers to progress bar questions.  But aside from celery, the only other solutions are ad-hoc/hacky one-offs.  Celery is the go-to for any asynch stuff.  Had celery not been the prevailing solution, I'd have forked off a child and updated a status file that javascript would occasionally read from.

I couldn't help myself.  I rebased off main, which involved a number of code updates relating to the code moving files, and I tested the fallback ability...
The fallback strategy worked when the celery daemon was not running, but it failed 500 when rabbitmq wasn't running.  That wasn't too hard to fix, so I fixed it while this code is relatively fresh in my mind.  Once it's all passing, and Fan has had a look, I'll close this PR.  Oops, looks like I have some tests to fix.  Not surprised.  I forgot to wait for my local tests to finish.

Closing.  May label this branch/PR in some way to keep it around for reference.


Slow Loading on Followers is Weird

This experience is a little weird. I'm not sure exactly what I'm asking to be done here, but perhaps there's a way to make this a little less frustrating. One suggestion might be to have the user card faded out a little if it's still loading? Also is there any way to like sort them so the unloaded ones are always last in the list by any chance? Just curious.

The loading message is a placeholder. We need to create a loading state, and a failed to load state.

Jon so should we close this or leave it for that?

Who's Jon?
Leave this open as a todo for loading and failed states.

@morebrownies we'll still need a design for a loading and failed state for usercards. The same design could apply to listingcards as well (in card and list view).

Ok, on my list. Did we ever find out who Jon is? 😂

We don't have a way to figure out to Jon is.


[ClangImporter] importMethodType -> importMethodParamsAndReturnType

And similar for importFunctionParamsAndReturnType and importAccessorParamsAndReturnType. In all cases the return type isn't a FunctionType, and there's also a ParameterList out-parameter.
No functionality change.

@swift-ci Please smoke test


Add a simple abstract frame navigation interface

Closes #118
This PR adds a simple abstract frame navigation interface for later use by the GUI (#107) and implementation in lib2 (#125).

Before merging this, lets wait for other devs' opinions about this. Otherwise, LGTM


Basic scatter support

This PR adds basic support for scatter instruction. Currently, the scatter functionality is limited to non-atomic writes and assignment (Left  case: +=). A warning is logged to the console indicating all limitations.
Corresponding tests were added.
fixes #539

@pramodk For benchmarking purposes, I think it is better to land the basic support first (with checks & warnings). Then we can work on atomic write support on the case-by-case basis (or when considering synapses)

By the way, when you mentioned Basic scatter support, if there are major points to address, you can add those as todo's in the doc string so that we have track of possible improvements.

Then we can work on atomic write support on the case-by-case basis (or when considering synapses)

Yes, thats fine. Atomic operations with SIMD has quite some corner cases and support is scattered. So I wouldn't worry about atomic part for CPU.


Teams periodically fails to send messages

Version
Latest
Describe the bug
Using the teams channel, it is intermittently not calling my endpoint with the user message.
This seems to be a recent issue. I have first noticed it today (26 Jun) , we have previously been widely using teams bots without any reported issues.
This happens with both app-reg backed bots and MSI backed bots.
To Reproduce

Use ngrok to test locally

Create an azure bot resource and deploy the bot code, you can just use the echobot example for this.  The functionality of the bot doesn't matter as the problem occurs in the comms between teams->the bot endpoint.

In teams, send a set of messages in quick succession, e.g. 1, 2, 3, etc. Ideally these will have different content so you can map them to the requests in ngrok.

📝 After a few messages (I can usually get it to fail within 10 messages) it will fail to send one of the messages.  You can inspect ngrok to see that the endpoint has not been called.
Expected behavior
It should deliver all messages reliably.
The UX is negatively impacted for the end users, as they are unsure whether the messages are received or not.
Screenshots
I can share a video of this privately if required.
Additional context
Please reach out for any additional context needed.

I am able to reproduce. As this doesn't make it to ngrok, it's not an SDK problem, but Teams. Will attempt to get Teams to investigate.

I am no longer able to reproduce. There may have been some transient errors on the Teams side yesterday. Are you still able to reproduce?

Hi @dmvtech - this seems to be working ok now. Thank you for looking into it


x/build/cmd/coordinator/buildongce: tests fail

Running go test golang.org/x/build/cmd/coordinator/buildongce on tip reveals:
--- FAIL: TestDeploymentManagerManifest (0.00s)
	create_test.go:63: Rendered template did not match. Rendered:
		resources:
		- name: "buildlets"
		  type: container.v1.cluster
		  properties:
		    zone: "us-central1-f"
		    cluster:
		      initial_node_count: 1
		      network: "default"
		      logging_service: "logging.googleapis.com"
		      monitoring_service: "none"
		      node_config:
		        machine_type: "n1-standard-32"
		        oauth_scopes:
		          - "https://www.googleapis.com/auth/cloud-platform"
		      master_auth:
		        username: "admin"
		        password: ""

		Expected:
		resources:
		- name: "buildlets"
		  type: container.v1.cluster
		  properties:
		    zone: "us-central1-f"
		    cluster:
		      initial_node_count: 1
		      network: "default"
		      logging_service: "logging.googleapis.com"
		      monitoring_service: "none"
		      node_config:
		        machine_type: "n1-standard-16"
		        oauth_scopes:
		          - "https://www.googleapis.com/auth/cloud-platform"
		      master_auth:
		        username: "admin"
		        password: ""
		- name: autoscaler
		  type: compute.v1.autoscaler
		  properties:
		    zone: "us-central1-f"
		    name: "buildlets"
		    target: "$(ref.buildlets.instanceGroupUrls[0])"
		    autoscalingPolicy:
		      minNumReplicas: 1
		      maxNumReplicas: 5
		      coolDownPeriodSec: 1200
		      cpuUtilization:
		        utilizationTarget: .6
FAIL
FAIL	golang.org/x/build/cmd/coordinator/buildongce	0.035s

I'm not sure if anyone still uses this project, but more generally, I am worried that we are not automatically running tests for the projects in the x/build repository. I'm happy to help familiar with setting up tests on e.g. Travis CI and CircleCI but unfamiliar with farmer.golang.org or Gerrit more generally.
I should note that the build for golang.org/x/build/devapp is also failing, and would be fixed by https://go-review.googlesource.com/#/c/34928/.

Yes, we have no build dashboard for the x/build repo. It's always been a bit weird. The tests sometimes break and we have to fix them.


Add Mahidol domain

Add Mahidol Edu domain

@Anapat19 I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host mahidol.edu.th not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


preload cache control

added a parameter to preload method to control cache options on iOS

I think this isn't needed because cacheControl is set per source. So if you want to preload a bunch of images with a certain value just make sure the source objects have it.

On second look, it looks like that doesn't work on iOS because SDWebImage didn't support setting the cacheControl/equivalent per image being preloaded, maybe it does now.


Playground: Type hint comment shows incorrect type in destructuring

Using the type-hint comment (// ^?) pointing to a destructured property displays the wrong type: any. Interestingly, the problem sometimes only affects some of the type hints:

Sometimes both:

Repro:
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgEwKYDNgDtUGELgQ5bwC+c6UBcA5AG4CuqNAUC6gB6SwoYCGDADbw0mHPkLEYACgQs4cMFTABnAFyJ5CuBw1zt2mAE8wqDQDkGIAEaooAGi0GoqAI4NgL5BphQm9uAB6QMBeDcAJHac4UkcDIz1IhWNTCytbBwS4F3dPVG84X38g0IiDaK0yhRVUGAYwaSUIVQBKTQNBasQdAKMouABeRWUVSOCDAD0AfkiAYyIVCHaAOkEIAHNpJNQIdB0mjIMDw+DJ8sdSJqA

Expected behavior:
All type hints show the correct type (not any).
Actual behavior:
Some of the type hints show any (sometimes).

Might have been a cache issue while the types were being loaded? This worked on my computer after only clicking the link


CRASH WHILE REPLACING FILES

Description
crashes while coping files.
Steps To Reproduce
open secondary pane
go to the google drive folder
copy local files
pasting on google drives folder, askint to skip duplicated files
app crashes
Requirements

e.g. Fix crash that occurs when...

Files Version
<IP_ADDRESS>
Windows Version
Version	10.0.19045 Build 19045
User ID
18860ED0-B7A8-412B-94F7-9973646EAE3F
Log File
debug.log

Thanks for the report, can you see if this is an issue in the preview version. https://files.community/download

just by restarting the app, 2nd try went well.
Shouldn't I have reported it as an issue?
----------------------------------------
Nicolás Agustín Youssefian
Diseñador Audiovisual
+541152602254
El lun, 7 oct 2024 a las 10:58, Josh65-2201 @.***>)
escribió:

Thanks for the report, can you see if this is an issue in the preview
version. https://files.community/download
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/16312#issuecomment-2397014790,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTKJBHMQ5MB4SRYEIBFRB3Z2KHSDAVCNFSM6AAAAABPP3FXWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJXGAYTINZZGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

It never hurts to report an issue 🙂
If it happens again, please let us know.

thank you!
----------------------------------------
Nicolás Agustín Youssefian
Diseñador Audiovisual
+541152602254
El lun, 7 oct 2024 a las 12:31, Yair @.***>) escribió:

It never hurts to report an issue 🙂
If it happens again, please let us know.
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/16312#issuecomment-2397255918,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTKJBCDQTNJQJU72N4RLS3Z2KSMHAVCNFSM6AAAAABPP3FXWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJXGI2TKOJRHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


(chores) camel-pulsar: fixes some errors shown in logs

Obs.: PulsarSuspendRouteIT is still broken, so the tests are likely to fail. It may take a bit more effort (from me, at least) to figure out what's going on.


zgflw: Joystick and Gamepad support

Please be critical on how I exposed the glfw API.
This PR looks big but isn't. 1,797 lines are due to the included gamecontrollerdb.txt

Thanks for the PR!
I will review it tomorrow morning.

I would like to expose Joystick as an opaque pointer. jid can be just a u4 we don't need an enum.
pub const Joystick = *opaque {
    pub fn getGuid(joystick: Joystick) [:0]const u8 {
        return std.mem.span(glfwGetJoystickGUID(@intCast(i32, @ptrToInt(joystick))).?);
    }
    extern fn glfwGetJoystickGUID(jid: i32) ?[*:0]const u8;

    pub fn getName(joystick: Joystick) [:0]const u8 {
        return std.mem.span(glfwGetJoystickName(@intCast(i32, @ptrToInt(joystick))).?);
    }
    extern fn glfwGetJoystickName(jid: i32) ?[*:0]const u8;
};

pub fn getJoystick(jid: u4) ?Joystick {
    if (isJoystickPresent(jid)) {
        return @intToPtr(Joystick, @intCast(usize, jid));
    }
    return null;
}

pub fn isJoystickPresent(jid: u4) bool {
    return glfwJoystickPresent(@intCast(i32, jid)) != 0;
}
extern fn glfwJoystickPresent(jid: i32) i32;

Or perhaps, it would be better to define it like:
pub const Joystick = struct {
    id: u4,

    pub fn getGuid(joystick: Joystick) [:0]const u8 {
        return std.mem.span(glfwGetJoystickGUID(@intCast(i32, @ptrToInt(joystick))).?);
    }
    extern fn glfwGetJoystickGUID(jid: i32) ?[*:0]const u8;

    pub fn getName(joystick: Joystick) [:0]const u8 {
        return std.mem.span(glfwGetJoystickName(@intCast(i32, @ptrToInt(joystick))).?);
    }
    extern fn glfwGetJoystickName(jid: i32) ?[*:0]const u8;
};

What do you think?

I like the struct version. I've made the API easier to use by having init return an optional joystick and giving the ability to "upgrade" a joystick to a gamepad.
I've made those changes, take another look.

Thanks for the feedback! I've incorporated it all.

Looks good, thanks!

Thanks, I would just like to reflect on the steps we took here and I think it may serve as a good template for future contributions.

Create strawman api/implementation and sample using it
Debate strawman to decide on better api/implementation design
Execute on better api/implementation design
Last review to nitpick final details such as code conventions and better types

Sounds good, should we publish those steps somewhere? WHat do you think?

Let's do this again first


Fix Data Sources list refresh on Chat when switching workspace

When switching worksapces while being on the chat screen, the data sources list stays the same at the bottom.

When switching worksapces while being on the chat screen, the data sources list stays the same at the bottom

Fixed in a kind of dirty way but good enough and works


URL helpers do not work at all in view specs

Hey, I've been wracking my head trying to figure this one out and I've hit a wall.  Ever since upgrading our app to Rails 3.1 and RSpec 2.7, the URL helpers are broken in view specs.  Example backtrace:

ActionView::Template::Error: undefined method `account_path' for #<#<Class:0x007fa5f444da30>:0x007fa5dd262318>
/Users/tmorgan/Development/recurly/app/app/views/transactions/_side_account_info.html.erb:5:in `_app_views_transactions__side_account_info_html_erb___4285474219857912422_70175171766660'
/Users/tmorgan/.rvm/gems/ruby-1.9.2-p290@recurly-app/gems/actionpack-3.1.3/lib/action_view/template.rb:171:in `block in render'
/Users/tmorgan/.rvm/gems/ruby-1.9.2-p290@recurly-app/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument'
/Users/tmorgan/.rvm/gems/ruby-1.9.2-p290@recurly-app/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/tmorgan/.rvm/gems/ruby-1.9.2-p290@recurly-app/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
[...]

Obviously, account_path is a valid auto-generated URL method.  Errors of this type are raised for all views that make calls to URL-generating methods.
If I modify my ApplicationHelper to include Rails.application.routes.url_helpers (which of course I shouldn't have to do), then the method becomes defined, but its call to url_for raises an error:
In order to use #url_for, you must include routing helpers explicitly. For instance, `include Rails.application.routes.url_helpers`

Here's an example of one such view spec; pretty straightforward:
describe "/transactions/show.html.erb" do
  before(:each) do
    @transaction = FactoryGirl.create(:payment)
    @account = @transaction.account
  end

  it "displays the transaction details" do
    controller.request.path_parameters[:id] = @transaction.uuid
    render

    view.content_for(:wide_aside).should<EMAIL_ADDRESS>    view.content_for(:wide_aside).should include("Success")
    view.content_for(:wide_aside).should<EMAIL_ADDRESS>  end
end

What's with the extra "app" directory?
/Users/tmorgan/Development/recurly/app/app/views/transactions/_side_account_info.html.erb

Also, change describe "/transactions/show.html.erb" do to describe "transactions/show.html.erb" do

The whole Rails application is stored in a directory called "app."  So Rails.root is /Users/tmorgan/Development/recurly/app.  Confusing? Probably.  Sorry.
I've removed the leading slash from the view path, no change.

RSpec's ci suite includes generating and running view specs for the stock rails-generated views, which include links to edit_xxx_path, new_xxx_path, etc, and they have since the 2.0 release through all the versions of rails up to and including the current rails master (which is rails 4). Not sure what's up but something is different about your environment than mine.
If you can whip up an app that I can clone, bundle, run specs and see the failure, I'll be glad to reopen this, but closing for now as I cannot reproduce the error.

Well if I could narrow it down to a proof of concept I could probably fix the problem :)  Could you at least lend me some insight?
This is the result of calling controller.class.ancestors within the view spec of a fresh RSpec 2.7 + Rails 3.1 app:
[ActionView::TestCase::TestController, ActionDispatch::TestProcess, #<Module:0x007f8ddb4c2640>, ActionDispatch::Routing::Helpers, #<Module:0x007f8dddccf368>, ActionController::Base, HoptoadNotifier::Rails::JavascriptNotifier, HoptoadNotifier::Rails::ControllerMethods, ActionDispatch::Routing::RouteSet::MountedHelpers, ActiveRecord::Railties::ControllerRuntime, ActionController::Compatibility, ActionController::ParamsWrapper, ActionController::Instrumentation, ActionController::Rescue, ActiveSupport::Rescuable, ActionController::HttpAuthentication::Token::ControllerMethods, ActionController::HttpAuthentication::Digest::ControllerMethods, ActionController::HttpAuthentication::Basic::ControllerMethods, ActionController::RecordIdentifier, ActionController::DataStreaming, ActionController::Streaming, ActionController::ForceSSL, ActionController::RequestForgeryProtection, AbstractController::Callbacks, ActiveSupport::Callbacks, ActionController::Flash, ActionController::Cookies, ActionController::MimeResponds, ActionController::ImplicitRender, ActionController::Caching, ActionController::Caching::Fragments, ActionController::Caching::ConfigMethods, ActionController::Caching::Sweeping, ActionController::Caching::Pages, ActionController::Caching::Actions, ActionController::SessionManagement, ActionController::ConditionalGet, ActionController::Head, ActionController::Renderers::All, ActionController::Renderers, ActionController::Rendering, ActionController::Redirecting, ActionController::RackDelegation, AbstractController::Logger, ActionController::UrlFor, AbstractController::UrlFor, ActionDispatch::Routing::UrlFor, ActionDispatch::Routing::PolymorphicRoutes, ActionController::HideActions, ActionController::Helpers, AbstractController::Helpers, AbstractController::AssetPaths, AbstractController::Translation, AbstractController::Layouts, AbstractController::Rendering, AbstractController::ViewPaths, ActionController::Metal, AbstractController::Base, ActiveSupport::Configurable, Object, RSpec::Mocks::Methods, PP::ObjectMixin, ActiveSupport::Dependencies::Loadable, FactoryGirl::Syntax::Vintage, JSON::Ext::Generator::GeneratorMethods::Object, RSpec::Core::SharedExampleGroup, RSpec::Core::DSL, Kernel, BasicObject]

And this the result for the same code in my broken app:

[ActionView::TestCase::TestController, ActionDispatch::TestProcess, ActionController::Base, Airbrake::Rails::JavascriptNotifier, Airbrake::Rails::ControllerMethods, ActionDispatch::Routing::RouteSet::MountedHelpers, ActiveRecord::Railties::ControllerRuntime, Authlogic::ControllerAdapters::RailsAdapter::RailsImplementation, ActionController::Compatibility, ActionController::ParamsWrapper, ActionController::Instrumentation, ActionController::Rescue, ActiveSupport::Rescuable, ActionController::HttpAuthentication::Token::ControllerMethods, ActionController::HttpAuthentication::Digest::ControllerMethods, ActionController::HttpAuthentication::Basic::ControllerMethods, ActionController::RecordIdentifier, ActionController::DataStreaming, ActionController::Streaming, ActionController::ForceSSL, ActionController::RequestForgeryProtection, AbstractController::Callbacks, ActiveSupport::Callbacks, ActionController::Flash, ActionController::Cookies, ActionController::MimeResponds, ActionController::ImplicitRender, ActionController::Caching, ActionController::Caching::Fragments, ActionController::Caching::ConfigMethods, ActionController::Caching::Sweeping, ActionController::Caching::Pages, ActionController::Caching::Actions, ActionController::SessionManagement, ActionController::ConditionalGet, ActionController::Head, ActionController::Renderers::All, ActionController::Renderers, ActionController::Rendering, ActionController::Redirecting, ActionController::RackDelegation, AbstractController::Logger, ActionController::UrlFor, AbstractController::UrlFor, ActionDispatch::Routing::UrlFor, ActionDispatch::Routing::PolymorphicRoutes, ActionController::HideActions, ActionController::Helpers, AbstractController::Helpers, AbstractController::AssetPaths, AbstractController::Translation, AbstractController::Layouts, AbstractController::Rendering, AbstractController::ViewPaths, ActionController::Metal, AbstractController::Base, ActiveSupport::Configurable, Object, RSpec::Mocks::Methods, FactoryGirl::Syntax::Vintage, PP::ObjectMixin, JSON::Ext::Generator::GeneratorMethods::Object, ActiveSupport::Dependencies::Loadable, Rake::DeprecatedObjectDSL, RSpec::Core::SharedExampleGroup, RSpec::Core::DSL, Kernel, BasicObject]

Everything's the same except for three missing ancestors: #<Module:0x007f8ddb4c2640>, ActionDispatch::Routing::Helpers, #<Module:0x007f8dddccf368>
Any ideas on why these are missing, by chance?

@RISCfuture I wish I could help you, but I don't know how I can without being able to debug your code on my system. Two of the modules are anonymous, and the fact that ActionDispatch::Routing::Helpers is missing from your app suggests that something is preventing it from being included, but I wouldn't know where to start looking without seeing the code.

Figured it out.  It's setting config.threadsafe! -- this causes the TestController to be subclassed from ActionController::Base before ActionController::Base is extended with the route helper methods.

Nice find, helped me out :)

Hey guys noob here, are you guys adding config.threadsafe! somewhere inside your config/environments/*.rb files? or how did you manage to fix this?

Personally I modified the test code that required threadsafe! to be set, so I could turn it off in test.

that also went over my head i assume you modified a vendored rspec-rails gem to allow disabling threadsafe! ?  i also assumed threadsafe! was off by default

No, config.threadsafe is something you set in config/environments/*.rb (in this case, test.rb).  It's off by default.

I see, mine is off also, so there must be something else :(

i am also missing ActionDispatch::Routing::Helpers i guess i will have to try with a fresh app and minimal gemset


gene_to_region() is not working

I was trying to get the region for the gene but the gene_to_region() does not work as advertised. Even the code from examples returns the error:
r$> bcl2_region = gene_to_region(gene_symbol = "BCL2",
                                  genome_build = "grch37")
Error in `mutate()`:
ℹ In argument: `start = (function (x, y) ...`.
Caused by error:
! Can't convert `y` <character> to match type of `x` <double>.
Run `rlang::last_trace()` to see where the error occurred.

r$> bcl2_region = gene_to_region(ensembl_id = "ENSG00000171791",
                                  genome_build = "grch37")
Error in `mutate()`:
ℹ In argument: `start = (function (x, y) ...`.
Caused by error:
! Can't convert `y` <character> to match type of `x` <double>.
Run `rlang::last_trace()` to see where the error occurred.

Here is the error trace
r$> rlang::last_trace()
<error/dplyr:::mutate_error>
Error in `mutate()`:
ℹ In argument: `start = (function (x, y) ...`.
Caused by error:
! Can't convert `y` <character> to match type of `x` <double>.
---
Backtrace:
     ▆
  1. ├─GAMBLR::gene_to_region(ensembl_id = "ENSG00000171791", genome_build = "grch37")
  2. │ └─... %>% distinct(.keep_all = TRUE)
  3. ├─dplyr::distinct(., .keep_all = TRUE)
  4. ├─dplyr::mutate_all(., na_if, "")
  5. │ ├─dplyr::mutate(.tbl, !!!funs)
  6. │ └─dplyr:::mutate.data.frame(.tbl, !!!funs)
  7. │   └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
  8. │     ├─base::withCallingHandlers(...)
  9. │     └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
 10. │       └─mask$eval_all_mutate(quo)
 11. │         └─dplyr (local) eval()
 12. └─dplyr (local) `<fn>`(start, "")

I thought this was fixed by updating dplyr but I also thought @vladimirsouza had addressed this with a patch.

Probably I just don't have the updated master - will double check after pulling the latest version

Right, updating from master fixes this - sorry for the duplicated issue. Will close this one!


cp dynamic position not changes on update

so i created just one dynamic object globaly
 const   dynamic_body: cp.World.ObjectOption.BodyProperty = .{
            .dynamic = .{
                .position = .{
                    .x = 0,
                    .y = 0,
                },
            },
        };

add to world in init
        _= try world.addObject(.{
            .body = dynamic_body,
            .shapes = &.{
                .{
                    .circle = .{
                        .radius = 15,
                        .physics = .{
                                    .weight = .{ .mass = 1 },
                                    .elasticity = 0.5,
                                },
                    },
                },
            },
        });

then on update try to read its position, but on every step value is the  same :(
where on screen object falls down all work as expected...
pub fn update(ctx: jok.Context) !void {
    // _ = ctx;
        world.update(ctx.deltaSeconds())
        const px: i32 = @intFromFloat(dynamic_body.dynamic.position.x);
        const py: i32 = @intFromFloat(dynamic_body.dynamic.position.y);
        print("bug {} x, y: {}, {}\n", .{0, px, py});
}

do i mising something agen ?

You need to update the physical status within chipmunk, by calling     world.update(ctx.deltaSeconds());. I recommend reading chipmunk's official document, its very well written.

OK, I think your real problem is from reusing dynamic_body, which is only for initialization. In order to get updated position, you should use index returned by world.addObject to access array world.objects, which contains cpBody/cpShape. jok only get you this far, you need to use c api of chipmunk to get further information, such as position/rotation etc.

i try kinda
        const b =   world.objects.items[0].body;
        const bv = cp.cpBodyGetPosition(b);

        print("b {}\n", .{bv});

error: root struct of file 'deps.chipmunk.chipmunk' has no member named 'cpBodyGetPosition'
const bv = cp.cpBodyGetPosition(b);
    so no much chips api can help me here

Try cp.c.cpBodyGetPosition.
One more thing, world.objects.items[0].body is optional type, you might consider using .? operator to get real pointer.
It seems you are not familiar with basic zig knowledge well enough, I recommend you to read official documentation on ziglang.org more thoroughly. Its required to be able to dig into official document and source code when working with foss project, especially if you choose to use a programming language still being developed like zig.

yuhuu thanks  it works now :)   yes i just started with zig so sometimes get stuck.
        const b =   world.objects.items[0].body.?;
        const bv = cp.c.cpBodyGetPosition(b);

        print("b {}\n", .{bv});

b deps.chipmunk.c.struct_cpVect{ .x = 0e0, .y = 1.0546666e3 }
b deps.chipmunk.c.struct_cpVect{ .x = 0e0, .y = 1.0735e3 }
b deps.chipmunk.c.struct_cpVect{ .x = 0e0, .y = 1.0925e3 }
b deps.chipmunk.c.struct_cpVect{ .x = 0e0, .y = 1.1116666e3 }
b deps.chipmunk.c.struct_cpVect{ .x = 0e0, .y = 1.131e3 }
b deps.chipmunk.c.struct_cpVect{ .x = 0e0, .y = 1.1505e3 }.....


select: Invalid argument

TEST_BROWSER_DRIVER=phantomjs TEST_WATCH=1 meteor test-packages --driver-package dispatch:mocha ./

I20170302-11:37:23.006(2)? select: Invalid argument
I20170302-11:37:23.006(2)? select: Invalid argument
I20170302-11:37:23.007(2)? select: Invalid argument
I20170302-11:37:23.007(2)? select: Invalid argument
I20170302-11:37:23.007(2)? select: Invalid argument
I20170302-11:37:23.008(2)? select: Invalid argument
I20170302-11:37:23.008(2)? select: Invalid argument
I20170302-11:37:23.008(2)? select: Invalid argument
I20170302-11:37:23.008(2)? All client and server tests finished!
I20170302-11:37:23.008(2)?
I20170302-11:37:23.008(2)? --------------------------------
I20170302-11:37:23.008(2)? SERVER FAILURES: 1
I20170302-11:37:23.009(2)? CLIENT FAILURES: null
I20170302-11:37:23.009(2)? --------------------------------

I simply can't get this to work..

Use nightmare/electron option instead of phantomjs. The select: Invalid argument is a known phantomJS issue https://github.com/ariya/phantomjs/issues/13231

Thanks @keyscores will try it out.

PhantomJS is discontinued and will no longer receive any updates, closing this ticket as it only seems to apply to PhantomJS.


Navigating to a new screen after pop() in MobileScannerController doesn't work after the first time

I have a setup where I call BarcodeScannerWithController in a modal way by awaiting on the push() that opens the BarcodeScannerWithController widget, then uses the result of the QR code to open a second screen. When tapping back from this second screen, and re-issuing the modal call, the scanner opens, the code is scanned correctly but then the second screen is not pushed, even though I can check from debug messages that the build method on this second screen is called, but nothing is displayed and the home screen stays active.
I think some code would better clarify.
  Future<void> _openScannerModal(BuildContext context) async {
    mainLog.fine('_openScannerModal');

    final result = await Navigator.push(
      context,
      MaterialPageRoute(
        builder: (context) => const BarcodeScannerWithController(),
      ),
    );

    mainLog.fine('_openScannerModal result');

    if (!context.mounted) return;

    mainLog.fine('_openScannerModal context.mounted');

    BarcodeCapture barcodes = result as BarcodeCapture;
    String? studyUrl = barcodes.barcodes.first.rawValue;
    //String? studyUrl = result;

    mainLog.fine('_openScannerModal studyUrl: $studyUrl');

    if (studyUrl != null) {
      setState(() {
        context.go(Uri(path: '/study', queryParameters: {'studyUrl': studyUrl})
            .toString());
        mainLog.fine('_openScannerModal setState studyUrl: $studyUrl');
      });
    }
  }

I call this _openScannerModal from a button inside the main HomeScreen (starting screen of the app.) The onDetect inside the BarcodeScannerWithController has a Navigator.pop(context, barcode).
The first time, everything works according to plan, the second time (or any additional time after) the scanner is opened and the QR code scans correctly, the /study route is also opened correctly, and also the widget that handles the route is built correctly, including the HTTP request associated to the URL (I can confirm all of these with additional debug prints) but then the widget that handles the route is not displayed, leaving the HomeScreen visible instead.
I tested this with a Test widget (instead of BarcodeScannerWithController) which simply calls Navigator.pop(context, studyUrl) and it works as expected, you can go back, and re-open the Test widget any amount of times.
I'm not sure how the BarcodeScannerWithController would interfere with the navigation but it seems like it does. I've also tried to wrap the MobileScanner inside a Builder in case the context was wrong but without success.

Okay, it seems like this was caused by onDetect being called again, thus calling pop(), immediately after navigating to the new screen. Simply checking inside the onDetect if this.barcode is null. This is very strange because I had a debugPrint inside onDetect and this debug print appeared earlier in the logs (before opening the new screen). It's possible this was a sync issue where the log/console put the statements in a different order. For reference for others, the fix is something like this:
onDetect: (barcode) {
  if (this.barcode == null)
  {
    this.barcode = barcode;
    Navigator.pop(context, barcode);
  }
},


re-enabling test for CI

Draft to test CI first
Fixes: #335
Signed-off-by: Leonardo Rossi<EMAIL_ADDRESS>

@mcollina can't reproduce in local machine. Any clue?

There seems to be something odd with the pnpm setup, it's not building @matteo.collina/worker.


Code cleanup + compat changes

Should allow better compat with mods that hook into the Vanilla skylight engine. Also fixed gradle build.

lgtm


Link issues in namepaths with special characters

The namepath docs include the following example of code that uses special characters in namepaths:
/** @namespace */
var chat = {
    /**
     * Refer to this by {@link chat."#channel"}.
     * @namespace
     */
    "#channel": {
        /**
         * Refer to this by {@link chat."#channel".open}.
         * @type {boolean}
         * @defaultvalue
         */
        open: true,
        /**
         * Internal quotes have to be escaped by backslash. This is
         * {@link chat."#channel"."say-\"hello\""}.
         */
        'say-"hello"': function (msg) {}
    }
};

/**
 * Now we define an event in our {@link chat."#channel"} namespace.
 * @event chat."#channel"."op:announce-motd"
 */

Unfortunately, the methods in templateHelper aren't so kind to these namepaths:

The generated file names are just underscores. We should probably strip quotation marks--being careful about escaped quotation marks!--before we truncate the output file name.
Links to specific members are broken. I haven't investigated why.

This is a somewhat unusual case, but we should handle it better.

We now generate reasonable filenames for this scenario. However, there are still several problems:

We handle chat."#channel" incorrectly. We change its longname to chat#channel and say that channel is an instance member of chat. I'm guessing this is a regression in 3.3.0, although I could be wrong.
The event chat."#channel".event:"op:announce-motd" does not appear in the docs for chat."#channel" (probably because we mangle the longname for chat."#channel").
In the navbar, the link to the event points to the file chat.__channel_.html, which doesn't exist (because we mangle the longname for chat."#channel").

Looks like I broke the chat."#channel" handling in 44d9ec6831e498bd082de98a5bc60abfdba2bb7f, which is the "new parser infrastructure" mega-commit. That'll be fun to track down...

I filed #950 for the messed-up namepath.

The fix for #950 appears to have resolved all of the issues mentioned above. Closing.


Migrate to reusable workflow with matrix support

We'll merge these other PRs before making a final change here and merging this one:

https://github.com/endjin/Endjin.RecommendedPractices.Build/pull/109
https://github.com/endjin/Endjin.RecommendedPractices.GitHubActions/pull/36


Swaps: Add relevant analytic events

No analytics are fired currently. @markmhendrickson to help @fbwoolf establish which events are needed.

We discussed this at one point...wasn't a doc being created to track analytics by the design team?

It's been on my todo list. Will assign myself and dd guidance here.

Given that this has sat for a year I'm going to close it. I think we should create a single project that encompasses tracking work we want to do and assign it to a given cycle.

Good idea. I've stubbed our an initiative for improving visibility into extension usage generally here.


Use rosdep

Recommend resolving and installing dependencies with rosdep instead of apt.

I don't think there is anything in this repo which needs / uses either Maven or Java. It is the CycloneDDS package which needs these depenencies and since that package doesn't have a manifest the information is added in the release repo: see https://github.com/ros2-gbp/cyclonedds-release/blob/12ca7b0b56f1188d9cb71194e1c95f1438dfe99a/dashing/package.xml

You’re right, there isn’t. This package is just the best place that I could see to put these dependencies so rosdep will get them when building cyclonedds and rmw_cyclonedds from source.
Where else would you recommend putting these dependencies instead if the user is building cyclonedds?

I think the right thing to do is create a cyclonedds_vendor package, which wraps cyclone_dds and adds the package.xml file but not sure.

I don't think there is anything in this repo which needs / uses either Maven or Java. It is the CycloneDDS package which needs these depenencies and since that package doesn't have a manifest the information is added in the release repo: see https://github.com/ros2-gbp/cyclonedds-release/blob/12ca7b0b56f1188d9cb71194e1c95f1438dfe99a/dashing/package.xml

Cyclone can be built without the Java parts by setting CMAKE variables to skip the IDL preprocessor and a configuration tool: BUILD_IDLC=NO and BUILD_CONFTOOL=NO. Some examples and tools that depend on IDL preprocessing also don't get build, but you do get the core library, and that's enough for the RMW layer.
I don't know if that would be feasible, though.

Thank you @rotu, this is great!

Shoot. I think there’s a bug with how this interacts with Colcon since the default is to build all packages in a workspace. I probably need to turn off building CycloneDDS within the vendor package itself. Follow up PR coming

You have to choose which of the two options you want to do:

clone cyclonedds into the workspace and build it as any other package or
use a vendor package which by default builds CycloneDDS as an ExternalProject within

@rotu FYI this change broke CI since the package doesn't declare a dependency on git: http://build.ros2.org/view/Dci/job/Dci__nightly-cyclonedds_ubuntu_bionic_amd64/32/consoleFull#console-section-209


Running under Python 3.7.3

Is it possible to have arya to run under Python 3.7.3

the current cobra model only supports python2, Cisco is working on python3 support.


US 03.03.01

As a meal planner, I could pick a time for a meal inside a single daily meal plan for I will be planning to eat.

Use Time Picker Dialog Fragment


[WiP] Fix position field management

Still WiP, but when testing some API operations i found that position and path gets out of sync when not using the frontend editor.
Analysis is not completed yet, I guess there are better strategies to fix this

IDK why commit 	b37dd94 is in this PR as it's already been merged ...

@yakky just so you know I'm working on a refactor in the reorder_plugins utility. Behavior will stay the same.

@czpython ok. What's your opinion on this?

@yakky I have some concerns but the main one is I don't think this should be done on 3.2.x
Given the refactors being done on 3.3 I suggest we do it there instead.

I'm fine with moving this to 3.3

@yakky please re-try some of this now that #4381 has landed.

Closing this for now, I'll reopen on develop after further checks

We just ran into the same problem working with child plugins. While everything worked fine when adding the plugins for the first time, changing the order would result in correct positions, but not adjusting the  path values. See screenshot.

Any updates on this? This issue seems to persist throughout v3.4.2.

We can reproduce the problem even with plugins on the first level. If we add 3 plugins and move the order in the structure mode, the path gets out of sync with the position.

same on 3.4.4. plugin tree operations that are done with the cms api seem to use the treebeard, and forget about position...what should be ok, but is not right now, as there still is the field position. as this one is close: is there a new issue for this bug?


correcting floating values for RSI and STOCHRSI to enable build passing

Running tests locally showed different values for RSI and STOCHRSI. Correcting test cases to let builds in Travis CI pass.

Thank you for this fix ;)


Sidebar on small devices

On small devices, the sidebar is cropped at the top (it needs some padding). Also when it is opened in the beginning of the page (when the screen is still on the header) it does not have a background color.
These bugs are only happening between screen widths 991px and 451px

Hi @shahednasser
Can you check again I think this one has been corrected already.

@JithinAji it seems the transparent background is fixed, however there's still the problem with the margin in the specified screen width, and another problem is when the sidebar is opened on a small device and then the screen is enlarged the sidebar is visible at the top of the page.

Can you please assign this to me. I will try to fix this as soon as I can.


UserInformation - how to get principal name for an AAD joined machine

If a machine is AD joined, I can get the user principal name as demonstrated in the sample. If the machine is AAD joined instead, I cannot get the user principal name, even though the machine has access to the corporate network and the "Access Work or School" account has this detail. I am able to get other properties such as the FirstName, LastName and picture, which are associated with the MSA account.
Is there a way to get the user principal name of the Work or School account, if any ?

This isn't an issue with a sample in this repo. You can open a support case with our Developer Support team:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.

(Limitations on what properties are available for different types of accounts is documented here.)


Rust compiler updated to latest stable version 1.5.0

Current Cask version (1.3.0) is out of date

Thank you for the contribution. It was merged directly as acd317b7e2890806c6e9ac7e1462ffc3ab69fae2 to keep commit history cleaner. Your contribution is still credited to you.


Can't find nearest test when cursor is on a comment

Nice plugin!
I'm experimenting with this in a TypeScript project and noticed what may be a little bug. If the cursor is directly over a comment, then it seems like it is unable to traverse the parent nodes to find the nearest "test" block. But moving anywhere else inside the test function locates it perfectly fine.

Hi @kahnclusions ,
Thanks for this report, yes, that's also something I noticed.
The reason is that comments are at the top level of the AST.
I will fix it as soon as I have some time!
Best regards,
David

Hi @kahnclusions ,
I fixed the bug: https://github.com/David-Kunz/jester/commit/68a87c5e7c9afa2d9a1d32cb6a3fc109122cbc2d
It would be great if you could tell me if that fixes your problem.
Thanks again and best regards,
David

Yes! Can confirm it works now. Thanks for the quick fix @David-Kunz  🔧


Tuning for Apple M1 AMX2 coprocessor

I know that there is already a similar discussion for the general tuning on Apple M1 chips (see https://github.com/xianyi/OpenBLAS/issues/2814) but I wanted to revive this topic a little bit (focusing on Apple's AMX2 extension). I guess, regarding the M1 ARMv8 support, OpenBLAS already works pretty well and I think you did a very good job on that!
Nevertheless, we know by now that Apple's AMX2 extension (e.g. through vecLib) allows probably an even higher performance by simultaneously achieving a dramatically improved efficiency. If I understood correctly, so far, the main problem for adopting AMX2 instructions has been the missing documentation from Apple. However, even without the help of Apple, it seems that in the last two years those instructions have been decrypted (and unofficially documented) nearly completely (at least to my understanding, e.g., see https://github.com/corsix/amx#readme).
Thus, my question: Having this knowledge now, would it be possible to implement appropriate (Apple M1) AMX2 kernels in OpenBLAS so that we can achieve the same or an even better performance/efficiency than vecLib?

Idk about the legal aspects of using undocumented upcodes. From my perspective as a layman, I would guess you are allowed to run any kind of code on a PC you bought. And I think in all open source licenses are legal disclaimer included which should release you from all liabilities if something goes south. Has anybody maybe the possibility to ask an expert on this legal question?
I know that corsix referenced to the gist that was already suggested. It is surely no ‚official‘ documentation there but, in contrast to the previously suggested gist, corsix provides a documentation which is probably as complete and extensive as it can be. Furthermore corsix provides test routines to all commands which proof their functionality.

You have Accelerate framework from Apple which uses secret co-processor. Not even xcode clang has any support for those instructions. I dont see even disassembler anywhere.

The thing is that the Accelerate framework just provides LP64 BLAS/LAPACK and some software relies on an ILP64 implementation. E.g, Julia (see https://github.com/JuliaLang/julia/issues/42312) uses per default OpenBLAS on all platforms but allows also to plug in other BLAS/LAPACK implementations as long as they provide ILP64 routines. This basically prevents the use of vecLib in Julia. On the other hand, if OpenBLAS would have the same performance/efficiency as vecLib, there would be no need to switch to the Accelerate framework in the first place - this was also my motivation for posting this idea here since it would be the most elegant way resolve this issue (from the Julia perspective)...
However, you seem doubtful regarding using the AMX extension directly and I understand your point of view from a legal perspective. Since you mentioned the Accelerate framework, here an alternative idea: Would it be possible (or reasonable, Idk the structure and paradigms of OpenBLAS) to simply write a wrapper to call those few BLAS level 3 routines which benefit from AMX code directly from vecLib BLAS, preserving the ILP64 interface?

Currently AMX co-processor is undocumented and uninstrumented. It is quite legal to tinker, though nobody prevents OEM to microcode your toys away.
Wrapper can be written at ILP64->LP64 level - just check if int64 arguments would fit in int32 and call accelerate. otherwise int64 openblas. That switchover point is int32 sized bunch of floats, i.e 16GB and by magnitude bigger matrices, impractical on current M1 systems.
For all practical purposes you double speed on current M1 systems while maintaining purity of int64 internals in Julia, and fill the gap to instrumentation or obsolescence of AMX.

Sure, the vecLib BLAS wrapper solution would accelerate at least matrix multiplications. But, if I understood correctly, OpenBLAS uses internally optimized kernels to accelerate things such as some LAPACK routines and other operations. Obviously, by using BLAS wrappers one would not have the benefit there. Additionally, the BLAS version/behavior might differ in the end as the vecLib and openBLAS implementation might diverge at some point. Thus, I think, in the end, the only 'clean' solution would be to have those optimized kernels in OpenBLAS which benefit from Apple's AMX extension...
Recently, I stumbled over Apple's SIMD API which is also part of the accelerate framework: https://developer.apple.com/documentation/accelerate/simd.
It looks to me as those SIMD instructions have quite the same functionality as openBLAS kernels (e.g., simd_mul() on 4x4 double matrices, please correct me if I'm wrong). Hence, an other idea: wouldn't it be possible to interface these SIMD instructions to OpenBLAS kernels? I strongly assume these SIMD functions use the AMX backend. If this strategy would be feasible, OpenBLAS could be optimized for several (future) Apple hardware products without larger modifications since Apple will probably optimize these instructions for its individual platforms.

Actually dubiously named co-procesor is not mentioned in that abstraction API anywhere. Or by Apple.
Though you can try yourself if 4x4 * 4x1 generates any non-disassemblable functions or calls deep in accelerate libraries.

Closing as not currently planned due to the still unclear situation and the availability of standard SME in the most recent successors


Prove the distributivity and associativity of the multiplication

You're getting as many beers as you wish the next time we meet :-)

With pleasure :) I guess it'll be at the next Types conference in Turin. I'll also try to present the split of the constructive reals in the stdlib at the JFLA conference (in January)


Enhancements to led_light (MEGH-3137)

I have in hand a set of enhancements to the led_light example, including:

Very simplistic exponential curvature brightness compensation for the WS2812
Reuse of esp_rmaker_param_val_t instead of pulling them apart and putting them back together
More consistent error handling and logging
Factoring-out of duplicated code in app_light_init
Replacement of string-comparison parameter checks with faster referential parameters checks
Replacement of unrecognised-parameter ignore with proper logging

Is it worth submitting a PR?

@gtoombs-microsaas , this indeed sounds useful. I believe this may not be applicable just for led_light, but other examples as well. It would help if you file separate PRs for individual features so that they are easier to review and merge.

First PR: https://github.com/espressif/esp-rainmaker/pull/110


Allow multiple texts in a label

Allow the defining of multiple texts in a label, like this:
(label test
(text "Upper Text")
(text "Lower Text")
)
Make the base dialogue box show these in a column.

Actually, just add support for \n. Don't overcomplicate it.


Investigate recent regression on Material UI from contextual discrimination changes

#43937 seems to have regressed our check times on material UI drastically.

We'll need to address this before TS 4.7
Originally posted by @DanielRosenwasser in https://github.com/microsoft/TypeScript/issues/43937#issuecomment-1069730519

cc @erikbrinkman who may or may not still be interested in the saga of this issue

reproducibility - can you point me to how to run the material-ui benchmark to test different changes?

Unfortunately, we don't keep our perf tests in a public repo. Fortunately, in this case, it's just the compiler run on material-ui right off GitHub. (Admittedly an old version, but that hopefully shouldn't matter for tracking down the perf issue)
debugging / profiling - it may be helpful to time individual sections, are there tools in place to help with this sort of profiling?
--extendedDiagnostics for rough timing information like it's used to make the chart above. --generateCpuProfile for a V8 function by function profile. --generateTrace for some very detailed timing data.

Caching - ... other documentation on appropriate caching of things like this, that would also be helpful

There is not any docs per sey, but types are checker local, so just storing the results in an appropriately keyed map in the type itself should work. (The only interesting things we do for caching is look-aside tables for caches associated with symbols and nodes since those can last thru multiple checker runs - getSymbolLinks and getNodeLinks respectively)

I'm having trouble reproducing the regression.
Below are the times in seconds for each sub-package of material-ui (tag v5.5.1) as profiled by lerna in non-parallel mode on my machine. I ran the tests for three commit hashes, the one right before this PR, the current main branch, and the main branch with a reversion commit of this pr.

package
before #43937
main
reverted #43937

@mui/base
26.268347600000002
26.7986195
33.0626978

@mui/icons-material
26.870894
27.19544
26.792166100000003

@mui/joy
45.258862799999996
49.9254462
62.4831679

@mui/lab
40.5806509
45.2504982
57.1469001

@mui/material
70.86257459999999
77.4559788
88.8601728

@mui/material-next
21.8407785
24.106021600000002
22.7398095

@mui/private-theming
22.3616186
23.1901557
27.4129729

@mui/styled-engine
34.4923338
34.983745299999995
34.9130545

@mui/styled-engine-sc
49.7938617
51.5644316
53.9521717

@mui/styles
25.465002600000002
30.1549613
39.1888584

@mui/system
31.444028199999998
36.7753012
46.1737295

@mui/types
7.4932431
7.7030562
7.6045776

@mui/utils
33.7302696
34.9460455
34.3483024

docs
6.3518498
6.978989299999999
6.8208478

test
32.532102
33.2769884
33.110612100000004

typescript-to-proptypes
15.6097092
15.9531274
15.6577215

There does seem to be a significant regression between before the PR and main, although it appears to be at most 20% not the 80% that seen in the attached graph. Strangely, simply reverting the commit makes things significantly worse. I'm running these on WSL so maybe that's why there's weird diagnostic overheads. It's also probably worth noting that I get errors on both branches that aren't main, having to do with Excessive stack depth comparing types.
The only thing I can think of is that maybe material-ui has changed. Is it possible to get the commit hash of the version your profiling is based off of? Alternatively would it be hard for someone to verify the profiling behavior on v5.5.1 of material-ui?

I don't have an exact SHA, but I can tell you it's from material-ui version 4.8.3. Hopefully anything from that version is comparable (hopefully there's a git tag).

And the benchmark in question is building -p docs -incremental false

Thanks for the tips! I'm still struggling to reproduce.
On the latest tag (v5.5.1) the pinned typescript reports no errors, but there are errors with ~v4.4 (so all the versions I'm comparing for timing). On v4.8.3. yarn tsc -p docs fails with both the tagged version on all of the different cuts I'm testing.
 I could try to fix all of the errors on v4.8.3, but it's not clear if the way that I fix them will show consistent regressions. Also, apriori I have no estimate for how difficult fixing them is going to be.
I know you don't have a commit hash for what your benchmarking on, but I imagine to test recent versions of the compiler you've had to make independent patches on top of the cut you took. Is there any chance you can upload a patch of those commits? Ideally just something where tsc v4.4 works when applied to 4.8.3.

On my box, reverting 751c11412618e8b2a504380135bc2f0b2505e18f cuts the check time for the docs project in MUI master by 20%, back to the TS 4.6 level.

My repro steps:

git clone https://github.com/mui/material-ui
cd material-ui
yarn --ignore-scripts
yarn docs:typescript:check (this used to generate some files - not sure if it still does)
node pathtomylocal/tsc.js -p docs -incremental false -extendeddiagnostics

(This is largely from memory, so I may have missed a step)

I know you don't have a commit hash for what your benchmarking on, but I imagine to test recent versions of the compiler you've had to make independent patches on top of the cut you took

Actually, I believe the benchmark remains immutable and we eventually end up measuring how long it takes to produce appropriate errors.

Thanks so much @amcasey for the context. I can now reproduce!


Error in find_nearest_points_same_pool_diff_lanes

Hi there again,
I'm using this great library for my bachelor's thesis, which is about automatic BPMN generation using NLP. (therefore, the input is sort of messy). I majorly used the "render" function, and I got interesting error messages when the diagram became larger.
for example, the input syntax as
title: debug
width: 10000
colourtheme: BLUEMOUNTAIN
lane: any employee
(start) as start
[the process of an office supply request starts] as activity_01
[submits an office supply request] as activity_02
<register the requirement?> as gateway_1
lane: immediate supervisor
[receive the request] as activity_03
<> as gateway_1_end
lane: supervisor
[approve a change] as activity_04
[ask for a change] as activity_05
[reject the request] as activity_06
<> as gateway_2
[the process end] as activity_07
[make a change] as activity_08
[return it to the petitioner employee] as activity_09
lane: petitioner employee
[review the comments for the change request] as activity_10
[request go to the purchase department] as activity_11
[making quotations] as activity_12
[select a vendor] as activity_13
lane: purchase department
[have] as activity_14
[choose a different vendor] as activity_15
<> as gateway_2_end
[select a vendor] as activity_16
[confirm a vendor] as activity_17
[the system generate a purchase order] as activity_18
[the system send a purchase order] as activity_19
[the system wait a purchase order] as activity_20
[deliver the product] as activity_21
[the invoice received] as activity_22
<the system in any case send a notification?> as gateway_3
lane: user
[know] as activity_23
<> as gateway_3_end
[approval rejection or change in any of the cases required] as activity_24
(end) as end
start->activity_01->activity_02->gateway_1
gateway_1-"yes"->activity_03->gateway_1_end
gateway_1-"no"->gateway_1_end
gateway_1_end->activity_04->activity_05->activity_06->gateway_2
gateway_2-"reject the request"->activity_07->gateway_2_end
gateway_2-"ask the request"->activity_08->activity_09->activity_10->gateway_2_end
gateway_2-"approve the request"->activity_11->activity_12->activity_13->gateway_2_end
gateway_2-"the vendor is not valid"->activity_14->activity_15->gateway_2_end
gateway_2_end->activity_16->activity_17->activity_18->activity_19->activity_20->activity_21->activity_22->gateway_3
gateway_3-"yes"->activity_23->gateway_3_end
gateway_3-"no"->gateway_3_end
gateway_3_end->activity_24->end
will lead to an error message as
/usr/local/bin/python3.10 /Users/shuaiwei_yu/Desktop/bachelor-thesis/project/BPMNrenderer.py
Traceback (most recent call last):
File "/Users/shuaiwei_yu/Desktop/bachelor-thesis/project/BPMNrenderer.py", line 60, in
render(input_syntax, "/Users/shuaiwei_yu/Desktop/output/text06_test.png")
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/processpiper/text2diagram.py", line 303, in render
exec(generated_code)
File "", line 77, in
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/processpiper/processmap.py", line 385, in draw
lane.draw_connection(all_shapes)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/processpiper/lane.py", line 221, in draw_connection
shape.draw_connection(self.painter, all_shapes)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/processpiper/shape.py", line 729, in draw_connection
) = self.find_nearest_points_same_pool_diff_lanes(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/processpiper/shape.py", line 436, in find_nearest_points_same_pool_diff_lanes
del points_source[nearest_points["source_name"]]
KeyError: 'source_name'
sometimes when you can just change the order a bit, and this will fix the problem, but with such a large diagram, this trick doesn't work. Can you give me some hints about this? Thank you very much!

@ShuaiweiYu , I'm delighted you used the processpiper package in your thesis. I looked at your example, and the reason you got the error is that you are attempting to connect 'gateway_2' to more than three different elements. Consider the following code segment:
gateway_1_end->activity_04->activity_05->activity_06->gateway_2
gateway_2-"reject the request"->activity_07->gateway_2_end
gateway_2-"ask the request"->activity_08->activity_09->activity_10->gateway_2_end
gateway_2-"approve the request"->activity_11->activity_12->activity_13->gateway_2_end
gateway_2-"the vendor is not valid"->activity_14->activity_15->gateway_2_end

A gateway can have a maximum of four connections. You have one incoming connection from the activity_6 element and four outgoing connections, for a total of five connections.
I suggest you change your code to reduce the complexity of your gateway. You could add another gateway after gateway_2 like the diagram below.

Hope this help.
I will change the processpiper package in the next release to have more user friendly error message.

cool! thanks for the clear and quick response. Can you also take a look at this example?
title: debug
width: 10000
colourtheme: BLUEMOUNTAIN
lane:
(start) as start
[the loan approval process starts] as activity_10
[receiving a customer request for a loan amount] as activity_11
[invoke the risk assessment web service] as activity_12
[assess the request] as activity_13
<> as gateway_1
[approve the loan] as activity_4
[deny the loan] as activity_6
[send the request] as activity_9
<> as gateway_1_end
[the customer receives feedback from the assessor or approver] as activity_14
(end) as end
start->activity_10->activity_11->activity_12->activity_13->gateway_1
gateway_1-"the loan is small, the customer is"->activity_4->gateway_1_end
gateway_1-"the customer is"->activity_6->gateway_1_end
gateway_1-"the customer needs further review, the loan amount is for $ 10,000 or more"->activity_9->gateway_1_end
gateway_1_end->activity_14->end
the conditions here specified for each situation are actually not very well displayed. In the diagram below, as you can see, the "the loan is small, the customer is" and "the customer is" fit well, but "the customer needs further review, the loan amount is for $ 10,000 or more" seems as if it belongs to somewhere above.

Hi, unfortunately, this a defect in the processpiper package. I will try to fix it in the next release.
Meantime, this is what I have as a workaround:
title: debug
width: 10000
colourtheme: BLUEMOUNTAIN
pool: Pool
lane:
    (start) as start
    [the loan approval process starts] as activity_10
    [the customer receives feedback from the assessor or approver] as activity_14
    (end) as end

lane:
    [receiving a customer request for a loan amount] as activity_11
    [invoke the risk assessment web service] as activity_12
    [assess the request] as activity_13
    <> as gateway_1
    <> as gateway_2
    <> as gateway_3

lane:
    [approve the loan] as approve_the_loan
    [send the request] as send_the_request
    [deny the loan] as deny_the_loan

lane:
    <> as gateway_2_end

lane:
    <> as gateway_1_end

start->activity_10->activity_11->activity_12->activity_13->gateway_1
gateway_1->gateway_2
gateway_1-"the loan is \\nsmall, the \\ncustomer is"->approve_the_loan->gateway_1_end
gateway_2->gateway_3
gateway_2-"the customer is"->send_the_request->gateway_2_end
gateway_3->deny_the_loan
deny_the_loan->gateway_2_end
gateway_2_end->gateway_1_end
gateway_1_end->activity_14->end

@ShuaiweiYu In v.0.4.2, you can now have all elements in one lane:
from processpiper import text2diagram

piperflow = """title: debug
width: 10000
colourtheme: BLUEMOUNTAIN
pool: Pool
lane:
    (start) as start
    [the loan approval process starts] as activity_10
    [the customer receives feedback from the assessor or approver] as activity_14
    (end) as end
    [receiving a customer request for a loan amount] as activity_11
    [invoke the risk assessment web service] as activity_12
    [assess the request] as activity_13
    <> as gateway_1
    <> as gateway_2
    [deny the loan] as deny_the_loan
    [approve the loan] as approve_the_loan
    [send the request] as send_the_request
    <> as gateway_2_end
    <> as gateway_1_end

start->activity_10->activity_11->activity_12->activity_13->gateway_1

gateway_1->gateway_2
gateway_1-"the loan is \\nsmall, the \\ncustomer is"->approve_the_loan->gateway_1_end

gateway_2->deny_the_loan
gateway_2-"the customer is"->send_the_request->gateway_2_end

deny_the_loan->gateway_2_end
gateway_2_end->gateway_1_end

gateway_1_end->activity_14->end
"""

code, img = text2diagram.render(piperflow, "debug.png")


Connecting to local CLN node without proxy

Feature description
I want to be able to connect to my local CLN node
Describe the solution
probably should be connecting via CLNRest or JSON-RPC
Describe alternatives
No response
Additional context
No response
Are you working on this?
None

I don't care use commando, but I don't use it over a proxy, but locally. I tried to do so, but it didn't work.

There are currently no plans to implement CLNRest, however you could run your own proxy alongside your node if you want to do so.
https://github.com/getAlby/lnsocket-proxy

In a browser we can only communicate with websockets (which lnsocket-proxy provides) compared to the native RPC calls commando offers, so I don't think there is a way to do so unfortunately.


Adds tracing option for not accept upstream tracing

Do you want to request a feature or report a bug?
Feature
What did you expect to see?
Currently traefik supports tracing context propagation, i.e. accepting tracing context propagation via HTTP headers:

X-B3-Traceid=7f46165474d11ee5836777d85df2cdab
X-B3-Spanid=6164d11836d85da1
X-B3-Sampled=1

This is good if traefik is not the edge service because it can continue an existing trace but if traefik is the edge service (i.e. first point of contact with the external world), we should be defensive because accepting trace headers can force sampling decision which users can't be in control of. This is, if someone sends X-B3-Sampled=1 as header then that trace is going to end up in tracing server storage no matter what sampling strategy the user defined in configuration and that is a potential attack (DDoS tracing service and/or tracing storage) and more important, the user can incur in big costs (disk, io) depending on its pricing deal.
An easy and good solution is to add a flag to all tracing backends for the user to define if they want to start a new trace every time (respecting their own sampling decision) or continue the incoming trace (for those who have traefik behind another service dealing with trace and sampling e.g. nginx). The name could be accept_incoming_trace: bool and globally defined for all traces.
I am up for contributing.
cc @basvanbeek @ldez

@dduportal if you agree with the naming of the option I could give it a try to the PR.

The naming is not a real problem because it can be changed during the PR review, but the implementation is a bit more complex: I think that the behavior could be the same as forwarded-header.
There are a lot of questions about the implementation, but for now I have not yet thought precisely on the subject.

I see. That makes more sense actually. Then I would think of something like:
[tracing]
   [tracing.propagation]
       propagationHeaders = ["x-b3-*", "b3"]
       insecure = false
       trustedIPs = ["<IP_ADDRESS>"]

This will tell the tracer that if the request comes from trusted IPs (req. RemoteAddr) then the context should be extracted otherwise we start a new trace.
Does that make sense?
cc @worldtiki

@ldez any input on this one?

Friendly ping @ldez

I'm having the opposite issue today with traefik v3: I want to accept a B3 header from the client, but traefik seems to insist on generating its own.
Is there some variable to select this behaviour?

Hello @james-callahan,
Are you using Traefik v3? Because, in v3, OTel tracing should support propagation, and the enabled propagators can be controlled with the OTEL_PROPAGATORS env variable, see the propagation section in the documentation.

Are you using Traefik v3?

yes

OTel tracing should support propagation, and the enabled propagators can be controlled with the OTEL_PROPAGATORS env variable, see the propagation section in the documentation.

Yes it does. However from my tests, traefik doesn't seem to respect existing traces, and always seems to want to start a new trace.
i.e. with OTEL_PROPAGATORS=b3, traefik creates a new header B3:<PHONE_NUMBER>abcdef-12345678-1 with random ids, ignoring any B3 headers on incoming requests

@james-callahan Can you please open a specific issue for this issue with all the details that are necessary for reproduction?
@jcchavezs After discussing this feature with other maintainers, we decided to close this issue.
Since the revamp of the tracing feature with OpenTelemetry in Traefik v3, we do not think it should be the responsibility of Traefik to filter out the traces but the responsibility of the collector.
If you or anyone in the community thinks we've got something wrong here, please don't hesitate to let us know.


OCM-7269 | feat: Added list of kubeletconfigs to describe HCP machinepool output

This updates the output for rosa describe machinepool to include the list of kubelet_configs associated with the HCP MachinePool.

/test coverage

/lgtm


Upgrade Nimbus.app to v0.7.4

Thank you for the contribution. It was merged directly as 0e7d95ada0fd038bf4183dc3aa87d5b1ff51e4df to keep commit history cleaner. Your contribution is still credited to you.


Make Object.init(value:) a required initializer

Related: https://github.com/realm/realm-cocoa/issues/1916
Invoking init(value:) with generics type will cause a crash due to Swift compiler cannot find appropriate initializer. (In Swift 2, the compiler treats it as compile error: Constructing an object of class type 'T' with a metatype value must use a 'required' initializer)
In Objective-C, both - init and - initWithValue: are specified NS_DESIGNATED_INITIALIZER. Assuming the same meaning it is a 'required' in Swift, init(value:) also should be specified required, I think.
@tgoyne @segiddins @jpsim

retest this please

@kishikawakatsumi doesn't this also require that if a custom initializer is added to an Object subclass, that init() and init(value:) also be implemented?

@jpsim Yes. When this PR is merged, we must override init() and init(value:) to implement a custom initializer. Like below:
class Person: Object {
    dynamic var name = ""

    required init() {
        super.init()
    }

    required init(value: AnyObject) {
        super.init(value: value)
    }

    init(name: String) {
        super.init()
        self.name = name
    }
}

I'm not sure that's a worthwhile tradeoff, to be honest. It's already disappointing that we have to do this for init(), I'd rather not add yet another required initializer.

Agreed. It might be fine keeping it because defining generic initializer of init(value:) occurs compilation error from Swift 2.0, not a runtime error.
I'm a bit concerning about consistency. Both - init and - initWithValue: are specified NS_DESIGNATED_INITIALIZER in Objective-C. It seems consistent that both initializers are also specified required in Swift.

I'm facing the same issue. Previously (swift 1.2) I worked around the same issue by providing an extension to Object
extension Object {
  convenience init(v: AnyObject) {
    self.init(value: v)
  }
}

as suggested in https://github.com/realm/realm-cocoa/issues/1916#issuecomment-101524671
But now, I can't make my code compile any longer, because it requires a required initializer to construct the object.
This is roughly what I'm trying to accomplish.
func foo<T: Object>(value: [String: AnyObject]) -> T {
  return T(v: value)
}

This compiles and works (thanks to the extension above) in swift 1.2, but it doesn't in swift 2.0.
If we don't make init(value: AnyObject) a required initializer, how can we work around this issue?

Ok, I found a possible workaround.
func foo<T: Object>(value: [String: AnyObject]) -> T {
  let t = T()
  t.setValuesForKeysWithDictionary(value)
  return t
}

Ugly, mutable, imperative, but it seems to be working.

Ok, performing the allocation in Objective-C like suggested in https://github.com/realm/realm-cocoa/issues/1916#issuecomment-109256603 does the trick.

We've decided not to move forward with this. Required initializers require subclasses to implement them even if just to forward them to the superclass implementation, so this is not ideal for most users.
I suggest that you file an issue at https://bugs.swift.org about the root problem here, which is (as far as I understand) not being able to invoke Object.init(value:) on the dynamic type of a subclass of RealmSwit.Object.


Add WDR regional channels

WDR has several regional studios which contribute with regional journalism to the overall program. The program in each region is almost the same most of the time. One significant exception is "Lokalzeit" which is produced from monday to fryday and broadcasted from 19:30 to 20:00. Lokalzeit does show regional specific content only. So for every region there is a special Lokaluzeit and the broadcasted contents differ. So from 19:30 to 20:00 the users in different regions see different content.
The studios / regions are:

Köln
Aachen
Bielefeld
Bonn
Dortmund
Düsseldorf
Duisburg
Essen
Münster
Siegen
11 Wuppertal

I think the Lokalzeit is an important and popular part of regional TV and journalism. Unfortunately there it is not easily accessible for viewers to watch the Lokalzeit for their local region. I think Köln is the default region at least via cable. I am not sure if other regions can be watched via cable. The website does only show one stream, probably Köln, too. Via satellite there are multiple channels for the regions. At some place in program the region which's contents get broadcasted gets switched round robin each week or day. I don't remember when that was. Maybe at the weekend or a repetition in the morning.
The Lokalzeit can be watched via the mediathek but only the next day. Thats fine but can be late for a news show.
Zapp has already two regional channels for SWR.
Does Zapp only takes the streaming URLs from the Channels websites and configure them in the apps channels JSON file? Or is there some contact to the TV channels? I mean somewhere the stream must come from. Zattoo has all the regional streams so that might be a source of information.
Let's assume Zapp gets those streams maybe it would be a good idea for integration to select just one of them and hide the others. This way the channels list wouldn't get cluttered. This may be achieved by a filter function or by selecting favorites. The same can be used for SWR regional channels or maybe all channels.

Thank you for your feedback!
Local stream urls for wdr are not exposed anywhere - not even on wdr website  (Cologne is the default channel). Maybe Zatoo has some kind of contract with WDR and most likely its own streaming server which Zapp cannot use. In addition 11 regional channels would clutter the UI too much.
I am sorry, but I will not implement this feature.

Zattoo does not use the regular stream of the websites belonging to the ARD group.
It is a special case. This is shown by the fact that there are no legal restrictions. All programs are shown that are also regularly sent over the airwaves. On the other hand, ZAPP does not broadcast any programs that are not allowed to be streamed on the internet for legal reasons.

The WDR changes the live stream of the regional studio daily. All programs, whether streamed or not, can be accessed for 7 days via the WDR media library. The WDR invokes the justifiable technical effort not to stream all regional programs.

[...]

vielen Dank für Ihr Interesse an unserem Programm.

Es ist mit einem vertretbaren Aufwand leider technisch nicht möglich, im WDR-Livestream jeder Region "ihre" Lokalzeit zuzuspielen.

Mit freundlichen Grüßen

Ihre Hotline WDR  Fernsehen

Do I see this right that you made an inquiry to WDR and that is the answer?
Despite of the sad answer I want to thank you for your work. :)

I also noticed some time ago that the regional stations of the WDR are missing. Before I unnecessarily open a new ticket, I went looking for it and came across this one.
And yes, because I was interested in the background, I asked WDR directly.

@cemrich Would you like to add this to the FAQ?


Add Issue and Pull Request Template for examples

Issue #, if available:
#163
Description of changes:
This pull request adds the following template and updates contribution guideline.
Added templates

.github/ISSUE_TEMPLATE/content-improvement.md: Issue template to update existing example. It is refereed from amazon-sagemaker-examples's template.
.github/ISSUE_TEMPLATE/example-request.md: Issue template to update existing example. It is refereed from amazon-sagemaker-examples's template.
.github/PULL_REQUEST_TEMPLATE.md: Pull Request template to update examples. It is referred from  amazon-sagemaker-examples's template.

Updated contribution guideline

CONTRIBUTING.md: I updated contribution guideline by referring the amazon-sagemaker-examples's guideline. It defines how to lint and test the example.

Influence
Some of the existing examples may not satisfy the contribution guideline. We should gradually fix these.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Looks good to me.


[RUTUBE] ERROR: unable to download video data: HTTP Error 403: Forbidden

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
France
Provide a description that is worded well enough to be understood
Tring to download this video https://rutube.ru/video/REDACTED_BY_MAINTAINER/ with this command:
yt-dlp -vU -f "bestvideo[vcodec^=avc1]+bestaudio[ext=m4a]/best" --merge-output-format mp4 -o "E:/OneDrive/yt-dlp/%(uploader)s - %(title)s.%(ext)s" "https://rutube.ru/video/REDACTED_BY_MAINTAINER/"

Possibly related to #7064 and #8433 (DRM issue).
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '-f', 'bestvideo[vcodec^=avc1]+bestaudio[ext=m4a]/best', '--merge-output-format', 'mp4', '-o', 'E:/OneDrive/Téléchargements/yt-dlp/%(uploader)s - %(title)s.%(ext)s', 'https://rutube.ru/video/REDACTED_BY_MAINTAINER/']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [4bd265539] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg 7.1-full_build-www.gyan.dev (setts), ffprobe 7.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.2.3, websockets-14.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[rutube] Extracting URL: https://rutube.ru/video/REDACTED_BY_MAINTAINER/
[rutube] REDACTED_BY_MAINTAINER: Downloading video JSON
[rutube] REDACTED_BY_MAINTAINER: Downloading options JSON
[rutube] REDACTED_BY_MAINTAINER: Downloading m3u8 information
[rutube] REDACTED_BY_MAINTAINER: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] REDACTED_BY_MAINTAINER: Downloading 1 format(s): m3u8-5555-1
[debug] Invoking hlsnative downloader on "https://river-1.rutube.ru/hls-vod/yF3DlCNbyk45aIFPG7LBiw/1734288111/2476/0x5000c500e8827278/REDACTED_BY_MAINTAINER.mp4.m3u8?i=1920x864_5555"
[hlsnative] Downloading m3u8 manifest
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 3479, in process_info
  File "yt_dlp\YoutubeDL.py", line 3199, in dl
  File "yt_dlp\downloader\common.py", line 464, in download
  File "yt_dlp\downloader\hls.py", line 77, in real_download
  File "yt_dlp\YoutubeDL.py", line 4162, in urlopen
  File "yt_dlp\networking\common.py", line 117, in send
  File "yt_dlp\networking\_helper.py", line 208, in wrapper
  File "yt_dlp\networking\common.py", line 340, in send
  File "yt_dlp\networking\_requests.py", line 365, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden

Can't reproduce the issue. Closing since the link is not legitimate

Do not open another issue with an illegitimate link or you will be blocked from the repository


Update eff to 5.21.0

Updates org.atnos:eff from 5.20.0 to 5.21.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.atnos", artifactId = "eff" } ]

labels: library-update, semver-minor

Codecov Report

Merging #264 (2e654ed) into master (72c4c18) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #264   +/-   ##
=======================================
  Coverage   66.42%   66.42%
=======================================
  Files          19       19
  Lines         557      557
  Branches       21       21
=======================================
  Hits          370      370
  Misses        187      187

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 72c4c18...2e654ed. Read the comment docs.


Shortcut key to save frame as image, to troubleshoot aliasing issues

Is your feature request related to a problem? Please describe.
Many users in VR report bad aliasing/shimmering no matter what the setting is. Many users swear that this problem doesn't exist previously so might be some Windows/DirectX runtime/driver update but nobody can pinpoint it.
Example threads: 1 2 3
Not only is MSFS but I've experienced it in many VR games (even major ones like Alyx, Boneworks, etc). I would like the ability to capture frames to troubleshoot, analyze, and submit it to developers.
Describe the solution you'd like
A shortcut key which will save the image of left & right eye to some folder (with timestamp in filename). I'm not sure of OpenXR's rendering pipeline so I don't know at which step OpenXR toolkit has access to, but as far as I know VR has these steps:

application renders image (step 1)
vr runtime scales the image and applies lens correction (step 2)

For troubleshooting, if possible I would like both images in step 1 and step 2 to be saved. This is because the aliasing problem doesn't seem to be fixed even if we increase render resolution (which contradicts the idea that supersampling should remove aliasing), so I suspect when transforming from high-resolution 1 to hmd-display-resolution 2 the graphic driver/vr runtime uses a "bad" quality resize algorithm (kind of like using nearest neighbor to resize the image down).
Right now the state of VR industry is sad because even with high res displays like Vive Pro 2 we still get bad aliasing because of potential bugs in software side. Having access to saved frames to analyze will be a first step in fixing that. Thank you!

Do you mean this?
https://mbucchia.github.io/OpenXR-Toolkit/other-features.html#screen-capture
:)

This corresponds to Step 1 btw.
Obtaining Step 2 is not possible, none of the vendors expose it.

Do you mean this?
https://mbucchia.github.io/OpenXR-Toolkit/other-features.html#screen-capture
:)

Oh wow, let me try it later tonight and see how it goes!
Thanks for the info about step 2, too bad we can't access it.

The screenshot functionality works perfectly!
Here's a crop of OXR Toolkit's capture. The size is perfectly the same as my SteamVR resolution (3556x3556).

I tried resizing it 69% in photoshop (so that it becomes vive pro 2's device resolution of 2448x2448). This is ideally how it would look on device:

And here's again resizing it 69% in photoshop but using nearest neighbor algorithm:

The aliasing/shimmering/moire pattern of white line is exactly what many people are experiencing in VR, so I think I'm on to something! Thank you for providing a tool to help troubleshoot this problem.


gopass doesn’t release terminal after sync

Summary
When I type gopass sync, sync happens, but it does not release the terminal after it’s done, e.g. I can type anything, but nothing happens.
Steps To Reproduce
For me it’s just gopass sync.
Expected behavior
I expect I can enter commands after the sync finishes.
Environment

OS: Arch Linux
OS version: Linux arch-mba11-2010 5.7.2-arch1-1 #1 SMP PREEMPT Wed, 10 Jun 2020 20:36:24 +0000 x86_64 GNU/Linux
gopass Version:

gopass 1.9.2 (2020-05-13 21:14:02) go1.14.2 linux amd64
<root>     - gpg 2.2.20 - git 2.27.0 -   fs 0.1.0
Available Crypto Backends: age, gpgcli, plain, xc
Available RCS Backends: gitcli, noop
Available Storage Backends: fs, inmem

Installation method: pacman

Additional context
Not sure whether all that matters here, but just in case:

I use gpg agent instead of ssh agent,
and I gpg-sign my commits as well,
I use one external mount (synced with others for work), besides my root mount, both are populated with passwords,
attaching the screenshot,
the terminal is alacritty 0.4.3.

Thanks for reporting this issue.
So far I couldn't reproduce it.
I've tried in alacritty and have extneral mounts and commit signing.
What do you mean by "I use gpg for ssh"? The gpg agent?
That shouldn't harm but I can reproduce that easily.

You are very welcome, thank you for helping to contribute to such a greap upgrade to classic pass! I really enjoy using gopass, that’s my favourite password manager so far!
This bug is very difficult to catch, right after me issuing the issue I couldn’t reproduce it myself. It happened once again just now, but I’m not aware of the circumstances that triggered it. Maybe it happened after the reboot, I’m not sure: I rebooted my laptop yesterday’s night, and I gopass sync this morning for the first time since then.
Yes, I mean gpg agent that is used instead of ssh agent. I believe that should make no difference, but I mentioned that just in case.
My setup is pretty minimal, basically all I use is: sway (wayland), firefox, telegram, alacritty with some tools (like ranger or vim). Not even an unusual daemon is running. So I have no idea what else to add to this. I’m attaching the list of all my packages, made with pacman -Qe.
I assume this bug would be very difficult to reproduce, so maybe that would be a wise idea to close it, but it’s all up to you guys, I just wanted to contribute this tiny way and let you know that happens once in a while.

Some extra information from me.
This bug happens every time at the first sync after reboot. Even when my Wi-Fi isn’t connected yet, and I run gopass sync it gives me a standard error, and then I’m unable to use terminal until I force quit it.
I haven’t mentioned that, but it ’catches‘ just one terminal window (I have many of them opened) and it doesn’t hang a terminal, so I cannot use other windows, it just doesn’t release the current window it was issued from.

I'm sorry, but I can hardly believe that gopass itself is causing this. We're doing very little terminal trickery (only some for reading passwords without echo). Even less in the current master. Sorry.
Not reproducible.

Hey, excuse me for bothering you with this issue, but just to let you know that this issue is gone right after I updated to gopass 1.10.0-rc.1 (2020-08-23 18:46:22) go1.15 linux amd64, nothing else was updated, as yesterday I had this very bug, but today right after the update (no other packages were updated), it works as expected.
I’m on Arch Linux, right now it’s Linux arch-mba11-2010 5.8.3-arch1-1 #1 SMP PREEMPT Fri, 21 Aug 2020 16:54:16 +0000 x86_64 GNU/Linux
Maybe at some point this info will make some value, who knows.
Cheers!
Walter


Cherry-pick doc commits to release-0.1

Add useful commits to the release-0.1 (cf. #199 )

This should have been a rebase merge :/


camera plugin - saveTo() completes before file lock is released sometimes

Hi
The latest release of the camera plugin (0.6.0) has started using an XFile. the saveTo() function seems to have a problem though where the lock on the file is not always being released before the function completes or something.
For example I was doing this:
XFile file = await _controller.takePicture();
final path = join(
  (await getExternalStorageDirectory()).path,
  '${DateTime.now()}.png',
);
file.saveTo(path);

...and then attempting to display the file on-screen immediately afterwards (like this: Image.file(File(path)). 2 times out of 3 it would work fine but sometimes I would get an error that the file could not be found. If I browse through the phone itself though I will find that the file does exist and I was using the correct path in code (I double-checked everything!).
To get around the problem I am now doing this:
XFile file = await _controller.takePicture();
final path = join(
  (await getExternalStorageDirectory()).path,
  '${DateTime.now()}.png',
);
Uint8List imageBytes = await file.readAsBytes();
await File(path).writeAsBytes(imageBytes);

The above approach doesn't suffer from the same problem, presumably because the Future is not returned by writeAsBytes() until the exclusive lock it has on the file (i.e. while writing to it) has been released.

Hi @darre1
Can you please provide your flutter doctor -v the steps to reproduce the issue and a minimal complete reproducible code sample?
Thank you

@darre1 the saveTo method is declared as void saveTo(String path) async { ... }. Since it has the async modifier you can still await it and make sure the method finishes saving before you load it into your Image widget.
I understand that this is not really clear to users of the XFile and it would be better to have the saveTo return a Future<void>. Therefore I created a pull request to address this.

That makes sense. Thanks!