support for parameter vectors in Model

I created a Model that starts like this:
SingleTrackModel = Model(
    inputs   = :[delta,T_F,T_R],
    m = 1450,
    I_z = 1.0,
    l_F = 1.1,
    l_R = 1.59,
    h = 0.4,
    I_w = [1.8, 1.8],
    ...

Now in the equations section, I cannot access elements of parameters I_w using I_w[ind...]. A tested workaround I found is to use getindex(I_w, ind...) instead. However, neither does I_w show up in field parametersAndConstantVariables of the instantiated model, nor can I spot its contents in the field p.
However I would like to alter p after model instantiation (machine learning purposes).
Is there any supported and intended way to use and alter parameters in arrays?

It would have been better if you would have provided a complete example illustrating the problem. I successfully tested the following model in my development version:
using TinyModia
using ModiaPlot

SingleTrackModel = Model(
#    inputs   = :[delta,T_F,T_R],
    m = 1450,
    I_z = 1.0,
    l_F = 1.1,
    l_R = 1.59,
    h = 0.4,
    I_w = [1.8, 2.8],
    equations = :[
        I_w_2 = I_w[2...]
    ]
)

model = @instantiateModel(SingleTrackModel, log=true, logCode=true)
simulate!(model)
plot(model, "I_w_2")

So I might have misunderstood you. BTW, why do you want to use: I_w[ind...]
It should be possible to use parameter arrays and also change them in the simulate! call without redoing the symbolic transformation (under development, coming to main soon).

So I created a minimal but complete demonstration:
using TinyModia

function simandprint!(model)
	simulate!(model)

	println("
	m = $(model.p[1])
		x starts at $(get_result(model, "x")[1]) and ends at $(get_result(model, "x")[end])
	")
end

MinimalModel = Model(
	m = 2.0,
	pv = [3.0, 5.0],

	init = Map(x=2.0),

	equations = :[
		#der(x) = p[1]*p[2] # THIS LINE does not work
		der(x) = m*getindex(pv, 1)*getindex(pv, 2)
	]
)

model = @instantiateModel(MinimalModel)

println("model.p: $(model.p)")
println("model.paramatersAndConstantVariables: $(model.parametersAndConstantVariables)")

simandprint!(model)

# manual altering of a scalar parameter works BUT there is no way to change pv from here!
model.p[1] = 4.0

simandprint!(model)

I marked the relevant bits I was talking about using comments.

I suppose yo meant:
der(x) = m*pv[1]*pv[2] instead of
der(x) = m*p[1]*p[2]
and
model.p[1].pv[1] = 4.0
instead of
model.p[1] = 4.0
model.p is the root of the parameters. We are supporting changing (merging) parameters in the simulate! call .

You are right about your first remark (where I mixed up p and pv), this was a remainder of an earlier refactoring.
However, if I try to uncomment
#der(x) = m*pv[1]*pv[2] # THIS LINE does not work,
I am getting the error:

AssertionError: Equation not solved for der(x): der(x) = m * pv[1] * pv[2]
(::TinyModia.var"#getSolvedEquationAST#65"{Bool,Array{Any,1},Array{Any,1}})(::Int64, ::Int64) at TinyModia.jl:460
addSolvedEquations!(::ModiaBase.EquationGraph, ::Array{Int64,1}, ::Array{Int64,1}) at StateSelection.jl:858
getSortedAndSolvedAST(::Array{Array{Int64,1},1}, ::Array{Array{Int64,1},1}, ::Array{Int64,1}, ::Array{Int64,1}, ::Array{Int64,1}, ::ModiaBase.StateSelectionFunctions; log::Bool, logDetails::Bool, logStates::Bool, modelName::String, unitless::Bool, defaultParameterAndStartValues::Nothing) at StateSelection.jl:1247
getSortedAndSolvedAST at StateSelection.jl:1197 [inlined]
stateSelectionAndCodeGeneration(::Tuple{Array{Any,1},Array{Any,1},Array{Array{Int64,1},1},Array{Int64,1},Array{Int64,1},Array{Int64,1},Array{Array{Int64,1},1},OrderedCollections.OrderedDict{Any,Any}}, ::String, ::Module, ::Type{T} where T, ::OrderedCollections.OrderedDict{Any,Any}, ::OrderedCollections.OrderedDict{Any,Any}, ::Array{Int64,1}, ::Array{Int64,1}, ::Array{Union{Expr, Symbol},1}; unitless::Bool, logStateSelection::Bool, logCode::Bool, logExecution::Bool, logTiming::Bool) at TinyModia.jl:588
(::TinyModia.var"#stateSelectionAndCodeGeneration##kw")(::NamedTuple{(:unitless, :logStateSelection, :logCode, :logExecution, :logTiming),NTuple{5,Bool}}, ::typeof(TinyModia.stateSelectionAndCodeGeneration), ::Tuple{Array{Any,1},Array{Any,1},Array{Array{Int64,1},1},Array{Int64,1},Array{Int64,1},Array{Int64,1},Array{Array{Int64,1},1},OrderedCollections.OrderedDict{Any,Any}}, ::String, ::Module, ::Type{T} where T, ::OrderedCollections.OrderedDict{Any,Any}, ::OrderedCollections.OrderedDict{Any,Any}, ::Array{Int64,1}, ::Array{Int64,1}, ::Array{Union{Expr, Symbol},1}) at TinyModia.jl:455
instantiateModel(::NamedTuple{(:m, :pv, :init, :equations),Tuple{Float64,Array{Float64,1},NamedTuple{(:x,),Tuple{Float64}},Expr}}; modelName::String, modelModule::Module, FloatType::Type{T} where T, aliasReduction::Bool, unitless::Bool, log::Bool, logModel::Bool, logDetails::Bool, logStateSelection::Bool, logCode::Bool, logExecution::Bool, logTiming::Bool) at TinyModia.jl:791
(::TinyModia.var"#instantiateModel##kw")(::NamedTuple{(:modelName, :modelModule),Tuple{String,Module}}, ::typeof(instantiateModel), ::NamedTuple{(:m, :pv, :init, :equations),Tuple{Float64,Array{Float64,1},NamedTuple{(:x,),Tuple{Float64}},Expr}}) at TinyModia.jl:711
top-level scope at demo.jl:33

Furthermore, model.p is reported to be an Array{Float64,1} which does not have a field named pv so I do not understand that second remark of yours.
Also, line model.p[1] = 4.0 does exactly what I want: alter the behaviour of model.getDerivatives!.
I am interested in getting model.getDerivatives! to behave differently so that I can

instantiate a model
set a model parameter (possibly located in an array) to a desired value
solve the model using an arbitrary code (in my case solve from DifferentialEquations.jl)
repeat 2. and 3. until the model does what I want it to

I'm appending a more relevant demonstration below:
using TinyModia

function simandprint!(model)
	simulate!(model)

	println("
	m = $(model.p[1])
		x starts at $(get_result(model, "x")[1]) and ends at $(get_result(model, "x")[end])
	")
end

function print_derivatives!(derx, x0, model)
	model.getDerivatives!(derx, x0, model, t0)
	println("m = $(model.p[1]) => dx = $(derx)")
end

MinimalModel = Model(
	m = 2.0,
	pv = [3.0, 5.0],

	init = Map(x=2.0),

	equations = :[
		#der(x) = m*pv[1]*pv[2] # THIS LINE does not work
		der(x) = m*getindex(pv, 1)*getindex(pv, 2) # I have to use getindex() instead
	]
)

model = @instantiateModel(MinimalModel)

println("model.p: $(model.p)")
println("model.paramatersAndConstantVariables: $(model.parametersAndConstantVariables)")

derx = zeros(1)
x0 = similar(derx)
t0 = 0.0

print_derivatives!(derx, x0, model)

#simandprint!(model)

# manual altering of a scalar parameter works BUT there is no way to change pv from here!
model.p[1] = 4.0

print_derivatives!(derx, x0, model)

#simandprint!(model)

You are right. I recently changed how parameters are passed. I tested in the branch "development". We want to make some more updates before merging to main. You might want to use development branch in the mean time.
Support for indexing was added in ModiaBase 11 days ago, so you might want to update.
Note that all TinyModia models can not be simulated directly with DifferentialEquations. The simulate! function of TinyModia is needed. Note that the workflow you indicated is now supported by an additional parameter merge in simulate!. It takes a nested Map modification for changing parameters.


Add class function to check availability

This is an implementation to solve https://github.com/MattiasMTS/cmp-dbee/issues/22
The issue is that the is_available is evaluated at startup, when the plugin is loaded. At this time, dbee is not loaded and it is always set to false.
We can use the added function independently as well as inside of the constructor of the source itself. This way, we will actually try to load the source with the setup() function after we have opened the Dbee client.
Not sure if this is the intention, but for the completion to work, one has to run the setup after Dbee is open. Hence, I have this auto command to trigger completion for SQL files
local auGroup = vim.api.nvim_create_augroup("nvim-dbee-custom", {clear = true})
vim.api.nvim_create_autocmd("FileType", {
    group = auGroup,
    pattern = "sql",
    callback = function()
        require('cmp').setup.filetype({"sql", "mysql", "plsql"}, {
            sources = require('cmp').config.sources{
                { name = 'cmp-dbee' }
            }
        })
        require("cmp-dbee").setup({})
    end
})

Since this already checks if dbee is loaded, it won't effect performance of any random sql files being opened.
Let me know what you think @MattiasMTS

Looking over this PR, https://github.com/MattiasMTS/cmp-dbee/pull/25, this might already have solved the issue, but slightly different. Will look into if this is the case.


spring-test-24072019 to 0.0.1

Promote spring-test-24072019 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Width and Height issue

Basically, I want to manage Zoom meeting view in a container by giving it a height and width of myself. Please tell me a solution how could I manage the zoom meeting screen in a box or some other solution so it could be visible on my half screen in my app. And I could be able to show something else on the remaining  half screen in my app. Waiting for your response.

currently not possible from zoon SDK


SR Availability zone usage

We need to consider updating our usage of Azure availability zones. Utilizing this feature is generally recommended to reduce the possibility of an outage due to a localized event at a region's data center.
By being available across zones, we will enable additional redundancy in the case of a zone outage.

https://github.com/CDCgov/prime-simplereport/pull/6051/files
Pros: Enables container zone balancing for the API
Cons: This will be involved terraform state work. It requires re-creating our app service plan.
While this would be worthwhile, I'd like to put it off for a bit until we have more of a reason to recreate the app service plan.


fix(types): set compatibility with puppeteer v10

resolve #33

Last change regarding class method which returns REST method was made 14 months ago, and it was only about extracting whole class to separate module: https://github.com/puppeteer/puppeteer/blame/7e74a9d6065bef5deb1e13e9c3f77620ffab80ad/src/common/HTTPRequest.ts#L174
My question is why it failed now?

Last change regarding class method which returns REST method was made 14 months ago, and it was only about extracting whole class to separate module: https://github.com/puppeteer/puppeteer/blame/7e74a9d6065bef5deb1e13e9c3f77620ffab80ad/src/common/HTTPRequest.ts#L174
My question is why it failed now?

A change you're looking for is in this commit (released in v9.0.0)
https://github.com/puppeteer/puppeteer/commit/866d34ee1122e89eab00743246676845bb065968
page.on('request', ...) has had its types fixed there

Last change regarding class method which returns REST method was made 14 months ago, and it was only about extracting whole class to separate module: https://github.com/puppeteer/puppeteer/blame/7e74a9d6065bef5deb1e13e9c3f77620ffab80ad/src/common/HTTPRequest.ts#L174

My question is why it failed now?

A change you're looking for is in this commit (released in v9.0.0)
https://github.com/puppeteer/puppeteer/commit/866d34ee1122e89eab00743246676845bb065968
page.on('request', ...) has had its types fixed there and since then requires HTTPRequest class object

s


Unexpected restarts of lws controller

What happened:
From the kubectl output, lws controller restarts for several times, this should not happen.
NAME                                                    READY   STATUS    RESTARTS        AGE
leader-worker-set-controller-manager-79fdd9c6cc-fr8q2   2/2     Running   7 (7m52s ago)   23h

What you expected to happen:
No restarts.
How to reproduce it (as minimally and precisely as possible):
I didn't collect the logs yet.
Anything else we need to know?:
containerStatuses:
  - containerID: containerd://1b5b32225eaf8f914d033cf2cb4472888a5da2a786b2ca62675abade155c6b1b
    image: gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0
    imageID: sha256:7ebda747308b686ef6471bd8377085bce9f210baef15ce2a9bb6c5d8ccd773dc
    lastState:
      terminated:
        containerID: containerd://2c14c20f6a3cc70caff6c8a550c44f6ae60c16c441277f6e18414a0d631a3b26
        exitCode: 255
        finishedAt: "2024-03-09T02:35:18Z"
        reason: Unknown
        startedAt: "2024-03-08T03:10:25Z"
    name: kube-rbac-proxy
    ready: true
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2024-03-09T02:35:37Z"
  - containerID: containerd://f3a839d4862cc4ca7b60b00919f73a69193def25ffab1d89ff0aaa0ea3cbf476
    image: registry.cn-shanghai.aliyuncs.com/kerthcet-public/lws:466f36b-dirty
    imageID: registry.cn-shanghai.aliyuncs.com/kerthcet-public/lws@sha256:b9f6a95f33ef7be485cf95da878cf24db1a18fa6e23dcc47e767f2297ec26dc7
    lastState:
      terminated:
        containerID: containerd://46effa439479d6136bbb1a38cb242556fd9cd267283357dee3775670d0cbb004
        exitCode: 1
        finishedAt: "2024-03-11T01:04:37Z"
        reason: Error
        startedAt: "2024-03-10T23:57:47Z"
    name: manager
    ready: true
    restartCount: 90
    started: true
    state:
      running:
        startedAt: "2024-03-11T01:04:45Z"

Environment:

Kubernetes version (use kubectl version):
LWS version (use git describe --tags --dirty --always):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

could you help provide reproduce steps? I haven't observed such case yet, it would be good if could provide more info, thanks!

Right now, my lws controller rarely restarts, I don't know what changed, maybe because of the docker desktop, I upgrade my mac to the latest version, Sonoma 14.4, but my docker desktop is an old one before, and it's not that stable, right now, I upgraded to the latest, and it works well.
lws-controller-manager-6b9fdbc76b-x9rx6   2/2     Running   1 (8h ago)   28h

So I'd like to close this first.
/close


Look into Vortex date & time

We should have:
• LocalTime ([time unit] after midnight) - Arrow time32 or time64
• LocalDate (julian day) - Arrow date32
• LocalDateTime (julian day and [time unit] after midnight) - Not supported by Arrow
• Instant ([time unit] since EPOCH) - Arrow date64, date32, or timestamp with absent tz.
• ZonedDateTime (struct{Instance, TZ}) - Arrow timestamp with present tz.
Should each of these arrays be their own encoding? They could just be implemented using "TypedArray".

fixed in #480. We have arrow compatbility. We should add ZonedDateTime and LocalDateTime in the future


Enhancement: Azure TTS

What features would you like to see added?
I would love to configure TTS with an Azure Endpoint. I tried the following without success:
                - group: "azure-openai" # arbitrary name
                  plugins: true
                  assistants: true
                  apiKey: "${AZURE_CFG_API_KEY}"
                  instanceName: "robads-ai-schweden"  # name of the resource group or instance
                  version: "2024-02-15-preview"
                  models:
                    gpt-3.5-turbo-1106:
                      deploymentName: gpt-35-turbo
                    gpt-4-vision-preview:
                      deploymentName: gpt-4-vision-preview
                    gpt-4o:
                      deploymentName: gpt-4o
                    tts:
                      deploymentName: tts-hd

More details
I would love to use Azure OpenAI as TTS Endpoint
Which components are impacted by your request?
Endpoints
Pictures
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

that was just a test, and it didn't work.
I've added support for Azure (OpenAI) STT/TTS in https://github.com/danny-avila/LibreChat/pull/2985


Refactor MetTimeseries into a class of its own

User story is adds unnecessary complexity to the project and is deemed unnecessary


SFTP connection error

Brief summary
I would like to connect to my recently created cluster with an SFTP manager (like Cyberduck) but I cannot establish a connection.
Details
I recently created a cluster with cfncluster and I am able to connect to it with ssh with my Public Key and as user "centos".  But when I try to connect through SFTP with a program such as Transmit I get a connection error Could not connect to server “ec2-34-209-169-253.us-west-2.compute.amazonaws.com”. Command Failed.
Similarly, with Cyberduck I get Interoperability failure. EOF while reading packet. Please contact your web hosting service provider for assistance.
I can SFTP using these programs to other servers that have not been created with cfncluster.

similar issue is report before #169 .

Refer #169


Xcode 7 compiler warning on MWPhotoBrower.m

Xcode 7 GM warning:
MWPhotoBrowser.m:550:1: Conflicting return type in implementation of 'supportedInterfaceOrientations': 'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') vs 'NSUInteger' (aka 'unsigned long')

Hey,
Were you able to resolve this warning?

Hey all change it with this code
#if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_9_0
#define supportedInterfaceOrientationsReturnType NSUInteger
#else
#define supportedInterfaceOrientationsReturnType UIInterfaceOrientationMask
#endif

(supportedInterfaceOrientationsReturnType)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskAll;
}

I tried Alkalouti's solution and the warning is gone.


Invalid link in Spring for Apache Kafka

There is a invalid link in bottom of Spring for Apache Kafka
I think the doc was migrated from Core Features to Messaging.

invalid: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.messaging.kafka
valid: https://docs.spring.io/spring-boot/docs/current/reference/html/messaging.html#messaging.kafka

There are more invalid links in kafka docs too.

invalid: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#messaging.kafka.additional-properties
valid: https://docs.spring.io/spring-boot/docs/current/reference/html/messaging.html#messaging.kafka.additional-properties

@garyrussell @artembilan Could you have a look?

@chanhyeong Thanks for reporting.
I fixed the link on the project page; please raise an issue against Spring Boot for the incorrect link(s) in the docs themselves.

@garyrussell Are you sure that those links are in the Spring Boot docs themselves? @chanhyeong reported them as

There are more invalid links in kafka docs too.

I'm seeing three invalid links to the Spring Boot docs in the Kafka docs:

https://docs.spring.io/spring-kafka/docs/current-SNAPSHOT/reference/html/#getting-started
https://docs.spring.io/spring-kafka/docs/current-SNAPSHOT/reference/html/#json-serde
https://docs.spring.io/spring-kafka/docs/2.5.x-SNAPSHOT/reference/html/#serdes-mapping-types

@chanhyeong Can you share where those links are? Could you give us a URL?

@bclozel Thanks; I'll fix those, but we have no links to a URL containing additional-properties in our docs (hence I assumed it was a reference to the boot docs).

@bclozel @garyrussell

Can you share where those links are? Could you give us a URL?

I'm sorry for the unclear information. I reported about Apache Kafka Support in spring-boot docs.
There is an one incorrect link now. (See also features.html for more information.).
I found where it is. (https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-docs/src/docs/asciidoc/messaging/kafka.adoc)
Can I close this issue? Because I think the last one is about spring-boot.

@chanhyeong Thanks; @bclozel I don't have permissions to close this; can you do so? Thanks.


Add Electricity Bill Generator Extension

In this extension you need to add appliance power and hours of use of your home or business and it will generate the electricity power consumed. Please assign this issue to me under gssoc.

Closing this #1083


Tutorial.jsx throws 500 internal server error

I have followed all instructions for Tutorial (ASP.NET Core) for ReactJS.Net. I have built sample solution in Visual studio 2019.
I used ASP.Net Core Web Application template and installed following packages through nugget
microsoft.extensions.dependencyinjection.abstractions
microsoft.extensions.dependencyinjection
microsoft.extensions.filesystemglobbing
microsoft.extensions.primitives
microsoft.extensions.fileproviders.abstractions
microsoft.extensions.fileproviders.physical
microsoft.extensions.caching.abstractions
JavaScriptEngineSwitcher.Extensions
JavaScriptEngineSwitcher.ChakraCore
React.Aspnet 4.1.1
Once I successfully set up I created Tutorial.jsx file to run sample code
But it gives an 500 internal server when I browse through localhost

Were you able to build the sample tutorial code in this repo? Do you have a
specific stack trace for the error?
On Thu, Apr 4, 2019 at 10:25, jigshGitHub<EMAIL_ADDRESS>wrote:

I have followed all instructions for Tutorial (ASP.NET Core) for
ReactJS.Net. I have built sample solution in Visual studio 2019.
I used ASP.Net Core Web Application template and installed following
packages through nugget
microsoft.extensions.dependencyinjection.abstractions
microsoft.extensions.dependencyinjection
microsoft.extensions.filesystemglobbing
microsoft.extensions.primitives
microsoft.extensions.fileproviders.abstractions
microsoft.extensions.fileproviders.physical
microsoft.extensions.caching.abstractions
JavaScriptEngineSwitcher.Extensions
JavaScriptEngineSwitcher.ChakraCore
React.Aspnet 4.1.1
Once I successfully set up I created Tutorial.jsx file to run sample code
But it gives an 500 internal server when I browse through localhost
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/issues/768, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5hFuiKJpbndsLbp3aD_PFm3EIf4b7Wks5vdjV7gaJpZM4cdUfz
.

More information is needed to debug this, please comment when you'd like some more help 👍


fixes Adding spaces after workspace names causes a temporary loss of …

https://user-images.githubusercontent.com/47528651/235045752-65601f9e-d60f-4565-bbbc-cee8c54d2ec0.mp4

@alex-mechler Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@kuluruvineeth Please follow the PR template. Is this related to an existing issue?

Closing this out after no reply. @kuluruvineeth please read https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md to familiarize yourself with the process of contributing!


Left navtree not showing subheaders (only subpages)

In our current docs for ActivityWatch (https://docs.activitywatch.net) we use subheaders to make the docs easier to navigate from the navtree to the left.
I've been meaning to migrate away from the RTD theme to something more plain/modern (like this theme), but I noticed that only subpages, not subheaders, show up in the navtree. There is the tree to the right, which does serve a similar purpose, but I'd rather have the entire TOC (including subheaders) in the left navtree.
I can understand how the existing behavior suits some docs better, but in our case it's not a great fit.
Is there a way to get the desired behavior through config (can't seem to find a way) or could someone point me to where the RTD theme and this theme differs in how they handle the navtree?
If I made a PR incorporating such a change as a config option, would it get merged?

I now realize this might be an upstream matter for the pydata theme, and the choice seems explicit by the devs: https://github.com/pydata/pydata-sphinx-theme#the-html-layout
Should I close this issue and open a new one there perhaps?

From further inspection of the code, it looks like this is controlled by titles_only:
https://github.com/executablebooks/sphinx-book-theme/blob/c205a9e57e15ea4d6faeea37ff3be292cd2e5b71/sphinx_book_theme/__init__.py#L100
Could we make this configurable?

Sorry for the slowness on this one - but a quick clarification: if sub-headers were included in the left instead of on the right, then would you also expect the in-page TOC to show up on the page? Or would you expect it to disappear because the page sections were now listed on the left instead of the right?
I'm of two minds on this one - I understand the value of having headers on the left, on the other hand I feel like this is a "theme choice" and we can't make every UI element configurable or we'll run down a neverending rabbit hole 🤔

So this is still hardcoded: https://github.com/executablebooks/sphinx-book-theme/blob/c47d8e46fbce78492abd8a5adfe41083bb7ba121/src/sphinx_book_theme/theme/sphinx_book_theme/components/sbt-sidebar-nav.html#L21
Can you please make it configurable?

To document a use case here, I would like to have a "fancy directory" page like this:
https://scanpy.readthedocs.io/en/stable/tutorials/index.html

Without needing to have this page, and definitely without this page being user accessible:
https://scanpy.readthedocs.io/en/stable/tutorials/basics/index.html

This is especially important for API listing pages, where each function has it's own page, but we can't group methods within the TOC without having a dedicated page for each grouping.

Example from scvi-tools

I am broadly sympathetic to the design choice "pages on left, current page headings on right". I have definitely been subject to some documentation where these levels are mixed in a way that is confusing.
However, I think the "narrative TOC" use case is pretty useful, but so is quick navigation to subpages it contains. I think it could be worth having a narrow exception made here. For example, letting a :caption: show up as a node in the left TOC tree. I believe an explicit escape hatch (like I think Furo provides: https://github.com/pradyunsg/furo/issues/88) could also work.


Update user guide

Added links in Quick Start
Modified the command syntax note (command syntax not finalised)
Added details for add spendings.

Hey LGTM, like we discussed in tele the formatting lets confirm again. I think once the conflicts are resolved, we can merge it in straight :)

looks good!


remove LiveMetric hardcoded column includes

reports include virtual columns in includes
this is used by Hawkluar LiveMetrics to send the column list to the
server.
Changed LiveMetric virtual column detection to auto include these
columns without hardcoding the class name
tangentially related to https://www.pivotaltracker.com/story/show/137377249

Hola @lucasponce - We introduced this change somewhere around #10570 and I'm pretty sure this follows through in your goals.
I am aiming to reduce a bunch of this reporting code, possibly removing report includes field or finding a different way of adding these includes().
I don't want to break Hawkular
Is there an integration test we can introduce that will define a report and ensure that the correct columns get into Hawkular API (either via includes or select mechanism)?

@gtanzillo sure, the changes look good to me.
Thanks @kbrock

LGTM!!! 👍 💯 🔢 🥇 🥈 🥉


Fix show code function for Button Group, Divider & Icon

Description
In Storybook the "Show code" functionality currently shows almost nothing. Each Story should allow for a code preview showing the users who are consuming the library how to use the component in their application.
Recently we might have found a solution to fix this. To do so, we have to change the "." before attributes and do it correctly (like material web is doing it for example).

Requirements

no requirements

ACs

[x] The general render function has been changed
[x] Button Group: The "." before attributes was removed and the attributes now follow the same approach as in material-web
[x] Divider: The "." before attributes was removed and the attributes now follow the same approach as in material-web
[x] Icon: The "." before attributes was removed and the attributes now follow the same approach as in material-web

Background information

add information here

Fixed in pair-programming session last Friday.


Python3 edits

Tested in Jupyter 4.3.0 and also with Python2.7  (Jupyter 4.2.1) and all seems to function correctly.
Not entirely sure what was going on with my line 119 (your 115) in ncl_kernal.py.  I was getting this error:
 output = ''.join([line for line in output.splitlines()[1::] if line.strip()])
TypeError: sequence item 0: expected str instance, bytes found

Made a small change based on this  and it seems to work correctly in both 3.5 (4.3.0) and 2.7 (4.2.1) https://stackoverflow.com/questions/39673901/typeerror-sequence-item-0-expected-str-instance-bytes-found
I screwed up the branch on the previous pull request.  Sorry about that.
Still some issues with the returned output, but it mostly works.

thanks, will checkout tomorrow
On Sat, Aug 19, 2017 at 12:21 PM, abrammer<EMAIL_ADDRESS>wrote:

Tested in Jupyter 4.3.0 and also with Python2.7 (Jupyter 4.2.1) and all
seems to function correctly.
Not entirely sure what was going on with my line 119 (your 115) in
ncl_kernal.py. I was getting this error:
output = ''.join([line for line in output.splitlines()[1::] if line.strip()])
TypeError: sequence item 0: expected str instance, bytes found
Made a small change based on this and it seems to work correctly in both
3.5 (4.3.0) and 2.7 (4.2.1) https://stackoverflow.com/
questions/39673901/typeerror-sequence-item-0-expected-str-
instance-bytes-found
I screwed up the branch on the previous pull request. Sorry about that.
Still some issues with the returned output, but it mostly works.
You can view, comment on, or merge this pull request online at:
https://github.com/suvarchal/IPyNCL/pull/3
Commit Summary

Make print statement py3 friendly
make cPickle import python3 happy
switch a bunch of tabs for spaces, so script is consistent
Had issues with this line, this fixes json decode errors

File Changes

M ncl_kernel.py
https://github.com/suvarchal/IPyNCL/pull/3/files#diff-0 (46)
M nclreplwrap.py
https://github.com/suvarchal/IPyNCL/pull/3/files#diff-1 (2)

Patch Links:

https://github.com/suvarchal/IPyNCL/pull/3.patch
https://github.com/suvarchal/IPyNCL/pull/3.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/suvarchal/IPyNCL/pull/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/AOnPT04ATh1HIMubuEYzZp2mfgbBrOVGks5sZwuRgaJpZM4O8YGX
.


setting for "standard download path"

A setting for "standard download path" would be very useful so you don't have to choose one each time.

Your last download path is preserved in the dialog

Yes i noticed that, but it would be realy nice to reduce this one click and store the default path in settings.dat

Fixed it on my own. Anyway great App, love it!!! Keep on the good work!

Thank you :)


fix /nodebalancers TypeError

TypeError cannot read property of IPv4 - X-Filter Header by ID

This may have been an issue once, but I can't find any usage of X-Filter in nodebalancer code:
git grep X-Filter src/nodebalancers
git grep createHeaderFilter src/nodebalancers


Return of the Web Upgrade

Shedar's modstats page is down, so no web upgrade.  It will take a long time to get anything back up, need to have a serious server.

New idea, how about using Github's username.github.io webpages? Or are they too limited?

It's not really made for that type of site, yeah. Then again, I don't know a ton about the pages.

could always attempt to run a small internal web server on the servers machine ( kinda like the old dynmap plugin/mod does ) that would alleviate the strain on a central server and make it so the individual server owners would have to carry that burden ( which would allow you more time fr more awesome updates :P )


nginx docker

adding in nginx container to be able to run separate services, similar to our other services

Coverage remained the same at 95.466% when pulling 5a86dc90e8609d904f083191a06121f66cdab85c on ESU-1451-create-nginx-dockerfile into 68b41b1574dcf6effef03001e4ff89dfcfbb2b05 on master.

Looks like Travis is failing - The command "bundle exec rspec spec" exited with 1.

@ialford looks like Travis is failing - The command "bundle exec rspec spec" exited with 1.

@rdoughty yes, I have seen that. There's one unit test failing - and @rfox2 has said it's a known issue. It should probably be addressed at some point.

Just an FYI about the unit tests in CI build: It seems to be a race condition. When I run unit tests locally they all succeed (presumably because they are running in the same thread/synchronously?) Fixing CI should just be a matter of updating the tests so no 2 tests rely on the same user id, or if there is a way to configure it to run differently that might work too.


Command to initialize exchanges

Like a schema:update command, but this should create the necessary exchanges.

Fixed in 9998e2f05bcf16343fd0fd4942c533eefa677041 with new declare command


Switch the directory with the vim key-binding

You have commited other modifications. Please close and submit another PR (use a dedicated branch other than master)


Enabling more projects to build in the CLI.

Missing these four projects now:
System.Drawing.Graphics - conditional file for interop with different OSes
System.IO.FileSystem.Watcher.Polling - resgen problem
System.Reflection.Metadata.Cil - missing project.json. Will add.
System.Text.Utf8 - requires a custom compiler.
System.Net.Libuv: Added the unsafe flag and update the System.Buffers version in the project.json
System.Numeric.Matrices: added unsafe flag to project.json
System.Time: Updated the dependencies on project.json to the stable 4.0.10 from 4.0.10-beta-*, as it was no longer available
System.Threading.Tasks.Channels: moved from SR to designer.cs for localization
System.Text.Json: Updated dependencies to stable version since the beta we were using got updated to stable. Also added package dependencies to other corefxlab projects
System.Collections.Generic.MultiValueDictionary: Moved to designer.cs.
System.Net.Libuv: Added allow unsafe code flag.
System.Text.Formatting: Moved to designer.cs.

looks good.


ENYO-3344: add isChrome options when creating tools

We didn't expect client, closeButton as returns of getClientControls().
To get corresponding return, we added isChrome option when creating tools.
Enyo-DCO-1.1-Signed-off-by: Yeram Choi<EMAIL_ADDRESS>

LGTM!


ran 2to3

I used 2to3 to make this library compatible with Python 3 and tested that it installs in Python 2.7 and 3.5. I also tested some examples in both versions.

Awesome, thanks. We'll be pushing for full 3.5 support with some more advanced features soon.


docker: CFG_DATABASE_HOST in invenio.cfg

FIX Adds creation of appropriate CFG_DATABASE_HOST in invenio.cfg
while running docker_boot.sh.  Necessary for appropriate creation of
Invenio demo site.

BETTER Improves Docker documentation related to source code overlays.

Removes Werkzeug debugging screenshot that may be easily
misunderstood.  It is a generic well-known feature that is not
necessary to show in the particular Docker section.

Signed-off-by: Tibor Simko<EMAIL_ADDRESS>

See also https://github.com/inveniosoftware/invenio-demosite/pull/69.

This was rejected the first time I've tried it. You have to set this specific config using an ENV variable.

Not required as of https://github.com/inveniosoftware/invenio/blob/master/docker-compose-dev.yml#L46

Indeed, the CFG_DATABASE_HOST bit is not needed, after rerunning. I had a case during weekend where the app couldn't connect to DB, and this fixed it; but it was perhaps caused by that ../invenio/invenio mismatch that  mentioned at https://github.com/inveniosoftware/invenio-demosite/pull/69#issuecomment-118839838 and that I've been tracking at the same time.
Anyway, is there an advantage in keeping CFG_REDIS_HOSTS in but CFG_REDIS_HOSTS out?  It would be nice to treat them similarly, for consistency...

I'm currently doing some Docker work anyway, so I will try to isolate CFG_REDIS_HOSTS as well.

CFG_REDIS_HOSTS

OK, I'll then remove the CFG_DATABASE_HOST part and keep only the documentation amendments.

:+1:


where is the ScatterWrapper?

I can't find the ScatterWrapper define in all the files, it used in the main.py,compute_validation_loss function,  could you tell me where is the define about the ScatterWrapper?

I'm having same issue here,
there's 1 problem just not getting out of project errors:
Unresolved reference 'ScatterWrapper'

Has anyone found a solution for this? I'm facing the same problem!

Has anyone found a solution for this? I'm facing the same problem!

Ok, searching pypi, conda etc. results in, no basic package providing this class. But, inspecting repositories history
lead to commit "Optimized training on multiple GPUs."

The class has been removed/replaced with this commit.
My current solution is adding the content of the "old" code into my current train.py file.
class ScatterWrapper:
    """ Input is any number of lists. This will preserve them through a dataparallel scatter. """

    def __init__(self, *args):
        for arg in args:
            if not isinstance(arg, list):
                print('Warning: ScatterWrapper got input of non-list type.')
        self.args = args
        self.batch_size = len(args[0])

    def make_mask(self):
        out = torch.Tensor(list(range(self.batch_size))).long()
        if args.cuda:
            return out.cuda()
        else:
            return out

    def get_args(self, mask):
        device = mask.device
        mask = [int(x) for x in mask]
        out_args = [[] for _ in self.args]

        for out, arg in zip(out_args, self.args):
            for idx in mask:
                x = arg[idx]
                if isinstance(x, torch.Tensor):
                    x = x.to(device)
                out.append(x)

        return out_args

I didn't check the impacts very detailed yet, but basic training does work without any problems.

Ok, searching pypi, conda etc. results in, no basic package providing this class. But, inspecting repositories history
lead to commit "Optimized training on multiple GPUs."

The class has been removed/replaced with this commit.
My current solution is adding the content of the "old" code into my current train.py file.
class ScatterWrapper:
    """ Input is any number of lists. This will preserve them through a dataparallel scatter. """

    def __init__(self, *args):
        for arg in args:
            if not isinstance(arg, list):
                print('Warning: ScatterWrapper got input of non-list type.')
        self.args = args
        self.batch_size = len(args[0])

    def make_mask(self):
        out = torch.Tensor(list(range(self.batch_size))).long()
        if args.cuda:
            return out.cuda()
        else:
            return out

    def get_args(self, mask):
        device = mask.device
        mask = [int(x) for x in mask]
        out_args = [[] for _ in self.args]

        for out, arg in zip(out_args, self.args):
            for idx in mask:
                x = arg[idx]
                if isinstance(x, torch.Tensor):
                    x = x.to(device)
                out.append(x)

        return out_args

I didn't check the impacts very detailed yet, but basic training does work without any problems.


"relancer la communication" doesn't seems to work when it's an email based communication

No Slack notification
No progression indicator
no mail recieved

Works in development environment 🤔

at least fixed the progress bar

Ok i think there were some mess between message ids & sent flag


Rename programoutput to auxoutput and make configurable

Ideally, i'd be able to configure each and every pipeline step to play out whereever i want. Resolution and audio yes/no should be configurable per output. There should be the possibility to output a source to multiple outputs.
Sources:

Each input source
mix
mix-blinded

Outputs:

local HDMI (framebuffer playout)
decklink output
raspberry pi screen (maybe that's just framebuffer? don't know, let's find out)

Current Meeting says we might want to have "slides+audio" as source, and possibly NDI as output.


iPad users are see 422 errors

Probably due to this issue: https://github.com/rails/rails/issues/21948

@pixeltrix Is there a workaround for this issue?


Change module's npm publish to include type definitions

Currently we can generate type definitions, and do so every time npm test is run. But these files are not included in the source repository. However, we do want to publish them with the module when the next version is released. I think we need to ensure that we have an automated way to do this with our npm scripts instead of requiring whoever is publishing to remember to do that.

Published in 2.0.0


Add phobos_db_checkpoint as a dependency

Currently this gem isn't requiring phobos_db_checkpoint but version 0.3.0 is required.
Related to #1

Closed, fixed in v0.3.0


Evict pods violating security practices

descheduler should be able remove pods having securitycontext params such as runasroot, priviledge escaltion set to true, remove pods with default service account It would good feature as addon.

/kind feature
@AdheipSingh thanks for opening this issue!
The descheduler only evicts pods. It does not permanently remove them. After a pod is evicted by the descheduler it is immediately re-scheduled by the kube-scheduler.
Is this what you would be expecting if this feature request was implemented? Can you provide more details around the requirement to evict pods that are violating certain security best practices?

@seanmalloy thanks for the reply !!
Here 's a code snippet which i was trying to play around with. Any practices around security context enabled, using service accounts, high quota allocation...........can be added. Can take input from the user as described below, and evict in case condition matches.
Do tell your thoughts. :)
type StrategyParameters struct {
	NodeResourceUtilizationThresholds *NodeResourceUtilizationThresholds `json:"nodeResourceUtilizationThresholds,omitempty"`
	NodeAffinityType                  []string                           `json:"nodeAffinityType,omitempty"`
	PodsHavingTooManyRestarts         PodsHavingTooManyRestarts          `json:"podsHavingTooManyRestarts,omitempty"`
	SecurityPractices                 SecurityPractices                  `json:"securityPractices,omitempty"`
}

type SecurityPractices struct {
	ServiceAccount string `json:"string"`
	RunAsUser      int64  `json:"runAsUser"`
}

func RemovePodsViolatingSecurity(client clientset.Interface, strategy api.DeschedulerStrategy, nodes []*v1.Node, evictLocalStoragePods bool, podEvictor *evictions.PodEvictor) {

	for _, node := range nodes {
		klog.V(1).Infof("Processing node: %#v\n", node.Name)

		pods, err := podutil.ListEvictablePodsOnNode(client, node, evictLocalStoragePods)
		if err != nil {
			klog.Errorf("failed to get pods from %v: %v", node.Name, err)
		}
		//	klog.V(1).Infof("sa pod: %v", pods)
		for _, pod := range pods {
			if pod.Spec.ServiceAccountName == "default" {
				klog.V(1).Infof("sa pod: %v", pod.Spec.ServiceAccountName)
				if !nodeutil.PodFitsCurrentNode(pod, node) && nodeutil.PodFitsAnyNode(pod, nodes) {
					klog.V(1).Infof("Evicting pod: %v", pod.Name)
					if _, err := podEvictor.EvictPod(pod, node); err != nil {
						break
					}
				}
			}
		}

	}
	klog.V(1).Infof("Evicted %v pods", podEvictor.TotalEvicted())
}

@AdheipSingh thanks for the clear description on how this new feature might work.
I'm still not clear why someone would want to evict theses types of pods if they will just get scheduled again? What is the real world use case?

I think this would also be a good candidate for leveraging #301, as this would then inhibit the automatic rescheduling behaviour.

@ingvagabund is this something to be taken into consideration ?

@ingvagabund is this something to be taken into consideration ?

I totally missed this comment. Apologies. In this case the suggested approach is to implement a custom strategy. Once the descheduling framework is completed, we will be revisiting all the open issues and PRs to suggest how they can be incorporated into the new framework or whether a new descheduling plugin will be more preferable.


Expires improvements

2 convenience settings for Expires

always
*/* (match any content-type)

Thanks for your contribution. It's a good idea. But some parts need to be fixed before the pull request gets merged.
You've forgot to update yaws_config.erl to accept the type always in the expires directives. Without this addition, it will be not possible to use this feature in a configuration file (looks at the function yaws_config:parse_expires/2).
Then it would be good to update the documentation (man/yaws.conf.5 and doc/yaws.tex) and add some tests.
Beside that, I have a remark. allowing the syntax */* is a good idea. It could also be good to support Type/*. This requires more work but could be nice. To help you, you could see how that is handled in yaws_config:parse_compressible_mime_types/2.
If you have no time to work on it, I could do it, but not immediately, I'm too busy for now.

Christopher,
I updated my branch along your guidelines, but I haven't tested it one bit.

Nice! I'll review it very soon.

Hi,
I finally took the time to review and merge your patch.  I have just updated it slightly to do more stuff during the Yaws startup. Thanks for your contribution.

Great. Thank you
On Mon, Apr 13, 2015 at 9:47 PM, Christopher Faulet <
<EMAIL_ADDRESS>wrote:

Hi,
I finally took the time to review and merge your patch. I have just
updated it slightly to do more stuff during the Yaws startup. Thanks for
your contribution.
—
Reply to this email directly or view it on GitHub
https://github.com/klacke/yaws/pull/208#issuecomment-92475631.

--
andreineculau.com http://www.andreineculau.com


bug: PluginConfigId is not assigned to the route in case upstreams used instead of the backends

Issue description
I am using the ingress controller to create the following apisix resources:

Plugin configs
Upstream
Route

The following definitions are used:
apiVersion: apisix.apache.org/v2
kind: ApisixUpstream
metadata:
  name: httpbin-upstream
  namespace: acl
spec:
  externalNodes:
  - type: Domain
    name: httpbin.org
  retries: 3
  timeout:
    connect: "3s"
    send: "2s"
    read: "3s"
  loadbalancer:
    type: roundrobin
  healthCheck:
    active:
      concurrency: 10
      host: httpbin.org
      type: http
      timeout: 2
      httpPath: /
      healthy:
        httpCodes:
          - 200
          - 302
        interval: "1s"
        successes: 3
      unhealthy:
        httpCodes:
          - 429
          - 404
          - 500
          - 501
          - 502
          - 503
          - 504
          - 505
        httpFailures: 5
        interval: "3s"
        tcpFailures: 2
        timeouts: 3
---
apiVersion: apisix.apache.org/v2
kind: ApisixPluginConfig
metadata:
  name: httpbin-plugins
  namespace: acl
spec:
  plugins:
  - name: proxy-rewrite
    enable: true
    config:
      regex_uri:
      - "^/httpbin/(.*)"
      - "/$1"
---
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
  name: httpbin-route
  namespace: acl
spec:
  http:
    - name: httpbin-route-rule
      match:
        hosts:
          - apisix.local.net
        paths:
          - /httpbin/*
        methods:
          - GET
      upstreams:
        - name: httpbin-upstream
      plugin_config_name: httpbin-plugins

As result my configuration is applied to the apisix, but plugin config is not assigned to the route.
My assumption that issue is because of the bug in the following file: apisix_route.go, more precisely the following fragment
if part.PluginConfigName != "" {
				route.PluginConfigId = id.GenID(apisixv1.ComposePluginConfigName(ar.Namespace, part.PluginConfigName))
			}

is only executed when len(backends) > 0 (function translateHTTPRouteV2).
I guess it should be applied both for case with backends and case with upstream, like mine.
Environment

your apisix-ingress-controller version (output of apisix-ingress-controller version --long): 1.6.0
your Kubernetes cluster version (output of kubectl version): 1.23.6

Minimal test code / Steps to reproduce

Apply the definitions which are provided above
Wait till definitions will be applied
Check resulted configuration of the route

Actual result
{
  "uris": [
    "/httpbin/*"
  ],
  "name": "acl_httpbin-route_httpbin-route-rule",
  "desc": "Created by apisix-ingress-controller, DO NOT modify it manually",
  "methods": [
    "GET"
  ],
  "hosts": [
    "apisix.local.net"
  ],
  "upstream_id": "6f1d84e5",
  "labels": {
    "managed-by": "apisix-ingress-controller"
  },
  "status": 1
}

plugin_config_id is missed from the configuration
Error log
no error log, just incorrect behaviour
Expected result
plugin_config_id is properly assigned to the route

@tao12345666333 created a PR that should fix the problem, described above - https://github.com/apache/apisix-ingress-controller/pull/1578, I hope that will help. Tell me if there are any issues or questions regarding the proposed changes.

Thanks! I will add comments in #1578

It has been resolved. I will close this one, thanks

It has been resolved. I will close this one, thanks

Hello tao, im trying to update my controller to get this fix, but the latest image in docker repo for ingress controller is 1.6.0 and it is still not working for this bug here. It is planned to be in 1.6.1 or any future docker image for ingresso controller?


Improve this blog page

https://akshitagupta15june.github.io/Moksh/Blogs/Strength.html the picture have distorted

Please assign this issue to me under GSSOC'23

assigning u

Are you talking about the image, or the button?

Is it fine?


Multiple tester groups

Hello!
I was trying to add multiple tester groups separated by commas but the execution fails.Is it possible? If not, please let me know how can I help you to add this feature :smile:
Thanks!

It seems like it should work – what exception do you get?

I got this log:
Caused by: com.crashlytics.tools.android.exception.DistributionException: Crashlytics halted compilation because it had a problem uploading the distribution.Could not find a group for one or more of: ["QA", "Android Development", "UX"]
My tester groups are QA, Android Development and UX and I wrote them separated by commas.

This error means that one or more of the listed groups is not present in the Fabric Beta. Make sure all of them are spelled correctly and are present in "Manage Groups" section in Fabric Beta dashboard.

Yes, I am sure that this three groups are present in Fabric beta tester groups. Now I am doubting if the space in 'Android Development' could make this to fail.
I will try removing it

Nop, the space in the group name is not the problem.
These are two executed commands with space and without it...
Executing command: [java, -jar, /tmp/crashlytics-devtools8561197326643697331.jar, -androidRes, ., -apiKey, 6e3f5b35724da2f6c33bb8bda22995d900f22cfa, -apiSecret, f94dce7bd1a197a9c6e641bbd0ecee1835ce58c5527fba423019f6a04dc45a21, -androidManifest, /tmp/xml1339103222100697600.tmp, -uploadDist, /tmp/app-build-tmp471677613539245064apk, -betaDistributionNotifications, true, -betaDistributionGroupAliases, PluginTest, PluginFabricTest, -betaDistributionReleaseNotes, Prueba]

Executing command: [java, -jar, /tmp/crashlytics-devtools8185353106254614788.jar, -androidRes, ., -apiKey, 6e3f5b35724da2f6c33bb8bda22995d900f22cfa, -apiSecret, f94dce7bd1a197a9c6e641bbd0ecee1835ce58c5527fba423019f6a04dc45a21, -androidManifest, /tmp/xml3245760712591598032.tmp, -uploadDist, /tmp/app-build-tmp6544402396346579968apk, -betaDistributionNotifications, true, -betaDistributionGroupAliases, Plugin test, PluginFabricTest, -betaDistributionReleaseNotes, Prueba]

Maybe I am missing something..

I have just checked and multiple tester groups work for me.

@egor-n I have realized that I was writing the group name instead of the alias. Fabric wants the alias. Thank you for the answers :+1:

Glad I could help!


embassy-stm32 uart baudrate wrong with higher hse clock

I tried pushing the baud rate of the usart_dma example, however doubling the clock seems to halve the baud rate.
#[embassy_executor::main]
async fn main(_spawner: Spawner) {
    let mut stm32config : embassy_stm32::Config = Default::default();
    // stm32config.rcc.hse=Some(embassy_stm32::time::Hertz(16_000_000)); // <= disable to break baudrate
    let p = embassy_stm32::init(stm32config);

    let mut config = Config::default();
    config.baudrate=1_000_000;
    config.data_bits=DataBits::DataBits8;
    config.stop_bits=StopBits::STOP1;
    config.parity=Parity::ParityNone;
    config.assume_noise_free=false;
    config.invert_tx=false;
    config.invert_rx=false;

    let mut usart = Uart::new(p.USART1, p.PA10, p.PA9, Irqs, p.DMA1_CH4, NoDma, config).unwrap();

    let mut s: String<128> = String::new();
    core::write!(&mut s, "Hallo:)\r\n").unwrap();
    loop {

        unwrap!(usart.write(s.as_bytes()).await);
        Timer::after_millis(100).await;
    }
}

Switching the clock from 8MHz to 16MHz at 1MBaud seems to activate the code path in embassy-stm32/src/usart/mod.rs:1063, where over8 remains false.
I've checked the datasheet and the calculation of the brr seems correct.
I also couldn't find anything related to the baudrate in the errata sheet.
Can please someone try to reproduce the issue, or give me some pointers how to debug this properly? I'm running out of ideas.

HSE tells embassy-stm32 the frequency of the HSE in your board, it doesn't set it.
If you tell embassy-stm32 your board has a 16Mhz HSE, it'll believe you and calculate baudrate prescalers accordingly. If you lied and the board actually has a 8Mhz HSE, baudrate will be 2x slower.

This actually makes a lot of sense.
Thanks a lot :)


Mark success response parameter on /api/paste/submit as optional

This mirrors the current state of the code: app/api/paste.py
does not set the constants.api.RESULT ('success') field and
app/models/paste.py does not contain a success field. This
means that on a successful paste, /api/paste/submit will lack
a 'success' field.
Perhaps this field is unnecessary and the preferred fix would be to remove it altogether; however, this at least documents the current state of things. This was discovered against https://paste.fedoraproject.org.

CI failure seems unrelated to my changes:
$ make check-style
pre-commit run --all-files
[INFO] Initializing environment for git://github.com/pre-commit/pre-commit-hooks.
An error has occurred: InvalidManifestError:
=====> /home/travis/.cache/pre-commit/repo5SKD9j/.pre-commit-hooks.yaml does not exist
Check the log at /home/travis/.cache/pre-commit/pre-commit.log
make: *** [check-style] Error 1
The command "make check-style" exited with 2.

This is great, thanks! This is probably an error in the code itself but it's good to document its inconsistent behavior.

Thanks! I'm happy to open a PR for the correct behavior, but I suspected this was perhaps intentional since success seemed to be documented in the HTML file versus the JSON file. If I understand the distinction, JSON documented attributes always exist, whereas HTML ones are optional. I could be wrong though. :)


Give instructions on setting up AWS authentication

Overview
Address API keys and SSO setup

Work for this issue will begin begin on branch work-liquid-labs/cloudsite/44.

Accidentally closed early; see #46


Transition to nbdev and add TFX pipeline

Sprint 0-3 commits

I cannot revert the pull request. However, you over-write the previous README file. Please recover and extended it!


rxjs-compat usage appears broken in v10 when building with "optimization": true

🐞 Bug report
Command (mark with an x)

[ X ] build

Affected Package
rxjs-compat ~6.5.0
Is this a regression?
Yes, the previous version in which this bug was not present was: 9.1.11
Following the exact same reproduction steps using @angular ~9.1.0 works as expected and without errors. I encountered this issue upgrading a long-lived production app from @angular v9 to v10; this app has a variety of older rxjs usages using rxjs-compat since @angular v6.
Description
rxjs-compat usage appears to no longer work when building with "optimization": true in angular.json (it does work when optimization is false).
🔬 Minimal Reproduction
ng new
npm install --save rxjs-compat

Edit app.component.ts to import Observable from rxjs/Rx and then create a new Observable in a constructor, final file should look like:
import { Component } from '@angular/core';
import { Observable } from 'rxjs/Rx';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'angtest10';

  constructor() {
    const a = new Observable();
  }
}

Run a build that has "optimization": true in angular.json.
ng serve --prod

Navigate to the application in a browser: http://localhost:4200
🔥 Exception or Error
Chrome (v83) throws the following exception when attempting to load the application at http://localhost:4200
main.c6d1cf7c07add2e9604d.js:1 ERROR TypeError: Po.Observable is not a constructor
    at new e (main.c6d1cf7c07add2e9604d.js:1)
    at gt.e.ɵfac [as factory] (main.c6d1cf7c07add2e9604d.js:1)
    at Ht (main.c6d1cf7c07add2e9604d.js:1)
    at main.c6d1cf7c07add2e9604d.js:1
    at main.c6d1cf7c07add2e9604d.js:1
    at Ks.create (main.c6d1cf7c07add2e9604d.js:1)
    at e.bootstrap (main.c6d1cf7c07add2e9604d.js:1)
    at main.c6d1cf7c07add2e9604d.js:1
    at Array.forEach ()
    at e._moduleDoBootstrap (main.c6d1cf7c07add2e9604d.js:1)
Zt @ main.c6d1cf7c07add2e9604d.js:1
handleError @ main.c6d1cf7c07add2e9604d.js:1
(anonymous) @ main.c6d1cf7c07add2e9604d.js:1
invoke @ polyfills.a4021de53358bb0fec14.js:1
run @ polyfills.a4021de53358bb0fec14.js:1
runOutsideAngular @ main.c6d1cf7c07add2e9604d.js:1
(anonymous) @ main.c6d1cf7c07add2e9604d.js:1
invoke @ polyfills.a4021de53358bb0fec14.js:1
onInvoke @ main.c6d1cf7c07add2e9604d.js:1
invoke @ polyfills.a4021de53358bb0fec14.js:1
run @ polyfills.a4021de53358bb0fec14.js:1
(anonymous) @ polyfills.a4021de53358bb0fec14.js:1
invokeTask @ polyfills.a4021de53358bb0fec14.js:1
onInvokeTask @ main.c6d1cf7c07add2e9604d.js:1
invokeTask @ polyfills.a4021de53358bb0fec14.js:1
runTask @ polyfills.a4021de53358bb0fec14.js:1
m @ polyfills.a4021de53358bb0fec14.js:1
Promise.then (async)
k @ polyfills.a4021de53358bb0fec14.js:1
scheduleTask @ polyfills.a4021de53358bb0fec14.js:1
scheduleTask @ polyfills.a4021de53358bb0fec14.js:1
scheduleMicroTask @ polyfills.a4021de53358bb0fec14.js:1
Z @ polyfills.a4021de53358bb0fec14.js:1
then @ polyfills.a4021de53358bb0fec14.js:1
bootstrapModule @ main.c6d1cf7c07add2e9604d.js:1
zUnb @ main.c6d1cf7c07add2e9604d.js:1
l @ runtime.e227d1a0e31cbccbf8ec.js:1
0 @ main.c6d1cf7c07add2e9604d.js:1
l @ runtime.e227d1a0e31cbccbf8ec.js:1
t @ runtime.e227d1a0e31cbccbf8ec.js:1
r @ runtime.e227d1a0e31cbccbf8ec.js:1
(anonymous) @ main.c6d1cf7c07add2e9604d.js:1

🌍 Your Environment
Angular CLI: 10.0.0
Node: 12.14.0
OS: win32 x64

Angular: 10.0.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.1000.0
@angular-devkit/build-angular     0.1000.0
@angular-devkit/build-optimizer   0.1000.0
@angular-devkit/build-webpack     0.1000.0
@angular-devkit/core              10.0.0
@angular-devkit/schematics        10.0.0
@angular/cli                      10.0.0
@ngtools/webpack                  10.0.0
@schematics/angular               10.0.0
@schematics/update                0.1000.0
rxjs                              6.5.5
typescript                        3.9.5
webpack                           4.43.0
Anything else relevant?
If I set "optimization": false in the production configuration in the angular.json file, then the application works as expected without error.
The build outputs the following warning that was not present in @angular ~9.1.0:
WARNING in C:\dev\angtest10\src\app\app.component.ts depends on rxjs/Rx. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Following that link advises adding the dependencies to the "allowedCommonJsDependencies" property under build.options in the angular.json file. I have added rxjs-compat as directed to no effect.
Here are zips of a broken v10 and working v9 repro both created using the steps outlined above.
rxjs-compat-angular-v9-works.zip
rxjs-compat-angular-v10-errors.zip

Hi @qstarin,
In version 10, we removed the out-of-the-box support for RxJs compat, RxJs compat was used during the transition from RxJs 5 to 6 in Angular 6. By now libraries and applications should be have completed this migration.
Angular version 10, requires a minimum of RxJs version 6.5.3+. If your application still used RxJs 5 style imports you can use the autofixer provided by the RxJs team: https://github.com/ReactiveX/rxjs-tslint

Hi @alan-agius4,
I have "rxjs": "^6.5.5" and "rxjs-compat": "^6.5.5", but I get the below issue #18035.
Uncaught TypeError: Q.Subject is not a constructor at Object.vWu4
Sincerely,
Hugo

@alan-agius4 Thanks, guess I missed that change for v10 along the way.
@hugoebarboza You'll have to switch any places using old-style RxJs imports and chained functions to use new-style imports and functions passed to the .pipe etc. and stop using rxjs-compat.


Update list item for card

This item should has confirmation for delete action

Deployed to GitHub Pages. Closing


Fix OracleEvent.validate() for signed numeric events

For some reason OracleEvent.validate() doesn't count a nonce for the sign. This PR fixes this.

Is this going to merge and release?
https://github.com/bennyhodl/kormir/issues/14


Error while installing adobe/reactor

Hi Team,
While executing the 'npm install @adobe/reactor-sdk --save'  we are getting the following error.
If we change the name in package.json then it executed normally. Is this a know issue?
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "@adobe/reactor-sdk" under a package
npm ERR! also called "@adobe/reactor-sdk". Did you name your project the same
npm ERR! as the dependency you're installing?
npm ERR!
npm ERR! For more information, see:
npm ERR!     https://docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm

If you want to use the @adobe/reactor-sdk library as an include in your own project, then your own project should have a different name -- because you're developing your own MysteriousMasterBrakeCylinder application (as a silly example), not the @adobe/reactor-sdk library.
I.e., your package.json should have your project's name (e.g. MysteriousMasterBrakeCylinder), which should be different from @adobe/reactor-sdk, because that would be a name collision with the @adobe/reactor-sdk library that your project is using.
That seems to be how you've resolved the problem, and if you're developing code that uses @adobe/reactor-sdk, that's the correct course of action.
If, on the other hand, you're wanting to hack on @adobe/reactor-sdk itself, then you should follow the README instructions in the Developer Setup section (i.e., git clone git@github.com:Adobe-Marketing-Cloud/reactor-sdk-javascript.git, etc.), rather than the Installation section (i.e., the npm install @adobe/reactor-sdk --save that you're having trouble with). In that case, you won't have a collision between project names, because there's only the one project involved (@adobe/reactor-sdk), and you're not even using the tool that generated the error (npm install...).


Handling Escape characters

I'm evaluating your library for performance and wow it's good.  One issue I've encountered however is handling of escape characters.  For instance \T\ should evaluate to &.  I was thinking this should happen in the converter but I don't see how yet.  Can you point me in the right direction?  Or if you don't handle this, could you offer a suggestion on the best way to do so?
Here's a link to some of the accepted escapes https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=EHL72_escape_sequences  It doesn't appear as if there are too many.

I'll take this one.

I spent some time looking into this one today - looks like EncodingOperations.Unescape is not implemented yet, so while escape codes are being used when converting text to be HL7 compatible, they are not being decoded when coming from an HL7 message. I think this is simply a case of a missing feature. I'll prioritize this one (I've been wanting to do it for a while now anyway!)

There's support for what you're looking for now in the PR, although it's kind of awkward to use for the time being. You will need to access it via Builder.Encoding.Escape() or Parser.Encoding.Escape() whenever you want to create HL7 compatible values, and Builder.Encoding.UnEscape() or Parser.Encoding.UnEscape() whenever you want to extract a string from the HL7 compatible value.
In the next major version of this library, this functionality will be incorporated directly into Value and a new property called RawValue will provide access to the raw value (how it works at this time.)
If you're keen on building this one yourself, pull from the escape-ampersand branch (which is named after this issue) and try that one. I'm going to get some peer review before I merge this one.


Question: can I have a new version without changelog?

I'm facing a situation where I want to be able to have a new version even when the changelog was not able to get any changes. I mean, from the log I can see a new version, but no descriptions, based on conventional commits.
This is the job that I have:
- name: Conventional Changelog Update
  uses: TriPSs/conventional-changelog-action@v3
    id: changelog
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}
    output-file: 'CHANGELOG.md'
    skip-version-file: 'false'
    skip-commit: 'true'
    git-push: 'false'

And here's the log from the job:
Run TriPSs/conventional-changelog-action@v3
Using "angular" preset
Using "chore(release): {version} [skip ci]" as commit message
Using "Conventional Changelog Action" as git user.name
Using<EMAIL_ADDRESS>as git user.email
Using "5" release count
Using "./package.json" as version file
Using "version" as version path
Using "v" as tag prefix
Using "CHANGELOG.md" as output file
Using "" as config file
Using "github.com" as gitUrl
Using "main" as gitBranch
Using "" as gitPath
Skipping empty releases is "enabled"
Skipping the update of the version file is "enabled"
Pull to make sure we have the full git history
/usr/bin/git config user.name Conventional Changelog Action
/usr/bin/git config user.email<EMAIL_ADDRESS>/usr/bin/git remote set-url origin ***github.com/bcgov/nr-spar-webapp.git
/usr/bin/git rev-parse --is-shallow-repository
false
/usr/bin/git pull --tags --ff-only
Already up to date.
Recommended release type: patch
Because: There are 0 BREAKING CHANGES and 0 features
Using GIT to determine the new version
Changelog generated
## [0.1.2](https://github.com/bcgov/nr-frontend-starting-app/compare/v0.1.1...v0.1.2) (2022-12-14)

Generated changelog is empty and skip-on-empty has been activated so we skip this step

My question is if I change the skip-version-file to true will do the trick? Thanks in advance.

If you change skip-on-empty to false it will not skip empty changelogs.

But I would like to have something like an empty changelog, so someone can edit it manually later and fix, without breaking the workflow. If I set skip-on-empty to false that will break the flow, right?

Thanks for the explanation! Although I'm not sure if I followed.
If I commit an empty changelog, this "empty part" won't be added to the existing CHANGELOG.md file? In other words, keeping it as is? Sorry for my confusion. I'm new in the GutHub Actions world.

I think it does not matter much, in your example you have skip-commit set to true so the file will not be pushed / created.
If you where to set skip-commit back to false it will create the file defined in output-file, when skip-on-empty is set to false it will add the empty part to that file. But, if you afterwords update the file the workflow will overwrite that again when it does the next release.

Ohh got it! Thanks a lot!! That make sense.


Issue while merging a shared configuration

Hello together,
We tried to use the sharedConfiguration for our global settings.
For that we created an own repository with a yml witch we referenced from the .pipeline/config.yml file. Now we have the problem that it seems that in some steps/stages the prameters from the globle file can’t merge at runtime.
For example:
step:
  mavenExecute:
  dockerImage: 'dockerImageFolder/maven:3.6.1-jdk-8'

(in .pipeline/config.yml it works fine)
If we move this step to the global.yml file the build ends up with an error
(Maven Static Code Checks execution failed)
stages:
productionDeployment:
  cfTargets:
    credentialsId: 'OUR_CREDENTIALS'

works fine in the config.yml till we move it to the globel.yml
Error: NO VALUE AVAILABLE FOR cloudFoundry/credentialsId
If we move the mtaBuild step (dockerImage:, mta buildTool:) to the global.yml the correct dockerImage is pulled at runtime so the general merge between config.yml and global.yml should work.
Thanks
Sebastian

Thanks for reporting this issue.
Unfortunately, it looks like for steps which are executed in go (Maven static code checks, artifact deployment) the shared config is not taken into account. We will have a closer look and try to provide a fix and let you know.
However, for the productionDeployment is should work. Could you please provide a minimal example what you have configured in the project and what in the shared config?
Thanks. Daniel

May I suggest to harmonize shared config loading with general purpose pipeline ?
In cloud sdk pipeline it is loaded via URL, gpp uses a shared lib.

Hello, attached you find an example of both files
.pipeline/config.yml
general:
  projectName: 'name'
  sharedConfiguration: 'https://path/global_config.yml?at=refs%2Fheads%2Fmaster'
  verbose: true

steps:
  mtaBuild:
    globalSettingsFile: 'settings.xml'
    buildTarget: 'CF'

  mavenExecute:
    projectSettingsFile: 'settings.xml'

stages:
  productionDeployment:
    cfTargets:
      - org: 'target'
        space: 'DEV'

global_config.yaml
general:
  collectTelemetryData: false
  dockerPullImage: false
  productiveBranch: 'master'
  jenkinsKubernetes:
    inheritFrom: 'sapjenkins'

steps:
  mtaBuild:
    defaultNpmRegistry: 'https://...'
    dockerImage: 'docker image'
    mtaBuildTool: 'cloudMbt'

  executeNpm:
    defaultNpmRegistry: 'https://...'
    sapNpmRegistry: '...'
    dockerImage: 'dockerimage..../node-browsers:v3'

  mavenExecute:
    dockerImage: 'dockerimage.../maven:3.6.1-jdk-8'

stages:
  productionDeployment:
    cfTargets:
      - org: 'target'
        apiEndpoint: 'https://.....'
        credentialsId: 'CREDENTIALS'

Regards Sebastian

Hi,
the issue is, that we can only merge maps. In case of the production deployment cfTargets is a list. In every case where a value of an entry is something else than a map (key value list) we take the value from the local configuration.
However, to provide default values for the cfTargets you can configure the corresponding cloud foundry values in the general section:
https://sap.github.io/jenkins-library/steps/cloudFoundryCreateService/#step-configuration
You can do that even in the shared config.

Hi Daniel, can you please give us a short example how this should look like?
We tried it like :
Globel.yml
general:
  cloudFoundry:
    org: 'target'
    apiEndpoint: 'https:...'
    credentialsId: 'CREDENTIALS'

config.yml
steps:

  cloudFoundryDeploy:
    cloudFoundry:
      space: 'DEV'

stages:

 productionDeployment:

In this case the productionDeployment is running without an error but the application will not be deployed to the server.

You always need cfTargets. The other options can just provide defaults for each of these targets. There will be exactly as many deployments as there are targets in the list of cfTargets.
An example can be found here: https://github.wdf.sap.corp/MA/cloud-s4-sdk-pipeline/blob/master/configuration.md#productiondeployment
general:
  cloudFoundry:
    org: 'myorg'
    space: 'Prod'
    apiEndpoint: 'https://api.cf.sap.hana.ondemand.com'
    credentialsId: 'CF-DEPLOY-DEFAULT'
    manifestVariablesFiles: ['manifest-variables.yml']
stages:
  productionDeployment:
    cfTargets:
      - appName: 'exampleapp'
        manifest: 'manifest.yml'
      - space: 'Prod2'
        appName: 'exampleapp'
        manifest: 'manifest.yml'
        credentialsId: 'CF-DEPLOY-PROD1'

For both targets, e.g., the org 'myorg' from the general section is used. For the second target, e.g., the default for space 'Prod' is overwritten with 'Prod2', for the first one the default is used.


itemChanged is not be dispatched in handleClick(event)

itemChanged seems only be dispatched in onScroll(event).
When user scroll, itemChanged fired.
But if user click the '.scrollactive-item', itemChanged won't be fired.

Also, i wan't to install this component in local.
It seems that i can only install this globally now.

Yes i confirm this, itemChanged not fire on click items.
Could be nice to add another event to catch only click event on items.

Thanks for the feedback guys, I've just solved this and will be implemented in the next release very soon :)

Regarding the local installation, I'll probably change this in a future release to install only locally as some people had problems with global


Simplify organization of base classes

Closes None, but does touch on #671.

Changes proposed in this pull request:

Make _check_ncores a function in nimare.utils (see #671).
Remove the Transformer base class.

It only had the transform abstract method, which was overridden by all child classes.

Move the Decoder base class to nimare.decode.base.
Create a new IBMAEstimator base class, and move all IBMA-related code from MetaEstimator into that new class.
Move all CBMA-related code from MetaEstimator into CBMAEstimator.
Remove MetaEstimator.
Rename the _validate_input method to _collect_inputs.
Convert generic kwargs in CBMAEstimator and IBMAEstimator into actual keyword arguments, and raise a warning for any extraneous kwargs.

I will take a look as soon as I get good chance!

+1 on moving _check_ncores to utils
I'm on the fence about removing the Transformer class since it does serve the purpose of enforcing the transform method on all children.

Great. LGTM then!


top-level/aliases: remove warning from rocm-opencl-{icd,runtime}

Description of changes
https://github.com/NixOS/nixpkgs/pull/258328#issuecomment-1761636189

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 260910 run on x86_64-linux 1

You rock :)


polymer 1.0 Uncaught TypeError: this.mixin is not a function

We are using polymer for our some of the components in our hybrid app. When I upgrade polymer 0.5 to 1.0 I kept seeing this error message:
polymer-micro.html:401  Uncaught TypeError: this.mixin is not a function
I have no idea what I did wrong. The components are working fine in the demo index files. When I load the component to my project, even just  polymer was broken

Reproduced here: http://jsbin.com/rapoci/edit?html,console,output
Fail conditions:

Use polymer-micro.html
Include a behavior that has hostAttributes

Root cause: _addHostAttributes calls this.mixin, which is defined in utils.html which is only included in polymer.html (standard layer).  mixin should be moved to be included in polymer-micro.html

Thank a lot!


performance improvements

investigate if there are gains in using qvarlengtharray instead of qvector for upstream middleware
investigate alternatives for custom heap allocation and freeing of context (disconnect signal)

using qbenchmark and in testing in real evniroment shows no real changes
hottest code is request parsing that we are in the process of replacing
minor checks removed in the process that should be faster but nothing measurable


Need to disable integrated GPU when using A770

Describe the bug
My machine has i7-13700K CPU with iGPU as Intel UHD Graphics 770 and dGPU as Intel Arc 770 (8 GB). When trying to run following command to check whether the XPU environment is correct or not, running into an error which says PI_ERROR_INVALID_DEVICE.
python -c "import torch; import intel_extension_for_pytorch as ipex; print(torch.__version__); print(ipex.__version__); [print(f'[{i}]: {torch.xpu.get_device_properties(i)}') for i in range(torch.xpu.device_count())];"
To Reproduce
Steps to reproduce the behavior:

Machine with iGPU enabled + Arc 770 (8 GB)

Expected behavior
XPU environment should be detected correct
Screenshots
The error log is as following:
C:\Users\Raj Patel\.conda\envs\aipc_xpu\lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension: 'Could not find module 'C:\Users\Raj Patel\.conda\envs\aipc_xpu\Lib\site-packages\torchvision\image.pyd' (or one of its dependencies). Try using the full path with constructor syntax.'If you don't plan on using image functionality from torchvision.io, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have libjpeg or libpng installed before building torchvision from source?   warn( 2.3.1+cxx11.abi 2.3.110+xpu ZE_LOADER_DEBUG_TRACE:Using Loader Library Path:  ZE_LOADER_DEBUG_TRACE:Tracing Layer Library Path: ze_tracing_layer.dll Traceback (most recent call last):   File "<string>", line 1, in <module>   File "C:\Users\Raj Patel\.conda\envs\aipc_xpu\lib\site-packages\torch\xpu\__init__.py", line 57, in device_count     return torch._C._xpu_getDeviceCount() RuntimeError: Can't add devices across platforms to a single context. -33 (PI_ERROR_INVALID_DEVICE) (aipc_xpu)
Environment (please complete the following information):

OS: Windows11 24H2
dGPU: [Intel Arc A770 8GB]
iGPU: [UHD Graphics 770]
CPU: [i7-13700K]
Version: Tip of the dev branch 2486734

Additional context
I was able to fix this issue by disabling iGPU device from Windows Device manager.

Duplicated with https://github.com/intel/AI-Playground/issues/76 and https://github.com/intel/intel-extension-for-pytorch/issues/718

I have the same issue. A workaround for me was to set the environment variable set ONEAPI_DEVICE_SELECTOR=*: to prevent the iGPU from being seen.


drupalConsole issue when building project with composer

Situation I encountered is as follows:
I download drupal 8 using composer (by default it already includes drupal console as dependency).
I start docker-compose using this container.
when I try to use drupal console command it thows bunch of errors due to the dublicated installation.
Would it be possible to make sure to avoid this problem if mounted directory contains vendor/bin/drupal directory?

Could you provide steps to reproduce the problem?

I'm running into the same(?) or a familiar problem. I also use the composer to download drupal 8.
When i run:
docker-compose exec php drupal [command]
I receive the following error:
TypeError: Argument 1 passed to Drupal\Console\Core\Utils\TwigRenderer::__construct() must be an instance of Drupal\Console\Core\Utils\TranslatorManagerInterface, instance of Drupal\Console\Utils\TranslatorManager given in /var/www/html/vendor/drupal/console-core/src/Utils/TwigRenderer.php on line 43 #0 [internal function]: Drupal\Console\Core\Utils\TwigRenderer->__construct(Object(Drupal\Console\Utils\TranslatorManager), Object(Drupal\Console\Core\Utils\StringConverter)) #1 phar:///usr/local/bin/drupal/vendor/symfony/dependency-injection/ContainerBuilder.php(928): ReflectionClass->newInstanceArgs(Array) #2 phar:///usr/local/bin/drupal/vendor/symfony/dependency-injection/ContainerBuilder.php(468): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), 'console.rendere...') #3 /var/www/html/vendor/drupal/console/src/Bootstrap/Drupal.php(126): Symfony\Component\DependencyInjection\ContainerBuilder->get('console.rendere...') #4 /var/www/html/vendor/drupal/console/bin/drupal.php(49): Drupal\Console\Bootstrap\Drupal->boot(false) #5 phar:///usr/local/bin/drupal/src/Utils/Launcher.php(28): include_once('/var/www/html/v...') #6 phar:///usr/local/bin/drupal/bin/drupal.php(87): Drupal\Console\Utils\Launcher->launch('/var/www/html') #7 phar:///usr/local/bin/drupal/bin/drupal(3): require('phar:///usr/loc...') #8 /usr/local/bin/drupal(10): require('phar:///usr/loc...') #9 {main} TypeError: Argument 1 passed to Drupal\Console\Core\Utils\TwigRenderer::__construct() must be an instance of Drupal\Console\Core\Utils\TranslatorManagerInterface, instance of Drupal\Console\Utils\TranslatorManager given in Drupal\Console\Core\Utils\TwigRenderer->__construct() (line 43 of /var/www/html/vendor/drupal/console-core/src/Utils/TwigRenderer.php).
I read on other sources this could be caused by an outdated console version so i tried composer update.
In composer.json i require
"drupal/console": "~1.0"
and the composer.lock says:
"name": "drupal/console", "version": "1.0.0-rc15",
On an other source i read this error occurs only on php7?!
I will change the php container to php5x tomorrow and share my results.

Hi,
the problem is the console version provided by the docker image.
If i call the composer version directly everything works fine for me.
docker-compose exec --user 82 php /var/www/html/vendor/bin/drupal list
Best regards
Michael

Had same issue. I just did next and it helped me
docker-compose exec php sh
then
cd ../ drupal self-update
But probably it works only until you rebuild container.

@michaelpetri @brilsergei What is version of PHP container do you use? What version of drupal/console in container and in /var/www/html/vendor/bin/drupal?

I'm using wodby/drupal-php:7.0-1.0.0
And with my last solution i also run into some errors. At least this worked for me:
docker exec -it [container_name] /var/www/html/vendor/bin/drupal <command>

Any news on this one?

I confirm the issue, although my error was:

PHP Fatal error:  Cannot use Drupal\Console\Core\Bootstrap\DrupalConsoleCore as DrupalConsoleCore because the name is already in use in /var/www/html/vendor/drupal/console/src/Bootstrap/Drupal.php on line 11
Fatal error: Cannot use Drupal\Console\Core\Bootstrap\DrupalConsoleCore as DrupalConsoleCore because the name is already in use in /var/www/html/vendor/drupal/console/src/Bootstrap/Drupal.php on line 11

And using @michaelpetri solution (specifying the vendor/bin/drupal absolute path) works.

In a new 2.0.0 version composer, drush and console now installed globally for www-data user

It seems drupal console installed in a new way has no issues, I'm closing this issue.


Error while downloading a songs

I have a problem where I can't download the songs. I already edit the download.py but when I try to download them, this error appears in my cmd [2023-09-29 09:22:01,054] ERROR in _internal: (my ip) - - [29/Sep/2023 09:22:01] Request timed out: TimeoutError('timed out'). I got this error while downloading Lasting Eden append pack (not sure for another append packs). It becomes more weird when another pack are works perfectly even the same error appears, means when it gives me An error occurred while downloading the song. Please try again. and then I restart download it again and again it works for another pack but for Lasting Eden append pack it doesn't work. I'm so confused right now. I think this is bug from the server not from the client. Sometimes it also doesn't works for another pack.
Another information:
Server version: <IP_ADDRESS>
Game version: 5.0.1c

You said you did all things in #131 ?
Request timed out is irrelevance. There must be another reason.

Yes

Yes, and I think it caused by my internet connection (?)

Okay, it's my internet connection fault. Sorry. I'll close this issue.


Spaceship - sync video trailers

While working on adding trailer upload for spaceship, we found out that a method
had wrong name inside spaceship. It was mocked so the problem was never found out.

The method is called from: https://github.com/fastlane/fastlane/blob/0eacc936e1771a1901eabae671c794a978af2101/spaceship/lib/spaceship/tunes/app_version.rb#L412

Is this related to this commented out code in du_stubbing.rb?

@mfurtak that particular code isn't used today as we don't have a unit test for that particular method. As you can see the method just wraps upload_file and pass the proper parameters. So I chose to not add one more test for that particular code path.

Cool - Thanks for the fix! :+1:


Axe speed is as fast as hand when mining wooden planks, and logs.

https://github.com/Sinytra/Connector/issues/361 It is specifically for my case, a better nether issue, however I am using connector (fabric mods to forge) the developer had highlighted the problem in this thread and I hope you can fix it if possible :).
Forge 1.20.1

Hello, first of all, sorry for the inconvenience, would you be so kind as to provide me with the version of the mod you are using? Since if I'm not mistaken, that problem was already resolved since version 5.0.2

Sorry for the inconvenience, I have updated the tags and it should now work correctly
1.20.1 More Crafting Tables 5.1.1

Its no problem at all. I was using the recent version of the mod!
On Sat, Oct 7, 2023 at 7:40 AM 852DuartePls @.***>
wrote:

Hello, first of all, sorry for the inconvenience, would you be so kind as
to provide me with the version of the mod you are using? Since if I'm not
mistaken, that problem was already resolved since version 5.0.2
[image: image]
https://user-images.githubusercontent.com/73360977/273392083-1b1047c6-c0fc-412c-9527-4b179de399b7.png
—
Reply to this email directly, view it on GitHub
https://github.com/852DuartePls/MoreCraftingTables/issues/13#issuecomment-1751728581,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A27VVDGFV6VIZO5XTSCM3NTX6FSVBAVCNFSM6AAAAAA5WZRT3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRG4ZDQNJYGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you for your hard work, truly appreciate it, have a good rest of your
week!
On Sat, Oct 7, 2023 at 8:11 AM 852DuartePls @.***>
wrote:

Sorry for the inconvenience, I have updated the tags and it should now
work correctly
1.20.1 More Crafting Tables 5.1.1
https://legacy.curseforge.com/minecraft/mc-mods/more-crafting-tables-for-forge/download/4786212
—
Reply to this email directly, view it on GitHub
https://github.com/852DuartePls/MoreCraftingTables/issues/13#issuecomment-1751735057,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A27VVDHXY7TO4KF6SIVS52DX6FWKPAVCNFSM6AAAAAA5WZRT3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRG4ZTKMBVG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks to you too for pointing it out to me, I will be attentive to any future problems that may arise


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Faf-nir sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Tags confidence

It is possible to get the tag confidence or "likelihood" ?
I mean, in the sentence: I love Paris

word
tag
confidence

I
O
99%

love
O
75%

Paris
B-PLACE
89%

Hello Rafael,
Without the CRF, you can get this confidence (not normalized, you would have to add the softmax) with this line
self.logits = tf.reshape(pred, [-1, ntime_steps, self.ntags])
which is defined in model.py.
For the CRF, you can also use this quantity (which are emissions scores), but as the CRF has transitions scores, this may be not exactly what you want. (but you could find a way to combine both).
I hope this helps,
Best,
Guillaume

On Jul 3, 2017, at 8:43 PM, Rafael Antonio Ribeiro Gomes<EMAIL_ADDRESS>wrote:
It is possible to get the tag confidence or "likelihood" ?
I mean, in the sentence: I love Paris
word	tag	confidence
I	O	99%
love	O	75%
Paris	B-PLACE	89%
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/guillaumegenthial/sequence_tagging/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AMgu_cFkMsYaAgtXfBnDU9ZYV_Og7l1yks5sKTZLgaJpZM4OMlsS.

Thanks @guillaumegenthial I'll try that.


Feature Request: Supply a non-minified presets.json in dist/

In the dist folder, there is only presets.min.json. When pulling a new version of this data, it would be easier to review what changed if one could pull a presets.json instead of the minified version like it was possible before when the tagging schema definitions was part of the iD repos. The old URL was
https://raw.githubusercontent.com/openstreetmap/iD/develop/data/presets/presets.json

Sounds fine. I'm thinking we only need to update the JSON files in the dist directory when releasing and not for every commit.

I added non-minified version of all the files in https://github.com/openstreetmap/id-tagging-schema/tree/main/dist except for the locales. If you need the non-minified locales too then we could figure that out.

Yes, for the locales it would certainly be nice as well - for the same reason. To see a proper diff when pulling a new version. Shall I open a new ticket for that?


build(): add gulpfile to inline resources.

R: @hansl
I had to change the ` in sidenav.scss to ' because the html inliner is not super smart.
It's not the ideal solution, but at least it's pretty tiny and only needs to be used when we do a release.

Wait, does this thing simply copy-paste the content without anything else?

@hansl pretty much, yeah. Did you expect something else?


Add workflow endpoint to GA4GH

Need to have a new /api/v1/workflows endpoint on the GA4GH endpoints to have a GA4GH compliant way of sharing workflows.  There are fields that need to be removed from the tool schema like the Dockerfile

We've decided to take advantage of the tool-type field and just treat workflows as a de-generate tool with no associated docker image.


in code-code  method_generation,how to use eWASH?

Hello, your work is very enlightening.
In method_generation task, I want to ask how to use the eWASH in the paper to expand the context.I don't seem to see the relevant code.
Thanks!

Hi, we are not going to release eWASH implementation in CodeXGLUE repository. But you can download the raw dataset as described here. It has been parsed into the format which is used in eWASH paper.

Thanks!
---Original---
From: "Shuai @.>
Date: Mon, Nov 15, 2021 10:49 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [microsoft/CodeXGLUE] in code-code  method_generation,how to use eWASH? (Issue #89)
Hi, we are not going to release eWASH implementation in CodeXGLUE repository. But you can download the raw dataset as described here. It has been parsed into the format which is used in eWASH paper.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


I want to contribute

Hello ! I am Tanya and m currently pursuing my bachelor's in computer science and engineering. I want to contribute in new projects related to frontend development to improve my skills.

Hi there @TD-17 ! 👋🏻
Welcome to Stop Analyzing. Nice to have you on board!
What do you think about tackling https://github.com/bancodobrasil/stop-analyzing-embed/issues/94 ?

Hi there @TD-17 ! 👋🏻
Welcome to Stop Analyzing. Nice to have you on board!
What do you think about tackling #94 ?

Yeah I would like to tackle this issue ! Will you assign me this ?

Sure, you just need comment on the #94 for me to be able to assign it to you and I'm doing this right away.!


README.md: added some tools dependencies

Going to send a new request with just the patches of interest.


Warning about controlId

Has next warning in console
Warning: `controlId` is ignored on `<FormControl>` when `id` is specified.

My code:
            <FormGroup controlId="start_date">
              <Col componentClass={ControlLabel} sm={3}>
                Start date
              </Col>
              <Col sm={9}>
                <DatePicker ref="startDateInput" />
              </Col>
            </FormGroup>

I know I may remove controlId prop form FormGroup, but in this case how I may assign label for input? I want user to be able to click on label to make input in focus.

Hello, I'm having the same issue.

Should be resolved in 3.1.0

@wehriam thank you!

Sorry to reopening this issue. Run into the same issue and error message from Chrome console
I then found this issue and tried to update the package with NPM.
Unfortunately, NPM cannot update it and lists all of the available versions of this package. The closest version is 2.9x. Anyone can help or explain why? Should I update my NPM or Node.js version? or that's causing by other packages? Thank you!

Same here,Hope it gets fixed soon

same here

Had it today :(


ZonedDateTime issue

I am trying to test a very simple mapping from a DTO class to a Domain class. ZonedDateTime objects are used for createdDt, updatedDt purposes. When I ran a mapper, I get the following exception.
Failed to instantiate instance of destination java.time.ZonedDateTime. Ensure that java.time.ZonedDateTime has a non-private no-argument constructor.
I tried to skip it but it did not work. Are there known work arounds?

I have tried on version 2.3.0 and have no issue with this ZonedDateTime

Hi @ismailseyfi ,
Can you provide minimum reproducible code? Thanks!


ADD: Local environment in application.php

Summary
CURRENTLY:

It misses the local environment here: https://github.com/roots/bedrock/blob/052bf9d60b08a5f00273f6846999709e900eed27/config/application.php#L56
So when set ENV=local in .env, wp_get_environment_type() return production
.env.local is not used

TO DO:

According to official documentation, add 'local' in the array as so :

if (!env('WP_ENVIRONMENT_TYPE') && in_array(WP_ENV, ['production', 'staging', 'development', 'local'])) {
    Config::define('WP_ENVIRONMENT_TYPE', WP_ENV);
}

Additional context
No response

The enhancement is merged : https://github.com/roots/bedrock/blob/9223c3b2236e9594a8136bfda93db4dfd7574717/config/application.php#L56
The issue can be closed.


Revert "Fix deep linking to reports after signing in"

Reverts Expensify/App#43307

Revert does not fix it solely


Add get_txns_spender to doc

This is my first PR so let me know if I made this right. Possible optional arguments need to be added.

Awesome!  Thanks for the contribution @Tomtibo !  I see there are some more missing endpoints in the docs, like get_txns_by_watchlabel and get_unused_addresses_by_watchlabel... if you ever want to add them too you are very much welcome!  We need more docs and tutorials.
@gabidi does this addition to the docs for this endpoint look right?

Yep! Done! I'm still a little confuse about how to use git, so sorry for those garbage commit. Should be clean now.


Clicking on context menu should open up store if Windows Terminal is not installed

I just found out that, I had recently uninstalled Windows Terminal, so after installing the extension, when I clicked on the context menu, It did nothing. In my opinion, if user has not installed Windows Terminal, it should redirect the user to the Store!

Great suggestion!

Wow. I am stunned. are you verified in brave publishers? so that I can tip you?

@kameshkotwani no that's fine, you can pay me back by verifying the issue 😉, v0.5.1 is out now.

It's working perfectly fine! Thank you :)


resource: add permission check to names search

closes https://github.com/CERNDocumentServer/cds-rdm/issues/191

As discussed IRL, the change is fine, especially for the names vocabulary since it's only used in forms that require authentication anyways.