Support for ECMAScript 'do'-expressions

Sorry if this has been discussed but it is hard to search for such a generic combination of words.
Is there any plan to implement support for https://github.com/tc39/proposal-do-expressions ~~http://wiki.ecmascript.org/doku.php?id=strawman:do_expressions~~
It would be awesome to be able to avoid the extra code required when wrapping an if statement in a function to get a dynamic return value.
Thanks!

These could be quite pleasant to use but unfortunately the proposal is still at Stage 0 in TC39.

I wish it was haskell's do notation

+1

looks like this is now in TC39 stage 1 🎉

+1 @aluanhaddad What's the accepting standard for ex-next? Is stage 2+ or stage 1 is ok?

TypeScript tends to adopt proposals once they reach stage 3 in TC39.
This is not a hard and fast rule and there are exceptions such as async/await, which turned out really well, and Decorators, which need a massive overhaul.

As discussed in #20743, I think this should be added in typescript now I really feel so :)
Using kotlin for quite some time and similar syntax for this is quite productive
    message = when {
        (age < 18) -> "You are too young to vote"
        (age == 100) -> "Congratulations"
        else -> "You can vote"
    }

Any progress on this one?

Any progress on this one?
do expression is very very very useful for react project.

@vipcxj Please check the stage of the proposal. Currently, it is still at stage-1, meaning it's in the proposal stage.
This means that the syntax is still being drafted, and thus subject to wild changes.
TS doesn't like to adopt TC39 proposals until they're at least candidates (stage 3). Sometimes they'll implement draft (stage 2), but its very rare, and something they're actively trying to avoid.
You should wait until the proposal is at least in draft status before adopting it.

do expression seems unnatural. Why not just let any statement be an expression, like in Kotlin?
This could be a part of TypeScript itself, so no need to wait on JavaScript proposal. Thoughts?

I'm curious about why we need do in do expression, why not just make any statement be an expression...
import h from 'hyperscript';
import o from 'observable';

const root = h('div', {
  const count = o(0);
  [
    h('h1', {title: count}, count),
    h('button', { onclick: e => count(count()+1) }, 'add 1')
  ]
});

document.body.append(root);

Please discuss the proposal in the proposal repo, not here
Thanks!

Is there a way to stop the typescript language server from erroring on do expressions? Asking because I'm using babel to transpile do expressions but the ts language server in the IDE is complaining about it.

Is there a way to stop the typescript language server from erroring on do expressions? Asking because I'm using babel to transpile do expressions but the ts language server in the IDE is complaining about it.

I'd like to know about this, too ^


[BUG]Unexpected Exception thrown when authenticate with chaining credentials

Describe the bug
Authenticate service client with chaining credentials will throw an unexpected exception when the first credential of chaining credentials is invalid in C#. It works in JavaScript,Python and Java. Verified that this bug occurred in KeyClient, SecretClient, CertificateClient, BlobContainerClient, QueueClient and EventHubClient (FileService client cannot verified because it's don't support authenticate with TokenCredential).
Code Snippet

Exception or Stack Trace
Message: "The request to the identity service failed. See inner exception for details."
at Azure.Identity.ManagedIdentityCredential.GetToken(TokenRequest request, CancellationToken cancellationToken) at Azure.Identity.ChainedTokenCredential.GetToken(TokenRequest request, CancellationToken cancellationToken) at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.d__8.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ValueTaskAwaiter.GetResult() at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted(ValueTask task) at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.Process(HttpPipelineMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpPipelineMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.SynchronousHttpPipelinePolicy.Process(HttpPipelineMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpPipelineMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.RetryPolicy.d__11.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Azure.Core.Pipeline.RetryPolicy.d__11.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ValueTaskAwaiter.GetResult() at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted(ValueTask task) at Azure.Core.Pipeline.RetryPolicy.Process(HttpPipelineMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpPipelineMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.SynchronousHttpPipelinePolicy.Process(HttpPipelineMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpPipelineMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.SynchronousHttpPipelinePolicy.Process(HttpPipelineMessage message, ReadOnlyMemory1 pipeline) at Azure.Core.Pipeline.HttpPipeline.Send(HttpPipelineMessage message, CancellationToken cancellationToken) at Azure.Storage.Blobs.BlobRestClient.Container.d__0.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask1.get_Result() at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult() at Azure.Storage.Blobs.BlobContainerClient.d__29.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() at Azure.Storage.TaskExtensions.EnsureCompleted[T](Task1 task) at Azure.Storage.Blobs.BlobContainerClient.Create(PublicAccessType publicAccessType, IDictionary2 metadata, CancellationToken cancellationToken) at StorageBlobAuthIssue.Class.ChainingCredentialsStroageBlobAsync() in C:\Users\azuretest\source\repos\ConsoleApp1\ConsoleApp1\Program.cs:line 45 at StorageBlobAuthIssue.Class.Main() in C:\Users\azuretest\source\repos\ConsoleApp1\ConsoleApp1\Program.cs:line 20
To Reproduce
Repro App:https://github.com/wantedfast/ChainingCredentialsIssue
Expected behavior
Authenticate with the second Credential in the ChainingCredential.
Setup (please complete the following information):

Package version: Azure.Identity -Version 1.0.0-preview.5

Additional context
Step into Debug works as expected, Step over or F5 get the unexpected exception.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Bug Description Added
[ ] Repro Steps Added
[ ] Setup information Added

@tzhanl Thanks for filing this issue. This is expected behavior. The ChainedTokenCredential l specifically will not handle unexpected exceptions thrown when trying to authenticate. This is by design to prevent clients from using unexpected credentials when authenticating (for instance in the case an environment variable was copied incorrectly). If you desire the behavior of continuing when an unhandled exception is raised you would need to implement your own version of the ChainedTokenCredential, or provide derived implementations of the credential types you want to include in the chain which catch exceptions thrown from the base GetToken / GetTokenAsync. Unfortunately there's not an easy way to extend the ChainedTokenCredential to give it the behavior you desire here.
As a related aside. The next release of Azure.Identity will provide an exception type which will be handled by the ChainedTokenCredential and DefaultAzureCredential. PR https://github.com/Azure/azure-sdk-for-net/pull/8306 introduces the CredentialUnavailableException which will be thrown in the case that a credential type is not able to get a token due to incomplete configuration. While the above exception still wouldn't be covered by this, implementers of TokenCredential can raise this exception to allow chained credentials to continue walking the chain.

Closing this issue. I have opened issues against the other languages to update their behavior.


Error "llama_model_load: error loading model: illegal split file: , model must be loaded with the first split"

While setting up v2.0, I've noticed it's not able to load this model:
hfRepoId: "Felladrin/gguf-Q8_0-SmolLM2-135M-Instruct",
hfFilePath: "model.shard-00001-of-00005.gguf",

[Actually, the same error is happening with all models that I split (which were all working on v1).]
It downloads the models correctly, but if triggers the following error when loading the model:
llama_model_load: error loading model: illegal split file: <number>, model must be loaded with the first split

Any clues?
How to reproduce

Access https://github.ngxson.com/wllama/examples/main/dist/
Click the "+ Add GGUF" button
Fill the modal with Felladrin/gguf-Q8_0-SmolLM2-135M-Instruct and model.shard-00001-of-00005.gguf, and save.
Download the model
Try to load the model, and it will inform the error.

Update:
I've just noticed it's actually happening with any split GGUF model, including the ones from the Demo.
I've tried loading the qwen2-1_5b-instruct-q4_k_m-(shards).gguf and got the same error:

Update:
I've confirmed the issue in these 3 browsers (Brave, Chromium, and Safari), on MacOS, in the Demo app.

Should be fixed in v2.0.1

Thank you! Working perfectly now!


CPU Voltage not working after this...

@shmuelr
check this commit
https://github.com/yoinx/kernel_adiutor/commit/da98179919051fcf8835b3c0aec1fcaf9d892753
It makes the error toast do display, and the CPU_Voltage featuring stop work...
may be need to clean the app data then reboot to see it...
:+1:

Thanks!
Should be fixed here https://github.com/yoinx/kernel_adiutor/pull/49
Please report if this works now

Works perfect.
with clean data, and after making changes reboot etc...
:+1:

Merged

No idea why I re-opened this....


Movidius Inception Classifier

Trainer, classifier and tutorial using the dataset from the Python Data Augmentation tutorial, Intel AI DevCloud for training and Movidius / UP2 for inference.

Ready to submit pull request once https://github.com/AMLResearchProject/AML-Classifiers/pull/8?fbclid=IwAR1f6LmFhJ6sZ5icjdT9R3FAwc0cvSfpPnAx7GNnnnW711wEY2koJelPwbQ is approved and merged @javeharron @JamieShelley .
https://github.com/AdamMiltonBarker/AML-Classifiers/blob/master/Python/_Movidius/Trainer.ipynb

Completed with https://github.com/AMLResearchProject/AML-Classifiers/pull/8


[2021-04-11 02:53:54:199] [2c8] GitService.getBlameForLine — w=GitUri(file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/src/modules/settings/setting.py repoPath=d:/Project Work/Programming project/Python/AutoWifiAuth), T=28
[2021-04-11 02:53:54:199] [2c9] GitService.getBlameForFile — w=GitUri(file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/src/modules/settings/setting.py repoPath=d:/Project Work/Programming project/Python/AutoWifiAuth)
[2021-04-11 02:53:54:199] [2c9] GitService.getBlameForFile Cache hit: 'blame'
[2021-04-11 02:53:54:199] [2c9] GitService.getBlameForFile completed • 0 ms
[2021-04-11 02:53:54:199] [2c8] GitService.getBlameForLine completed • 0 ms
[2021-04-11 02:53:54:199] [2c7] GitLineTracker.updateState returned true • 0 ms — t=28, d=file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/src/modules/settings/setting.py
[2021-04-11 02:53:54:199] [2ca] LineAnnotationController.onActiveLinesChanged — t=editor=file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/src/modules/settings/setting.py, selections=[28-28], pending=false, reason=selection
[2021-04-11 02:53:54:199] [2cb] LineAnnotationController.refresh
[2021-04-11 02:53:54:199] [2ca] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-04-11 02:53:54:199] [2cc] LineHoverController.onActiveLinesChanged — t=editor=file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/src/modules/settings/setting.py, selections=[28-28], pending=false, reason=selection
[2021-04-11 02:53:54:199] [2cc] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-04-11 02:53:54:199] [2cd] StatusBarController.onActiveLinesChanged — t=editor=file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/src/modules/settings/setting.py, selections=[28-28], pending=false, reason=selection
[2021-04-11 02:53:54:199] [2ce] StatusBarController.updateBlame
[2021-04-11 02:53:54:199] [2cf] GitService.getRichRemoteProvider
[2021-04-11 02:53:54:199] [2cd] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-04-11 02:53:54:200] [2cf] GitService.getRichRemoteProvider completed • 0 ms
[2021-04-11 02:53:54:200] [2d0] GitService.getRichRemoteProvider
[2021-04-11 02:53:54:200] [2d0] GitService.getRichRemoteProvider completed • 0 ms
[2021-04-11 02:53:54:200] [2ce] StatusBarController.updateBlame completed • 0 ms
[2021-04-11 02:53:54:201] [2cb] LineAnnotationController.refresh completed • selection(s)=[28-28] • 1 ms
[2021-04-11 02:54:01:994] [2d1] GitService.onWindowStateChanged — w={"focused":false}
[2021-04-11 02:54:01:994] [2d1] GitService.onWindowStateChanged completed • 0 ms
[2021-04-11 02:57:40:906] [2d2] GitService.onWindowStateChanged — w={"focused":true}
[2021-04-11 02:57:40:906] [2d2] GitService.onWindowStateChanged completed • 0 ms
[2021-04-11 02:57:41:043] [2d3] Repository(d:/project work/programming project/python/autowifiauth/).onRepositoryChanged — E=Uri(file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/.git/FETCH_HEAD)
[2021-04-11 02:57:41:043] [2d4] Repository(d:/project work/programming project/python/autowifiauth/).fireChange — unknown
[2021-04-11 02:57:41:043] [2d4] Repository(d:/project work/programming project/python/autowifiauth/).fireChange completed • 0 ms
[2021-04-11 02:57:41:043] [2d3] Repository(d:/project work/programming project/python/autowifiauth/).onRepositoryChanged completed • 0 ms
[2021-04-11 02:57:41:044] [2d5] Repository(d:/project work/programming project/python/autowifiauth/).onRepositoryChanged — E=Uri(file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/.git/FETCH_HEAD)
[2021-04-11 02:57:41:044] [2d6] Repository(d:/project work/programming project/python/autowifiauth/).fireChange — unknown
[2021-04-11 02:57:41:044] [2d6] Repository(d:/project work/programming project/python/autowifiauth/).fireChange completed • 0 ms
[2021-04-11 02:57:41:044] [2d5] Repository(d:/project work/programming project/python/autowifiauth/).onRepositoryChanged completed • 0 ms
[2021-04-11 02:57:41:308] Repository(d:/project work/programming project/python/autowifiauth/) firing changes=unknown
[2021-04-11 02:57:41:308] Reset state for 'd:/Project Work/Programming Project/Python/AutoWifiAuth/src/modules/settings/setting.py', reason=repository
[2021-04-11 02:57:41:315] Repository(d:/project work/programming project/python/autowifiauth/) firing changes=unknown
[2021-04-11 02:57:41:359] [d:/Project Work/Programming project/Python/AutoWifiAuth] git ls-files -- d:\Project Work\Programming Project\Python\AutoWifiAuth\src\modules\settings\setting.py • 50 ms
[2021-04-11 02:57:41:359] [2d7] GitService.isTracked returned true • 51 ms — w=GitUri(file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/src/modules/settings/setting.py repoPath=d:/Project Work/Programming project/Python/AutoWifiAuth)
[2021-04-11 02:57:42:719] [2d8] Repository(d:/project work/programming project/python/autowifiauth/).onRepositoryChanged — E=Uri(file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/.git/FETCH_HEAD)
[2021-04-11 02:57:42:719] [2d9] Repository(d:/project work/programming project/python/autowifiauth/).fireChange — unknown
[2021-04-11 02:57:42:719] [2d9] Repository(d:/project work/programming project/python/autowifiauth/).fireChange completed • 0 ms
[2021-04-11 02:57:42:719] [2d8] Repository(d:/project work/programming project/python/autowifiauth/).onRepositoryChanged completed • 0 ms
[2021-04-11 02:57:42:719] [2da] Repository(d:/project work/programming project/python/autowifiauth/).onRepositoryChanged — E=Uri(file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/.git/FETCH_HEAD)
[2021-04-11 02:57:42:719] [2db] Repository(d:/project work/programming project/python/autowifiauth/).fireChange — unknown
[2021-04-11 02:57:42:719] [2db] Repository(d:/project work/programming project/python/autowifiauth/).fireChange completed • 0 ms
[2021-04-11 02:57:42:719] [2da] Repository(d:/project work/programming project/python/autowifiauth/).onRepositoryChanged completed • 0 ms
[2021-04-11 02:57:42:980] Repository(d:/project work/programming project/python/autowifiauth/) firing changes=unknown
[2021-04-11 02:57:42:985] Repository(d:/project work/programming project/python/autowifiauth/) firing changes=unknown
[2021-04-11 02:57:43:027] [d:/Project Work/Programming project/Python/AutoWifiAuth] git ls-files -- d:\Project Work\Programming Project\Python\AutoWifiAuth\src\modules\settings\setting.py • 46 ms
[2021-04-11 02:57:43:027] [2dc] GitService.isTracked returned true • 46 ms — w=GitUri(file:///d:/Project Work/Programming Project/Python/AutoWifiAuth/src/modules/settings/setting.py repoPath=d:/Project Work/Programming project/Python/AutoWifiAuth)

GitLens(Git) log:
[2021-04-11 02:49:21:011] [d:\Project Work\Programming Project\Python\AutoWifiAuth\src\modules\settings] git rev-parse --show-toplevel • 898 ms
[2021-04-11 02:49:21:086] [d:/Project Work/Programming project/Python/AutoWifiAuth] git ls-files -- d:\Project Work\Programming Project\Python\AutoWifiAuth\src\modules\settings\setting.py • 69 ms
[2021-04-11 02:49:21:248] [d:/Project Work/Programming project/Python/AutoWifiAuth] git blame --root --incremental -- src/modules/settings/setting.py • 157 ms
[2021-04-11 02:49:21:310] [d:/Project Work/Programming project/Python/AutoWifiAuth] git config --get-regex ^user\. • 60 ms
[2021-04-11 02:49:21:371] [d:/Project Work/Programming project/Python/AutoWifiAuth] git check-mailmap James Tan<EMAIL_ADDRESS>• 59 ms
[2021-04-11 02:49:21:758] [d:/Project Work/Programming project/Python/AutoWifiAuth] git ls-files -- d:\Project Work\Programming Project\Python\AutoWifiAuth\src\modules\settings\setting.py • 58 ms
[2021-04-11 02:49:23:362] [d:/Project Work/Programming project/Python/AutoWifiAuth] git ls-files -- d:\Project Work\Programming Project\Python\AutoWifiAuth\src\modules\settings\setting.py • 54 ms
[2021-04-11 02:49:23:472] [d:/Project Work/Programming project/Python/AutoWifiAuth] git blame --root --incremental -- src/modules/settings/setting.py • 109 ms
[2021-04-11 02:49:24:428] [d:/Project Work/Programming project/Python/AutoWifiAuth] git blame --root --incremental -- src/modules/settings/setting.py • 94 ms
[2021-04-11 02:51:04:757] [d:/Project Work/Programming project/Python/AutoWifiAuth] git tag -l --format=%3cn%3e%(refname)%3c*r%3e%(*objectname)%3cr%3e%(objectname)%3cd%3e%(creatordate:iso8601)%3cad%3e%(authordate:iso8601)%3cs%3e%(subject) • 65 ms
[2021-04-11 02:51:04:760] [d:/Project Work/Programming project/Python/AutoWifiAuth] git for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes • 72 ms
[2021-04-11 02:52:01:415] [d:/Project Work/Programming project/Python/AutoWifiAuth] git rev-parse --verify 845efe5d8e31079cc858131c95c36103d9439e74^{commit} • 49 ms
[2021-04-11 02:52:32:733] [d:/Project Work/Programming project/Python/AutoWifiAuth] git rev-parse --verify 845efe5d8e31079cc858131c95c36103d9439e74^{commit} • 83 ms
[2021-04-11 02:53:21:238] [d:/Project Work/Programming project/Python/AutoWifiAuth] git rev-parse --verify 845efe5d8e31079cc858131c95c36103d9439e74^{commit} • 54 ms
[2021-04-11 02:53:21:352] [d:/Project Work/Programming project/Python/AutoWifiAuth] git rev-parse --verify 845efe5d8e31079cc858131c95c36103d9439e74^{commit} • 52 ms
[2021-04-11 02:53:21:602] [d:/Project Work/Programming project/Python/AutoWifiAuth] git rev-parse --verify 845efe5d8e31079cc858131c95c36103d9439e74^{commit} • 52 ms
[2021-04-11 02:53:45:425] [d:\Project Work\Programming Project\Python\AutoWifiAuth\src\modules\settings] git rev-parse --show-toplevel • 68 ms
[2021-04-11 02:53:45:490] [d:/Project Work/Programming project/Python/AutoWifiAuth] git ls-files -- d:\Project Work\Programming Project\Python\AutoWifiAuth\src\modules\settings\setting.py • 60 ms
[2021-04-11 02:53:45:722] [d:/Project Work/Programming project/Python/AutoWifiAuth] git blame --root --incremental -- src/modules/settings/setting.py • 120 ms
[2021-04-11 02:57:41:359] [d:/Project Work/Programming project/Python/AutoWifiAuth] git ls-files -- d:\Project Work\Programming Project\Python\AutoWifiAuth\src\modules\settings\setting.py • 50 ms
[2021-04-11 02:57:43:027] [d:/Project Work/Programming project/Python/AutoWifiAuth] git ls-files -- d:\Project Work\Programming Project\Python\AutoWifiAuth\src\modules\settings\setting.py • 46 ms

This is by-design. Opening a folder in VS Code that differs in case than on disk can cause problems.

This may be by design but it's a very unhelpful error message because it assumes you know what it means and how to fix it.
Up until now I have always opened vscode by running code . in a git bash terminal. Apparently this is no longer supported by this extension. To me, that is a regression.
I still don't understand what the problem is or what will be broken if I click the large "don't show this again" button, especially since I've always opened vscode like that and not noticed any issues up until now.
Are you sure this isn't a bug?

The warning only shows when I opened the project via git project manager extension. If I directly opened the project via terminal, no warning will be shown.


Enhancement request: Ability to change the font size of the records table

At the moment, the font size is quite large in the records table for a domain. Maybe it is possible to add a setting to PowerDNS-Admin to select font size in the tables? Personally I would prefer to have the font a little smaller so more records would fit in the screen.
I've tried this myself by editing the custom.css file. This does work but as the font size of the action buttons is not changed with this the records are still spaced the same.

#944 is what you are looking for.
Regards


Pickup Protocol 1.0, 2.0 and 3.0

Add Pickup Protocol.
Please, give feedback on:

Authors: I think that is correct to add authors from previous versions since that was just a mapping
Goal code: need to define goal codes?
Datetimes were expressed as unixtime in seconds
Error code: when the mediator doesn't have Live Mode capabilities, it should reply with a report-problem message. We need to define a code for that error like e.m.live-mode-not-supported

I think the conversation about key formats is important, and I would be happy to entertain a new PR that improves our descriptive text appropriately, as @TimoGlastra has suggested. However, I don't think we should hold up the initial merge while we wait for that; we want some documentation about this to exist asap. So I'm going to merge what we have right now.


Add metering as an option

I've been poking around bytebox and this is a solid project. One thing that I would like to add is metering. This is something that wasmtime and wasmer (and probably others) have implemented.
Basic idea is this: you configure your module instance to have a certain amount of "fuel". Then a function is called and the vm either runs to completion, traps, or if the fuel meter reaches zero it traps as OutOfFuel or something similar.
I'd be happy to implement something and contribute it, but I wanted to talk through what type of metering before starting.
The most straight forward would be to have each instruction consume a certain amount of fuel units. Simple ones consume 1 or 2, more complex like call_indirect or select_t might consume more.
It looks like wasmtime just has 1 fuel unit for everything but branches, nop, and drop. https://github.com/bytecodealliance/wasmtime/blob/c477424f45871563be02eba14815ba3446158441/crates/cranelift/src/func_environ.rs#L328-L344.
And wasmer allows you to pass in a custom meter function. https://github.com/wasmerio/wasmer/blob/9573519e225b3ea6bd371c832fd352e72314074e/lib/c-api/src/wasm_c_api/unstable/middlewares/metering.rs#L180
There are perks to both, but I wasn't sure what your design philosophy is more geared toward. Let me know what you think.

Hi,
Yeah, this seems reasonable to add.
Do you think having fuel overrides for certain instructions would be a much desired use case? I'm inclined to leverage the debugPreamble() that's already instrumented in each opcode and just have a comptime defined fuel lookup switch similar to wasmtime. This way there doesn't have to be an extra indirection for a callback.
Is fuel typically configured globally and retains state across invokes, or is it per-invoke? I suppose either would be easy to add with the same mechanism - invoke() could just reset the fuel at the beginning if it's per-invoke. The amount of fuel could be configured via ModuleInstantiateOpts or InvokeOpts.
Are functions typically resumed once a module or invoke runs out of fuel? There's already some (untested) support for resuming a debug-trapped function ala resumeInvoke(). If needed, maybe the code that returns TrapError.TrapOutOfFuel can setup some resuming state in a similar way and it could reuse the same code path for both debug and fuel cases.

I don't think having overrides will be a common usecase. Wasmtime is widely known and it doesn't allow it, so it is probably best to do a lookup switch.
As far as configuration goes, wasmtime only allows it configured on the module instance, whereas wasmer lets you do it at the instance level or the function level. So for module level, you update the fuel on the store and then run the function via a normal invoke. I shouldn't be hard to add it to both ModuleInstantiateOpts and InvokeOpts to allow for either call.
As far as resumption goes, I know Wasmtime doesn't allow it. It traps, then you have to invoke again from the start. It looks like wasmer doesn't allow resumption either.
I would really like Bytebox to allow resumeInvoke() to pick up with another round of fuel/after fuel has been updated.
One thing though: should this be behind a compile flag so that those that don't care about metering can remove those from the code? May not be too big a deal since Zig does a good job of not including code that isn't used from the root, but might be helpful.

Sounds like a plan. The compile-time flag is a good idea - ideally it would default to off, and maybe there can be an additional stage in ci.yml that builds and runs a smoke test with it on.
Like I mentioned, feel free to take a stab at getting resuming working. If you have any trouble, let me know and I can take a look too.
Regarding where fuel is stored, I think it can just go into the ModuleInstance directly, it feels like the right place for a bunch of runtime state that isn't part of the spec.
When you make the change to debugPreamble() to update remaining fuel, could you rename it to just preamble()? Once fuel is added, it won't just be for debug purposes anymore.

Great, sounds good. I'll start working on that.

This was completed in #49


How to use it in a build project？

In the editor, everything was fine, but when I built an Android project, the code didn't seem to be injected.
What is the right way to use it?

I don't use Android (imo it s***s), so I don't know how the build pipeline for Android looks like. It probably recompiles code from C# to Java and then converts it to DEX then there's no way to make it work, cuz this API does not use CastleProxy, which is quite insecure, but it recompiles *.dll (precisely Assembly-CSharp.dll inside Library folder).
ATM I'm quite overloaded with work, so I don't know when I'll find time to check this out.

I've tried something，it seems really cannot be used in Android.Thank you very much.If I can make it, I'll tell you.

Use UnityEditor.Build.IFilterBuildAssemblies can weave assemblies on build.
public string[] OnFilterAssemblies(BuildOptions buildOptions, string[] assemblies)
{
}

Yep, it works. Thanks ;)


Add summary results from 2022 edition

Also include video:
https://vimeo.com/753986651

Nice. I am reopening though as the classification results don't seem to be presented yet. Also, for clarity, maybe replace teh call for action to "👋 2022 results are out!" instead of "👋 Results are out!"

links to all the papers.


Questionable formatting of <script> tags w/ v0.0.11

I'm not sure whether this is intended, but upgrading to v0.0.11 wants to make these changes:
https://github.com/jasikpark/jasik-xyz/commit/fe3f475d4f7903b1ba2d464b50e9d73989f258c9
It seems like a regression maybe? It definitely makes more sense to me for the <script> tags to start on their own lines, right?

@NiklasPor I just added this plugin to our website and the following line
{{ if .Params.Captcha }}<script src="https://www.google.com/recaptcha/api.js?hl={{ .Language.Lang }}"></script> {{ end }}
results in the error Error: Encountered unexpted end keyword.
maybe this is related to this problem as well. If not, its a new problem. I will try an earlier version now.

It does work but multiple other templates now result in the end-tags be replaced with HTML comments and then fail with the formatter.

Yes, looks like a regression. Script & style formatting is tricky because I actually am not able to format the code inside.
I'll add a test that covers this and fix it up. Thanks for reporting 🚀

After testing with both cases, it looks like 0.0.12-beta-1 is solving those problems.


How to get Multidimensional Result

hi ,i try to get multidimensional Result with PROP_FORMAT_MULTIDIMENSIONAL property but i cant.my sample code is :
 function ExecuteQuery(mdx,callback)
{
var xmla =require("xmla4js"),
    X = xmla.Xmla;

var config=GetConfig();
var obj;

xmlaRequest = {
    async: true,
    url: config.Url,
    properties : {
            Format    :X.PROP_FORMAT_MULTIDIMENSIONAL,//X.PROP_FORMAT_TABULAR
            // X.PROP_FORMAT_MULTIDIMENSIONAL
            Catalog : config.CatalogName,
            DataSourceInfo : config.DataSourceName
          },
    success: function(xmla, xmlaRequest, xmlaResponse) {

        //var cellset = xmla.getCellset();

        // var t=discoverRowsetToHtml(xmla, xmlaRequest, xmlaResponse)
        // callback(t);
        //obj = xmlaResponse.fetchAllAsObject();
         obj = xmlaResponse.fetchAllAsObject();
        callback(JSON.stringify(obj));

        }
      };
xmlaRequest.method = X.METHOD_EXECUTE;
xmlaRequest.statement = mdx;

var x = new xmla.Xmla();
x.request(xmlaRequest);
}

but when i try to get result with node.js i get this error:
D:\Projects\Node\Test\OlapNEW\OLAPSchemaProvider\olapschemaprovider.js:90
        obj = xmlaResponse.fetchAllAsObject();
                           ^
 TypeError: Object #<Object> has no method 'fetchAllAsObject'
at ExecuteQuery.xmlaRequest.success     (D:\Projects\Node\Test\OlapNEW\OLAPSchemaProvider\olapschemaprovider.js:90:32)
  at Object.Xmla._requestSuccess    (D:\Projects\Node\Test\OlapNEW\OLAPSchemaProvider\node_modules\xmla4js\src\Xmla.js:21
       03:50)
          at Object.ajaxOptions.complete      (D:\Projects\Node\Test\OlapNEW\OLAPSchemaProvider\node_modules\xmla4js\src        \Xmla.js:20
         14:34)
            at Object._ajax.handler [as onreadystatechange]   (D:\Projects\Node\Test\OlapNEW\OLAPSchemaProvider\node_modules\xmla4
               js\src\Xmla.js:187:53)
           at Object.changeStatus      (D:\Projects\Node\Test\OlapNEW\OLAPSchemaProvider\node_modules\xmla4js\src         \Xmla.js:84:41)
      at IncomingMessage.<anonymous>          (D:\Projects\Node\Test\OlapNEW\OLAPSchemaProvider\node_modules\xmla4js\src     \Xmla.js:14
   8:24)
      at IncomingMessage.EventEmitter.emit (events.js:117:20)
      at _stream_readable.js:920:16
      at process._tickCallback (node.js:415:13)

thanks

Hey can you please help me out to connect to SSAS from Node.js service.
Please provide me samples/examples
Struggling from last two day's,
https://github.com/rpbouman/xmla4js
Reffered the above link, but not able to figure it out how it works.
Getting the follwoing error,
SOAP message:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
SOAP-ENV:Body

DISCOVER_DATASOURCES

</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
error
HTTP Error
Null

Hi Santosh3,
it has been a while since I had access to a MS Analysis XML/A service, so I can't check for myself right now. But what does your setup look like? What URL are you using, and how are you sending the request? I sthe xmla4js client on the same host as the XML/A service?
Please send me an email<EMAIL_ADDRESS>

thanks for the quick response Roland,
We have the SSAS data in one server and we configured it in IIS
and am trying to access it through Node.js like below

Create new node project
Install xmla4js through npm
Service will run @ localhost with my ip address.

IIS configuration for SSAS

Have to append the url for the service as below
http://localhost:8124/?url=http://ssashostedserver/olap/msmdpump.dll/&userid=xx&password=xxx&Catalog=xxx

Please confirm me whether am appending param's in correct way or not??
am getting the following output,
SOAP message:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
SOAP-ENV:Body

DISCOVER_DATASOURCES

</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
error
HTTP Error
Null

Please share the us any sample you have, how to connect to SSAS with Node.js.
It will be great help for us.

Hi @Santhosh3,
the npm module is from the stone age. I built it once at a user request, never got feedback and I have not spend any time updating it. Don't use it if you can avoid it.
If you're only interested in xmla4js, then you best check out https://github.com/rpbouman/xmla4js.
Before you start with the node sample, first verify that your xml/a server is setup correctly and you can access it with xmla4js.
Easiest way to do this is clone or unzip the github repo in some directory that you make accessible in IIS, so that the xmla4js samples (and the xmla4js lib) run on the same server as your XML/A entry point.
If that is not possible for some reason, then run xmla4js sample on some webserver (nginx for example) that you set up so that you have a proxy to your XML/A servers so as to make it appear as if it's running on the same domain as the samples.
The best example to start with is xmla4js/samples/discover-synchronous.html
Enter the url to your XML/A server in the input (remember - it should appear to be on the same domain as your sample) and hit discover. If that works, proceed to the node sample.
The node sample is REST-for-analysis.js
The syntax for passing the URL looks right.
Please use email if you want to discuss further.

@rpbouman
thanks a lot, hope these inputs from you will help us a lot.
Sure will mail for any further assistance.
Thank You so much Roland. :)

thanks a lot Roland,
Sorry for taking some of your time, but it helps us a lot.
Thank You.
On Fri, Mar 22, 2019 at 1:46 AM Roland<EMAIL_ADDRESS>wrote:

Hi @Santhosh3 https://github.com/Santhosh3,
the npm module is from the stone age. I built it once at a user request,
never got feedback and I have not spend any time updating it. Don't use it
if you can avoid it.
If you're only interested in xmla4js, then you best check out
https://github.com/rpbouman/xmla4js.
Before you start with the node sample, first verify that your xml/a server
is setup correctly and you can access it with xmla4js.
Easiest way to do this is clone or unzip the github repo in some directory
that you make accessible in IIS, so that the xmla4js samples (and the
xmla4js lib) run on the same server as your XML/A entry point.
If that is not possible for some reason, then run xmla4js sample on some
webserver (nginx for example) that you set up so that you have a proxy to
your XML/A servers so as to make it appear as if it's running on the same
domain as the samples.
The best example to start with is xmla4js/samples/discover-synchronous.html
Enter the url to your XML/A server in the input (remember - it should
appear to be on the same domain as your sample) and hit discover. If that
works, proceed to the node sample.
The node sample is REST-for-analysis.js
The syntax for passing the URL looks right.
Please use email if you want to discuss further.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rpbouman/xmla4js/issues/5#issuecomment-475385872, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKPSlntv1eDsPAgkg9VQq3D6g8HJvoIsks5vY-ifgaJpZM4BVz_P
.

--
Santhosh R M
8553933285

Hi Santosh3, I think I can close this now, as your issue had to do with MS SQL setup, not xmla4js?

Yup,  thanks for all the support Roland. :)
On Mon, Apr 8, 2019 at 1:03 PM Roland<EMAIL_ADDRESS>wrote:

Hi Santosh3, I think I can close this now, as your issue had to do with MS
SQL setup, not xmla4js?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rpbouman/xmla4js/issues/5#issuecomment-480717788, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKPSlj33WSA5aWAixwzEmBhoBXyJ0Q4aks5vevC_gaJpZM4BVz_P
.

--
Santhosh R M
8553933285


Does the client respond to POST requests with status 200 by default?

I see that that there isn't a default hook (like Bot.on :default or something like that), so I'm wondering if the client isn't acknowledging some requests.

why do we need default request? If request is not registered, some error raises. https://github.com/hyperoslo/facebook-messenger/blob/master/lib/facebook/messenger/bot.rb#L42

Right, but what I meant was for some way for 200 to be sent back when, for example, FB sends random ping to make sure app is alive.

We do, @imthatcarlos (see https://github.com/hyperoslo/facebook-messenger/pull/102). Rack::Response#finish runs either way.


Interval meter reads response fields

See story OSGP/Platform#38 and OSGP/Platform#188
Interval meter reads returns ActiveEnergyImport and ActiveEnergyExport values, but places them in the "..TariffOne" field of the meterreads object. This seems a bit odd.
I would like to verify with @elhachhouchi if these fields should indeed be used, or if there has been a mistake. Because OSGP/Platform#188 defines that actual meter reads should return separate fields for all values, I would think Interval meter reads should also use the specific fields as the meter reads object is being reused.

Abdel replied: I don't think it is wise to put active total and passive total (from periodic profile) in the fields active/passive tariff 1/2.


check mirror of the predefined configurations

We are running a mirror of the predefined configurations, which is accessed if the main configuration repo is not reachable. Since v0.2 introduced breaking changes to the configurations, it is important that the mirror has the latest changes.
We need to check wether the mirroring of configurations is working.

@marcenko @xgui3783 has this been checked meanwhile? Is the mirror up to date?

added ci script (that should run on every push to master/tag creation), which pushes tag/master to mirror
see pipeline run: https://jugit.fz-juelich.de/t.dickscheid/brainscapes-configurations/-/pipelines/49697

CI seems to have been fixed: https://jugit.fz-juelich.de/t.dickscheid/brainscapes-configurations/-/pipelines
leave in review for a few more releases, then mark as done


Bug: No able to disable chart repository

📜 Description
Not able to disable chart repository showing 500 internal server error
👟 Reproduction steps
Disable the chart and click on update button then you get the below error  and it is enabling the chart again

👍 Expected behavior
It should disbale the  chart
👎 Actual Behavior
It is enabling the chart again after refreshing
☸ Kubernetes version
Any
Cloud provider

Any
🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#4937

RCA: In older versions of devtron, chart repo's entry was made in argo cd cm and in new versions (starting from 20/04/23) the entry is made as a separate secret. User accidentally deleted the entry and since it was not found in any of the two places, the code broke.


How to delete old logs

I am using Kubernetes with logtrail  but whenever I delete the pod then the oldest pod logs still there and too much clutter so how to keep my only latest pod logs.  you can see the samples :-
demo-sync.var.log.pods.fn-dev_demo-7ff4c564c7-q5tg2_ecc6b5ff-8b3b-41d3-a95b-dbf3e045b8f1.cb-sync.0.log
demo-sync.var.log.pods.fn-dev_demo-94b4cf695-r9624_0306c0fe-2a22-4046-a6ee-237824e0ce0f.cb-sync.0.log
keeto-sync.var.log.pods.fn-dev_keto-sync-b465f5fc7-8t25z_b772b2a7-9dcc-4fa7-ad29-8a1fc25ab98c.cb-sync.0.log

is there any solutions for this ?

We are facing same issue. In other words, how to Un-register a system or program from log-trail?

logtrail is a frontend to view the logs stored in elasticsearch. It does not modify the content of the logs index. I assume once the pod is dead it won't be shipping the logs, so it won't clutter the logs of active pods.
If you still need to remove the logs for dead pods, I would recommend purging them from elasticsearch periodically.


fix: allow ctrl+c in provider install

fix: allow ctrl+c in provider install
Description

[ ] This change requires a documentation update
[ ] I have made corresponding changes to the documentation

Related Issue(s)
Closes #1044
Screenshots
If relevant, please add screenshots.
Notes
Please add any relevant notes if necessary.

@quest-bot loot #1044

@Tpuljak
demo.webm
I think that this is the default behavior with the spinner we are using.

@Tpuljak demo.webm I think that this is the default behavior with the spinner we are using. In daytona start I'm also not able to ctrl+c this is same for all the loading screens using the inlinespinner and the full screen spinner func

@bryans-go you're right. This means that this PR is not ready for review? Please don't mark it as such until it is.
Are you wiling to solve this issue for the spinner in general so it's fixed in all the places where we use it? If so, we'll double the bounty amount through a tip.

@Tpuljak OK
I'm willing to solve it further

done!

Uploading demo9.webm…

@Tpuljak I also tried to implement the same thing that you said In your comment but once the request(POST in this case) is done by the user then how will the context get updated.

@Tpuljak I also tried to implement the same thing that you said In your comment but once the request(POST in this case) is done by the user then how will the context get updated.

All requests (in gin) have their own context on the request. I believe (I'm 99% sure) that that context is Done() if the user cancels the request. You need to test that on your own.

Done !

@Tpuljak

@Tpuljak demo.webm I think that this is the default behavior with the spinner we are using. In daytona start I'm also not able to ctrl+c this is same for all the loading screens using the inlinespinner and the full screen spinner func

@bryans-go you're right. This means that this PR is not ready for review? Please don't mark it as such until it is.
Are you wiling to solve this issue for the spinner in general so it's fixed in all the places where we use it? If so, we'll double the bounty amount through a tip.

hey I think you forgot about the bounty part.

Are you wiling to solve this issue for the spinner in general so it's fixed in all the places where we use it? If so, we'll double the bounty amount through a tip.

tip ?
is it delayed

@quest-bot tip @bryans-go 30


tiny bugfix to WholeFileCacheFileSystem.cat

Variable path defined in the for loop shadows the argument path of the cat method. Even if the original argument path is a list, after the for loop, the path has become a str. This affects the isinstance(path, str) check below, changing the behavior of the method.
This PR fixes this by renaming the variable used in the for loop.

Thanks for picking this up.I'm sure I've made this mistake plenty of times, would hope that my IDE notices.


Making dataset for the stacked CAE

Thank you for your code and for sharing it.
There is one point I wanted to share with you.
When preparing cubes of n images as input (for example [32,10,100,100]), the difference between folders are not taken into consideration. it means that this cube below (which is prepared) would not be a proper one:
[frame198-folder 2, frame 199-folder2, frame 200-folder2, frame1-folder 3, frame 2-folder3, .....]
as you can see in the list above, some frames from different adjacent folders would be mixed. As the folders are for different timing it would not be a continuous combination.

Dear Mohammad, can you please elaborate the issue faced? So that, we can suggest if we can.

Dear Mohammad, can you please elaborate the issue faced? So that, we can suggest if we can.

Sure. Look in Ped1 /training, there are 34 folders. The contents of these folders are frames for video clips which ate taken from the same scene but at different time. for example, look at the last frame of folder 30 and the first frame of folder 31.  it is clearly shown that they are from a different time. So folder 31 does not follow folder 30 temporally.
Now in section 2 of your code: you prepare stacked frames, to let the network capture the temporal evaluation. and you stack 10 consecutive frames for example. the problem lies here that in your code, you "glob.glob" all frames and attach 10 of them in each step. now one of your produced inputs to the network would be:
[f30-197, f30-198, f30-199, f30-200, f31-1, f31-2, f31-3, f31,4, f31-5, f31-6]. ---> f30-199 means frame 200 from folder 30.
now the network which wants to learn temporal evaluations (motions and frame changes) sees f30-200 and f31-1 consecutively and tries to learn it!! but it shouldn't.
if you put the frames of the example above in a folder and watch them in a row, you can see the sudden change.
I hope I could make it clear.  By the way, appreciate your nice job, they are very helpful.

Sure. Look in Ped1 /training, there are 34 folders. The contents of these folders are frames for video clips which ate taken from the same scene but at different time. for example, look at the last frame of folder 30 and the first frame of folder 31.  it is clearly shown that they are from a different time. So folder 31 does not follow folder 30 temporally.
Now in section 2 of your code: you prepare stacked frames, to let the network capture the temporal evaluation. and you stack 10 consecutive frames for example. the problem lies here that in your code, you "glob.glob" all frames and attach 10 of them in each step. now one of your produced inputs to the network would be:
[f30-197, f30-198, f30-199, f30-200, f31-1, f31-2, f31-3, f31,4, f31-5, f31-6]. ---> f30-199 means frame 200 from folder 30.
now the network which wants to learn temporal evaluations (motions and frame changes) sees f30-200 and f31-1 consecutively and tries to learn it!! but it shouldn't.
if you put the frames of the example above in a folder and watch them in a row, you can see the sudden change.
I hope I could make it clear.  By the way, appreciate your nice job, they are very helpful.


Remove use TypeVar to denote the extension of a Flytefile #2870

TL;DR
Do not use TypeVar to denote the extension of a Flytefile. Pylint was breaking in a couple of places. This fixes it.
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
Ran pylint and got the stackstrace. Fixed it and then ran again without the errors. details below.
typing.TypeVar requires that the name of the var it is assigned to is a match. meaning T = TypeVar("T") is ok but C = TypeVar("T") is not. So when we have a file extension like "tar.gz" there is no way to assign that as a tar.gz variable. So instead we are just switching it to str type.
I left the TypeVar on file extensions in https://github.com/flyteorg/flytekit/blob/master/flytekit/types/file/init.py#L28-L82 since they don't seem to break anything.
I searched the rest of the repo looking for any other regex matches for something like with a period in the file extesnion and didn't find any others.
I also corrected a return type for split_traintest_dataset() since my linter was warning me about it
Tracking Issue
Fixes https://github.com/flyteorg/flyte/issues/2870
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/

@jerempy, thanks for creating the PR! We'll also need to fix the FlyteFile extensions cause they'll fail when you run pylint on a file that contains say, FlyteFile[typing.TypeVar("...")]. You can test this example by including TypeVar for your reference.
@eapolinario suggested using typing.Annotated rather than TypeVar for FlyteFile objects. Would you mind working on it? You may also need to take a look at https://github.com/flyteorg/flytekit/blob/master/flytekit/types/file/file.py file to support the Annotated case. Here's an example where we're using Annotated to accept the user metadata: https://github.com/flyteorg/flytekit/blob/ab9aa65c420afed1ec3b80e0d650fcee3d63852a/flytekit/types/numpy/ndarray.py#L16-L24

@samhita-alla thanks for the comment! I tried running pylint on files with FlyteFile[typing.TypeVar("...")] and it wasn't causing breakages.
the original breakage was caused by assigning types to variables with different names - which does cause breakages with pylint. You cannot do VAR = TypeVar("OTHERVAR") pylint would break with that, but this is okay: VAR = TypeVar("VAR"). TypeVar is used 55 times in this repo, and I looked at all of them and they all look good to go.
The specific ones named here in the bug that broke pylint were assigned different names because they had a .(period) in their extenions name, i.e. tar.gz so they are unworkable.
I took a look at typing.Annotated, but per my understanding of it it doesnt seem like it would fir here since it is used to add metadata to types, rather than defining them.
At any rate, I fixed a typehint that broke the tests in CI - should pass CI now 🤞

@eapolinario, would you mind taking a look at this PR?

sorry @pingsutw if you could review again 🙏 :I noticed that I accidentally changed the return type in https://github.com/flyteorg/flytekit/blob/98acf1bd7a76f0b6f2d04cbeb87ac17b84b3836c/tests/flytekit/unit/core/test_realworld_examples.py#L87
so i reverted it back to featured_columns and class_columns

@pingsutw think we could merge this one? October is almost over 😅

@pingsutw , how did you run mypy?
For example, given this file:
import typing
from flytekit.types.file import FlyteFile

def f_no_extension() -> FlyteFile:
    ...

reveal_type(f_no_extension)

def f_string_extension() -> FlyteFile["ext1"]:
    ...

reveal_type(f_string_extension)

def f_typevar() -> FlyteFile[typing.TypeVar("ext2")]:
    ...

reveal_type(f_typevar)

mypy returns:
❯ mypy example.py
example.py:2: error: Cannot find implementation or library stub for module named "flytekit.types.file"
example.py:2: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
example.py:7: note: Revealed type is "def () -> Any"
example.py:9: error: Name "ext1" is not defined
example.py:12: note: Revealed type is "def () -> Any"
example.py:17: note: Revealed type is "def () -> Any"
Found 2 errors in 1 file (checked 1 source file)

Note how in the case of f_string_extension mypy return an error.

sorry, my bad. I used make lint, and it didn't check those two files.

@jerempy, let's not rush things. I can assign a "hacktoberfest-accepted" label in case the PR doesn't get merged before Oct. 31. :)
Can you take a look at the above comments and do the necessary? Here's Eduardo's comment:

I don't believe we should go ahead with this change.
Simply replacing mentions to typevar with raw strings is going to start showing up as errors in mypy.

Given the discussion about how using a plain str isn't valid and causes issues with mypy, I think this solution is not truly an improvement over the status quo, where mypy is fine but pylint is unhappy. I think the idea should be to work out how typing.Annotated can be used instead of typing.TypeVar. Also, I am not sure whether there needs to be some deprecation schedule for the old way. If it were to simply stop working with TypeVar, that could be problematic. I'd suggest supporting Annotated as an extra case, and emitting deprecation warnings for uses of TypeVar or str, before eventually dropping support for those.

@samhita-alla thanks for that!
@eapolinario and @pingsutw  you guys able to take  a new look? I re-did the whole thing for typing.Annotated
It looks good to both mypy and pylint

@jerempy, two more changes to go! :)

Should the project dependencies change  to declare dep on typing_extensions?
Should we only use this for python <3.9 and use import logic like trying to import Annotated from typing and if that fails fall back to typing_extensions?
How about docs and or release notes for these changes? It's a user visible change in expectation.

~Should the project dependencies change to declare dep on typing_extensions?~
~Should we only use this for python <3.9 and use import logic like trying to import Annotated from typing and if that fails fall back to typing_extensions?~
Edit: Ah, flytekit already requires typing_extensions regardless of python version.
How about docs and or release notes for these changes? It's a user visible change in expectation.

That's a good call and it's exactly how typing_extensions is supposed to work, i.e. if you're in in python >=3.9 importing Annotated from typing or typing_extensions is ok, whereas if you're using python <3.9 you're going to get an error if you try to use typing.Annotated. In other words, typing_extensions offers a type alias for the same underlying type if it exists.
That said, we're going to make it clear that FlyteFile and FlyteDirectory now can use this new mode of setting extensions in the release notes. Also worth noting that this change is backwards compatible (as long as the extension doesn't change), for example:
@task
def t_return_old_style_flytefile() -> FlyteFile[TypeVar("ext")]:
   ...

@task
def t_takes_new_flytefile(f: Annotated[FlyteFile, FileExt("ext")]):
   ...

@workflow
def wf():
    f =  t_return_old_style_flytefile()
    t_takes_new_flytefile(f=f)

@jerempy , can you fix the sagemaker test? Same error (Annotated being imported from typing)

@eapolinario woops! missed that one. got it now. should be good to go 😎

happy halloween! Looks like missing 7% diff coverage, based on lines of code - but when I look at the PR I;d say everything is adequately covered - if it fine to merge anyway?


Report

A description of your design and implementation (preferably PDF) including:
▪ Screenshots of both client and server under execution.
▪ a user guide for compiling and running your distributed application.
▪ Description of how you divided the workload among your group
members.
▪ Everything that is needed to compile and run your distributed
application (in a zip archive), such as:
• Any artifact/file/library that is needed to compile and run your distributed application
(in a zip archive)
• Source code (should be well commented at method/algorithm granularity);
• Ready to deploy jar file;
• Three Output files containing the required measurements: naive_server.txt,
server_cache.txt, client_cache.txt.
• Any other artifact that you consider relevant to compile and run your application.

https://github.com/chrfrenning/upgraded-umbrella/blob/main/report/report.md


Bumping main_0.2 branch version (0.2.11)

Platforms Impacted

[x] iOS
[x] macOS

Description of changes
What's New:
iOS:

#728 (https://github.com/microsoft/fluentui-apple/commit/2f9363af01f02cdbf4129198dbde8d14e555ff09)

Verification

[x] pod lib lint passes

Pull request checklist
This PR has considered:

[ ] Light and Dark appearances
[x] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)

Microsoft Reviewers: Open in CodeFlow

can you update your PR description to be the commit hash number of 0.2 main branch? not the main branch


3.2 Imports show an empty tree in latest build

Not sure if this is intentional, but importing 3.2 builds (for example https://pastebin.com/0UZe8BEJ) results in an empty tree.

The changes to the Shadow starting area mean that many Shadow builds will end up with a complete tree wipe; unfortunately there isn't anything I can do about this.

Would it be possible to enable selecting 3.2 or 3.3 in Game Version in the Configuration tab, which would change the passive skill tree and allow us to recover the 3.2 trees?

Setting up a new game version is actually a major pain for various reasons, as the current design involves duplicating and maintaining a separate copy of all of the data files. I'd have to rework the game version system to avoid all that work; otherwise it isn't worth the effort.
However, I am looking into making some sort of migration script that will preserve most of the Shadow tree; it should be possible as the nodes that caused the reset were simply replaced with others, so I may just be able to do a 1:1 mapping.

Aight, thanks for the quick response :) I should be able to grab an older version of PoB to see the tree I'm concerned about, so it should not be a problem for me, but yea, a way to migrate it would be cooler.


The pretrained KITTI-2015 model

Hi, thanks for sharing your code. I have some questions need your help.
my environment:
pytorch 0.4.0
torchvision 0.2.0
I just downloaded your pretrained params and cloned your code, then executed this command
python submission.py --datapath [kitti_scene_flow_path]/testing/ --loadmodel pretrained_model_KITTI2015.tar  without any fine-tuning. Then, I used the disp_read.m and disp_write.m in matlab code to rewrite the result. Finally, I submit to the KITTI website to evaluate. Blow is the result,
Mine:
All / All	2.36	5.72	2.92
All / Est	2.36	5.72	2.92
Noc / All	2.19	5.42	2.72
Noc / Est	2.19	5.42	2.72

Yours:
All / All	1.86	4.62	2.32
All / Est	1.86	4.62	2.32
Noc / All	1.71	4.31	2.14
Noc / Est	1.71	4.31	2.14

You can find that there is 0.6% difference between us. From the result picture, it almost similar, but my error map is shallow than you in color.
I also executed this command
python submission.py --datapath [kitti_scene_flow_path]/training/ --loadmodel pretrained_model_KITTI2015.tar
and then used the matlab code to evalute the result, I recorded every image's disparity error in exp.txt file.  the average disparity error is 0.95%. And I also gave one of them blow. The error map is shallow as the testing result. I think there must be some mistakes made, please check, thanks a lot!
exp.txt

Hi, @youmi-zym
It seems that there is something wrong to your error map. These are two my results on KITTI2015 val set.

@IceTTTb  Thanks for your advice. To be actually, I use the matlab toolkit from the KITTI website. and blow is the main part of the code I have rewritten.
for i = train_val_list
    D_est=disp_read(fullfile(train_root, iids(i).name));
    D_gt=disp_read(fullfile(gt_root, iids(i).name));
    rgb=imread(fullfile(img_root, iids(i).name));
    rgb=double(rgb)/255.0;
    d_err = disp_error(D_gt,D_est,tau);
    D_err = disp_error_image(D_gt,D_est,tau);
    D_est_color=disp_to_color(D_est);
    D_gt_color=disp_to_color(D_gt);
    save_path=fullfile(train_root,['../error/',iids(i).name]);
    imwrite([rgb;disp_to_color([D_est;D_gt]);D_err],save_path);
end

As you can see,  disp_to_color([D_est;D_gt]), the max disp to scale the color map is calculated from ground-truth and estimated disparity.
Therefore, the processions I have taken are:

download pretrained_model_KITTI2015.tar
execuate submission.py, get the testing and training data result.
use the matlab code from KITTI website, disp_read.m -> disp_write.m to rewrite the result
use the matlab code from KITTI website, demo.m(show above) to get the dispairty map, there is the result of one of example you give

I'm wondering are there any errors in submission.py or environment I set or some steps I missed.

@youmi-zym Hi, I guss there may be some errors in the third step in your processions.  I feed the results from submission.py to demo.m directly, and the error maps seem right.

I have rewritten the disp_to_color.m in Python, welcome issues for somebody else, I will try to make the script running fast.
https://github.com/passion3394/PSMNet_CPU/blob/master/disp_to_color.py


[SOLVED?] Newest dev build (0.2.33+) works on TB31.7.0

Hi Alain/all
I just upgraded here (to TB31.7.0) and found nostalgy was still working moving messages around and also to the default suggested location, only thing is, the popup didn't show nor appear/update while typing.
Updated to today's "current build", which turned out to be 0.2.23, and it works again :dancers:
¡Nostalgy rocks and should be included by default in TB!

Could you clarify the version numbers please (there seem to be typos)? I.e., which one gave you which problem, and which one solved it?

Closing, as the reporter already mentioned that it works again.
Also, this sounds like #10 and should have been fixed in 0.2.24.


Support Auto Discovery

Any chance @themsaid could merge this pull request so we can use it in dev projects?

Done :)

Thank you!


[W5.11][W14-A2] Sim Kwan Tiong Damien

Added an undoDelete function that uses Stack to add back deleted person in the order that they hav e been deleted from latest to oldest

Added an undoDelete function that uses Stack to add back deleted person in the order that they hav e been deleted from latest to oldest

@Damienskt
As per my records, you need to implement two enhancements for 2KLoC exercise; Please update the PR before next tutorial.
Some comments added. Please ack & update the PR after reading comments.

@okkhoy Hi i double checked with you during tutorial before i left that i just needed to do 1 enhancement and you said yes, so i only did 1 enhancement. I am the one that you checked at the end of the tutorial as i had some problems with my code, hope that you could recall.


Split generated yeoman project into npm workspace

After https://github.com/eclipse-langium/langium/pull/954, the setup of the yeoman project has become a bit complicated. Trying to use @vscode/vsce to package a vsix file doesn't work natively due to the inclusion of a custom vscode dependency.
Splitting the generated yeoman project into web/language/extension would have a lot of benefits and make features such as https://github.com/eclipse-langium/langium/issues/1487 easier as well.

 Does that sound good to you?

@kaisalmen Absolutely.

Shall the workspace split be an option so users can choose?

@msujew and @Yokozuna59 in the above structure cli is included in the language package. There currently is a separate question that asks to include the cli. Doesn't it therefore makes sense to move cli to its own package.
I started working on this today and first point is to organize the template data directly into packages. This eases the overall process that's also why my vote is to put cli into a separate package.

In yo langium there is a separate question for inclusion of the cli. Doesn't it therefore makes sense to move cli to its own package?

Initially, I thought of the same thing, but @msujew said:

Splitting the generated yeoman project into web/language/extension...

He didn't mention the cli, so I aligned the output, following this suggestion.

As for me, I would also recommend adding a separate cli package since most packages out there, including you guys, have a separate cli package.

In yo langium there is a separate question for inclusion of the cli. Doesn't it therefore makes sense to move cli to its own package?

Yes, that makes sense 👍

Will do, thanks for the feedback 👍

WIP PR is up. ⬆  It doesn't work, yet fully. Overall project structure looks good already, though.

Hello @kaisalmen, I was starting a new (my first) Langium project when I noticed this issue and PR, and I was wondering if it is worth waiting for the PR to be merged. I see that all of the TODOs have already been checked, so is there an ETA on when it will be ready to use? It just seems like a very useful refactor to include in my project from the get-go.

@aabounegm You could use that generator using the PR branch:
git clone https://github.com/eclipse-langium/langium.git
cd langium
git fetch origin refs/pull/1520/head:pr/1520
git switch pr/1520
npm install
npm run build
npm run langium:generate
yo ./packages/generator-langium/app/index.js

Please note that you need to install yo globally:
npm install --global yo

@Yokozuna59 yes I realize that, but thanks for providing the commands and saving me the trouble 😁.
I guess I was mainly wondering if it's ready yet for me to do that or are more changes expected?
I already generated a project (not from the PR) just to explore Langium first, I'm just planning for the actual project after playing around (hopefully really soon, I love Langium already!)


Server settings should be printed when in 'trace' mode.

We frequently have issues where we don't know the settings from the user. We could just print them out in the trace logs as soon as we get them in the server.

This issue has been fixed in prerelease version 2023.7.31, which we've just released. You can find the changelog here: CHANGELOG.md


feat(db): Refactor storage libraries

related to this: https://github.com/paradigmxyz/reth/issues/333
The only difference is that provider is made standalone as in storage/reth-provider

Some import errors around the macros i suppose


feat: add genesis_gas_limit param configuration

This PR adds genesis_gas_limit parameter within network_params.yaml to make the parameter configurable using Kurtosis.
It seems like ethereum-genesis-generator, which is being used in this package already has the capability to change genesis_gas_limit by changing export GENESIS_GASLIMIT="${GENESIS_GASLIMIT:-30000000}" within defaults.env. This feature didn't seem like it was directly transferred to the ehtereum-package.
Tested locally with the main branch and changing the genesis_gas_limit value to 50000000.

please add the extra flag into the readme too, and default to 30M gas limit instead of 25.


ListView isn't always scrollable

the refreshIndicator no respond while pulling down.
[✓] Flutter (on Linux, channel master)
    • Flutter at /home/zxb/develop/flutter
    • Framework revision d443d598c2 (10 小时前), 2017-03-20 17:18:35
    • Engine revision 6b9eda4a40
    • Tools Dart version 1.23.0-dev.9.0

[✓] Host Executable Compatibility
    • Downloaded executables execute on host

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.2)
    • Android SDK at /home/zxb/develop/android/android-sdk
    • Platform android-25, build-tools 25.0.2
    • ANDROID_HOME = /home/zxb/develop/android/android-sdk
    • Java binary at: /home/zxb/develop/jdk1.8.0_112/bin/java
    • Java version: Java(TM) SE Runtime Environment (build 1.8.0_112-b15)

[✓] Android Studio (version 2.3)
    • Android Studio at /home/zxb/develop/android/android-studio
    • Gradle version 3.2

[✓] IntelliJ IDEA Community Edition (version 2016.3)
    • Dart plugin version 163.13137
    • Flutter plugin version <IP_ADDRESS>

[✓] Connected devices
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)

I'm not quite sure how to triage this bug?

like this :

sorry,it's not a bug.I didn't set the child's 'physics` property to [AlwaysScrollableScrollPhysics].

It's a bug that we don't make ListView do that by default, IMHO.

We used to do that for ListView, but it had some bad consequences with nested list views because the inner list views would be "dead areas" for scrolling the outer list view.  Maybe we should key off shrinkWrap?  Another option would be to implement scroll chaining in some form.

Maybe key off primariness?

Also, why are people nesting list views. That's not usually a good idea.

We should look.  I suspect its because we've buried BlockBody too deep / it's too much cognitive load to distinguish between the two kinds of lists.

@abarth I'm handing you this one since you're more familiar with the issue.

I'm not sure what we should do here.  Keying off being primary seems like it could work, although it is a bit magical.

Let's start by enumerating the cases we want to scroll and the cases we want to not scroll (when underflowed).
Dialogs: not scroll
Scaffold body when it's a fixed-length UI: not scroll
Menus: not scroll
Drop-downs: not scroll
Text field: not scroll
Tab list: not scroll
Scaffold body when it's a list: scroll
Page view: scroll

primary:false => default to not scrolling
primary:true => default to scrolling
drawer body => not primary
singlechildscrollview => not primary

ListView become  unscrollable when there is only one ListTile if set the child's 'physics` property to [BouncingScrollPhysics].

I have the same issue

I found the solution here #15052


Design documents improperly escaped

While trying to query a view, I discovered that design documents are improperly escaped.
The first indication of a problem was that go-couchdb was complaining of insufficient permissions to access the view:

GET http://xxx.xxx.xxx/_users/_design/users/_view/by_provider: (403) forbidden: Only admins can access design document actions for system databases.

And my couch log showed these requests:

[Tue, 01 Sep 2015 22:54:29 GMT] [info] [<0.268.0>] xxx.xxx.xxx.xxx - - GET /_users/_design%2Fusers/_view/by_provider 301
[Tue, 01 Sep 2015 22:54:30 GMT] [info] [<0.269.0>] xxx.xxx.xxx.xxx  - - GET /_users/_design/users/_view/by_provider 403

So it turns out the redirect wasn't getting the necessary auth headers.  But the real problem here is that the slash in _design/users shouldn't be escaped at all.
I have a PR coming soon.

Fixed in 9bc16a45318b1103f4938079b9725703404fb976


Require Ruby >=1.9.2

This seems overdue.

And you've basically already required this due to the changes made by RuboCop prior to releasing 0.16.0.

@ChallahuAkbar true!


gparyani: Watch orangescrum.com

gparyani requests the watch of the watch_keyword orangescrum\.com. See the MS search here and the Stack Exchange search here.

orangescrum\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

!!/approve


uncertainty sampling bug fix

Codecov Report

Merging #81 into master will not impact coverage.

@@          Coverage Diff           @@
##           master     #81   +/-   ##
======================================
  Coverage    87.1%   87.1%
======================================
  Files          26      26
  Lines         814     814
======================================
  Hits          709     709
  Misses        105     105

Impacted Files
Coverage Δ

libact/query_strategies/uncertainty_sampling.py
88.88% <50%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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


Switch out the word 'resource' in some places.

Closes #611
Signed-off-by: Serge Hallyn<EMAIL_ADDRESS>

Thanks, going with that :)

Need to update i18n :)

Also needs rebasing.

Branch is a mess, looks like you did a merge instead of rebase :)


Convert star-struck to star_struck

this is one purpose - the CLDR name is literally "star-struck". in other cases, the CLDR names have spaces, so are replaced with underscores.


prometheus-node-exporter: fix version info

Motivation for this change
Closes #126359
cc @Dehumanizer77
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

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

[x] Fits CONTRIBUTING.md.

@SuperSandro2000 fixed :)


Clients to retrieve Kerberos tickets

Once this setting is enabled, any client with this setting is unable to connect to storage accounts that are configured for AD Join. Clients can only connect to storage account configured for Azure AD Kerberos. Removing the setting restores connectivity to AD joined storage accounts however cant connect to Azure AD Kerberos storage accounts. It seems to be all or nothing with this setting. Is this the expected behaviour?
HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters /v CloudKerberosTicketRetrievalEnabled /t REG_DWORD /d 1

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

ID: eed4f875-3115-073b-5ffd-3b31eaf0205f
Version Independent ID: a7476b7f-fce3-474f-6a1f-558321768c15
Content: Use Azure Active Directory to access Azure file shares over SMB for hybrid identities using Kerberos authentication
Content Source: articles/storage/files/storage-files-identity-auth-azure-active-directory-enable.md
Service: storage
Sub-service: files
GitHub Login: @khdownie
Microsoft Alias: kendownie

@PMLIO
Thanks for your feedback! We will investigate and update as appropriate.

@PMLIO we are currently adding a section on Configuring coexistence with storage accounts using on-premises AD DS. I will let you know when this is published, should be later today

@PMLIO @Naveenommi-MSFT I added a section to the doc that covers this scenario:
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-auth-azure-active-directory-enable?tabs=azure-portal#configure-the-clients-to-retrieve-kerberos-tickets

#please-close

Thanks for your the quick update! :-)


Compare with async/await?

Seem like this project do the things that is very similar with MS async/await. So could you tell me what is the differences?

Yes it is very similar. This project was created because async/await
doesn't exist in. NET 3.5.
On 5 Apr 2017 11:13 AM, "Dan Nguyen"<EMAIL_ADDRESS>wrote:

Seem like this project do the things that is very similar with MS
async/await. So could you tell me what is the differences?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Real-Serious-Games/C-Sharp-Promise/issues/39, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAmJ5oW0pfKciGj9Bfz7r2NXRrjnFWflks5rsuqtgaJpZM4MzoIt
.


[Is React Translated Yet?] Use Dan's correct twitter handle

The post on translations had @gaearon's wrong twitter handle - he's gaearon on GitHub but dan_abramov on Twitter.

Thanks!


Error Compiling with Java 7

I am getting the following error:
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2

I believe this is a conflict with the AppCompat (using v21.0.3). When I remove it, it works.

Well, looks like it was a simple typo in my code. Ha. Sorry about that. Will go ahead and close it.
For anyone else who runs into this, use the following:
compile('com.wu-man:android-oauth-client:0.0.3') {
    exclude group: 'com.google.android', module: 'support-v4'
}

(For reference, I had 'com.google.support').


GPG signatures for source validation

As we all know, today more than ever before, it is crucial to be able to trust our computing environments. One of the main difficulties that package maintainers of Linux distributions face, is the difficulty to verify the authenticity and the integrity of the source code.
The Arch Linux team would appreciate it if you would provide us GPG signatures in order to verify easily and quickly of your source code releases.
Overview of the required tasks:

Please create and/or use a 4096-bit RSA keypair for the file signing
The key may be used for email encryption too
Keep your key secret, use a strong unique passphrase for the key
Sign every new commit by default
Sign new tags
Verify the Github Release tarball download against your local source
Sign Github Release tarballs

Additional Information:

https://help.github.com/categories/gpg/
https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work
https://www.qubes-os.org/doc/verifying-signatures/
https://developers.google.com/web/fundamentals/security/encrypt-in-transit/why-https

Thanks.

Thanks for the feedback! We're aware of the benefits of encryption and digital signatures. Many of our more prolific contributors, including myself, have adopted configurations where their contributions are digitally signed. We use HTTPS connections as much as possible. And we will continue to expand our use of encryption and digital signatures where it makes sense.
However:

Requiring that all commits be digitally signed would put a heavy burden on brand new contributors, potentially preventing some from contributing at all, for very little real benefit
Digitally signing tags provides no benefit
Digitally signing released tarballs can provide some benefit if they are stored after they are downloaded but since you can always download a tarball from a verifiable secure connection via HTTPS, it is unclear whether this is of enough benefit to balance out the maintenance overhead to our build process

I've brought your requests up to the team and we will periodically review our practices to see if any of these factors change.
Thanks again for your feedback!

I think you are partly right, that not everyone will understand the needs of PGP, even for "just" adding smaller changes. However the more we use GPG, the more people will understand its needs and also how easy it is too use and how much we can gain from that.
HTTPS downloads are very important, however this still does not solve the problem fully. I think that an official pgp signature for every release would not hurt too much. It is common practice to sign software sources. As Linux distribution it is extremely difficult to provide the user with safe built packages. And gpg is the only real solution that covers this. Please consider to at least sign every major release with gpg.
Thanks for taking the time and also giving back feedback :)

Huh, found this via the NicoHood Wall of Shame.
Some observations:

Requiring that everyone sign every commit is not necessary. The goal of digitally signing the development history is fulfilled as long as direct commits are signed by a trusted Atom developer, and external contributions are merged via a merge commit that was signed by a trusted Atom developer (this does require merging via the command line rather than the button on the website). Joe Contributor's signature doesn't actually tell us anything useful regarding the Atom project anyway. 😄 That being said, it certainly isn't a bad thing if they do!
This does ensure that the latest HEAD commit is always signed, which is useful for the atom-editor-git package. The next minor release 5.1 of makepkg (used for creating Arch Linux packages) supports verifying the GPG signature of the commit or tag used as the git source for building the package, assuming that upstream projects actually commit to a policy of ensuring that all commits merged/pushed to master are actually signed by the GPG keys listed as the release signing keys for said project.
Digitally signing tags provides a benefit to anyone looking to build Atom from a tagged release in their git clone of the repository. For example, the Arch Linux package for electron is built from a git clone, since the build process makes heavy use of submodules. (Arch Linux packages can use git repositories as the package source.) As it happens, Atom is built from the release tarball...
Digitally signing release tarballs, provides the general benefit of GPG over mere transport encryption. As long as the GPG signing key is securely held by a person who knows what they are doing, it tells you that your HTTPS connection was neither hacked nor rendered moot by a server-side hack. It also tells you that in the unlikely case that Github Inc. somehow goes rogue and cuts off commit access to the developers and generally starts messing with the project source code, they cannot replace stuff with malicious content, without again failing the GPG validity check. HTTPS tells you nothing, except that the download transport and only the download transport was encrypted with an SSL certificate issued by a generically trusted provider.

Even though we may not agree on things, I appreciate that @NicoHood was respectful in both their post here and their treatment on the listing linked above.
Starting off a conversation by calling shame is not respectful and does nothing to convince me that I want to work with the person treating people that way.

I intend no shaming. 😄 I just wanted to clarify what GPG signing would actually entail, and possibly be a little less extreme than NicoHood.  (No need to persecute third-party contributors over it, for one.)
As for the wall of shame, I have no idea why NicoHood wants to shame people, but if you follow his links to e.g. JoeLametta/whipper#77 and hyperion-project/hyperion#730 that is certainly what he seems to be doing... I find it amusing in a vaguely-horrifying manner. But you are definitely being shamed.

Just about the "shame" part. You are right and this was removed long time ago. I learned from that. I will no longer call it shame, but I will track unsigned packages as its a possible risk at the packaging stage. The whole project will be a way more detailed analysis of all ArchLinux packages. Its goal is to secure every package as best as possible and to encourage other developers to also sign their sources.
I hope we can see GPG signed atom releases in the future as we all wish a secure operating system.


[SSL/TLS] Remove resolved caveat in total-tls/enable.md

Summary
Total TLS now allows users to change the CA without first disabling the feature.

If we could wait to merge this until next week that'd be great.

Looks like it works... but still shows an error message?

@kodster28 - Sorry about that we had rolled back the change temporarily, but it's back out now.


Explore fine-grained reactivity

One thing I'd like to do is explore various different flavors of reactivity in Quill. Tweaking the reactive algorithms in Quill should be relatively easy, because reactivity is actually a fairly small portion of the library.
Right now, reactive update granularity is modeled after React.js. The reactive tracking context is tightly coupled with the presenter state. This means is that a "reaction" updates an entire presenter state. That is, any data source that is referenced within the body of a presenter function is tracked, and when that data notifies of a change, the entire presenter is re-run.
A different kind of reactive granularity worth exploring is the one used by Solid.js. In this model, reactive updates don't cause the entire widget to re-render; instead you could have individual Views, or even individual attributes of views, be separate reactions.

A downside of the React strategy is that the presenter is always run, and the view hierarchy rebuilt, each time there's a change notification - even if the data didn't actually change. (Change notifications can happen via .get_mut() for example.)
Consider memoization (such as React's useMemo hook). In order to compute the memoized result, we need to run the memo computation - which can only be done by re-running the presenter function which contains that hook. Even if the memo reports that the data is the same as before, you still have to re-run the whole presenter.
Solid's memos work differently: A memo function can re-run independently of its enclosing function, because memo functions are long-lived. This means that you can first decide if the data actually changed, and only then decide if you need to re-render.
Solid also has fewer restrictions on nesting: you can have effects inside of effects, memos inside of effects and so on. That's because each effect and each memo has its own reactive tracking context, which is not tied to a UI component.
However, in order to make this work you need reactive tracking contexts that are not tied to UI widgets. And these tracking contexts need an ownership and lifetime model that allows them to be disposed when they are no longer needed. This is a hard problem in Bevy because long-lived objects have to live in the ECS world.
Also, the Solid approach is much more reliant on closures. In the React model, you can use data sources as regular local variables, because you know that the whole function is going to get re-run, which means the local variables will get re-bound to new values. In Solid, this is not true: because we're not re-running the function every time the data changes, local variables will not be bound to new values - so those local variables need to be getters/setters rather than just plain variables. Making them getters/setters allows the updated values to be accessed without rebinding the local variables.
This in turn means that we now have to pass around getters/setters everywhere, which is easy in a GC language but hard in Rust.

Punting on this for now, the current model seems to work well enough.


OCPBUGS-42434: Update Azure CLI to Handle Authenticating with Service Principal Backed by Certificates

What this PR does / why we need it:
This PR updates the Azure CLI to handle authenticating with Service Principal (SP) backed by certificates.
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/test all

/retest

/test e2e-aks

/lgtm

/hold

Hold for https://github.com/openshift/hypershift/pull/4963 to merge

/hold cancel

test e2e-aws-4-17

/test e2e-aws-4-17

/lgtm


Warn when installing from master using GitHub/Bitbucket

It's a bad practice to install code that can mutate. We should alert people as much as possible.

Released: https://github.com/typings/typings/releases/tag/v0.7.6


Templated classes

Hi, I really like this small library - it allowed me to prepare bindings for my scripting language and automate this process with just a bit of meta annotations on my C++ classes. One thing I couldn't get to work is annotating templated classes - I mainly use it as templated base class to some classes that are registered to scripting. Would it be possible to parse this information too using header-parser?

I went ahead and implemented a simple solution in PR #4 . Would that be good enough for you? If so, I'll merge that.

Wow, that was fast :) Thanks! Yeah I needed a way to parse templated classes - somehow with a class like this:
template<class T>
class myClass {}

it would parse only template token and skip the class. If your change makes it possible to get to that templated class, and having template params info - that's perfect!
One last thing that I was wondering is - parsing the inheritance information - when registring classes for scripting in my case, some of them have base class that should be registered together with the derived class (so basically for every derived class, scripting language I use requires me to register both: derived and parent class). If I could establish a link between these classes it would be trivial to register them together - right now I need to provide some meta info on top of that rather than infer it from inheritance.
But this would be cherry on top - the template parsing will work great. I tried to look into the parser but couldn't figure out how to add this easily.  I will try this today and give some feedback.

Wow, that was fast :) Thanks! Yeah I needed a way to parse templated classes - somehow with a class like this:
template
class myClass {}
it would parse only template token and skip the class. If your change makes it possible to get to that templated class, and having template params info - that's perfect!
I tried to look into the parser but couldn't figure out how to add this easily. I will try this today and give some feedback.

I checked and it works great and as expected, thanks! While we're discussing improvements - is there any particular reason why -c switch is limited to single entry? I found it useful to have more macros that annotate the class - I could use some meta info within the same macro but it looks much more transpartent when using macro name. I changed it locally as it was switching from single to multiple arguments and vector search rather than string comparison - maybe it would be worth to remove this limitation?

Great! Ill merge the PR in that case. There is no particular reason to limit -c (or any switch for that matter) to a single entry. Since you already wrote the code could you submit a PR for it?


[Routing] App ignores _format parameter and prints output in xml / json

I'm adding comments to sylius package and it is not understanding html _format parameter. It doesnt print error, instead it siletly falls back to xml (or json if requested with ajax).

well, if your app ignores the format, it is a bug in your app IMO


WaldorfCluj page and scraper doesn't work. Warning sign appear!

ENVIRONMENT:
https://admin.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
Enter URL in browser
Go to "https://admin.peviitor.ro/" and check "Waldofrcluj"
Click on "Vizualizare joburi"
Check diagram / graphic for run of scraper
Clikc on button "Scaperi"
Click on "Scrapy_peviitor_jobs"
Go to scarer "waldorfcluj_spider.py"
Click on ruleaza
EXPECTED RESULTS:
Diagram show scraper work for curent day.
Scraper run.
ACTUAL RESULTS:
Diagram / graphic is not valid, scraper dosen't work - see below screenshot:

Scraper dosen't work:

On 14.12.2024 same error appear. Nothing change until now.


Interacting with Large Language Models

In preparation for moving repositories to public view, we need the following task to be completed:

[x] Is the main readme complete?
[ ] Is the designer EN- powerpoint added to the repo with the correct AKA?
[x] Has the author confirmed that there are not secrets/confidential info in the repo?
[x] Has the Responsible AI verbage been added to the README?
[x] Has the author confirmed the slides are accurate

These tasks can be tracked in the linked project issue, or at the principal list linked here
Once all tasks are completed, this issue can be closed, and the status marked as done.

@ambanks is this still blocked? Where are we at with getting this finished up?


Form is not fully robust to updating documentation and default tag in rare cases

Describe the bug
As discussed in #1096, there are ways to break the Form updating logic for default struct tags and field documentation.
How to reproduce
If you set the struct of a Form to a struct that is otherwise the same but has different default struct tags or different documentation, it will not update accordingly, since the default tags and documentation are only computed in an init function, which will not be called again if the name, type, and index of the field do not change. That is an exceedingly rare possibility and not worth fixing now, but we should fix it eventually; all of the doc, readOnlyTag, def, hasDef variables etc need to be recomputed every time in every relevant nested closures instead of just being computed once in an init function.
Example code
No response
Relevant output
No response
Platform
macOS

#1389 did not fix this rare issue as discussed here: https://github.com/cogentcore/core/pull/1389#discussion_r1896472635.


Add files via upload

My teammate: https://github.com/raymundlin/threathunting202309/blob/main/M11209803%2CLottienghiem.yaml
Checks

[ ] Your YAML file has required fields as listed in Specs
[ ] All checks have passed yaml-lint passed
[ ] You agree to contribute your work under MIT license

Shodan did wrong. You should not search malwarebytes, you should search a port or other keyword instead of domains.
Firepit not shown. Splint output is shown, but firepit is missing.
Only [A]chieved granted.