API docs: incorrect description

The url below have a incorrect description in section Microsoft.AspNetCore.StaticFiles.
https://docs.microsoft.com/zh-cn/aspnet/core/api/
Thank you.

Can you be more specific. What is wrong?

Sorry,Rick-Anderson.the English is not my first language and i'm hard work to learn English.
the text "Support for session state" incorrect marked on namespace Microsoft.AspNetCore.StaticFiles.

I don't see that. Can you send the URL to the page and screen shot. Here is what I see

Excellent, Thanks!

@bradygaster  see https://docs.microsoft.com/en-us/aspnet/core/api/
Session is above. Also, why so many without descriptions?

@bradygaster  @danroth27  please review.
I've had to close two PR's over this. See https://github.com/aspnet/ApiDocs/pull/14/files and https://github.com/aspnet/ApiDocs/pull/15/files

Yeah, we should fix this. Shouldn't we just take one of those two PRs?

@danroth27 seems like the right thing to do


Package request: argc v1.19.0

A Bash CLI framework, also a Bash command runner.
The current version in nixpkgs is v1.14.0
Metadata

homepage URL: https://github.com/sigoden/argc
source URL: https://github.com/sigoden/argc
license: mit
platforms: unix, linux, darwin

Add a :+1: reaction to issues you find important.

https://github.com/NixOS/nixpkgs/pull/324665


On premise platform with custom team field

I've tried FlowVis a few times with no results closely following instructions.  I'm not sure but I think this may be the issue.
I have a on premises server instance 2019.1 with a custom team field replacing the use of the area path as the team organizer.  I know this is a common adaptation and supported in the ADO process config but does FlowVis allow for that and how do I configure for it?  Is it possible for me to edit the report to allow for that?

Hey Scott,
So you’re not using Azure DevOps services? I haven’t tried using / testing against on premise tbh. Would be good if we could discuss and I can try work through?
Cheers,
Nick
Sent from my iPhone

On 12 Aug 2020, at 10:36, Scott Presson<EMAIL_ADDRESS>wrote:

I've tried FlowVis a few times with no results closely following instructions. I'm not sure but I think this may be the issue.
I have a on premises server instance 2019.1 with a custom team field replacing the use of the area path as the team organizer. I know this is a common adaptation and supported in the ADO process config but does FlowVis allow for that and how do I configure for it? Is it possible for me to edit the report to allow for that?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Closing as no response - will reopen if appropriate


typo, ofter -> often

Description
update comment text to correct typo

:fire: thank you @nullvariable!
Would you mind adding yourself to the README? This job will fail until then. When is green will merge right away :)
thanks!

Done :)
thanks for an awesome set of libraries

Thank you so much! Excited to see people using them :)
Merged with dbacda9d255f103d9c8e7268800cac6493117bd9


[New chain]: support blast l2 sepolia

Chain Name
Blast L2
RPC URL
https://sepolia.blast.io
The chain must be added to https://chainlist.org/

[X] I confirm that the chain is added to chainlist

After creating the issue, a bot will estimate the required pre-fund and post it in the comments. Please check this checkbox after you send the pre-fund.

[ ] I sent the pre-fund in accordance with Github Action's comment

Relevant information
Explorer: https://testnet.blastscan.io/

Wallet 0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37 prefunded


How to improve surface integral kernels

This is not a typical issue as no errors ever occurred. But I think it is worth to bring up this issue here.
First, I will give some background related to this issue. See example
using CUDA

function foo!(a, b)
    i = (blockIdx().x - 1) * blockDim().x + threadIdx().x

    if (i <= 4)
        @inbounds begin
            for ii in 1:4
                a[ii] += b[ii]
            end
        end
    end

    return nothing
end

a = CUDA.ones(4)
b = CUDA.ones(4)
@cuda threads = 4 foo!(a, b)

And the result is given as
julia> a
4-element CuArray{Float32, 1, CUDA.Mem.DeviceBuffer}:
 2.0
 2.0
 2.0
 2.0

I used to think that parallel computing is kind of something thread-safe, that is, in this example, each value of a should be 5.0 instead of 2.0. As I thought even though the computation is parallel, it should immediately write any data changes to memory based on the order of completion after each thread completes its unit of computation, but the fact is not. So here some problems came for the surface integral kernels.
The CPU code for calculating surface integral in 2D and 3D are
https://github.com/huiyuxie/Trixi.jl/blob/fdccbb17aaddd31a935ee7560fd4ea506a6d93ad/src/solvers/dgsem_tree/dg_2d.jl#L1076-L1115
https://github.com/huiyuxie/Trixi.jl/blob/fdccbb17aaddd31a935ee7560fd4ea506a6d93ad/src/solvers/dgsem_tree/dg_3d.jl#L1299-L1349
So if we directly write something like below will cause some problems
https://github.com/huiyuxie/trixi_cuda/blob/f1adcdf47d5840f17bed640f08af48bcfe0755c9/cuda_dg_2d.jl#L265-L281
https://github.com/huiyuxie/trixi_cuda/blob/f1adcdf47d5840f17bed640f08af48bcfe0755c9/cuda_dg_3d.jl#L278-L299
since the same entry from du will be computed in parallel among different threads, like j=size(du, 2), k=1 and j=1, k=1 in 2D (i.e. du[.., 1, size(du,2), 1] has been computed repeatedly) , and like j1=1, j2=size(du, 2), k=1 and j1=1, j2=1, k=1 in 3D (i.e. du[.., 1, 1, size(du,2), 1] has been computed repeatedly). As mentioned before, though these entries have been computed repeatedly but not all the data change will be write to the memory and thus cause data loss.
Thus, currently my solutions are like
https://github.com/huiyuxie/trixi_cuda/blob/f1adcdf47d5840f17bed640f08af48bcfe0755c9/cuda_dg_2d.jl#L283-L313
https://github.com/huiyuxie/trixi_cuda/blob/f1adcdf47d5840f17bed640f08af48bcfe0755c9/cuda_dg_3d.jl#L301-L356
separating the target entries in different kernels and then run kernels in series.
But I really don't like this way as it 1) definitely increases run time, and 2) (seems like) could be done in single kernel but now not, and 3) makes code ugly. So is there any other way to improve this kind of kernel? Now I have no better ideas so this issue is on hold.

Do you have some benchmarks of these?
It may be worth trying to rewrite the implementations from a scatter-type approach (choosing the indices of the sources on the right-hand side) to a gather-type approach where you choose the indices of the destinations on the left-hand side.

Thanks for your advice! New kernels for surface integral are like
https://github.com/huiyuxie/trixi_cuda/blob/beefbce72286c01beb216d00e3a467eb7eea5c32/cuda_dg_1d.jl#L353-L367
https://github.com/huiyuxie/trixi_cuda/blob/beefbce72286c01beb216d00e3a467eb7eea5c32/cuda_dg_2d.jl#L422-L443
https://github.com/huiyuxie/trixi_cuda/blob/beefbce72286c01beb216d00e3a467eb7eea5c32/cuda_dg_3d.jl#L470-L496
and benchmarks are done for test/hypdiff_harmonic_nonperiodic_1d.jl, test/hypdiff_harmonic_nonperiodic_2d.jl, and test/hypdiff_nonperiodic_3d.jl and results are like
# 1D original
BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  10.441 μs … 79.272 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     11.776 μs              ┊ GC (median):    0.00%
 Time  (mean ± σ):   12.238 μs ±  2.241 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

 # 1D new
 BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  10.978 μs … 80.150 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     11.913 μs              ┊ GC (median):    0.00%
 Time  (mean ± σ):   12.296 μs ±  1.646 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

# 2D original
BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  21.437 μs …  11.447 ms  ┊ GC (min … max): 0.00% … 99.25%
 Time  (median):     24.162 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   26.002 μs ± 114.250 μs  ┊ GC (mean ± σ):  4.37% ±  0.99%

 #2D new
 BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  12.043 μs … 89.029 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     13.349 μs              ┊ GC (median):    0.00%
 Time  (mean ± σ):   13.848 μs ±  2.041 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

# 3D original
BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  36.816 μs …  11.230 ms  ┊ GC (min … max): 0.00% … 98.82%
 Time  (median):     40.016 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   42.038 μs ± 111.941 μs  ┊ GC (mean ± σ):  2.64% ±  0.99%

 #3D new
 BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  12.826 μs … 81.850 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     14.095 μs              ┊ GC (median):    0.00%
 Time  (mean ± σ):   14.615 μs ±  2.003 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

For the 1D case, the new implementation is slower as we set up a larger kernel compared to the original one. But for the 2D and 3D cases, the new implementation is nearly half and a third as fast as the original one respectively as we set up fewer kernels. I would like to apply the new version of the kernels to 1D, 2D, and 3D (though it is slightly slower for 1D) since I want to maintain code consistency.

Sorry! I think I should have continued to consider this issue, as it is not very hard. But I have already spent long time trying to understand why there are persistent calculation errors. So I think it would be better to drop this issue here and focus on improving other kernels as the improvement should be an issue that can be addressed later. If you need more benchmark results (like testing on other equations) please let me know. Thank you so much for your help!

No, that's fine with me :+1:


feat: Support for connecting existing directory to an existing Micro

Suggestion
Have some sort of connect command in the CLI to seamlessly connect existing directory to an existing Micro without pain.
Workarounds
Currently, the only workaround is copy the contents of $PWD/.deta/prog_info file to the target machine or even set it as an secret in CI settings and do some "echo $DETA_PROG_INFO > .deta/prog_info`.

adding this to our next release todo list


Keyboard should not display in RichTextEditor when readOnly=true

I am using the RichTextEditor for the purpose of rendering text that has embedded html. When creating a RichTextEditor where readOnly=true and selecting that text, the keyboard pops up. I'd expect the keyboard to not pop up from any interaction with a RichTextEditor where readOnly=true

For that case it's better to use RichText instead of RichTextEditor


Preventing Mods From Using Dangerous JDK Packages

It's imperative that mods be prevented from using dangerous JDK packages and sun implementation details. For example, we don't want mods re-transforming classes at runtime via Instrumentation without a command line argument. This is dangerous behavior and a mod should never need to do something like this.

Personally I don't like this idea - most mods don't need (or want) to do dangerous things like this, but modding isn't only about writing clean, safe code - we're a mod loader for modifying a game after all.

and sun implementation details.

Sodium uses sun.misc.Unsafe for performance. If we wanted to disallow access to JDK internals we'd either cause crashes with sodium at runtime, or leave users with slower performance. (And not disallowing Unsafe allows mods to do basically anything).

For example, we don't want mods re-transforming classes at runtime via Instrumentation without a command line argument

I think https://openjdk.org/jeps/451 does what you want here? I don't think quilt-loader has much control over this.
I'm a bit confused as to why you've opened this though - how much did you use your own library that does this? (https://github.com/VulpixelMC/YummyQuiltHacks)

This is dangerous behavior and a mod should never need to do something like this.

As you should know considering you worked on YQH, that's outright incorrect: patch-based mass transformation of vanilla's code is really the only way to make jarmods for older versions into loader mods; see https://github.com/BTW-Community/Cursed-BTW/tree/main for a project that does exactly that, though it's using a fork of fabric loader instead of quilt loader rn for 1.5.2-related reasons.
Is it dangerous behavior? Yes. Does it still have legit use cases? Also yes. Therefor, QL shouldn't be blocking said behavior by default, especially when QSL/QFAPI isn't present—there's a case to restrict such behavior by default then (since it's guaranteed to be running on a modern version where mass class transformation is bound to be a lot less common), but loader itself shouldn't be making that decision.

I think https://openjdk.org/jeps/451 does what you want here? I don't think quilt-loader has much control over this.

Yeah, that's more of what I meant.

I'm a bit confused as to why you've opened this though - how much did you use your own library that does this? (https://github.com/VulpixelMC/YummyQuiltHacks)

I don't see any reason to be self-attaching an agent for instrumentation. If the loader wants to implement instrumentation, it can, but that's up to the loader, not the modder. Additionally, self-attaching agents has the potential to break on some JVMs. I somewhat regret writing YQH the way I did, and if I did it again, it would likely be without instrumentation. Either the loader supports instrumentation natively, or it doesn't. Also, I would avoid touching Quilt's internals as much as I did.

This is dangerous behavior and a mod should never need to do something like this.

As you should know considering you worked on YQH, that's outright incorrect: patch-based mass transformation of vanilla's code is really the only way to make jarmods for older versions into loader mods; see https://github.com/BTW-Community/Cursed-BTW/tree/main for a project that does exactly that, though it's using a fork of fabric loader instead of quilt loader rn for 1.5.2-related reasons.
Is it dangerous behavior? Yes. Does it still have legit use cases? Also yes. Therefor, QL shouldn't be blocking said behavior by default, especially when QSL/QFAPI isn't present—there's a case to restrict such behavior by default then (since it's guaranteed to be running on a modern version where mass class transformation is bound to be a lot less common), but loader itself shouldn't be making that decision.

Are you saying that it would be reasonable for QSL to block runtime re-transformation by default? I agree with that at least.

IMO if such a feature is added (a mass transformation permissibility toggle) it would make the most sense as a loader config option with three settings: ON, OFF, and DEFAULT—QSL/QFAPI/FAPI if someone's running that on QL for whatever reason would cause DEFAULT to behave like 'OFF' (meaning mass transformation is disabled), while pure QL would have it behave like ON (mass transformation is allowed). Either that, or allowing for the default behavior to be overridden with a JVM argument?

I don't want to disallow mass transformation, I just want to disallow Instrumentation by default.

Why? For security, this is useless. JDK says that lock-down stuff is for implementation "integrity". I don't buy it, and "integrity" gets more questionable in modding too.
So what's the purpose of this? Enforcing mods to have "good" code, effectively forcing those this would affect to have worse or no code?

Why? For security, this is useless. JDK says that lock-down stuff is for implementation "integrity". I don't buy it, and "integrity" gets more questionable in modding too. So what's the purpose of this? Enforcing mods to have "good" code, effectively forcing those this would affect to have worse or no code?

Why in the world do you need Instrumentation without a command line argument? The JDK is going to replace this functionality by default soon anyways, so I don't see a point in allowing it. If anything, we should be preparing for it to be disabled.

requiring command line arguments means exactly one thing: forcing those that must to relaunch the java process, aka worse code (or those that don't want to to not make their mod, aka no code).
Locking down all sun.* is definitely completely unreasonable given the fact Unsafe is there. Instrumentation only you somewhat have a point there but not really....
What's the purpose of this? Why do you care?

requiring command line arguments means exactly one thing: forcing those that must to relaunch the java process, aka worse code (or those that don't want to to not make their mod, aka no code). Locking down all sun.* is definitely completely unreasonable given the fact Unsafe is there. Instrumentation only you somewhat have a point there but not really.... What's the purpose of this? Why do you care?

It's all about encouraging good coding practices. I feel like if anything were implemented, the Instrumentation mitigation would be. I don't want to limit Unsafe at all, but disabling or locking out the AWT package could be more beneficial.

Frankly, this is a terrible idea. It is not quilt loader's place to prevent modders from doing things that they might have completely legitimate reasons for having to do. Yes, use of AWT classes is generally a bad thing. No, quilt loader is not the person to say that that's always the case and someone isn't doing something funky where that makes sense. Same with instrumentation; there are legitimate reasons to be using it, and placing arbitrary restrictions beyond what Java already has is silly.
...and all of that said if you allow the use of Unsafe at all you can't prevent anyone from doing any of that other stuff anyways

Frankly, this is a terrible idea. It is not quilt loader's place to prevent modders from doing things that they might have completely legitimate reasons for having to do. Yes, use of AWT classes is generally a bad thing. No, quilt loader is not the person to say that that's always the case and someone isn't doing something funky where that makes sense. Same with instrumentation; there are legitimate reasons to be using it, and placing arbitrary restrictions beyond what Java already has is silly.
...and all of that said if you allow the use of Unsafe at all you can't prevent anyone from doing any of that other stuff anyways

The point is not to prevent entirely but to discourage.

Yes but... Why? Why is that quilt loader's job? It seems to me like you're saying "people shouldn't do hacky stuff and quilt loader should enforce that" but... We're in the realm of modding. Doing hacky stuff is the bread and butter of modding.
Let me rephrase the question: what actual issue would this solve? Where's the example of a mod that was using this stuff when it didn't need to and breaking stuff that this would prevent?

A great example is mods (like Emogg) using the AWT classes. This could easily be fixed by simply refusing to load the AWT classes in Knot.
I believe one of auoeke's mods uses fabric loader internals or something fabric-specific which breaks on Quilt.
Either way, these things are fragile, far more fragile than Mixin (an intended feature) with Minecraft is. Preventing access to Quilt Loader internals can also help since those mods would be loader-version-dependent using impl details. I think generally preventing (or having a feature to prevent) access to impl without hacky solutions would be a good feature and would save headaches (e.g. preventing mods from Mixin' into Sodium internals) and allowing for some way to get around it manually, more as a way to say "this is not supported and never will be. We warned you."

You can use AWT classes just fine in quilt - minecraft itself still uses BufferedImage in MinecraftServer for example. It's only a problem if you use any of the non-headless stuff, as that can break on mac os.

Also quilt does limit access to loader internals now

Even using non-headless stuff can be done safely by special-casing macOS, as loader itself does (although valid use cases for that are rare with tinyfd existing for simple message boxes and file dialogs)

Yeah, honestly, this doesn't really feel like something that should be QL's job, especially if future JVM versions are going to make it harder to do anyways—if modders are going to do very unsafe things, they probably know that what they are doing isn't exactly best practice and are doing it anyways, and trying to make them Not Do That via QL is unlikely to be a real deterrent.
There is an argument to be made, maybe, for a large, hard-to-miss dev environment only warning saying 'hey you're using dangerous features of the JVM that are very much not best practice in your project, don't use them unless you really know what you're doing' when launching and building projects containing said unsafe code, but actually restricting that behavior isn't really something QL should be doing.

Going to close this then.

Closed for now.


doc: "[cmd]" wrongly highlighted as "helpSpecial" at ":h vim9" and ":h index"

[cmd] is wrongly highlighted as helpSpecial at :h vim9 and :h index.  This is confusing, because – usually – this highlighting means that [cmd] is an arbitrary Ex command.  But here, [cmd] is just an optional suffix.
This patch should fix the issue:
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index a4c34cd46..d8f9f6b90 100644
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -75,7 +75,7 @@ syn match helpSpecial		"\[range]"
 syn match helpSpecial		"\[line]"
 syn match helpSpecial		"\[count]"
 syn match helpSpecial		"\[offset]"
-syn match helpSpecial		"\[cmd]"
+syn match helpSpecial		"9\@1<!\[cmd]"
 syn match helpSpecial		"\[num]"
 syn match helpSpecial		"\[+num]"
 syn match helpSpecial		"\[-num]"

@cecamp

I might be wrong, but I don't think @cecamp is the maintainer of the help syntax plugin:
https://github.com/vim/vim/blob/5ffefbb35aba2448099314a9e09714d2f3b2b1bd/runtime/syntax/help.vim#L3

Yes, sorry, didn't read it properly.  Since we explicitly want to highlight vim9[cmd] normally, I think the simplest is:
syn match helpNormal		"vim9[cmd]"


Fix npm start for server

Modify workspace configuration to make the above command work.
npm run start -w=@tern-app/server

Background
The above command was failing because our server "code" used commonjs instead of module.
So we needed to 'build' to target commonjs. That fixed the start command for the server but broke the
build command for the client application.
Hybrid builds for cjs and mjs
I ended up building our shared package for both esm and commonjs targets.
And used the conditional exports to match the appropriate entry point for the calling code.
fixes /#1
/claim #1

Hey @jemiluv8 - great progress on the build 👍
Unforutnately, it looks like this breaks the dev flow:
If I install dependencies, setup the Tigris project, and run npm run dev -w=@tern-app/client I get the following error:
[vite] Internal server error: Failed to resolve entry for package "@tern-app/shared". The package may have incorrect main/module/exports specified in its package.json.
  Plugin: vite:import-analysis
  File: /Users/leggetter/tmp/tern-stack-template/apps/client/src/App.tsx
      at packageEntryFailure (file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:23384:11)
      at resolvePackageEntry (file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:23381:5)
      at tryNodeResolve (file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:23115:20)
      at Context.resolveId (file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:22876:28)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async Object.resolveId (file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:42805:32)
      at async TransformContext.resolve (file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:42533:23)
      at async normalizeUrl (file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:40501:34)
      at async file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:40652:47
      at async Promise.all (index 10)
      at async TransformContext.transform (file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:40578:13)
      at async Object.transform (file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:42877:30)
      at async loadAndTransform (file:///Users/leggetter/tmp/tern-stack-template/node_modules/vite/dist/node/chunks/dep-a178814b.js:53334:29)

I'd like the shared contents to run from source in development mode.

@leggetter I was able to accidentally replicate the same error locally (once) but have since not been able to do so.
Can you try the following

Use node v18.16+
delete all node modules folder under apps/client and in the root folder
run the dev command for client again.

In the meantime I'm still looking to replicate the error again and understand the "cause" better.
PS: Can you share your node version?

@jemiluv8 I'm on node v19.8.1
I pulled the repo down from scratch earlier in a new tmp directory and followed the process I've documented and just recorded and published a video of following, so that flow really needs to keep working 🤞
VScode reports an error with the shared import within the client:

I haven't built the shared package and it would be better if the solution wasn't to continuously build that and use everything from source in dev mode.

@leggetter I've come up with solution #2 hope you check it out and give feedback.
It works with the existing flows and fixes the npm run start for the app server
Background (2)
Again it was just a matter of building a common js version of the shared package to be used when
running the server build using the "node" directly.
Key modifications

use typescript project references and tsc --build (build mode) to ensure that whenever a ts module is build, its "referenced" packages are also built.
Add relevant conditional exports to the shared package to ensure that the commonjs build is referenced in the "production" "condition" for node.


invalid crypted content checksum

I have the following xxd outputs:

xxd -p id_2017-04-28_original
238785410100001a

xxd -p eeprom_2017-04-28_original
1d3bcdd6826485d60a8fe69566fe8ad8bb8e1bf2ed123289d97286516ed3
80f68165e6a73b1a6b0c52e57fe23e2c218252e57fe23e2c21829afe53d4
2da8af43ac7600000000a64d55aa551b06465dbefeb300000000000040b5
6c000a68cfd37ffe84220120a0bf5354524154415379530b821c867b5fa5
c2282a916d2cc7b7194e67ccc250fc797feec88b05f4fe13f844b5a5c1f0
0d259f9a36f57131f6ae0666c53bf4a4cff6a3f29691706d9624c2b4454f
6e6b9a7f1d88fad6671294c7b08169100db556cb9633d99792346b3fa1d7
695193cf3d78d8a0373003eabecce46338063f09a011a90e990640ff23a6
f6c924263f478dc69dbcaa11fedad25996f5cfe130e4a08253bdaabeabbd
aa8ea5b98a4b0e29f4edb81f1df7dcdf4ca395d01a3eb35e201b2284c56a
7f3a3312613b220b2ef06cce7b8657f2099518bb89cb4d3219dd07bbef87
5ded830dfd2fddc6aee011eb9c2092a8b7bdeb2696b61cb4122da4b15753
0fc25d2b005bbd425da5b126dc6e4c8bd6208941bedb44f5bca20aee1e9d
e8bde3e1f45e8c23b660f41a9eec3b789a1042e83d73039c65e124fba755
f890277e380eed00649ffbed1d843d8cbb943858a40f260fc97c35b772ca
9d5ffc5c377a0ffd4fcfe12b07358ab01b5ad93e3df40f1a2f2224f59fd9
5f8f5cb959556ef2038f3e4baeebea1049f1def04a6edce223ce17957e6d

Running the script hits me with

./stratasys-cli.py eeprom -t prodigy -e 1a00000141858723 -i eeprom_2017-04-28_original
Traceback (most recent call last):
File "./stratasys-cli.py", line 252, in
app.run()
File "./stratasys-cli.py", line 27, in run
args.func(args)
File "./stratasys-cli.py", line 101, in command_eeprom
self._eeprom_info(args)
File "./stratasys-cli.py", line 211, in _eeprom_info
cartridge = m.decode(machine_number, args.eeprom_uid, cartridge_crypted)
File "/home/pi/ds2433/stratasys-master/stratasys/manager.py", line 52, in decode
cartridge_packed = self.decrypt(machine_number, eeprom_uid, cartridge_crypted)
File "/home/pi/ds2433/stratasys-master/stratasys/manager.py", line 197, in decrypt
raise Exception("invalid crypted content checksum")
Exception: invalid crypted content checksum

Want to "re-wire" the 7 meters of filament left in that cartridge.
Running python 2.7.9
So what am I doing wrong here?

Never mind. The transmission is full of errors. Every time I copy that file from the DS2433 I get a different result. Will try to fix those wires first.


How can I parse the "form-data" post request？

Ok, I can parse the post request by set the
Content-Type: application/x-www-form-urlencoded
but how can I do it with multipart/form-data

sorry ,I got it ~
just use the MultiPartParser class

sorry ,I got it ~
just use the MultiPartParser class

Yes, you are right.

Yes, you are right.


remove install_mm

trying to do the same thing as #80

@ianhi, take a quick peek?
This also:

uses a process-local CMMCore instance, unless started with MM_REMOTE
adds a note to the readme for users to run python -m pymmcore_plus.install

test_explorer is now  failing because of https://github.com/tlambert03/pymmcore-plus/issues/79


Feature request - Integrate with nvim spider

Would it be possible to add support for this plugin?
https://github.com/chrisgrieser/nvim-spider
The markers don't line up when I use this plugin

Thanks for your request @Ajaymamtora
Eventually, this may be something I could support, but I don't think it would be a high priority unless it was highly requested.
I think there will be edge cases and issues, and further out-of-the-box motions to support first
If you or somebody else wanted to submit a PR for it then I wouldn't be opposed to it. I think it would be as simple as a re-implementation of the  char_class() function.

I will work on this


Testing Ruby 3.1 support

Signed-off-by: John McCrae<EMAIL_ADDRESS>
Description

Related Issue

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

Closing since chef-17 will not need to support Ruby 3.1


[iOS] keyboard appearance makes form scroll up an becomes invisible

This is a strange one.
The form is working fine on Android.
On iOS as soon as the keyboard shows up the form foes up and disappears in the containing scroll view.
I have to drag it back down to interract with the fields.
Any idea?

I was getting this same error, and was able to fix it by adding a prop to the KeyboardAwareScrollView component on Line 368 of /src/formBuilder/index.js. The original code is:
<KeyboardAwareScrollView
        keyboardShouldPersistTaps="always"
        extraScrollHeight={20}
        {...this.props.scrollViewProps}
      >

I fixed the error by adding the enableAutomaticScroll prop and setting that to false like so:
<KeyboardAwareScrollView
        keyboardShouldPersistTaps="always"
        extraScrollHeight={20}
        enableAutomaticScroll={false}
        {...this.props.scrollViewProps}
      >

This worked for my use case, but you might need to tweak them further. You can refer to https://github.com/APSL/react-native-keyboard-aware-scroll-view for documentation and available props for the KeyboardAwareScrollView component.


Enhancement: Add link and action button

A link button and action button need to be included in our button set. See current buttons here:
https://pf-next.com/components/Button/examples/
Examples of an action button include kebab, close button and expand.

[ ] Visuals @kybaker please add spec information in the description
[ ] CSS

Please do this one after merging #268


"Keylogger started at" should be only printed

OS: [eg. Windows 10]
Commit [eg. b227928]
Explanation of the issue:

Duplicate


Anyone experienced that the dashboard page doesn't load? It just gives a 404 error?

it makes no sense, all configurations are identical as per the repository. Dashboard, document [id], sing-in & sign-up, are all identical. Clerk works for authenticating etc. any idea what it could be? Thank you


CI Cucumber: Before - Setting a date of 0000-01-01T00:00:00.000 results in an error

Bug Report
A before constraint was set using the valid date 0000-01-01T00:00:00.000, however the error returned indicates that this date is not in the correct ISO format.

Scenario: Running a 'before' request that specifies the lowest valid system date should only generate null data
Given foo is before 0000-01-01T00:00:00.000
Then the following data should be generated:
| foo                     |
| null                    |

Steps to Reproduce:

Run the above scenario in IntelliJ (or run the before.feature file from branch 309-before-CI)
See that the scenario fails
Review the error message of the scenario

Expected Result:
The app should recognise the date of 0000-01-01T00:00:00.000 as valid and generate data accordingly (in this scenario instance then null data should be created).
Actual Result:
The date is not recognised and a formatting error is thrown:

java.lang.AssertionError: Exceptions thrown during generation
Expected: an empty collection
but: <[com.scottlogic.deg.generator.inputs.InvalidProfileException: Date string '0000-01-01T00:00:00.000' must be in ISO-8601 format: yyyy-MM-ddTHH:mm:ss.SSS, java.lang.NullPointerException]>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:956)
at com.scottlogic.deg.generator.cucumber.steps.GeneralTestStep.theFollowingDataShouldBeGenerated(GeneralTestStep.java:156)
at ✽.the following data should be generated:(C:/DataGenerator/data-engineering-generator/generator/src/test/java/com/scottlogic/deg/generator/cucumber/Before.feature:157)

Environment:
Scenario ran through IntelliJ run on Windows 10, run in full generation mode.
Additional Context:

Related to #636

As per discussion in #636 it will-be/is documented that the generator currently supports dates in the ranges 0001..9999 only, dates in the BC range are not currently supported.

Given your comment @sl-slaing is this a bug? Do we need to provide an appropriate error message? As the year 0000 is not a supported date?

Will be resolved as part of #636


Make the title bar white, and clickable, and make other icons white too

Black and orange usually tend to clash and not look well together. I've turned this:

Into this:

You can also now click the title to reload the page

yeeeees please

FTCScores for reference:

I don't understand the connection to FTCScores.
We have branding - it violates it, in addition, you are making it difficult for visually impaired to read it.
About the page refresh, this is not the way to do it and we're going to work on it this summer.

If you are worried about visibility, make the font bigger and/or back the orange richer, rather than using a bad color scheme.  The pic of FTCScores is for showing how much better white looks than black.  TOA used to use white but then somebody decided to change it, now it looks much worse.
Visibility is useless if it makes the site look awful.
Or if you REALLY want black text on orange, find a style where it doesn't clash, like https://jacobspctuneup.tk/STK/newgui3/mainmenu.html


Reverse mode incorrectly detecting duplicated returns for a type unstable function

Whatever Enzyme is doing to detect if there are duplicated returns appears to be confused by type instabilities. Not sure if this is intentional or not, but here is a MWE:
using Enzyme

f_unstable = asin
f_stable(x) = asin(x)

function foo_unstable(x)
    y = sin(x)
    z = f_unstable(y) # untyped global variable
    cos(z)
end;

function foo_stable(x)
    y = sin(x)
    z = f_stable(y) # global const
    cos(z)
end;

julia> autodiff(Reverse, foo_stable, Active(1.0))
((-0.8414709848078965,),)

julia> autodiff(Reverse, foo_unstable, Active(1.0))
ERROR: Duplicated Returns not yet handled
Stacktrace:
 [1] autodiff
   @ ~/.julia/packages/Enzyme/haqjK/src/Enzyme.jl:409 [inlined]
 [2] autodiff
   @ ~/.julia/packages/Enzyme/haqjK/src/Enzyme.jl:544 [inlined]
 [3] autodiff(mode::ReverseMode{false, false, FFIABI, false, false}, f::typeof(foo_unstable), args::Active{Float64})
   @ Enzyme ~/.julia/packages/Enzyme/haqjK/src/Enzyme.jl:516
 [4] top-level scope
   @ REPL[29]:1

Note that Enzyme can differentiate this function even with the instability:
julia> let x = 1.0, ydy = Duplicated(Ref(0.0), Ref(0.0))
           autodiff(Reverse, ydy, Active(x)) do y, x
               y[] = foo_unstable(x[])
               y[]
           end
       end
((nothing, -0.8414709848078965),)

system info:
(jl_GwHTSw) pkg> st
Status `/tmp/jl_GwHTSw/Project.toml`
  [7da242da] Enzyme v0.13.22

julia> versioninfo()
Julia Version 1.11.2
Commit 5e9a32e7af2 (2024-12-01 20:02 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 7840U w/ Radeon  780M Graphics
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver4)
Threads: 8 default, 0 interactive, 4 GC (on 16 virtual cores)
Environment:
  JULIA_NUM_THREADS = 8
  JULIA_EDITOR = emacsclient

Okay, so update based on what I was able to infer from @wsmoses's comment in #2195, this is only a problem if I don't assert the returned activity:
julia> autodiff(Reverse, foo_unstable, Active, Active(1.0))
((-0.8414709848078965,),)

Maybe we should at least give a hint in the error message as to what's going on here. E.g. something like

The function being differentiated has an inferred return type of Any, but autodiff(Reverse currently only handles functions which return isbits subtypes of Real.

Yeah for sure! The relevant part of the code is here: https://github.com/EnzymeAD/Enzyme.jl/blob/7c0823fa64426a745dae8fc7a50980be0a0a8dc8/src/Enzyme.jl#L409 (and we can even see in rt what the deduced return type was)


How can I migrate Filer fields to plain django FileField?

Some users of my application have complained that the django filer interface is "too complicated" having to first upload the file then place in a folder using the interface. I am now using a standard FileField on the same model and want to migrate the file paths over from the filer field, I will use a datamigration to do it but how do I assign the path from the filer field to the new file field?

As long as you're using the same storage backend for filer files and your new file field (the default) it should be pretty simple. Filer uses a FileField on the File model as well. So in the data migration you'll have to get the path (a simple string) from the File.file field and save it into your new plain file field directly on your model.


How long it take to finish training?

I've trained this project with 10000 sentence speech about 2secs/sentecne ,namely 2.78 hours of training data for about 18hours ,with 43 epoches and 98860 steps now. But the loss decrease to -4.7929 while no clear voice can get in the generated wavs.

For the LJSpeech dataset (~24h audio), we trained the model for a total of ~1000K iterations. This roughly equates to ~1 week using a single NVIDIA TITAN V GPU. Currently, we are focusing only on the LJSpeech dataset so YMMV for the (small) custom dataset.

thanks,you almost save my poor computer


SCSS testing of the utilities API

Cherry picked the commits for the SCSS testing mentioned in #28496 and added some testing of the utilities API (as far as I could understand it).
Set up testing for the utilities API
I stuck with Mocha as we'd have needed a new dependency anyway. Jasmine is only there by transitive dependency from Karma, which points to an old-ish 3.6 version. So I figured I'd save myself time and stick with it.
I moved the configuration to a scss/tests/.mocharc.js file, both for visibility and so the set up could be commented. Test placement is pretty free, anything ending in .test.scss or .spec.scss is considered a test. I've put all tests under the scss/tests folder following the conventions on the JS side (rather than collocating tests into a __tests__ folder), so this could maybe be tightened a little.
In terms of npm scripts, there's only one new one (instead of the extra described in the original discussion): css-test. As the configuration tells Mocha to also watch non-test .scss files, it'll relaunch them automatically when running npm run css-test -- --watch. When developing you can also use Mocha's --grep option to limit which tests you're running.
The tests have been added to the CSS GitHub worflow. Maybe I should move them before the actual CSS build as they'll likely run quicker than the build and there's no real point building if the CSS tests fail?

If really we want Jasmine, the way .scss files are compiled to tests are similar to what @babel/register does so we could follow the same set up they describe for transpiling tests for React

Add tests for the generate-utility mixin
I really went with what I understood of the API and the source code, going through each of the properties/settings. I'm likely to have missed things, though.
And more importantly, I was very unclear as to how to work with the rfs option: I wasn't sure how/what to configure to enter each of the 3 states the code handles (outside media query, inside media query with distinct value from the utility value, inside media query with utility). In the end I just checked that we were calling the right rfs-... function, but these tests could do with some reworking maybe.
I also noticed a couple of oddities while testing:

when using a list value for properties, the local-vars are printed for each of them. Feels like only once at the top of the rule should be enough, I'd believe?
when using states with local-vars, the variables are only set for the class without the state. Wondering if that wouldn't cause issue for a class like text-danger-hover if there's no text-... set when not hovered for example, but didn't take the time to test it.
local-vars are also not set when using css-var, which was a surprise too.

Also thought of some extra developments for the utilities, but I'll open a separate issue to discuss if they're relevant (teasing 😝 ).
Add test for the utilities/api import
Takes a small utilities configuration to check that the responsive and print options are working as intended. I saw there was a bit around RFS there too. I haven't looked into it so it'll need an extra test.
Refs #28496

I think it's in a better shape now, apologies for the too eager opening for review.
The switch to Jasmine introduced the need to add a watch-css-test script as Jasmine doesn't seem to provide a --watch option. Besides that, the setup is pretty much the same to the one described in the original PR for Mocha.
The code actually calling sass-true has been extracted into its own module (runner.js) so it could be linted like the rest of the JavaScript of the project.
One thing to be aware of is that sass-true compiles in expanded mode by default, which clashes with the linting at time (for rules like number-leading-zero). There may be need for a few stylelint-disable in the expected output of tests, but I think it's better than configuring sass-true to its compressed mode as Bootstrap explicitely sets the expanded. It'll require caution if running npm run css-lint-stylelint -- --fix though.

Just a heads up that I'll be jumping back into this soon! <3

@romaricpascal So sorry for dropping the ball here. I'd like to get this merged in so we can write some additional tests—any chance you can bring it up to speed with main once more?

@mdo No worries, figured you have a lot of balls to juggle. I should be able to get it back in shape at some point during the next two weeks ☺

@mdo Things should be up to date with main now and tests were running locally (looks like they need manual launch on the PR)😄
Only little thing to confirm is the version of Jasmine. As both karma-jasmine and karma-jasmine-html-reporter have moved to depending on 4.x since I last discussed Jasmine versions with @XhmikosR in March, I dropped the commit that set it back 3.x and this branch depends on jasmine ^4.0.2. Happy to tweak that if necessary 😄

Thank you so much @romaricpascal! Happy holidays to you and your's :D.

This doesn't work at all on Windows. This needs to be fixed because not everyone is on nix systems...


fix(dev): Specify "paths" in require.resolve() check

require.resolve() by default will resolve module paths relative to the __filename of the code that is invoking it (so relative to serverBareModulesPlugin.js in this case). This normally works, by coincidence, because usually @remix-run/dev is located within the project's node_modules directory.
However, we get a false positive when remix CLI is located outside of the project directory, for example when testing changes in a local checkout of this repo.
To fix, specify paths array to require.resolve() and explcitly specify the cwd to resolve from.
Before
~/remix $ node ~/Code/remix-run/remix/packages/remix-dev/dist/cli.js build
Building Remix app in production mode...
The path "@remix-run/react" is imported in app/entry.server.tsx but "@remix-run/react" was not found in your node_modules. Did you forget to install it?
The path "react-dom/server" is imported in app/entry.server.tsx but "react-dom/server" was not found in your node_modules. Did you forget to install it?
Built in 190ms

(The modules are definitely installed, I promise)
After
~/remix $ node ~/Code/remix-run/remix/packages/remix-dev/dist/cli.js build
Building Remix app in production mode...
Built in 176ms

Closes: #5535

[ ] Docs
[ ] Tests

Hey @TooTallNate
Thank you for opening this pull request, however, it seems that both changed files got removed since then.
Do you want to adapt this PR to the new changes?
Also, we're going to have an entirely new dev server soon (https://remix.run/docs/en/1.15.0/pages/v2#dev-server).
You may want to check if this is still applicable for the new version, and discuss the change with @pcattori

Looks like this was fixed by https://github.com/remix-run/remix/pull/6181.


Update the GAR authentication option

Purpose
Update the Google Artifact Registry authentication option to mention that the service account key in JSON format must be used as the username.


file makefile.unix

When installing, I ran into a problem:
make -j2 -f makefile.unix USE_UPNP=1 USE_IPV6=0 -e PIE=1
As indicated here need a file makefile.unix
I could not find it in the distributive purse dogecoin. Maybe there kaky another file is responsible for the request, or you are installing on another? Maybe the file can be copied from another location?

Thanks for all this


[Bug] Probabilities in naive bayes is greater than 1

In _probabilities method, the probabilities might go over 1 for this case.
Consider there are three messages in our train dataset, of which one is ham and remaining two are spam.
the spam messages contain 'bitcoin' multiple times, let's say the count of word bitcoin in spam messages are 10.
In brief,
ham messages = 1
spam messages = 2
count of bitcoint token = 10
then,
p_token_spam = (spam + self.k) / (self.spam_messages + 2 * self.k) # k -> smoothening factor = 0.5
p_token_spam = (10 + 0.5) / (2 + 2 * 0.5) = 10.5 / 3 = 3.5

Since probabilities cannot go above 1, how should we interpret 3.5 in this case?

The correct way to calculate P(token | spam) is,
Message - 1 (spam message)
bitcoin bitcoin bitcoin bitcoin bitcoin testing

Message - 2 (spam message)
bitcoin bitcoin bitcoin bitcoin bitcoin testing

Message - 3 (ham message)
A genuine mail

In brief,
spam messages = 2
ham messages = 1
total spam tokens = 12
total ham tokens = 3
count of tokens in spam messages = { 'bitcoin': 10, 'testing': 2 }
count of tokens in ham messages = { 'a': 1, 'genuine': 1, 'mail': 1 }
Now, let's find the P(bitcoin | spam):
=> Count of bitcoin in spam messages / total count of spam tokens
=> 10 / 12
=> 0.833


Updated private key requirements to include LMKAnyTrustedRoot

Updated private key requirements to include LMKAnyTrustedRoot

@johnerskine : Thanks for your contribution! The author, @mattbriggs, has been notified to review your proposed change.

I dont know why "AnyTrustedRoot" made it in there, that was a mistake by my keyboard buffer.  The content change is correct, it's just my PR comments with the typo.

@johnerskine Thanks for the update John, and I see the content doesn't have the "LMKAnyTrustedRoot"! Cheers, Matt #-sign-off


data: malicodes2

Done

Looks good 👍
Great collaboration 💪
You can also join us in the EddieHub Discord http://discord.eddiehub.org


Grpc-protobuf 1.25 brings in protobuf 3.10, which has a bug on Android

Protobuf 3.10 has a compatibilty issue on Android.  This has already been resolved in 3.11.  Suggestion is to move from 3.10 to the already released 3.11.
"Java: Remove the usage of MethodHandle, so that Android users prior to API version 26 can use protobuf-java"
https://github.com/protocolbuffers/protobuf/releases/tag/v3.11.0
What version of gRPC and what language are you using?
grpc-protobuf 1.25
What operating system (Linux, Windows,...) and version?
dev MacOS 10.15, build Ubuntu 16.04, target Android
What runtime / compiler are you using (e.g. python version or version of gcc)
clang
What did you do?

Include dependency 'io.grpc:grpc-protobuf:1.25.0'
Performing ./gradlew assembleAndroidTest

What did you expect to see?
Success
What did you see instead?
Protobuf version 3.10 was resolved.
Produced an error while performing DexingNoClasspathTransform.
This is a known compatibility issue of protobuf 3.10 on Android.
Anything else we should know about your project / environment?

Closing this issue as it looks like gRPC has already moved to 3.11.4.


How to redirect to custom route upon non-social registration

Hi,
With ScnSocialAuth disabled, I can use the value of login_redirect_route to redirect users after a successful login/registration. When I enable ScnSocialAuth, the users are redirected upon social login/registration, as well as after non-social login, but not after a non-social (email and password) registration. I have also tried setting use_redirect_parameter_if_present to true and adding a hidden input on the register view template. How can I achieve this?

This is fixed by https://github.com/SocalNick/ScnSocialAuth/pull/204, correct? If so, I'll draft a new release with that PR.

@SocalNick yes, it is. Thanks for accepting the PR.

https://github.com/SocalNick/ScnSocialAuth/releases/tag/1.17.1


Consider replacing most owned data with a Cow<'static, _> where it is plausible to carry static data

Currently a large number of APIs deal directly with owned strings, however in my experience most APIs deal with data that is most likely static: labels & sometimes their values, histogram buckets, namespaces, registry prefixes, etc.
Prometheus could internally use Cow<'static, str> instead of String  and Cow<'static, [_]> instead of Vec<_> lowering the memory overhead of prometheus metrics and registries.

Nice suggestion!


how to eliminate dead code

I ran uglifyjs (via webpack) on my code but the entire lib still got bundled. Is there a specific approach to doing this?

Not sure what you mean. Could you explain what you've expected to happen? May be an example of how dead code elimination works for some other lib?

Apologies if I sound naive. This is my first time attempting dead code elimination. Based on this I was under the impression that if say I used only the sequentially and log functions, or if I did something like this,
var kefir = {
	sequentially: require ( "kefir" ).sequentially,
	log: require ( "kefir" ).log
};

then uglifyjs would prune out the rest and the build file would only consist of these two functions.
Am I incorrect in this assumption?

No, uglifyjs isn't that smart. It can detect only simple dead code cases like if (1 === 2) { foo(); }. The link you mentioned said "It looks like uglify won't magically remove the bloat of lodash.", so it doesn't work for lodash either, as expected.

Ah, I see, they require single function from lodash in the test2.js:
var isEqual = require('lodash.isequal');
isEqual('a', 'b');

(actually separate npm package that contains only that function, but with lodash it also possible to require a sinle function from a main package)
Yeah, we can make this possible potentially, some work already have been done (see #84). But currently it not possible. It'll also require different style of code from programmer, you won't be able to use chaining (foo.filter(..).map(..)), will have to require all methods separately, etc.

I managed to create a custom build. Thanks a bunch!


Provide extension point to provide a custom set of power levels to role label mapping

Is your feature request related to a problem? Please describe.
We have custom requirements of introducing more "roles" to Element. In general the power level model is quite flexible when it comes to custom setups. However, in this case it is important that the user can see a name and not just a custom power level in the UI. This affects the following parts of the UI:

Role selection:

Labels on peoples list of a room:

Permissions Settings Dialog:

I may have missed a part of the UI.
Describe the solution you'd like
The module system provides a hook that we can override. If it is overridden, the module is responsible for returning a map of roles to translated labels. The matrix-react-sdk calls this hook whenever it needs to resolve a power level to a role, or displays a role selection dropdown.
Right now it is used in multiple places which define multiple power level to role maps:

Power Level Selection for a member and settings dialog https://github.com/matrix-org/matrix-react-sdk/blob/develop/src/components/views/elements/PowerSelector.tsx#L166-L171
Readonly display for a single member: https://github.com/matrix-org/matrix-react-sdk/blob/develop/src/components/views/right_panel/UserInfo.tsx#L988
Central role definition: https://github.com/matrix-org/matrix-react-sdk/blob/develop/src/Roles.ts
Member List in the Sidebar https://github.com/matrix-org/matrix-react-sdk/blob/develop/src/components/views/rooms/EntityTile.tsx#L167-L171
Finding closes role: https://github.com/matrix-org/matrix-react-sdk/blob/develop/src/components/views/rooms/MemberTile.tsx#L203-L217

All these places have to use the new hook of the module system to get the map of power level to role mapping.
Describe alternatives you've considered
Currently we achieve this changes by forking Element and the matrix-react-sdk, however, to resolve the fork, we want to move it to the module system.
I would also be open to add it to the matrix-react-sdk itself, but I see the problem that new roles would require custom translatable labels, which the module system already supports. So I think it is a better fit here.
There are also ideas to extend this to be user customizable per room https://github.com/vector-im/element-meta/issues/87, however our primary goal is to make it a global configuration. But one can interpret the feature request also as introducing groups. Here I still wonder how to make it translatable. We could change the default room events to include this custom configuration in every room we create.
Additional context

For clarity, are you looking to add new mappings or just change the labels?

We want to add additional mappings.
We also have the case to rename them, but that case ist already supported by the
module system 🙂

We are currently opposed to bringing this feature to the module system.
While it would help us short term to support the custom roles, it won't work on other apps like Element Android or iOS. Therefore we need a more "standard" approach that is part of the spec. So a solution like https://github.com/vector-im/element-meta/issues/87 or https://github.com/matrix-org/matrix-spec-proposals/pull/2812 would be a better solution for us.

https://github.com/matrix-org/matrix-spec-proposals/pull/3949 might be a good alternative.


Pylance hijacks editor.formatOnType logic

Environment data

Pylance version:  v2024.12.1
OS and version: Windows 11
Python version (& distribution if applicable, e.g. Anaconda): 3.10.2

Code Snippet (see this original issue)
See this example extension which adds a python formatter.  When enabled in isolation, this extensions works totally fine and as expected (formats on each enter press).  However, when the Pylance extension is also enabled, then the editor.formatOnType logic no longer works reliably (often works 0-3 times and then no more after that, presumably it stops working after the Pylance extensions is fully activated, but not confirmed that).
See the below video:
https://github.com/user-attachments/assets/3e774cd9-b0da-4a80-95c9-df3614ac5adc
XXX

Repro Steps

Run the example extension debugger.
Verify that pressing Enter always formats the file (just adds an arbitrary string to the top) when Pylance is disabled.
Verify it does not work reliably when Pylance is enabled.

Expected behavior
Document is formatted with example extension on each enter press
Actual behavior
Document is formatted only for first 0-3 enter presses (presumably stops once Pylance is fully activated)

Thanks for reporting, could you try disabling these two settings?
"[python]": {
    "editor.formatOnType": false,
    "editor.autoIndent": "none"
}

Hmm. I was having the issue when running the extension locally, but after publishing it appears to be working fine. I'll close the ticket and reopen if it reappears with the published extension.


in xiaomi ,when the location permission in xiaomi is ask not agree ,not refuse,the dialog don't show

在小米手机上，第一次 请求定位权限，怎么不弹定位权限请求的弹窗呢？小米默认是询问，不是同意，不是拒绝。

@freefly2016 sorry but I can only provide support on this repo in English, I'd suggest asking this question on StackOverflow maybe someone can help you there!
Also if I understand the title correctly, please check the following:

Device is running Android 6.0 or greater
Compile SDK version is 23 or greater
Permission is declared in AndroidManifest.xml


Issue with router when installed in as a sub site

I have the following setup; <My application is running off a sub site from the Default Web site in IIS.
I have the following:
<base href="http://quality2012/portal/">
  config.options.pushState = true;
  config.options.root = window.location.pathname;

  config.map([
    { route: ["", "dashboard", window.location.pathname], name: "dashboard", moduleId: "dashboard/index", nav: false, title: "Dashboard" },
    { route: ["requirements"], name: "requirements", moduleId: "requirements/index", nav: true, title: "Requirements", generationUsesHref: true, href: "requirements" },
  ]);

I am using generationUsesHref and href in the route as I need to set the correct URL based on the sub site; note that the application cnould and will be deployed on a number of sub sites so I need it to navigate to the correct site.
This works fine, so when I navigate to http://quality2012/portal my application loads, using navigation I can navigate to http://quality2012/portal/requirements.
The issue occurs when I hit F5.  Lets say I used navigation and I am currently here: http://quality2012/portal/requirements.  If I then hit F5, the application loads as expected, however, it has loaded the starting page and the url is as it was.  If I then use navigation to browse to requirements, the url shows as http://quality2012/portal/requirements/requirements, and I can continue adding requirements by hitting F5 and navigating to the page using the nav-bar.
I would expect that when I hit f5, the application will load and return to the page that was currently active and when I navigate i am navigating to the correct URL.

Please ask this question in the gitter channel.


Failure Reason incorrect

Is this bug report about an incorrectly validated email address?

[X] Yes
[ ] No

If yes, what is the email address?
<EMAIL_ADDRESS>

[ ] Valid
[X] Invalid

Reason given for failure is incorrect.  Reason should be DOMAIN_PART_ENDS_WITH_DASH but is ENDS_WITH_DOT.

Thanks for reporting @tbatchlear! This is indeed a bug. The fix has been made and published in v1.6.1.


Firebase InstanceID invalid when entered in Firebase ABTesting test device

[REQUIRED] Step 1: Describe your environment

Xcode version: Version 11.4 (11E146)
Firebase SDK version: 6.21.0
Firebase Component: RemoteConfig / ABTesting
Component version: RemoteConfig (4.4.9) / ABTesting (3.2.0)
Installation method: file

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:

Use code snipped to retrieve the Instance ID Token (see next section)
Go in firebae console and enter this Instance ID Token in Manage test device for an ab test.
See the following error:

Relevant Code:
        InstanceID.instanceID().instanceID { (result, error) in
            if let error = error {
                print("Error fetching remote instance ID: \(error)")
            } else if let result = result {
                print("Remote instance ID token: [\(result.token)]")
            }
        }

@jc-paris Thanks for the report.  @christibbs Would you take a look?  Perhaps an ABTesting console issue?

Investigating today, will keep you posted @jc-paris.

@jc-paris I tested this out and couldn't reproduce the bug. One counter-intuitive thing I noticed about the sample code was that it prints the instance ID in brackets, f/e: [this_is_my_fake_instanceID]. Could you try it removing the the brackets?

This was due to a backend issue that has been resolved during the weekend. Your team replied to me by email and confirmed there were getting several feedback 😉


Content renaming with Deluge issue

Have been running Flexget + Deluge on a VM for a couple of months now trying to get everything working nicely before I dump it on a Raspberry Pi, and I keep having issues with regards to 'No files in "torrent" are > 90% of content size, no files renamed.
My config is
schedules:
  # Run task_a every 30 minutes
  - tasks: [rarbg]
    interval:
      minutes: 10
templates:
  tv:
    thetvdb_lookup: yes
    metainfo_series: yes
    exists_series:
      - '/mnt/plex/TV Shows/{{tvdb_series_name}}'
      - /root/Downloads/
    configure_series:
      from:
        thetvdb_list:
          username: xxx
          account_id: xxx
          api_key: xxx
      settings:
        propers: 2 days
        timeframe: 12 hours
        target: 1080p
        quality: "1080p"
    set:
      content_filename: "{{tvdb_series_name}} - {{tvdb_ep_id}} - {{tvdb_ep_name|default('MissingTitle')}}"
      path: /root/Downloads/
      movedone: /mnt/plex/TV Shows/{{tvdb_series_name}}/Season {{tvdb_season|pad(2)}}/
      removeatratio: yes
      magnetization_timeout: 120
      regexp: '.*\.(avi|mkv|mp4)$'
    deluge: yes
tasks:
  rarbg:
    template: tv
    rss: http://rarbg.to/rssdd.php?categories=41

  sort-series:
    thetvdb_lookup: yes
    metainfo_series: yes
    require_field: tvdb_series_name
    filesystem:
      path: /root/Downloads/
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    seen: local
    regexp:
      reject:
        - sample
    accept_all: yes
    move:
      to: /mnt/plex/TV Shows/{{tvdb_series_name}}/Season {{tvdb_season|pad(2)}}/
      rename: "{{tvdb_series_name}} - {{tvdb_ep_id}} - {{tvdb_ep_name|default('MissingTitle')}}"
    exec:
      on_exit:
        phase: "/bin/rm -rf /root/Downloads/*"

Flexget successfully adds the torrents to Deluge, and if I log onto the web interface for Deluge (Deluge is running in daemon mode) I can see that they are there, problem is, when they are finished, they don't get moved to the correct location afterwards.
If I run 'flexget execute --now', it successfully runs the 'sort-series' task and moves them, adding in the correct extension afterwards, it just won't do it normally.
Getting them from Rarbg (I had to set the interval to 10mins since Rarbg only lists the top 25 in the RSS feed), they have 3 files in them (generally speaking), the .mkv, an exe and a txt file about not putting their torrents up on other sites.
I have tried setting the ratio to something other than the default of 0.9 (such as 0.1 up to 0.8) but nothing ever seems to work.
I know i'm doing something wrong, I just can't work it out and searching on Google hasn't been very helpful as a lot of the tutorials seem to be for really old versions of Flexget.
Versions:
Flexget: 2.21.16
Deluge: 2.0.4.dev8

Updated Flexget to 2.21.26, though the changelog doesn't mention anything that might fix it.

Should probably add the rest of this stuff.
FlexGet version: 2.21.26
Python version: Python 2.7.16
Installation method: PIP
Using daemon (yes/no): yes
OS and version: Debian 10.1 (Buster)

Hi ray,
hard to say, what the problem is without a log file. Set your logging to verbose maybe it will give some more info.
Anyways I have the same setup and here is my sort-series task:
# sorting task
sort-series:
  priority: 3
  filesystem:
    # directory with the files to be sorted
    path: /mnt/D4B811C9B811AB4E/torrents/completed
    # fetch all avi, mkv and mp4 files, skips the .part files (unfinished torrents)
    regexp: '.*\.(avi|mkv|mp4|m4v|)$'
    recursive: yes
  accept_all: yes
  seen: local
  regexp:
    reject:
      - sample
  # this is needed for the episode names
  list_match:
    from:
      - entry_list: series_list
  thetvdb_lookup: yes
  metainfo_series: yes
  require_field:
    - tvdb_series_name
    - tvdb_ep_id
    - tvdb_ep_name
  parsing:
    series: guessit
  disable:
    - seen
    - seen_info_hash
    - rejected
  move:
    # this is where the series will be put
    to: /mnt/D4B811C9B811AB4E/series/{{ tvdb_series_name }}/Season {{tvdb_season|pad(2)}}
    # save the file as "Series Name - SxxEyy - Episode Name.ext"
    rename: "{{ tvdb_series_name }} - {{ tvdb_ep_id|d(series_id, True) }} - {{ tvdb_ep_name|d(series_name, True) }}"
    along:
      extensions:
        - sub
        - srt
      subdirs:
        - Subs

It works just fine. Hope it helps.

Sort series works perfectly on mine, when I run 'flexget execute --now' it moves and renames.
The problem is the 'deluge' task, it grabs the magnet, stuffs it into Deluge (assuming the series is on my TVDB favourites list), deluge downloads it, but then after completion, it never moves it to the new location.
This is what the logfile shows (made no difference between verbose or standard logging:
2019-10-25 13:10 VERBOSE  details       rarbg           Produced 25 entries.
2019-10-25 13:10 VERBOSE  flexget.components.series.series rarbg           Ignored `Supernatural.S15E03.iNTERNAL.720p.WEB.H264-BAMBOOZLE[rartv]`. Does not meet quality requirement `1080p`.
2019-10-25 13:10 VERBOSE  task          rarbg           ACCEPTED: `Supernatural.S15E03.1080p.WEB.H264-TBS[rartv]` by series plugin because target quality
2019-10-25 13:10 VERBOSE  flexget.components.series.series rarbg           Ignored `Legacies.S02E03.iNTERNAL.720p.WEB.H264-BAMBOOZLE[rartv]`. Does not meet quality requirement `1080p`.
2019-10-25 13:10 VERBOSE  task          rarbg           ACCEPTED: `Legacies.S02E03.1080p.WEB.H264-XLF[rartv]` by series plugin because target quality
2019-10-25 13:10 VERBOSE  details       rarbg           Summary - Accepted: 2 (Rejected: 0 Undecided: 23 Failed: 0)
2019-10-25 13:10 INFO     deluge_client.client rarbg           Connecting to localhost:58846
2019-10-25 13:10 VERBOSE  deluge        rarbg           Adding Supernatural.S15E03.1080p.WEB.H264-TBS[rartv] to deluge.
2019-10-25 13:10 INFO     deluge        rarbg           Supernatural.S15E03.1080p.WEB.H264-TBS[rartv] successfully added to deluge.
2019-10-25 13:10 WARNING  deluge        rarbg           No files in "Supernatural.S15E03.1080p.WEB.H264-TBS[rartv]" are > 90% of content size, no files renamed.
2019-10-25 13:10 VERBOSE  deluge        rarbg           Adding Legacies.S02E03.1080p.WEB.H264-XLF[rartv] to deluge.
2019-10-25 13:10 INFO     deluge        rarbg           Legacies.S02E03.1080p.WEB.H264-XLF[rartv] successfully added to deluge.
2019-10-25 13:10 WARNING  deluge        rarbg           No files in "Legacies.S02E03.1080p.WEB.H264-XLF[rartv]" are > 90% of content size, no files renamed.

@ray73864 I don't know if this is related, but I had a similar issue with sonarr not importing files from RARBG.
The issue was the actual file ended with ...[rartv].mkv, but the directory ended  in ...[rarbg]/ (or vice versa). Can you confirm that both the file you want to import and its parent directory are identically named?

Ahh, we changed movedone to move_completed_path a while ago, that's probably what's going wrong here.

Ahh, yeah, noticed that on the wiki a couple of hours ago, most of what I pieced together was from googling, but obviously a lot of the tutorials are very much out of date.

Looks like that was the issue, after changing to 'move_completed_path', it added, downloaded, renamed/moved just fine, now I just need to get it to delete from deluge after renaming and it will be finished :)

Awesome :)


SSD-300 and SSD-512 links are the wrong way around

In the README.md Models section, the SSD-300 hyperlink leads to the ssd512.py and the SSD-512 hyperlink leads to the ssd300.py file.

Thank you. I was changed now here 2c5df4dcfc772a23e30b52f282b0cc8798b5dc0b


Support for Kotlin formatter

🙏

Do you mean this Coding Conventions - Formatting ?
Could you especify what you want.

I think he's asking for support for code formatting. I'm looking into this. However, there's no eta on when i'll drop but there's some relevant discussion in #21

Yea basically the ability to reformat code.
I think we can use ktlint for formatting and lint, i don't know it sounds easier than https://github.com/mathiasfrohlich/vscode-kotlin/issues/21

@esafirm The Kotlin language server can format code as of https://github.com/fwcd/KotlinLanguageServer/pull/136.

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @


Update dependency serde

Only a simple version update. No breakage expected because the feature serde wasn't released yet.

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

Thanks!


implement annotations as shape

@tchernobog -- I was struggling with getting things to show up OK.  I reworked things to use shapes.  It looks better, but does not (yet) support hover events


GidCal - The one stop shop for power systems planning

Project Name
GidCal
Description
GridCal, a cross-platform power systems software written in Python with user interface, used in academia and industry.
GridCal does all sort of static analysis of power systems with or without time series (power flow, short circuit, linear and non linear optimization, ..., you name it)
Homepage URL
https://github.com/SanPen/GridCal
Repo URL
https://github.com/SanPen/GridCal
Organization hosting or owning the project
https://www.advancedgridinsights.com/
Logo

Category
Energy Systems - Modeling and Optimization

Hi! We have an entry for GridCal at https://landscape.lfenergy.org/card-mode?selected=grid-cal - I can update the logo if you'd like.

Hi John!
Thanks for noticing, could we update the logo, the category and URL's?

Sure thing! Take a look at the preview below...
https://deploy-preview-889--lfenergy.netlify.app/card-mode?selected=grid-cal
The one slight change is the logo, we request a logo with the project name in it and in SVG format; I found this one below that meets those requirements - let me know if it's ok or if we should rebase off the logo provided...

This looks good!

Excellent - thank you! Will push out the update now.


Initial cut at adding 3-D extruded shapes (Prism,MultiPrism).

02-MAY-2022: Addressed @cportele comment and can merge.


Add request factory

PLAN
Create Protocols / Interfaces for the class that we want to refactor. eg. Create LPRequesting
Set the old class to conform to these new Protocols. LeanplumRequest conforms to LPRequesting
All uses of LeanplumRequest become uses of objects that conform to LPRequesting
Switch the creation of LeanplumRequest objects through a new LPRequestFactory
Create new class LPRequest that conforms to LPRequesting
Use a feature flag to vend LPRequest instead of LeanplumRequest
Control the rollout using the feature flag

Can one of the admins verify this patch?

test this please

test this please


create local repo dir if it does not exist

Merged w/minor changes as per comments https://github.com/spring-cloud/spring-cloud-stream/commit/5b5b31d1783f3200556644a2c51721f081f13de6


When i used queryParams I cant load translation file

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

Expected behavior

Minimal reproduction of the problem with instructions
For bug reports please provide the STEPS TO REPRODUCE and if possible a MINIMAL DEMO of the problem, for that you could use our stackblitz example
What is the motivation / use case for changing the behavior?

Environment

Angular version: X.Y.Z

Browser:
- [x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

@muhammadsamir11 This issue is lacking a lot of information.
Please follow the issue template and provide a reproduction and more information about the current behavior, the expected one, and the versions of the packages.

@muhammadsamir11 I'm closing this for now.
Feel free to reopen if the issue still exists and please provide more information and a reproduction 🙂


Roll Flutter Engine from 8b490a9f1650 to 5bc4a3e4f798 (4 revisions)

https://github.com/flutter/engine/compare/8b490a9f1650...5bc4a3e4f798
2023-11-09<EMAIL_ADDRESS>Roll Skia from d9ec01cf15ff to f3e4fd80eeeb (3 revisions) (flutter/engine#47838)
2023-11-09<EMAIL_ADDRESS>[Windows] Remove global state in keyboard tests (flutter/engine#47829)
2023-11-08<EMAIL_ADDRESS>[web] Non-singleton implementation of ui.FlutterView (flutter/engine#47806)
2023-11-08<EMAIL_ADDRESS>Move window state update to window realize callback (flutter/engine#47713)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


pico: More metadata

Adds some helpers for embedding the rest of the metadata into the binary. (author, category and the icon/splash images)
Last commit requires a tools patch https://github.com/Daft-Freak/32blit-tools/commit/9f9adc5b4dbb24911b3f03fd3f05ee185755a474. There's also code in the metadata bot to parse these

:thinking: Should just need a tools release/version bump now...

Better late than never, I guess - https://github.com/32blit/32blit-tools/releases/tag/v0.7.3

... and it works now. :smile:

Woohoo!


Certain jobs fail to register.

Hello! I saw your project and looked into migrating over due to support of dynamically adding in cron jobs. However I noticed that upon migrating over, all run jobs and certain exec jobs are not being seen. I largely use container labels to create and run tasks and have taken into account the change in the label prefix (ofelia to chadburn).
These examples tasks are taken from a docker-compose project I maintain on github that currently uses ofelia:
What does work with chadburn:
    labels:
      chadburn.enabled: "true"
      chadburn.job-exec.pqueue.schedule: "@every 1m"
      chadburn.job-exec.pqueue.command: "php /var/www/html/artisan schedule:run"
      chadburn.job-exec.pqueue.user: "nginx"

What does not work with chadburn:
    labels:
      chadburn.enabled: "true"
      chadburn.job-run.le-renew.schedule: "0 0 0 * * *"
      chadburn.job-run.le-renew.container: pterodactyl_certbot_1

    labels:
      chadburn.enabled: "true"
      chadburn.job-exec.daemon-reload.schedule: "${DAEMON_RELOAD_SCHEDULE:-0 30 0 * * *}"
      chadburn.job-exec.daemon-reload.command: "kill -15 1"

I am not too sure if there are any additional configuration needed. but any assistance would be appreciated!
Also as a sidenote, would it be possible to omit the container option in run jobs?

The 6-part cron schedules don't work like they do in ofelia, try using 5 parts
chadburn.job-run.le-renew.schedule: "0 0 0 * * *"
needs to be instead:
chadburn.job-run.le-renew.schedule: "0 0 * * *"
This threw me at first as well for the original dynamic update ofelia PR and may have contributed to it never being accepted

yeah, that only fixed half of the problem, the exec jobs now work fine, but run jobs are still not seen upon update. I have containers that need to be started up every so often.

I found out when I made the change - end of december. My own commit message was "Update Cron definitions to fit Go version used in Chadburn". The day before I switched from Ofelia to Chadburn.
-> At the time, Go syntax for cron was required. Since then, it has apparently changed and my schedules stopped working. I wasn't paying attention, so I didn't notice it happening.

Hi @miggland.
Thanks for letting me know, although, I don't seem to be getting alerts for every issue raised here.
I do plan to fully rewrite Chadburn or at minimum refactor the project to address a large number of issues people are having. When I decided to hard fork this project, I didn't realize just how many issues people were having.
I plan to get started fairly soon, after I can get some of my paid projects out of the way.

That sounds like a big plan, and I'm sure Chadburn will work better afterwards, even though (when it runs :)) it does exactly what I expect.
Until then, maybe just remove the wrong info in the Readme?
`Scheduling format is the same as the Go implementation of cron. E.g. @every 10s or 0 0 1 * * * (every night at 1 AM).
Note: the format starts with seconds, instead of minutes.`

same problem here:
only job with schedule "5-59/1 * * * *" is accepted, the other two are not ("5-59/10 * * * * *", "10 */1 * * * *")
docker run \
    -l "chadburn.enabled=true" \
	-l "chadburn.job-exec.o.command=date +%Y-%m-%dT%H:%M:%S.%N-" \
    -l "chadburn.job-exec.o.schedule=5-59/10 * * * * *" \
    -d --name test_o nginx
docker run \
    -l "chadburn.enabled=true" \
	-l "chadburn.job-exec.oo.command=date +%Y-%m-%dT%H:%M:%S.%N--" \
    -l "chadburn.job-exec.oo.schedule=5-59/1 * * * *" \
    -d --name test_oo nginx
docker run \
    -l "chadburn.enabled=true" \
	-l "chadburn.job-exec.ooo.command=date +%Y-%m-%dT%H:%M:%S.%N---" \
    -l "chadburn.job-exec.ooo.schedule=10 */1 * * * *" \
    -d --name test_ooo nginx

docker logs -f --tail 20 chadburn

ron_utils.go:13 ▶ DEBUG added
scheduler.go:45 ▶ NOTICE New job registered "oo" - "date +%Y-%m-%dT%H:%M:%S.%N--" - "5-59/1 * * * *" - ID: 22
cron_utils.go:13 ▶ DEBUG wake
cron_utils.go:13 ▶ DEBUG run
common.go:127 ▶ NOTICE [Job "oo" (b236fdc815b9)] Started - date +%Y-%m-%dT%H:%M:%S.%N--
common.go:127 ▶ NOTICE [Job "oo" (b236fdc815b9)] Output: 2022-04-13T06:44:00.083836027--
common.go:127 ▶ NOTICE [Job "oo" (b236fdc815b9)] Finished in "81.076233ms", failed: false, skipped: false, error: none
cron_utils.go:13 ▶ DEBUG wake
cron_utils.go:13 ▶ DEBUG run
common.go:127 ▶ NOTICE [Job "oo" (f13733149d3b)] Started - date +%Y-%m-%dT%H:%M:%S.%N--
common.go:127 ▶ NOTICE [Job "oo" (f13733149d3b)] Output: 2022-04-13T06:45:00.082202380--
common.go:127 ▶ NOTICE [Job "oo" (f13733149d3b)] Finished in "80.747886ms", failed: false, skipped: false, error: none

docker stop test_o test_oo test_ooo
docker rm test_o test_oo test_ooo

docker logs -f --tail 20 chadburn

cron_utils.go:13 ▶ DEBUG added
scheduler.go:45 ▶ NOTICE New job registered "oo" - "date +%Y-%m-%dT%H:%M:%S.%N--" - "5-59/1 * * * *" - ID: 22
cron_utils.go:13 ▶ DEBUG wake
cron_utils.go:13 ▶ DEBUG run
common.go:127 ▶ NOTICE [Job "oo" (b236fdc815b9)] Started - date +%Y-%m-%dT%H:%M:%S.%N--
common.go:127 ▶ NOTICE [Job "oo" (b236fdc815b9)] Output: 2022-04-13T06:44:00.083836027--
common.go:127 ▶ NOTICE [Job "oo" (b236fdc815b9)] Finished in "81.076233ms", failed: false, skipped: false, error: none
cron_utils.go:13 ▶ DEBUG wake
cron_utils.go:13 ▶ DEBUG run
common.go:127 ▶ NOTICE [Job "oo" (f13733149d3b)] Started - date +%Y-%m-%dT%H:%M:%S.%N--
common.go:127 ▶ NOTICE [Job "oo" (f13733149d3b)] Output: 2022-04-13T06:45:00.082202380--
common.go:127 ▶ NOTICE [Job "oo" (f13733149d3b)] Finished in "80.747886ms", failed: false, skipped: false, error: none
scheduler.go:50 ▶ NOTICE Job deregistered (will not fire again) "o" - "date +%Y-%m-%dT%H:%M:%S.%N-" - "5-59/10 * * * * *" - ID: 0
cron_utils.go:13 ▶ DEBUG removed
scheduler.go:50 ▶ NOTICE Job deregistered (will not fire again) "oo" - "date +%Y-%m-%dT%H:%M:%S.%N--" - "5-59/1 * * * *" - ID: 22
cron_utils.go:13 ▶ DEBUG removed
scheduler.go:50 ▶ NOTICE Job deregistered (will not fire again) "ooo" - "date +%Y-%m-%dT%H:%M:%S.%N---" - "10 */1 * * * *" - ID: 0
cron_utils.go:13 ▶ DEBUG removed

Hi @maietta , thanks for your work on this.


crash on iOS 13 with swift application.

The attribute font of bondingRect must be a font name and not a number.
With a number the application crash with [__NSCFNumber renderingMode]: unrecognized selector sent to instance ....

cool, thanks!


Bump replication timeout, abort test with correct message

Replication in CouchDb is hard to control, thus increasing the timeout should not be harmful. The additional assert will make it easier to grasp why a test failed in the future.

PG1 2019 🔵


started user wrong when restarted task

What is version of KubeSphere DevOps has the issue?
v3.2.1
How did you install the Kubernetes? Or what is the Kubernetes distribution?
No response
What happened?
After restarted the task, the user info was wrong.
https://kubesphere.com.cn/forum/d/6788-321

Relevant log output
No response
Additional information
No response

Thank @charlesgreat for reaching out here. I confirmed this issue is a bug. Before we refactor rerun function using PipelineRun, this bug will be ketp.

We have to provide an endpoint to re-run a PipelineRun.


Add plotNMDS to miaViz

This PR adds plotNMDS to miaViz (plotNMDS will be deprecated in the mia package).
This PR does not add documentation for plotNMDS because it is only a simple wrapper for scater::plotReducedDim and it would not fit under already existing man pages.

This PR is related to https://github.com/microbiome/mia/pull/517

Seems good. Resolve conflicts.

up

Alright! You could add minimum documentation. Something like wrapper for plotReducedDim(). And just x parameter.

❯ checking Rd \usage sections ... WARNING
Undocumented arguments in Rd file 'plotNMDS.Rd'
‘...’ ‘ncomponents’


Column Toggler and Order

It would be GREAT if the toggler could also allow reordering the index columns. Perhaps a drag and drop icon

this is already implemented. Check Configuration https://github.com/dcasia/column-toggler?tab=readme-ov-file#configuration


Animations don't load/run when built statically

I would post an error log, but it appears to fail silently -- both during build and at runtime. All animations / whileTap events work properly when served with hot reload (npm run dev), but stop working as soon as it's served statically using npm run build && npm run start or npx http-server. I'm using a standard rollup, svelte-spa-router setup. I'm confused, seeing as I imagine npm run dev performs the same build process as a static build, only that it's being served on-demand. Any pointers on how to debug this?

My best guess is that some rollup-plugin is interfering / something about the output format is causing errors.

@oskarpyke, did you manage to somehow fix this?
I'm having the same issue with astro + svelte right now.


doc: fix a typo in étale algebra definition

Originally submitted as #17009, which was a PR from a fork.

Thanks a lot Jon for doing in that!

bors merge


terraform-ls is for terraform only

The HCL format is used by lots of hashicorp tools - and some others - not only terraform: whereas the terraform language server is only meant for terraform and only useful for terraform.
This MR directly contradicts - and undoes - #757, therefore pinging @WhyNotHugo and @lithammer. I see there was some discussion in that issue: I think you simply came to the wrong conclusion.
I am currently considering switching hashivim/vim-terraform to use filetype hcl.terraform for terraform files, it was while investigating the consequences of that change that I spotted this.
hashivim/vim-terraform#168
If we do go that way, I'll likely follow up with an MR to use that filetype as a trigger for tflint and terraform-ls.
(NB this repository doesn't currently try to run tflint for non-terraform HCL files, which I think is right).

Thanks for the PR! I don't use terraform, but I see you're one of the main contributors to vim-terraform so I'm inclined to defer to you.

This breaks terraform-ls for anyone not using vim-terraform (as is my case).
Terraform files are hcl files, and without vim-terraform, they're correctly set to ft=hcl.

The syntax of Terraform configurations is called HashiCorp Configuration Language (HCL).

https://www.terraform.io/docs/configuration-0-11/syntax.html

OH, I use vim-hcl for highlighting and stuff.

Oh, looks like vim-hcl has updated accordingly too, so never mind.

Oh, interesting!  Thanks for that pointer, it's great that the two plugins now agree - and makes a pretty strong case against using hcl.terraform (or terraform.hcl, I'm not sure which!) in hashivim/vim.


chore(main): release pixels 0.0.7

:robot: I have created a release beep boop
0.0.7 (2024-04-12)
Bug Fixes

pixels: remove components folder again (5eb5281)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fuf-stack/uniform/releases/tag/pixels-v0.0.7 :sunflower:


circleci/openjdk:12

JDK 12 reached General Availability on 19 March 2019 (https://openjdk.java.net/projects/jdk/12/), binaries available here: https://jdk.java.net/12/.
Any chance we can get the usual suite of circleci/openjdk:{12, 12-node, etc etc} images published?
Until then, I'm just using the official docker pull openjdk:12 image, but I'd love to use a consistent circleci one that has the right user set up and git/ssh installed etc!

hi @iamdanfox
as you can see here, for JDK 12, Docker's official openJDK image has shipped only variants based on Alpine, Oracle Linux, and Windows Server
all of our images are Debian/Ubuntu based, so we cannot extend OpenJDK 12 with our current image-building infrastructure, not to mention doing so would no longer provide much of a unified customer experience :/
we're working on a few different short-, medium-, & longer-term solutions to work around this problem, which we'll be posting a longer, more official write-up about later today or tomorrow—you will be able to find it here: https://discuss.circleci.com/tags/convenience-images
briefly, we will be providing a way for folks to use any JDK 12 image and layer on the CircleCI customizations/tools we install in our various variants (Node, browser tools, etc.) at runtime via an orb
in the medium-term, i believe the upstream issue will be rectified as of JDK 13
in the longer-term, we will be building an OpenJDK image from scratch, to mitigate upstream issues such as this one
thanks !!


Docs(web-twig): Introduce Pill story refs #DS-247

Coverage: 96.172%. Remained the same when pulling 7187d8bbce8a68cba45aa3f6161aa7ca6129adea on docs/web-twig-pill-story into 40473f4024e4c604c0b33f78bcd15ea54e35c28c on main.


[bug] minor Bug Fibaro eyes FGMS001 motion sensor

Version
Build/Run method

[x] Docker
[ ] PKG
[ ] Manually built (git clone - npm install - npm run build )

Zwave2Mqtt version: 2.1.1
Openzwave Version: 1.6.0
for home assistant binary_sensor_alarm is
"payload_on": 255,
"payload_off": 0,
and not
"payload_on": true,
"payload_off": false,

@nicoxygen Is this for every  binary_sensor_alarm device?

no just for fgms001 other products are true and false

I have found the same issue on binary_sensor_alarm devices on these other Fibaro devices as well. They also need values of 255 and 0 instead of true and false.
FGMS001-ZW5 Motion Sensor
FGSS101 Smoke Sensor
FGFS101 Flood Sensor

Could you create a PR for those devices ? Just add them to hass/devices.js


Stanley Vertical Cross Track Problem

The Vehicle having the cross track error that is a line that is 90 degrees from the x axis of the vehicle. The vehicle tries to compensate highly on the cross track error, which causes high instability. Need to drag the pose list to start at the current vehicle pose might solve this issue. This issue is only present with the Stanley Controller

The Vehicle having the cross track error that is a line that is 90 degrees from the x axis of the vehicle. The vehicle tries to compensate highly on the cross track error, which causes high instability. Need to drag the pose list to start at the current vehicle pose might solve this issue. This issue is only present with the Stanley Controller

The closest point not publishing a pose was causing some of these issues, a true Stanley should still be able to operate with errors. Would still be better to extend the path back to the vehicle, or ensure the car starts at the path starting point.

Was this resolved?

Yep it was resolved with the updated code that Dr.Crane pushed

From: Patrick Neal @.>
Sent: Wednesday, May 17, 2023 1:49:21 PM
To: av-mae-uf/eml4930_gps_nav @.>
Cc: Penumarti, Aditya @.>; Assign @.>
Subject: Re: [av-mae-uf/eml4930_gps_nav] Stanley Vertical Cross Track Problem (Issue #4)
[External Email]
Was this resolved?
—
Reply to this email directly, view it on GitHubhttps://github.com/av-mae-uf/eml4930_gps_nav/issues/4#issuecomment-1551821335, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWPQPEFKFVPR6ZJJG22TLUDXGUFSDANCNFSM6AAAAAASUUETVA.
You are receiving this because you were assigned.Message ID: @.***>


az group exists does not return false

Describe the bug
When calling az group exists, if the group does not exist, it does not return false, it lists the error.
e.g.
Operation failed with status: 'Forbidden'. Details: 403 Client Error: Forbidden for url: https://management.azure.com/subscriptions/cd29b01d-2308-4a33-b27f-45629ebac41a/resourcegroups/msvce-production-v1?api-version=2018-05-01
To Reproduce
az group exists -g
Expected behavior
It should swallow any error and return false.
Environment summary
interactive on powershell
version 2.0.58
Additional context
Add any other context about the problem here.

I just ran az interactive on PowerShell and it worked as expected.

The error you are seeing looks like it may affect more than just that one command. Can you create or list resource groups?

I'm also experiencing this problem, running azure CLI commands in Devops Deployment tasks:
if (az group exists -g $(resourceGroupName) )
{
az group delete -n $(resourceGroupName) -y
}
returns:
Resource group '' could not be found.
should return:
false
environment info:
Task         : Azure PowerShell
Description  : Run a PowerShell script within an Azure environment
Version      : 3.1.23

@dalehhirt I cannot repro your issue, though it seems like you hit a transient server issue. @richl10x you get "Resource group '' could not be found" because the delete command is called. The reason is that the exists call does in fact return "false" but your script is looking at exit code, not the output. The command returns exit code 0 (successful) and thus the delete is executed.
For this, you should use az group show ... which will return exit code 3 if the group is not found.
@kristapratico, for this we should ensure that group exists also uses exit code 3 when the result is "false".

@tjprescott , why should group exists use exit code 3 but not other non-zero code when the result is "false"? what's the meaning of exit code 3?

@Juliehzl for comment

@dalehhirt @richl10x I have tried with the latest azure cli in Azure Powershell, it can return false or true as expected. Can you try again? If you still have the problem, can you provide us debug information for finding root cause?
I think there is nothing for CLI to do with this now. In this way, I will close this issue now and feel free to reopen it or create a new one.


Add Decode Morse Methods

In this milestone, we have followed a pair-programming approach to Create methods to decode the Morse codes.

@TedLivist Thanks for your valuable suggestions. We will fix it.

@KanzaTahreem Thanks for the approval.


⚠ Fetchers has degraded performance

In fba7b3b, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 291 ms

Resolved: Fetchers performance has improved in fc03e7b.


Where to find the grafic interface code?

I am aware this might not be the correct way of asking a clarification, but I didn't know how else to reach you.
I would like to know where the code to the grafic interface is located, if there is code provided for the viewing at all. More specifically the pages that pop-up when configuring a new thermostat. I would also like to know if it is possible to apply some changes to them to fit new funcionalities.
Thank you for your time.

Hello, i'm available on discord. My pseudo is : jm.collin

Hi,
we are sorry but my daughter was full of works in these days (yesterday she reached a degree in python data analist).
We will start to work on Versatile soon.
We thought on some ideas only in general.


Connection.closed is insufficient

I'm checking closed on every query I make on a Windows socket.
But when the connection was closed by the server the function still returns false and I'm getting a std.socket.Socket.ERROR instead.
Edit: Also
// --- sockets.d:90
enforce!MYX(len != socket.ERROR, "Received std.socket.Socket.ERROR");

is not very helpful to set a response to this failure

sockets.d:90

So that is where you get the error from?
I agree that the library should properly manage the connection, it already should be doing this.
When you say "Windows socket", what does that mean?

Yes, I'm on Windows using plain phobos socket.
I mean the error isn't helpful because I cannot handle it without a code, I can only compare the error message.
I think the actual bug is in the phobos Socket.isAlive itself. I have experienced that it isn't able to proper recognize a closed socket.

Regardless of how/when it's recognized, there's always a possibility of a race condition. If you check if it's open it could close before you actually start using it.
The library should be robust enough to deal with this.
I will take a look and see if I can figure out a robust way to do this.

So I just realized that my period vibe-d problem happens because the server has closed the stale connection after some timeout. The next request has a failure to write data.
I'm thinking this is a similar problem for you? What I'm thinking of doing is retrying the connection on the first error without throwing back to the user. Basically, if an error closes the connection, and it was the start of a new query, then retry the connection once.
What do you think? Would this explain the issue you are having?

Would fit (for me)

So the way I'm going to fix this (for now) is to throw a specialized exception MYXStaleConnection when a "stale connection" is detected.
This is defined by the first write or the first read failing when the connection was open before starting.
The hope is that this situation will not result in an infinite loop of "stale connection" exceptions.
It's kind of sucky that you have to handle this on the outside, but I'm also not sure how much structure to assume to the user's code.
At some point, I want to rewrite the protocol code, and probably encapsulate the sequence of commands a bit better, so I can handle it in the library.

fixed in #278

thx