Stack traces in debug mode point to JavaScript instead of Dart

This started happening as a result of the following two changes:

https://github.com/flutter/flutter/pull/50365 - this was the first change that broke debug stack traces: the breakage was fatal, we weren't able to toString stack traces at all.
https://github.com/flutter/flutter/pull/50702 - partially fixes the problem: we can toString stack traces, but the output of toString is incorrect. More details below.

Currently the stack traces point JavaScript code instead of Dart. Example:
Expected:
StackFrame(#-1, package:web_integration/stack_trace.dart:120:3, className: <unknown>, method: baz)
StackFrame(#-1, package:web_integration/stack_trace.dart:115:3, className: <unknown>, method: bar)
StackFrame(#-1, package:web_integration/stack_trace.dart:110:3, className: <unknown>, method: foo)
Actual:
StackFrame(#-1, package:web_integration/stack_trace.dart.lib.js:138:15, className: <unknown>, method: baz)
StackFrame(#-1, package:web_integration/stack_trace.dart.lib.js:135:17, className: <unknown>, method: bar)
StackFrame(#-1, package:web_integration/stack_trace.dart.lib.js:132:17, className: <unknown>, method: foo)

Temporarily I will add a test that matches current behavior (see https://github.com/flutter/flutter/pull/50652), but I'll leave a TODO to change the test.
/cc @jonahwilliams

The issue currently is that all of trackLibraries calls used to map module name -> source map are null:
  dart.defineLazy(actions$.SelectAction, {
    /*actions$.SelectAction.key*/get key() {
      return C1158 || CT.C1158;
    }
  });
  dart.trackLibraries("null", {
    "package:flutter/src/widgets/widget_span.dart": widget_span,
    "package:flutter/src/widgets/table.dart": table$,
    "package:flutter/src/widgets/inherited_model.dart": inherited_model,
    "package:flutter/src/widgets/widget_inspector.dart": widget_inspector,
    "package:flutter/src/widgets/title.dart": title$,
     ...
}

This is likely due to a misconfiguration with or in the frontend_server

Even with a very simple configuration, I can repro track libraries as null issue:
/Users/jonahwilliams/Documents/flutter/bin/cache/dart-sdk/bin/dart /Users/jonahwilliams/Documents/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/jonahwilliams/Documents/flutter/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc -Ddart.developer.causal_async_stacks=true --output-dill
/var/folders/sq/vd7vtp0j60ld19wt58vg7n5c00c4f_/T/flutter_tool.nyPVEO/app.dill --packages /Users/jonahwilliams/Documents/flutter/examples/hello_world/.packages -Ddart.vm.profile=false
-Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --platform file:///Users/jonahwilliams/Documents/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill

fyi @jakemac53

(There is a second issue that the bootstrap script is mapping file name to module name, but that is quite minor). The fix for this locally is:
@@ -194,7 +194,13 @@ define("main_module.bootstrap", ["$entrypoint", "dart_sdk"], function(app, dart_
       function(url) {
         url = url.replace(baseUrl, '/');
         var module = window.\$dartLoader.urlToModuleId.get(url);
-        if (!module) return null;
+        if (!module) {
+          if (url.endsWith('dart_sdk.js')) {
+            module = 'dart_sdk';
+          } else {
+            module = 'packages' + url.split('packages')[1].split('.')[0];
+          }
+        }
         return dart.getSourceMap(module);

Note that the bootstrap logic has been updated and pushed into package:dwds - see https://github.com/dart-lang/webdev/pull/898

Can we assign someone to this issue? It's pretty serious as you cannot debug an app in Dart any more.
BTW, when the fix rolls in, it will, expectedly, break this test: https://github.com/flutter/flutter/blob/master/dev/integration_tests/web/lib/stack_trace.dart. The test will need to be updated to reflect the correct stack trace format.
/cc @vsmenon

I think this is currently fixed in dart, and requires a minor change in the tool when the roll happens. I'll take care of the later part

The roll shouldn't break the test, because there is a required secondary tool change needed

The fix for this has rolled into the engine, currently waiting on a framework roll

Has this made it's way into production yet? I still am unable to view references to dart files in the stack traces for web. I'm on Flutter 2.2.1

Has this made it's way into production yet? I still am unable to view references to dart files in the stack traces for web. I'm on Flutter 2.2.1

I recently upgraded to 2.2.1 and had this issue pop up. Perhaps it was reintroduced? My stack traces point to .js files, but only if the error is thrown from inside an event listener.

Does anyone have a solution for this?
this issue still exists on latest flutter version
Flutter 2.4.0-0.0.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision 96bbcd006f (12 days ago) • 2021-06-30 03:43:41 -0400
Engine • revision c633b2a6a0
Tools • Dart 2.14.0 (build 2.14.0-258.0.dev)
This issue causes lot of negative effect in productivity & I'm thinking about switching back to js framework.
Flutter team should take this issue seriously.

Please open a new issue with repros.  This is very likely to be a different underlying problem.
FWIW, if I run the counter sample from VSCode on Chrome and add an exception to _incrementCounter, I see a mapped stack trace (tip-of-tree flutter build) in the VSCode debug console:
════════ Exception caught by gesture ═══════════════════════════════════════════
The following message was thrown while handling a gesture:
An error

When the exception was thrown, this was the stack
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49  throw_
packages/counter/main.dart 59:7                                               <fn>
packages/flutter/src/widgets/framework.dart 1088:30                           setState
packages/counter/main.dart 52:5                                               [_incrementCounter]
packages/flutter/src/material/ink_well.dart 989:21                            [_handleTap]
packages/flutter/src/gestures/recognizer.dart 193:24                          invokeCallback
packages/flutter/src/gestures/tap.dart 608:48                                 handleTapUp
packages/flutter/src/gestures/tap.dart 296:5                                  [_checkUp]
packages/flutter/src/gestures/tap.dart 267:7                                  acceptGesture
packages/flutter/src/gestures/arena.dart 157:12                               sweep
packages/flutter/src/gestures/binding.dart 444:20                             handleEvent
packages/flutter/src/gestures/binding.dart 420:14                             dispatchEvent
packages/flutter/src/rendering/binding.dart 289:11                            dispatchEvent
packages/flutter/src/gestures/binding.dart 374:7                              [_handlePointerEventImmediately]
packages/flutter/src/gestures/binding.dart 338:5                              handlePointerEvent
packages/flutter/src/gestures/binding.dart 296:7                              [_flushPointerEventQueue]
packages/flutter/src/gestures/binding.dart 279:32                             [_handlePointerDataPacket]
lib/_engine/engine/platform_dispatcher.dart 989:13                            invoke1
lib/_engine/engine/platform_dispatcher.dart 176:5                             invokeOnPointerDataPacket
lib/_engine/engine/pointer_binding.dart 129:39                                [_onPointerData]
lib/_engine/engine/pointer_binding.dart 554:18                                <fn>
lib/_engine/engine/pointer_binding.dart 507:21                                <fn>
lib/_engine/engine/pointer_binding.dart 215:16                                <fn>
Handler: "onTap"
Recognizer: TapGestureRecognizer#11730
    debugOwner: GestureDetector
    state: ready
    won arena
    finalPosition: Offset(1749.2, 872.1)
    finalLocalPosition: Offset(25.2, 42.1)
    button: 1
    sent tap down
════════════════════════════════════════════════════════════════════════════════


Dota 2 CDN icon links for snapfire and void spirit are missing

The following two links currently return a 404:
http://cdn.dota2.com/apps/dota2/images/heroes/void_spirit_icon.png
http://cdn.dota2.com/apps/dota2/images/heroes/snapfire_icon.png
The corresponding _lg/_sb/_full links resolve correctly, it seems like it's just the hero icons that are missing

Leaving this issue open to track this, but I'm going to patch by dropping the icons into the odota/web repo.

It seems that those icon are still missing...

Yeah, not available on https://steamcdn-a.akamaihd.net/apps/dota2/images/heroes/void_spirit_icon.png either

BUMP

Today I have accidentally found that full images are available:
https://steamcdn-a.akamaihd.net/apps/dota2/images/heroes/void_spirit_full.png
https://steamcdn-a.akamaihd.net/apps/dota2/images/heroes/hoodwink_full.png
But icons are still not, for some reason...

Today I have accidentally found that full images are available:
https://steamcdn-a.akamaihd.net/apps/dota2/images/heroes/void_spirit_full.png
https://steamcdn-a.akamaihd.net/apps/dota2/images/heroes/hoodwink_full.png
But icons are still not, for some reason...

This seems to be fixed now


Solve third problem of homework 3

Closed by https://github.com/FavioVazquez/Electrodinamica-Clasica-PCF/commit/4b413d65ade249026ee60dc1c31ed98e1eca2920.


Missing docker image for 0.23.1 on https://hub.docker.com/r/crystallang/crystal/

Hi,
according to the docker hub no docker image of the current Crystal version 0.23.1 has been pushed.
Is this on purpose?
Kind regards,
Peter

Hi @splattael! Sorry about that.
I've done the 0.23.1 release, focused too much on the distros, and completely forgot about the Docker image.
I'll try to slip this into my day today or tomorrow, and certainly will add this to the backlog of Things To Improve On The Release Process™.
Let you know whenever I got any news 👍

@splattael - I've just pushed the 0.23.1 tag.
If you can check if it's working OK, please share the feedback so I update the latest tag too. Never done this before, so not sure if I'm doing anything wrong, he.
Thanks for the heads up!

@matiasgarciaisaia Thanks for pushing :+1: Look great so far!
During crystal build --release I get the following error:
/usr/bin/crystal build --release /builds/scoreboard/scoreboard.cr/spec/integration/server.cr --link-flags "-static" -o /builds/scoreboard/scoreboard.cr/bin/test-server
crystal: /var/cache/omnibus/src/llvm/llvm-3.8.1.src/lib/CodeGen/LexicalScopes.cpp:160: llvm::LexicalScope* llvm::LexicalScopes::getOrCreateRegularScope(const llvm::DILocalScope*): Assertion `cast<DISubprogram>(Scope)->describes(MF->getFunction())' failed.
/usr/bin/crystal: line 102:   172 Aborted                 (core dumped) "$INSTALL_DIR/embedded/bin/crystal" "$@"
make: *** [test-release] Error 134

I think it's related to #4719.
Using crystal --release --no-debug (as suggested) works well though.

Yeah - that's a 0.23.1 issue.
I've pushed 0.23.1 as latest - closing the issue now!


Test for CMul_backward failing

Ok, this is CMul, not CMulTable, and CMul doesnt claim to be implemented yet
=> closing.


Link fix attempt 3 = - =

Hopefully this time will be fixed

Changes Unknown when pulling f0ca1977c503b617e2d9e6e4588b252fca786ccf on scottmo/READMELinkFix3 into ** on master**.


pull request for e2e test at 01/04/2017 07:45:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


XDG base directory support

See http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
For tmuxinator, it would mean use ~/.config/tmuxinator instead of/in addition to ~/.tmuxinator/. It should not be difficult to add.

To be pedantic: It should be $XDG_CONFIG_HOME/tmuxinator, with $XDG_CONFIG_HOME defaulting to ~/.config if unset. I think I can do this myself, if you are open to the change.

@suy i can only speak for myself, but I'm open to the change, but in all honesty I don't know much about XDG and all that.  Some questions that would need to be addressed may be:

Besides conforming to standard, does this buy us anything?
What cost (e.g. complexity, etc.) do we pay for this?
How would this affect non-XDG operating systems?

In all honesty, while I am generally in favor of conforming to standards, I have bigger fish to fry, so I personally wasn't going to take this on (simple though it may be) in part because I don't know much about the context.  But I'm not against it either, should someone want to make a FOSS contribution.

For me, this would make my dotfiles repo much simpler. I'd essentially just have to clone into ~/.config.

Suggestion on how to implement:

Look at $XDG_CONFIG_HOME if it's set and not empty, or else ~/.config/. If tmuxinator dir (no dot) is there, use it.
Else use ~/.tmuxinator if it exists.
Else there's no config dir, so create create it in the first location.
If the first location doesn't exist, create it in home.

This is similar to how git config searches, and it's nice because users who don't want to organize with XDG don't even have to know about it. (Git config also has a custom env var that has higher priority.)
With this done, I think mux doctor should also report where the config dir is.

@ncoop That sounds reasonable. In all honesty, I hate $HOME being crowded with dotfiles, so moving to using the .config directory seems ideal. I'll try to make time to start on this today.

There's one more case where tmuxinator also supports looking at the current directory for a .tmuxinator.yml file.

Today I learned there's a gem to facilitate this:
https://rubyworks.github.io/xdg/

What to do if both $HOME/.tmuxinator and $XDG_CONFIG_HOME/.tmuxinator exist?
Options:

Take the git approach: process $XDG_CONFIG_HOME/.tmuxinator first, then override with any settings found in $HOME/.tmuxinator

Warn that  $HOME/.tmuxinator exists and only $XDG_CONFIG_HOME/.tmuxinator will be used

Error and let the user sort it out

Option (1) is probably the hardest to implement but most inter-operable with (e.g.) existing scripts.
Would the project accept a pull-request for Options (2) or (3)?

I want 3, but I'll take 2 as a temporary step to 3. If 1 is implemented, I will forget I have both and wonder why some change isn't taking effect.

Yeah, I think you should warning for a bit then error.

@geowa4 you're right about (1 - git style) - I sometimes get strange behaviour when I copy $XDG_CONFIG_HOME/git/config to ~/.gitconfig +
Let's say we (2) warn for now, how could we implement this in a way that allows transition to (3) erroring?
If a easy transition (for the users) is not possible, and erroring is the end goal, perhaps it's best to take a bit longer and exhibit that behaviour from the get-go?
+ Why you ask? Because I manage this ~300 line file in my dotfiles git repository [which tries to follow XDG base dirs].

I'm working on implementing this currently, and am going for option (1) so as to not break current behaviour.
When looking for a project called project, the current behaviour is to return the first filename found in:

A search of ~/.tmuxinator/ and all its subdirectories for the first file named project.yml
./tmuxinator.yml

There is no warning currently if a duplicate situation exists. I'm not saying that this is the desired behaviour, but I don't want to do more than resolve this issue and #462 at the moment.
I am writing a test to document this previously undocumented "first found" behaviour however.

I trust that you've now had time to check out #479.
What is the process for getting this merged in?

Closed via #511 and #549.


Fix readme yaml

what

Fix readme yaml

why

There were empty settings after getting rid of multiple docs in README.yaml

references

https://github.com/cloudposse/terraform-example-module/pull/71/files

/terratest


Don't use selective import in std.math due to DMD issue 314.

This fixes a small mistake I made in #3888.

Auto-merge toggled on


{Core} Make command index case-insensitive for lookup

Description

Close #27497
Knack is case-insensitive when parsing command:
https://github.com/microsoft/knack/blob/e0c14114aea5e4416c70a77623e403773aba73a8/knack/invocation.py#L85C1-L87
az version and az Version should produce same result.
For now, Version is not in CommandIndex, and it lead to a index rebuild.
Before:
cli.knack.cli: Command arguments: ['Version', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x01AEA460>, <function OutputProducer.on_global_arguments at 0x01CED6A0>, <function CLIQuery.on_global_arguments at 0x01D082F8>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Command index version or cloud profile is invalid or doesn't match the current command.
cli.azure.cli.core: Command index has been invalidated.
cli.azure.cli.core: No module found from index for '['Version', '--debug']'
cli.azure.cli.core: Loading all modules and extensions

After:
cli.knack.cli: Command arguments: ['Version', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x000001C70B987EC0>, <function OutputProducer.on_global_arguments at 0x000001C70BABB920>, <function CLIQuery.on_global_arguments at 0x000001C70BAF56C0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'version': ['azure.cli.command_modules.util']

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Core

All our documents use lower case for command names, such as https://learn.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest#az-version()
The in-tool help does the same:
> az version -h

Command
    az version : Show the versions of Azure CLI modules and extensions in JSON format by default or
    format configured by --output.

Handling command written as az vErSiOn is a better-to-have feature, but not a must-have.

Handling command written as az vErSiOn is a better-to-have feature, but not a must-have.

Agreed. But then I'd like a warning at the least.
I find myself adopting the casing standards of the scripting language I'm in. In PowerShell that's PascalCased. This results in a 1 minute perf penalty in the Windows hosted runner of Azure Pipelines and GitHub Actions.
I've also found that auto-correct and the office 365 grammar extension and tools like Grammarly will change the casing of words when using the web based text editors in GetHub and Azure DevOps. Especially acsonyms like devops tend to get auto-corrected.


Reserved Characters in SSML

If the text contains reserved characters (<>&"') it won't work. Using a simple escape function solves the issue:

Thanks! As mentioned in the README I recommend you use an xml sanitizer/escape library. I see that it would be more logical to include this functionality in this library itself (but not in the 'raw' methods)

Oh you're right! I didn't notice that in the README. Thanks.


Update all pipelines to use external cf resource which currently use it as a builtin resource

In order to bump to concourse v7.10.0, we need to modify all the existing pipelines which use the cf resource to point to an external resource as it has been deprecated in the newer version.
Acceptance Criteria

[ ] No pipelines use a concourse resource called type: cf

Security considerations
We need this to keep patching concourse going forward
Implementation sketch

[ ] find all pipelines with type: cf
[ ] Update the reference to something like type: cf-external and add a block similar to:

resource_types:
- name: cf-external
  source:
    repository: cloudfoundry-community/cf-resource
    tag: latest
  type: docker-image

[ ] remove pinned version in concourse, redeploy stage/prod, rerun ip tables jobs

Helper script to download all the pipelines and then use editor of choice to skim for type: cf:
for PIPE in $(fly -t cloud.gov pipelines --json | jq -r ".[].name")
do
    echo "Pipeline: $PIPE"
    fly -t cloud.gov get-pipeline -p $PIPE > $PIPE.yml
done

Change your fly -t cloud.gov... to match whatever fly alias you have locally

Done - Concourse is now on latest


Example usage

Type
documentation

Description

Added a comprehensive "Example usage" section detailing both manual and automatic invocation of the describe tool.
Provided instructions and examples for manual invocation, including how to use configurations.
Outlined steps to set up automatic invocation of the describe tool upon PR opening, including necessary configurations.
Updated and expanded the "Configuration options" section with more detailed examples and explanations.

Changes walkthrough
Relevant filesDocumentation

describe.mdEnhanced Documentation for Manual and Automatic Invocation of Describe Tool

docs/docs/tools/describe.md
Introduced a new section "Example usage" with manual and automatic invocation instructions.  Added details on how to manually invoke the tool with /describe command and configurations.  Explained automatic invocation setup via a configuration file.  Updated the "Configuration options" section with general configurations and an example.

+31/-6

✨ PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

/review auto_approve


Conditional relationships

It would be really nice if relations could be added to the presenter based on if they're already loaded on the model or not (just like https://laravel.com/docs/7.x/eloquent-resources#conditional-relationships).
This issue is just for discussing the behavior. Possibly, I'll create a PR soon.

Hi @zepfietje, could you give me an idea of the syntax that you'd want here?  For example do you want to use a presenter with a nested relation but only when that relation is loaded.  E.g:
// in PostsPresenter
public function values(): array
    {
        return [
            'id' => $this->id,
            'title' => $this->title,
            'comments' => CommentsPresenter::make($this->whenLoaded('comments')),
        ];
    }

It's worth pointing out that you can sort of pull this off to a degree using the lazy method e.g.
'comments' => $this->lazy(CommentsPresenter::make($this->comments)),

This will only evaluate the comments key when it's actually requested (meaning that you can choose not to load the relation and you won't get any errors about the relation not existing if you do not call for that key).  That does still rely on you (as the developer) being aware of which relationships you've loaded when calling presenters though so I'll admit it introduces more cognitive load than the approach in Laravel Resources.
I like the idea though realistically it'll be about another month before I can put time towards this so feel free to submit a PR if you end up whipping up something.

Hi @fourstacks,
The syntax I envisioned is exactly as you showed in your first example and as available in Laravel Resources. I already knew about the lazy method, but indeed think it would be a cool addition to be able to handle the conditional relationships in the presenter instead of having to specify relations using the only and except methods.
We'd still have to figure out what's the best way for conditional relationships to work in conjunction with only and except (which overrules which?).
I'll try to implement it when I can find the time!

Hey @zepfietje - just to let you know that there's now a whenLoaded method in v1.2.1.  It works broadly the same way as it does in API resources just without the additional parameters that the framework method accepts (the presenter version just takes the relationship name).
It's tested but let me know if you run into any problems with it :)

@fourstacks, thanks! Looks good. Only thing to note is that when the relation is not loaded and you're using whenLoaded, the relation key is included but the value is null. When using only, the key is omitted entirely. I know this behavior is as designed and probably not such a big problem, but still wanted to mention it. Thanks again for implementing this so quickly!

@zepfietje no problem!
Regarding your comment about relation loading I'm not sure that's quite the behaviour in eloquent models.
If you do not load the relation (either using Post::with('comments')->find(1) or $post->load('comments') then the relation will not appear in the relations property of the model.
E.g. if I were to dd($post) I'd see this amongst the keys:
...
  #relations: []
...

However if I load the relation but there are no related models I'd see this if it's a to-one type of relation:
...
  #relations: [
    'author' => null
  ]
...

Or this for a one to many type of relation:
...
  #relations: [
    'comments' => Illuminate\Database\Eloquent\Collection] {
      #items: []
    }
  ]
...

However that has thrown up an interesting issue - I'd be interested to get your take on it seeing as you're also wanting to use this method:
So if dealing with a to-one type of relation:
'author' => UserPresenter::make($this->whenLoaded('author'))
This will yield null if the author relation is not loaded OR if it is loaded but there is no related model
Both return points are consistent so that's all good.  However consider this (a to-many relation type):
'comments' => CommentPresenter::collection($this->whenLoaded('comments'))
This will yield null if the comments relation is not loaded BUT if it will currently yield an empty array if it is loaded but there are no related comments.
My question is whether the return type should always be null if either the relationship is not loaded or it is loaded but no related models exist.  Would you prefer to deal with null or an empty array?

@fourstacks, interesting point.
I believe it makes sense to return null and [] when a relation is loaded but empty for a to-one and to-many relationship respectively. So the current behavior is perfect.
However, for the whenLoaded part I think it might be neat to omit the relation key entirely when it is not loaded, just like when using only(). This is also how Laravel Resources handle it, and according to your comment, Eloquent models go about it similarly.
In short, the current behavior regarding empty relations is perfect. But when whenLoaded is used and a relation is not loaded, the relation key should be omitted from the presenter entirely.

Ahh - gotcha!  Sorry, I misunderstood your previous message I think - apologies for the unnecessary explanation on the relations key within models - I can see now that's not what you were referring to.
OK, so  I think you're right - it makes sense to stick to the same convention used in API Resources where the key is omitted if the relation is not loaded.  I'll drop that change in asap and push up a new version.
Thanks for kicking this feature around with me - helps to have someone else sense check these things!

@fourstacks, no problem.
I'm more than happy to help. Let me know when you've implemented the change!

@zepfietje Just an update on this.  I've had a go at implementing the behaviour we outlined above but it's proving quite tricky to pull off - all my efforts so far have felt quite heavy handed (not to mention that none of them have actually worked across all contexts!).
At this point, this change would also technically be a breaking one so I think overall I might park this idea for now and perhaps revisit as and when a v2 makes sense.  If the feature is really important to you I'll happy take a look at a PR in the meantime though.
Thanks again for your help!

@fourstacks could you share your attempt? Might help me when I'll give it a shot.
Thanks for your efforts!

Afraid I nuked the work I'd done as it really wasn't heading anywhere I liked.  The general crux of the idea though was that if whenLoaded is called and the relation isn't loaded, the resource is set to a 'marker' class of some sort (rather than null) to make it clear that we're dealing with an unloaded relation (I created an empty class called MissingValue for instance).  I couldn't really work out how to stop this from blowing things up in the get method though and I was changing more and more code in an attempt to get things to work which just felt wrong for such a small feature/change.
Hope that's of some (limited) help!


Enormous apk size increase (9MB -> 150MB)

Something is wrong with the latest apk. This has also been talked about here https://github.com/Crazy-Marvin/MetadataRemover/issues/34#issuecomment-2231929176.
Size comparison:
v2.0.2: 9.29 MB
v2.0.3: 151 MB
More than 15x increase (!). Something's wrong, maybe a debug build was accidentally published or some recent commit added some unneccessarily large library?

We recently added the ability to remove metadata from some documents and videos that need some bigger dependencies.
Do you see any way to make the builds smaller, @Rashxz?

Yes, the increase is comming from the ffmpeg library, Ill see how to reduce the binary size.

I manage to build a new binary, new size per ABI is roughly 30 MB, universal APK is 40MB.

Yes, the increase is comming from the ffmpeg library, Ill see how to reduce the binary size.

I manage to build a new binary, new size per ABI is roughly 30 MB, universal APK is 40MB.

That's an improvement 👍
Still quite an increase and too big for Izzy's repo, but well done regardless.

Is it possible to get the same coverage by using using a different library, e.g., exiftool?  On termux, that's ¼ the installation size of ffmpeg.

@Rashxz The thing about ffmpeg (oh, did you see #117?) is that it's bit overkill for this project, since we don't need >90% of its capabilities here, & ffmpeg-kit doesn't seem to allow for modular import of just the needed sections, so that's just frustrating bloat.

@Rashxz Wait, maybe 1 can decrease that bloat.…  Did you see https://github.com/arthenica/ffmpeg-kit/wiki/How-to-Decrease-Binary-Size?

@Rashxz Wait, maybe 1 can decrease that bloat.… Did you see https://github.com/arthenica/ffmpeg-kit/wiki/How-to-Decrease-Binary-Size?

Yes, I build a new binary with everything stripped. As you can see in the Image, ffmpeg takes 6.9MB of the total size. The rest is coming from all the other dependencies, being the biggest ones apache poi (for libre office) and iText (for pdf).
I will take a look on the dependencies to see if theres room for improvement.

Yes, I build a new binary with everything stripped. As you can see in the Image, ffmpeg takes 6.9MB of the total size. The rest is coming from all the other dependencies, being the biggest ones apache poi (for libre office) and iText (for pdf).

@Rashxz I'm certain there's cheaper avenues to take for these.  For pdf, may I suggest qpdf as an alternative?  I will research for an alt for office docs, as well.

Yes, I build a new binary with everything stripped. As you can see in the Image, ffmpeg takes 6.9MB of the total size. The rest is coming from all the other dependencies, being the biggest ones apache poi (for libre office) and iText (for pdf).

I'll research for an alt for office docs, as well.

@Rashxz I wonder if a separate dedicated utility is actually needed for LO?  Per https://superuser.com/questions/1195338/what-metadata-does-a-libreoffice-file-contain-and-how-to-remove-it, it's matter of "just" deleting 1 file & 2 lines out of another out of the doc (as LO docs are actually zip archives of a certain structure)?

https://superuser.com/questions/1195338/what-metadata-does-a-libreoffice-file-contain-and-how-to-remove-it

Thanks

Yes, I build a new binary with everything stripped. As you can see in the Image, ffmpeg takes 6.9MB of the total size. The rest is coming from all the other dependencies, being the biggest ones apache poi (for libre office) and iText (for pdf).

@Rashxz I'm certain there's cheaper avenues to take for these. For pdf, may I suggest qpdf or cpdf as alternatives? I'll research for an alt for office docs, as well.

Thanks

Yes, I build a new binary with everything stripped. As you can see in the Image, ffmpeg takes 6.9MB of the total size. The rest is coming from all the other dependencies, being the biggest ones apache poi (for libre office) and iText (for pdf).

I'll research for an alt for office docs, as well.

@Rashxz I wonder if a separate dedicated utility is actually needed for LO? Per https://superuser.com/questions/1195338/what-metadata-does-a-libreoffice-file-contain-and-how-to-remove-it, it's matter of "just" deleting 1 file & 2 lines out of another out of the doc (as LO docs are actually zip archives of a certain structure).

Sorry, I did not specify it well in my previous comment, that library is not just for LO but also for Microsoft office docs.

@Rashxz How did https://github.com/Crazy-Marvin/MetadataRemover/commit/6928c9e100fd96e332f2e88ea0ee897d2fe0913f effect APK/installed size?

@Rashxz How did 6928c9e effect APK/installed size?

I think its a ~2MB increase

IIUC, https://github.com/Crazy-Marvin/MetadataRemover/issues/104#issuecomment-2270767530 notes all this is blocked from landing in F-droid, so no way to see these improvements for such users.


Bump transport version

$subject

Codecov Report

Merging #12706 into release-0.990.0 will increase coverage by <.01%.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##             release-0.990.0   #12706      +/-   ##
=====================================================
+ Coverage              59.85%   59.85%   +<.01%
  Complexity               659      659
=====================================================
  Files                   2065     2064       -1
  Lines                 101672   101625      -47
  Branches               12933    12932       -1
=====================================================
- Hits                   60851    60825      -26
+ Misses                 35627    35604      -23
- Partials                5194     5196       +2

Impacted Files
Coverage Δ
Complexity Δ

...va/org/ballerinalang/channels/ChannelRegistry.java
89.18% <0%> (-2.71%)
0% <0%> (ø)

...llerinalang/stdlib/socket/tcp/SelectorManager.java
72.32% <0%> (-1.79%)
0% <0%> (ø)

...rg/ballerinalang/net/http/WebSocketDispatcher.java
88.29% <0%> (-1.24%)
0% <0%> (ø)

...et/http/actions/httpclient/AbstractHTTPAction.java
78.01% <0%> (-0.87%)
0% <0%> (ø)

...ang/net/http/actions/websocketconnector/Close.java
75% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...rinalang/net/http/WebSocketOpenConnectionInfo.java
100% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...ang/net/http/WebSocketClientHandshakeListener.java

...java/org/ballerinalang/bre/bvm/BLangVMStructs.java
51.66% <0%> (+1.66%)
0% <0%> (ø)
:arrow_down:

...org/ballerinalang/bre/bvm/WaitCallbackHandler.java
84.4% <0%> (+1.83%)
0% <0%> (ø)
:arrow_down:

...net/http/websocketclientendpoint/InitEndpoint.java
80% <0%> (+2.64%)
0% <0%> (ø)
:arrow_down:

... and 4 more

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 cc3df49...121c757. Read the comment docs.


Fix #38: Kibana ops console is not accessible

Fixed url for PUBLIC_MASTER_URL to used the new environment variable __OS_PUBLIC_IP
Added KIBANA_OPS_HOSTNAME with the correct value to reduce the amount of code to be added by user when enablig OPS cluster
ES_OPS_CLUSTER_SIZE doesn't need to be set as it reuses the value of ES_CLUSTER_SIZE if not provided.

Hi Jorge, what is OPS?  Am i missing something to get Kibana to work?

Ops is a cluster for operations. It gets /var/log/messages and other host
related logs. Of no value in an allinone add you have access to the host,
given the amount of resources they consume. Good in clusters.
El 21 jul. 2016 22:08, "John Flynn Matthew"<EMAIL_ADDRESS>escribió:

Hi Jorge, what is OPS? Am i missing something to get Kibana to work?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/openshift-evangelists/vagrant-origin/pull/39#issuecomment-234368362,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEyDsdPSfXBnO86ecp49D7HV_lwDq5Jks5qX9GygaJpZM4JRp67
.


Feat/torus wallet sign and send transaction

add signAndSendTransaction API

Hmm, there's a problem with this. @toruslabs/solana-embed hasn't actually been updated (last published v0.2.2 ~2 months ago). This means that the TypeScript type, and the actual functionality, for the `signAndSendTransaction method, isn't there.
I also should have reviewed this PR more closely -- several of the TypeScript types are missing, so there's no way this code would have compiled. I'll be reverting this change on master. Please publish an updated version of the library, and make sure to test your implementation in a future PR.

Sorry, my fault.
The open PR suppose to merge to https://github.com/torusresearch/wallet-adapter


Parent ViewController == nil

i have leftside menu in my project . i had given "sw-rear "to my leftmenuVC . After clicking my menubutton i am getting ParentVC as nil.
    navigationItem.leftBarButtonItem = UIBarButtonItem(image: UIImage(named:"ic_menu"), style: UIBarButtonItemStyle.plain, target: self, action: #selector(menuButtonPressed))

@objc func menuButtonPressed()
    {
        if revealViewController() != nil{
            self.navigationItem.leftBarButtonItem?.target = self.revealViewController()
            self.navigationItem.leftBarButtonItem?.action = #selector(SWRevealViewController.revealToggle(_:))
            self.view.addGestureRecognizer(self.revealViewController().panGestureRecognizer())
        }

}

It is not sw-rear but sw_rear

by mistake i type here like that  but in project i mentioned correct.

What is ParentVC?

the parent should Come as SWRevealViewController

Main.storyboard.zip
This is my storyBoard. Can check and let me know the mistake that i did

I can't see a sw_front segue in your storyboard, how do you set the front view controller?


Add Odin support

https://github.com/odin-lang/Odin

Closed with https://github.com/adelarsq/vim-emoji-icon-theme/commit/6cbac822f2409835dcb13a00ba27353d142ab076


pgvector-go doesn't work with Go Atlas (Ent)

Let's say we have this Ent schema:
package schema

import (
	"entgo.io/ent"
	"entgo.io/ent/dialect"
	"entgo.io/ent/schema/field"
	"github.com/pgvector/pgvector-go"
)

type House struct {
	ent.Schema
}

func (House) Fields() []ent.Field {
	return []ent.Field{
		field.String("name"),
		field.Other("embedding", pgvector.Vector{}).
			SchemaType(map[string]string{
				dialect.Postgres: "vector(384)",
			}),
}

When we try to run the Go Atlas diff command:
atlas migrate diff migration_name \
  --dir "file://ent/migrate/migrations" \
  --to "ent://ent/schema" \
  --dev-url "docker+postgres://ankane/pgvector/dev?search_path=public"

We get the following error:
Error: create "house" table: pq: type "vector" does not exist

Hi @RobinLbt, that error means the extension hasn't been created in the database.

To create migrations with ent this may be helpful: https://github.com/ariga/atlas/discussions/3013#discussioncomment-10204955


Scripted sequences and scripted sentences don't play nicely together

It seems most of the time the scripted sequence will play with the Audio scripted sentences but no mouth sync and in rare cases it will do the lip syncing but not play animations
Is this due to the fact that scripted sequences override the animgraph???

facepunch/sbox-issues#2182
mouths are done in the animgraph so yeah until i can directly playback and control a node in the graph i can't do much without making everything messier than it already is


Infer SAML entity type from raw XML

Adds support for multiple inbound types of entity via the RawEntityDescriptor API. Previously the API was purpose-built to support IdPs.
Actual diff for this PR:
https://github.com/ausaccessfed/saml-service/compare/ausaccessfed:41cc77c...ausaccessfed:195b7bf
Needs a merge of #127, #128 before merging this.

Have checked over code looks fine to me. Also works for commissioning IdP / SP from my local testing. Over to @bradleybeddoes if he wants to check it out.


let .babelrc not be added to package

Coverage remained the same at 96.254% when pulling 299093d8d610696eb4ebe0cafc9f31f62eeb3701 on HsuTing:master into 2c3746eeb83df8a57617f862e167e3ea5d3c27b7 on FormidableLabs:master.

You don't want to add .babelrc to .npmignore in the repository itself, because this will break git-based installations. This is because in a git-based installation, npm pack equivalent is run, which will remove .npmignore-ed files, and here the .babelrc, which is necessary for the git version to actually build lib/ and dist/ from scratch.
We likely want to close this PR in favor of https://github.com/FormidableLabs/radium/issues/731 which will optimally, not have .babelrc in the npm registry version of Radium, but maintain it in git source.

Thats great. Im glad to hear that.

Closing this now that https://github.com/FormidableLabs/radium/pull/914 has landed.

@alexlande -- We actually still do have .babelrc in the npm published version: https://github.com/FormidableLabs/radium/blob/master/.npmignore.publishr#L2 and<EMAIL_ADDRESS>Should I remove that line?
/cc @HsuTing

Ah, yeah, I guess so. There's no valid reason for us to have it in npm versions, right? Nothing I can think of.

Only valid reason is if someone wanted to use<EMAIL_ADDRESS>instead of<EMAIL_ADDRESS>

Yeah, I'm good not considering that a valid use case 👍


Cannot initialise / publish a new project

Steps to reproduce:

create new empty project
VCS -> create git repo
add a new file and commit it to git
at this point, I do see the Radicle submenu, but I can't see "Initialise" or "Publish" in it. Trying "push" fails with "project is not initialised"

@Stelios123 This is a blocker for the current iteration.

You cant see under Git -> Radicle the Share Project On Radicle option?

@Stelios123 nope! :)


Check for type params of more classes in AkkaSerializabilityCheckerPluginComponent and DumpEventSchemaPluginComponent

Not sure what else (other than what's already in org.virtuslab.akkasaferserializer.SaferSerializerPluginComponent#newPhase -> genericsNames) to include, but I guess this can be checked systematically (reflection?) by going over type params of classes in akka and finding out which of them correspond to message/event/state types.

Do you mean like creating a custom, one-time usage plugin that would go over Hydra and collect references by generic arguments of @SerializabilityTrait?

Ideally, I'd rather go over all(-ish) classes in common Akka dependencies and see which of them have type params corresponding to messages/events/persistent state :goncern:

I know this might be hard to achieve tho, unless Akka is very rigorous about always naming type params in an unambiguous way; good news is that probably won't require any plugin, just basic reflection should be enough

I think it doesn't even need to a one-time tool, it can just live in this repository, to be used in future (maybe with some slight modifications if needed)

Ideally, I'd rather go over all(-ish) classes in common Akka dependencies and see which of them have type params corresponding to messages/events/persistent state :goncern:

I don't understand.
Type parameter is just a generic, nothing inherently links it to serialisation.

Type parameter is just a generic, nothing inherently links it to serialisation.

Yes, I agree that nothing about the type param links it serialization.
However, our purpose here is to detect the set of user-defined types that are messages, events and persistent state as accurately as possible.
AFAIK the reasonable way to do that is to see which types has been used as type parameters of types like akka.actor.typed.Behavior, akka.persistence.typed.scaladsl.Effect, which we already do... but also e.g. akka.actor.typed.ActorRef (which we don't so far :/).
In general, it's non-trivial to collect the entire such set of Akka-defined types... the clue that we can is the fact that in certain cases, these type params have explicit names, e.g.:
trait ReplyEffect[+Event, State] extends Effect[Event, State]

Although relying on type param names wouldn't work e.g. for akka.actor.typed.ActorRef:
trait ActorRef[-T] extends RecipientRef[T] with java.lang.Comparable[ActorRef[_]] with java.io.Serializable


Fix deprecation warnings for changed mutable accessors

BEGINRELEASENOTES

Fix deprecation warnings for getting mutable references, introduce in AIDASoft/podio#553

ENDRELEASENOTES

I think the ubuntu workflows should be fixed with the nightly tomorrow


DMN 1.3

Closes #1510

As discussed, @philippfromme will release updated dmn-js-properties-panel and include that as well as<EMAIL_ADDRESS>in the PR.


tcp eof in tranparent mitmproxy

I Installed mitmproxy on a separate intermediate machine and set it to be in transparent mode. Handshake proceeds correctly but I always got this alert message in the end.
I attach screenshot with messages seen in wireshark. Client Hello messages differ by two extensions: renegotiation and status request. Also in one case Server Hello answers with Session Ticket extension and in another without. Could this somehow influence on this alert? The third difference is in Certificate Request in one connection, but not in the other.
What steps do you suggest to find out what the problem is and how could I modify code for me so that everything works?
P.S.
On the picture:
.134 - client
.135 - server
.136 - mitmproxy
On the client I set up path to .135 through .136, and on .136 added iptables rule for Prerouting

By the way you have this as comment in source code:
Some TLS clients will not fail the handshake,
# but will immediately throw an "unexpected eof" error on the first read.
# The reason for this might be difficult to find, so we try to peek here to see if it
# raises ann error.
I think this is the case for me. How the error could be found?

The problem with mitmproxy on client is actually the same- alert message in the end of handshakes- tcp eof error

I called tcpdump on a loopback interface and got this picture:

Seems that only server sends the messages, but client does not respond.


Is it possible to get a dump of the LocalForage database?

I am working on a chrome extension and because of too many security limitations regarding the direct File System access, is it possible to get a dump of the localForage database for backup purposes?

Yes, in order to make a backup of the entire database you'd need to use the .keys() API and then likely the https://github.com/localForage/localForage-getItems method to generate a file in JS.

Oh okay. Will write a custom one then to generate the backup in JSON . Thanks!

Also depending on the size of your db, you might not want to make a single huge operation. So keep in mind that you can get the length() of the items in the db and then use iterate() to retrieve all the items and also use a counter to show a progress bar!

@thgreasi - Thanks a lot for the suggestions! I will use this in the solution :)


Failed: Update autorest version to prerelease 3.0.0-alpha.20241014.1

Generated by Autorest Regen Preview build 20241014.1Triggered from pull request: https://github.com/Azure/autorest.csharp/pull/5110

API change check
API changes are not detected in this pull request.

failure in mongocluster is fixed in https://github.com/Azure/azure-sdk-for-net/pull/46587

close in favor of #46690


Prepare for 0.9.2 NuGet packet

Is a new package still being planned?

Hi @mrapitis, I was very very busy the last months. We are building a house and did some of the work ourselves. I was hoping to finish this PR before that, but then I got sucked into the house thing 100%. We have just moved in provisionally, still a lot to do. But maybe I will have some time to work on this PR in a week or two. I also have a new PC (Ryzen 5950 yay!! looking forward to much faster compile times ;) ) and need to setup the dev env before even starting any serious work.

So, new PC is up and running. 0.9.2 NuGet package is released!


Issue for receipt validation in Android

Version of react-native-iap
5.2.11
Version of react-native
0.63.4
Platforms you faced the error (IOS or Android or both?)
Android
Tested environment (Emulator? Real Device?)
Real device
Steps to reproduce the behavior
const result = await RNIap.validateReceiptAndroid(
purchases.packageNameAndroid,
purchases.productId,
purchases.purchaseToken,
token,
true,
);
debugLog('result', result);
AccessToken
    'ya29.c.Kp0B8wcvHchb91nouXpvbj17Mu5w2Aev48E0eRXh0oyE-_8crm_7sLZB1n5ENCfgwshWPp9CWHRfCdKHUX9YLBgrITjJ52FcNPAZH6R5HXsvvZpn7LaTt-UB1szOdda4RbwVs9yY82zykCc_zl8Oe4QhWBI0bjrG0xN18Gf5qOVjVCt1-4D9zetO-BtvK6qw6TuuW0gHDgQ8ccjkUDvpnQ'

Error
           gives error Possible Unhandled Promise Rejection (id: 3): Error

Are you sure that the error is from validateReceiptAndroid?

https://github.com/dooboolab/react-native-iap/issues/1262#issuecomment-784280288
yes @hyochan this error is comming from this function call

Looks like you need to catch it. This is currently returning error

await RNIap.validateReceiptAndroid(
purchases.packageNameAndroid,
purchases.productId,
purchases.purchaseToken,
token,
true,
)
.then((res) => {
debugLog(res);
})
.catch((error) => {
debugLog('error', error);
});
error Error
at index.js:855
at step (index.js:32)
at Object.next (index.js:13)
at fulfilled (index.js:4)
at tryCallOne (core.js:37)
at core.js:123
at JSTimers.js:274
at _callTimer (JSTimers.js:130)
at _callImmediatesPass (JSTimers.js:181)
at MessageQueue.callImmediates [as _immediatesCallback] (JSTimers.js:441)

@hyochan Please update in receiptValidationAndroid API 'https://www.googleapis.com/androidpublisher/v3/applications' to 'https://androidpublisher.googleapis.com/androidpublisher/v3/applications/'

Thanks for the report. Fixed in 5.2.13 and 6.0.0-rc.23 Next time please give a PR!

Upgraded to 5.2.13 then RC 6.0.0-rc.23 but still getting the error of "Possible Unhandled Promise Rejection" when calling validateReceiptAndroid.
Not sure if the signature changed but here is my line calling the method:
let validReceipt = await RNIap.validateReceiptAndroid("product.name", receipt.productId, receipt.purchaseToken, accessKey, true);
Current Versions:
React: 16.11.0
RN: 0.62.0
RN-IAP: 6.0.0-rc.23
TIA,
B

Upgraded to 5.2.13 then RC 6.0.0-rc.23 but still getting the error of "Possible Unhandled Promise Rejection" when calling validateReceiptAndroid.
Not sure if the signature changed but here is my line calling the method:
let validReceipt = await RNIap.validateReceiptAndroid("product.name", receipt.productId, receipt.purchaseToken, accessKey, true);
Current Versions:
React: 16.11.0
RN: 0.62.0
RN-IAP: 6.0.0-rc.23
TIA,
B

@BStenfors9119  Have you removed the cache and try again? Try removing node_modules and restart

Upgraded to 5.2.13 then RC 6.0.0-rc.23 but still getting the error of "Possible Unhandled Promise Rejection" when calling validateReceiptAndroid.
Not sure if the signature changed but here is my line calling the method:
let validReceipt = await RNIap.validateReceiptAndroid("product.name", receipt.productId, receipt.purchaseToken, accessKey, true);
Current Versions:
React: 16.11.0
RN: 0.62.0
RN-IAP: 6.0.0-rc.23
TIA,
B

@BStenfors9119 Have you removed the cache and try again? Try removing node_modules and restart

Ahhhh, good thinking will do that right now.
By the way just wanted to extend my appreciation for this module.

Will report back on clearing node_modules.
Cheers,
B

@hyochan no such luck deleting the node modules and reinstalling them.
Still getting the same exception when trying to validate a android receipt.
This is the error it is returning:
{"statusCode":401,"line":160476,"column":69,"sourceURL":"http://localhost:8081/index.bundle?platform=android&dev=true&minify=false"}
TIA,
B

@hyochan no such luck deleting the node modules and reinstalling them.
Still getting the same exception when trying to validate a android receipt.
This is the error it is returning:
{"statusCode":401,"line":160476,"column":69,"sourceURL":"http://localhost:8081/index.bundle?platform=android&dev=true&minify=false"}
TIA,
B

Sorry for the confusion and totally embarrassed.
This was a ID-10-T error, I was pointing at the wrong URL to get my access key :( (face palm).
This is working as expected using version 5.2.13.
Sorry for any wasted time :/.
B

@BStenfors9119 I have the same problem, I am successfully generating accessToken on the backend with nodejs, but the return from validateReceiptAndroid is returning {"statusCode":401,"line":1124,"column":69}.
And if put the url in browser returns bellow
{
"error": {
"code": 401,
"message": "The current user has insufficient permissions to perform the requested operation.",
"errors": [
{
"message": "The current user has insufficient permissions to perform the requested operation.",
"domain": "androidpublisher",
"reason": "permissionDenied"
}
]
}
}
I am using
react 16.13.1
react-native 0.63.4
react-native-iap 5.2.14
Thank you very much if you could help me

@edersonfaccin I had this issue as well but was able to resolve by simply saving one of my in app purchases. Weird I know, but it started working after doing that.
I also have heard that changing permissions in Google Play can take 24 hours to propogate too

Hi, where do we get the access token from?


Appium-Protractor for native iOS apps

I have designed appium framework for iOS app automation. Now we need to use protractor with it. I have heard about appium-protractor bridge.
Please suggest how we can proceed.

Here are the instructions: https://github.com/angular/protractor/blob/master/docs/mobile-setup.md.

Sorry I might have misread your post. Are you talking about testing safari on iOS (i.e. webdriver test) or testing general native apps on iOS? If you're talking about the latter, protractor does not support it.

See https://github.com/angular/protractor/issues/1940


Provide description and usage subsections for stat.py script

Provide description and usage subsections for stat.py script

Fixed in #131


Examples

[ ] Custom model example
[ ] Custom model w/ custom distribution
[ ] Custom model w/ view requirements

I'll be working on a trading environment example on https://github.com/theOGognf/rlstack/tree/examples

algotrading example was added


V2 support

Add support for micro:bit v2
Add editor in a webview
Add partial flashing for python

This or equivalent landed via another route. Closing.


Suggested Related Topic

Opening Views, Dialogs, Reports:
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/open-forms-views-dialogs-reports-url

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

ID: db17acbe-9556-ab39-0963-b3d3856714de
Version Independent ID: 569f08a4-26d1-696b-cdd0-822ffa948f17
Content: openUrl (Client API reference) in model-driven apps - PowerApps
Content Source: powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Navigation/openUrl.md
Service: powerapps
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

@devlinl
Thanks for the feedback. We have updated the docs with the correct information and pushed to live. Closing the issue.

@Nkrb,
Thanks for the follow up, but it looks like you did the reverse of what I was looking for...
You've added a link to "Xrm.Navigation.openUrl" on the page for "Open forms, views, dialogs, and reports with a URL".
What I was looking for was a link to "Open forms, views, dialogs, and reports with a URL" on the page for "Xrm.Navigation.openUrl".

@devlinl Thanks again. I will make those changes and push it live.


fix(form-checkbox/form-radio): invalid checkbox/radio on dark background

The checkbox/radio background is white, unlike the background of a valid checkbox/radio.
This leads to a different appearance of a valid and an invalid checkbox/radio on colored backgrounds.
The background of an unchecked, invalid checkbox/radio should be transparent.

Discuss with @rouvenpost and @wueestd.

Discussion started internally!

@rouvenpost reported: "seems correct to me..."

This ticket can be closed as won't fix. We can discuss a possible redesign for future versions.


Support Vuex 4

Hello, vuex-map-fields support vuex 4 ?

you have formulated the question in a very general way. I asked myself a similar question and therefore created a test project. if you are interested, you can find it here.
https://github.com/itsChris/vuex-4-mapfields
As far as I understand, I would claim vue 3 and vuex 4 are supported. for me, this is important because I work with vue 3 and vuex 4. if anyone has experience, I am interested.

Thanks @itsChris for answering the question!
vuex-map-fields relies on this.$store.getters and this.$store.commit. If Vuex 4 has the same API for those two, there is no reason why it shouldn't work.

If this library does support vue2/3 and vuex3/4, is it worth adding a note of this in the readme?
Also, it seems all of the current unit tests are run on vue2/vuex3, is it possible to have the tests run against vue3/vuex4 as well?


Review buttons positions on login/restore screens

Move button lower on these screens https://zpl.io/brllDmr
https://zpl.io/aXkM95M

https://github.com/BeamMW/android-wallet/issues/218#issuecomment-522524636

checked


Update xlsx_to_csv.cgi so that it is not handling URL parameters

Hypothetically, it is not necessary for xslx_to_csv.cgi to handle any URL parameter data.  Currently, it receives and echoes back all $_GET data from/to submit/admin-classlist.php.
URL parameters, like all client data, should be considered untrusted.  Expanding on the use of $_SESSION will allow the preservation of $_GET data without publicly echoing it.

The current system model requires each and every accessed PHP script to have a course=XXXX URL parameter or else the system halts on error (expressed in TAGradingServer/toolbox/functions.php).  CGI is not affected, but the return from a CGI script back to a PHP script (e.g. TAGradingServer/cgi-bin/xlsx_to_csv.cgi → TAGradingServer/account/submit/admin-classlist.php) is affected.
So this issue is being closed as wontfix as the correction would require more widespread code rewrite than was originally intended.


Replace Color.withOpacity with Color.withValues

The CI is failing on the super_text_layout analysis due to Color.withOpacity being deprecated:
Analyzing super_text_layout...

   info • 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss • example/lib/main.dart:254:71 • deprecated_member_use
   info • 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss • example/lib/main.dart:4[8](https://github.com/superlistapp/super_editor/actions/runs/12129129760/job/33816940663?pr=2436#step:5:9)4:21 • deprecated_member_use
   info • 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss • example/lib/main.dart:502:30 • deprecated_member_use
   info • 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss • lib/src/caret_layer.dart:182:42 • deprecated_member_use

The migration guide is described here: https://docs.flutter.dev/release/breaking-changes/wide-gamut-framework#opacity

cc @matthew-carroll

Are you recommending that we update the code? Or are you filing this for the future?

I'm recommending that we update the code to make the analysis pass in the CI

Is this change on stable?

It's only on master at this moment.

Then we probably shouldn't do that, right? How would we ensure that we keep those changes away from stable if we happen to make changes to those same files in the meantime?

We could wait until this change lands on stable. We should get a new stable release soon.

@matthew-carroll It seems this change landed on stable.

i am getting issue on Xcode build if I do this change with latest flutter version 3.27.0.
Error (Xcode):
Error: The method 'withValues' isn't defined for the class 'Color'.
Encountered error while building for device.

@richanshah Did you tried running a flutter clean on your project? Maybe this is a cache issue.

@angelosilvestre I  got the issue, issue was that, I have fvm in my project. and in ios root path in build setting it was taking 3.24.0 instead of 3.27.0. now it works. thanks. closing the issue.


BUG: fixes precision issue with logsumexp

Closes #18295. Updates scipy.special.logsumexp calculation with more precise logsumexp calculation outlined in #18295 where possible.

Reference issue

What does this implement/fix?

Additional information

Not trying to block this PR but wouldn't it make sense in the long run to implement logsumexp in cython or C so that it can be exposed via cython_special too? Sklearn carries a cython implementation, another case of duplication across the ecosystem.

Not trying to block this PR but wouldn't it make sense in the long run to implement logsumexp in cython or C so that it can be exposed via cython_special too? Sklearn carries a cython implementation, another case of duplication across the ecosystem.

Note that even if it were available in scipy Cython API, scikit-learn would probably still have its own Cython implementation to make inlining possible. Same story is already true for expit. This makes some performance difference that I measured once.

Hey @sadigulcelik , would you like to return to this? There are some comments above to address but it sounds like this was close.

Needs a rebase now. Would be great to decide on this one either way.

This PR hasn't seen commit activity for more than a year, so I think bumping the milestone is the right call. May need a new champion if the original author is busy.

It looks like this PR will be superseded by gh-21597. Thanks for this anyway @sadigulcelik!


Add a lesson introducing the ml4bio software

We should invest more time early on giving a tour of the ml4bio software interface.  This can be separated as its own short lesson.  Participants need to be comfortable with the different steps, buttons, and overall workflow before they can successfully finish the later exercises.
This could also help address participant confusion about what options they need to know about and which, like the advanced validation options, they do not.

Do we maybe just want to edit/change the title to about page in Extras?

We can reuse or keep a lot of this content.  I think the main goal of this recommendation was to budget time in the schedule and make an interactive lesson around the software.  We can use the same prompts and callouts to guide the interactive demonstration of the software.  The flow may be that we show them how to do something in the software and then they try it themselves.

Closed by #103


Issues since upgrading Helm Chart to 0.12.0

This week Renovate updated us to the latest chart version 0.12.0, however since then we've noticed the tf-controller pod restarting due to errors.
{"level":"info","ts":"2023-04-21T13:40:40.312Z","logger":"controller-runtime.metrics","msg":"Metrics server is starting to listen","addr":":8080"}
{"level":"info","ts":"2023-04-21T13:40:40.313Z","logger":"setup","msg":"Starting manager","version":"","sha":""}
{"level":"info","ts":"2023-04-21T13:40:40.314Z","msg":"Starting server","kind":"health probe","addr":"[::]:9440"}
{"level":"info","ts":"2023-04-21T13:40:40.314Z","msg":"Starting server","path":"/metrics","kind":"metrics","addr":"[::]:8080"}
I0421 13:40:40.415422       8 leaderelection.go:248] attempting to acquire leader lease platform/{snip}.contrib.fluxcd.io...
I0421 13:44:30.635963       8 leaderelection.go:258] successfully acquired lease platform/{snip}.contrib.fluxcd.io
{"level":"info","ts":"2023-04-21T13:44:30.636Z","logger":"cert-rotation","msg":"starting cert rotator controller"}
{"level":"info","ts":"2023-04-21T13:44:30.636Z","msg":"Starting EventSource","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","source":"kind source: *v1alpha2.Terraform"}
{"level":"info","ts":"2023-04-21T13:44:30.636Z","msg":"Starting EventSource","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","source":"kind source: *v1.GitRepository"}
{"level":"info","ts":"2023-04-21T13:44:30.636Z","msg":"Starting EventSource","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","source":"kind source: *v1beta2.Bucket"}
{"level":"info","ts":"2023-04-21T13:44:30.636Z","msg":"Starting EventSource","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","source":"kind source: *v1beta2.OCIRepository"}
{"level":"info","ts":"2023-04-21T13:44:30.636Z","msg":"Starting EventSource","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","source":"kind source: *v1.Secret"}
{"level":"info","ts":"2023-04-21T13:44:30.636Z","msg":"Starting Controller","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform"}
{"level":"error","ts":"2023-04-21T13:44:30.703Z","logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"GitRepository.source.toolkit.fluxcd.io","error":"no matches for kind \"GitRepository\" in version \"source.toolkit.fluxcd.io/v1\""}
{"level":"error","ts":"2023-04-21T13:46:32.603Z","msg":"Could not wait for Cache to sync","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","error":"failed to wait for terraform caches to sync: timed out waiting for cache to be synced"}
{"level":"info","ts":"2023-04-21T13:46:32.603Z","msg":"Stopping and waiting for non leader election runnables"}
{"level":"info","ts":"2023-04-21T13:46:32.603Z","msg":"Stopping and waiting for leader election runnables"}
{"level":"info","ts":"2023-04-21T13:46:32.604Z","logger":"cert-rotation","msg":"stopping cert rotator controller"}
{"level":"info","ts":"2023-04-21T13:46:32.604Z","msg":"Stopping and waiting for caches"}
{"level":"info","ts":"2023-04-21T13:46:32.604Z","msg":"Stopping and waiting for webhooks"}
{"level":"info","ts":"2023-04-21T13:46:32.604Z","msg":"Wait completed, proceeding to shutdown the manager"}
{"level":"error","ts":"2023-04-21T13:46:32.614Z","logger":"setup","msg":"problem running manager","error":"failed to wait for terraform caches to sync: timed out waiting for cache to be synced"}
{"level":"info","ts":"2023-04-21T13:46:59.110Z","logger":"controller-runtime.metrics","msg":"Metrics server is starting to listen","addr":":8080"}
{"level":"info","ts":"2023-04-21T13:46:59.111Z","logger":"setup","msg":"Starting manager","version":"","sha":""}
{"level":"info","ts":"2023-04-21T13:46:59.111Z","msg":"Starting server","path":"/metrics","kind":"metrics","addr":"[::]:8080"}
{"level":"info","ts":"2023-04-21T13:46:59.111Z","msg":"Starting server","kind":"health probe","addr":"[::]:9440"}
I0421 13:46:59.212752       7 leaderelection.go:248] attempting to acquire leader lease platform/{snip}.contrib.fluxcd.io...
{"level":"info","ts":"2023-04-21T13:47:03.026Z","msg":"Stopping and waiting for non leader election runnables"}
{"level":"info","ts":"2023-04-21T13:47:03.026Z","msg":"Stopping and waiting for leader election runnables"}

It seems there's some incompatibilities with it expecting newer Flux API versions (we're on v1beta2 for the fluxcd APIs, which appears to be the latest version still), and also errors related to terraform caches?
Is this all known, or should we be rolling back to the previous version?

Hi @adamstrawson
Yes, it's a known issue.
TF controller v0.15-rc.x will work only with Flux v2.0.0-rc.x going forward.
Please fix your Helm chart to v0.11 if you wish not to upgrade Flux.

Thanks for the speedy response. We will upgrade at some point, but not quite there yet. I'll downgrade the chart in the mean time.


windows: Statically compile MSVC runtime

This should allow spin to be run on Windows without installing a MSVC runtime.

@lann this has been sitting on approved for a while - is it okay to merge?

I was hoping the discord user who originally brought up this issue would test the fix but they seemingly never got around to it. A also spent a little time trying to wrangle a windows VM for this but ultimately gave up for boring linuxy reasons.


fix: update feature_request.md

📥 Pull Request
📘 Description
observablity -> observability
🔄 Related Issue (if applicable)
If this PR is related to an existing issue, reference it here.
🎯 Goal
Explain the intention behind this change.
🔍 Additional Context
Any extra information or context to help us understand the change?
🧪 Testing
Describe the tests you performed to validate your changes.
Thank you for your contribution to Agentops!

I'm embarrassed this typo has been in the repo for so long. Thanks! @eltociear


Develop an example app using the backend

This task is a proof of concept task.
To show that the Voting backend is fully functional, we need an example app using it.

Facebook's React seems a good choice here. :)

Ok, for the MVP a simple Flask application will do the job - not Falcon because people will use more frameworks like Flask than Falcon to frontend applications.

Done via a4f3317f6fe973c0e3a451eb505b4ca408d68395


Document new features

Document #197 and #199.

Thanks for this. Can you retarget this PR at the documentation branch?

Merged and pubished.
I messed up the order of things a bit so it didn't get marked as "merged", sorry.


A potential bug in minimax

From the doc, it says that:
value_function: An optional function mapping a Spiel `State` to a numerical
      value, to be used as the value of the maximizing player for a node when we
      reach `maximum_depth` and the node is not terminal.

However, the maximizing_player_id is not considered here.
https://github.com/deepmind/open_spiel/blob/a961d89273b6ae93e47755cfe3adb54ecb880966/open_spiel/algorithms/minimax.cc#L62
https://github.com/deepmind/open_spiel/blob/a961d89273b6ae93e47755cfe3adb54ecb880966/open_spiel/python/algorithms/minimax.py#L178

Hi @findmyway, this should be ok? The doc says value function is always supposed to always been in view of the maximizing player. So you should not need the maximizing_player_id at those points -- it is used in the other parts of the function to when looking whose turn it is to play to decide whether to use min or max, e.g. lines 66 and 92 of minimax.cc.

The doc says value function is always supposed to always been in view of the maximizing player.

Sorry I may missed something. But how could one know the current maximizing player without passing it to the value function? With state only e all we know is the current player.
By the way, the only test case I can find with value function is a lambda function which always returns 0.

The idea is that you design the function before you start the search (when you know the maximizing player) and then pass it to the search. I'll make an example.

Thanks for your explanation. Now I see. So the value function has to enclose the maximizing player into it here.

Well, you didn't find a bug in minimax. But..... you inadvertently found a bug in Breakthrough! My minimax example was not looking right, turns out Breakthrough::Undo was incorrect. Whoops!  So... yeah... thanks! ;-)


sino.scom.baseframe

Hi Hesso,
I'm a beginner of python and i like to use your scom library.
But after installing the library and starting the sample I get the error:
Traceback (most recent call last):
File "./xtender_version.py", line 14, in
from sino import scom
File "/usr/local/lib/python3.7/dist-packages/sino/scom/init.py", line 14, in
from . import frame
File "/usr/local/lib/python3.7/dist-packages/sino/scom/frame.py", line 6, in
from .baseframe import *
ModuleNotFoundError: No module named 'sino.scom.baseframe'
Any idea how i can fix it?
Thanks
Kersten

Hi Kersten,
It seems that the packages were not correctly installed. Could you please tell me about the environment you are running the library?

Operating System
Python version

Thanks

Hi Hesso,
the os is : debian 10, fresh install
the python is: python3 V 3.7.3. , no virtual enviroment (do I need the venv ?)
Thanks

All right. venv should not be necessary whereas I only work with it.
You may have the same problem mentioned in issue #1. I suggest to try the work arround mentioned here.

the work arround doesn't work ... but "pip3 install -I --no-cache-dir scom" fixed the problem
but now there are some other problems:
root@fhem-vm:~# python3 xtender_version.py
2020-02-13 15:36:49.863 - root - ERROR - byte must be in range(0, 256)
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/sino/scom/dman/devicemanager.py", line 187, in _run_with_exception_logging
self._run()
File "/usr/local/lib/python3.7/dist-packages/sino/scom/dman/devicemanager.py", line 202, in _run
self._search_devices()
File "/usr/local/lib/python3.7/dist-packages/sino/scom/dman/devicemanager.py", line 238, in _search_devices
device_list = self._search_device_category(deviceCategory, addressScanRange)
File "/usr/local/lib/python3.7/dist-packages/sino/scom/dman/devicemanager.py", line 307, in _search_device_category
response_frame = self._scom.write_frame(request_frame, 0.5)    # Set a short timeout during search
File "/usr/local/lib/python3.7/dist-packages/sino/scom/scom.py", line 66, in write_frame
buffer = frame.copy_buffer()
File "src/sino/scom/baseframe.pyx", line 96, in baseframe.BaseFrame.copy_buffer
ValueError: byte must be in range(0, 256)
Done

Are you now able to communicate with the Xtender?

Hi, I have the same problem but I could not solve it with both methods (I am using a satinberry pi 4 model B)

Did you compiled C so libraries ?
mentioned in setup.py :) Littlebit tricky about place where to put important stuff to make it work
https://github.com/hesso-valais/scom/blob/d819292aa8627e0a66e106898684792d42b4a0c9/src/sino/scom/setup.py#L10


metadata and absolute links

Docs Build status updates of commit 6e3b844:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md
:bulb:Suggestion
View (azure-java-legacy)
Details

docs-ref-services/legacy/ai-textanalytics-readme.md
:bulb:Suggestion
View (azure-java-legacy)
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md

Line 27, Column 3: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: /java/azure/jdk/?view=azure-java-stable. Otherwise, remove the view parameter.
Line 29, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows' will be broken in isolated environments. Replace with a relative link.
Line 82, Column 4: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: /cli/azure/cognitiveservices/account?view=azure-cli-latest#az-cognitiveservices-account-show. Otherwise, remove the view parameter.
Line 141, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal' will be broken in isolated environments. Replace with a relative link.

docs-ref-services/legacy/ai-textanalytics-readme.md

Line 261, Column 74: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-keyword-extraction' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 96a2597:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md
:white_check_mark:Succeeded
View (azure-java-legacy)

docs-ref-services/legacy/ai-textanalytics-readme.md
:white_check_mark:Succeeded
View (azure-java-legacy)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 34ce3b6:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/legacy/cognitiveservices/bing-autosuggest-readme.md
:warning:Warning
View (azure-java-legacy)
Details

docs-ref-services/legacy/cognitiveservices/bing-custom-image-search-readme.md
:warning:Warning
View (azure-java-legacy)
Details

docs-ref-services/legacy/ai-formrecognizer-readme.md
:white_check_mark:Succeeded
View (azure-java-legacy)

docs-ref-services/legacy/ai-textanalytics-readme.md
:white_check_mark:Succeeded
View (azure-java-legacy)

docs-ref-services/legacy/cognitiveservices/bing-custom-search-readme.md
:white_check_mark:Succeeded
View (azure-java-legacy)

docs-ref-services/legacy/cognitiveservices/bing-autosuggest-readme.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning: ms-prod-technology-invalid - See documentation] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.

docs-ref-services/legacy/cognitiveservices/bing-custom-image-search-readme.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning: ms-prod-technology-invalid - See documentation] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Final optimizations: Logging API - StreamProviders API - Memory Logging

This PR concludes final optimizations for jSnapLoader core APIs:

[x] Separated JUL API to library utility.
[x] Introduced a generic StreamProvider API; in which all Stream Provider Handlers are concretizied from.
[x] Streams Memory Allocation/Deallocation Logging.

The following is a conclusive illustration for this PR, the ability to track stream provider objects through API logs; and thus debug for memory leaks:


Ayush_aryan_Drum_Kit_Project

It Is a drum kit Project which Recognizes Both mouse Click and Keyboard Click And produce sounds Accordingly

Sure!
I have Updated the Gif File Accordingly. @SandeepKrSuman


Deleting App Connector

I have added a connector to Box and I no longer need it. How can I delete it?

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

ID: 82896c8a-1071-33cc-9821-48c3c6a3d7bf
Version Independent ID: a18117ae-a865-79e8-db21-924894bfe6c0
Content: Connect Box to Cloud App Security
Content Source: CloudAppSecurityDocs/connect-box-to-microsoft-cloud-app-security.md
Service: cloud-app-security
Product: ****
Technology: ****
GitHub Login: @shsagir
Microsoft Alias: shsagir

@name Thanks for contacting Microsoft about your issue. As we understand it, you're describing a problem with the product itself and not with the product documentation.
However, the I received information from support may be helpful to you:

Currently, to you must contact support to remove a Box connector.

To get assistance or support for your product issue, please open a support ticket.

Sorry I was not clear, the documentation does not provide any instructions about how to complete this task, I'm assuming that it is possible and I'd like the documentation to be updated to explain how we can do this.


Are you sure that the keys of entities in Added state have been set?

According to the documentation,

keys are set as soon as entities are tracked by the context, even if the entity is in the Added  state.
In the following code, I found the claim is not correct.
Right before SaveChangeAsync() is invoked but after AddAsync() is invoked,  the entity is in Added state and the IsKeySet is False (rather than True as the documentation claims). It means the key has not been set yet.
private static async Task<IResult> Add(StudentEnrollmentDbContext ctx, Course course, ILogger<Program> logger)
{
    var added = await ctx.Courses.AddAsync(course);
    logger.LogError(added.Entity.Id.ToString()); // output: 0
    logger.LogError(added.State.ToString()); // output: Added
    logger.LogError(added.IsKeySet.ToString()); // output: False
    await ctx.SaveChangesAsync();
    logger.LogError("=========================");
    logger.LogError(added.Entity.Id.ToString()); // output: 1006
    logger.LogError(added.State.ToString()); // output: Unchanged
    logger.LogError(added.IsKeySet.ToString()); // output: True
    return Results.CreatedAtRoute(nameof(Get), new { id = added.Entity.Id }, added.Entity);
}

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

ID: b9826f28-46b2-e845-f1bf-5cbc2d940208
Version Independent ID: 9c4a46cf-daa2-0e14-7ff1-c195db237cd0
Content: Disconnected Entities - EF Core
Content Source: entity-framework/core/saving/disconnected-entities.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @ajcvickers
Microsoft Alias: avickers

The docs need updating for this change: https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-3.x/breaking-changes#tkv


NXDOMAIN when calling CostExplorer.get_cost_and_usage

When I call AWS.CostExplorer.get_cost_and_usage I get {:error, :nxdomain}.
According to the AWS docs, the provided endpoint is available at https://ce.us-east-1.amazonaws.com, while if I can understand it correctly, the current implementation tries to reach it https://ce.amazonaws.com/ which is in fact non-existent.
Working example:
  def list_services() do
    # Configure ExAws with your AWS credentials
    client = AWS.Client.create()

    {:ok, _, response} =
      AWS.CostExplorer.get_cost_and_usage(client, %{
        "TimePeriod" => %{
          "Start" => "2023-01-01",
          "End" => "2023-01-31"
        },
        "Granularity" => "MONTHLY",
        "Metrics" => ["BlendedCost"],
        "GroupBy" => [%{"Type" => "DIMENSION", "Key" => "SERVICE"}],
        "Filter" => %{
          "Dimensions" => %{
            "Key" => "REGION",
            # Specify regions here
            "Values" => ["us-east-1", "us-west-2"]
          }
        }
      })
  end

Hi @Shadowbeetle 👋 It's been a while since I looked into the Client implementation so bear with me while we figure this out together 😄
I believe you're landing in: request.ex#L201-L207 due to cost_explorer.ex#L34 which appears to be broken which I'm wild-guessing affects all 17 generated modules that define global?: true in their metadata.
Any chance you could try out: https://github.com/aws-beam/aws-elixir/tree/fix-global-endpoints?
Which would generate:
iex(6)> AWS.Request.build_host(AWS.Client.create(), AWS.CostExplorer.metadata())
"ce.us-east-1.amazonaws.com"

I believe the problem is a lack of passing in the metadata.credential_scope alternatively client.region if the former is not set. I don't have any Elixir AWS environment setup so can't easily test this myself 😢 Let me know if you could try this out and I'll PR and roll out a release as soon as you've confirmed 👌

@Shadowbeetle PR created, I'll roll out the release later today (Stockholm time) 👍

@Shadowbeetle Had a bit of a swordfight with my local environment after recently switching to Mac but here we go:
https://hex.pm/packages/aws/0.14.1 🎉

@onno-vos-dev That was qiuck. Thank you! 🙇


Fixed broken links

https://github.blog/changelog/2021-01-29-github-pages-will-stop-redirecting-pages-sites-from-github-com-after-april-15-2021/
Subdomains of github.com are deprecated for GitHub Pages. They will not redirect to github.io after April 15, 2021.

Thank you for doing this!


[App] Hidden legend when viewing the graphs

Describe the bug
Sometimes, the legend is hidden when visualising the graphs (see the screenshot)
Expected behavior
Being able to always see the complete legend without having to display the graph in full screen
Screenshots

Operating System

OS: MacOS
Browser: chrome
Version: 92.0.4515.131

Hey @loicsacre , thanks for reporting this.

Would love this as well!

This bug was fixed in Sept 2024


chore: implement version checking for channel handshake application callbacks

Description

closes: #5797

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against the correct branch (see CONTRIBUTING.md).
[ ] Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/).
[ ] Added relevant godoc comments.
[ ] Provide a conventional commit message to follow the repository standards.
[ ] Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
[ ] Re-reviewed Files changed in the GitHub PR explorer.
[ ] Review SonarCloud Report in the comment section below once CI passes.

This closes #5798 as well?

I addressed the last couple of comments. I will merge now and if there's any more feedback, we can address on follow-up PRs.


[Bug]: Type of sass-loader additionalData function is wrong

Version
System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 10.88 GB / 31.68 GB
  Browsers:
    Edge: Chromium (125.0.2535.92)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @rsbuild/core: ^0.7.6 => 0.7.6
    @rsbuild/plugin-react: ^0.7.6 => 0.7.6
    @rsbuild/plugin-sass: ^0.7.6 => 0.7.6

Details
The type of additionalData function of sass plugin is
type Callback<T> = (loaderContext: Webpack.loader.LoaderContext) => T;

However, there is supposed to be a content argument:
// This is what the type is supposed to be
type Callback<T> = (content: string, loaderContext: Webpack.loader.LoaderContext) => T;

Which one is right? I can do a PR if you confirm that this is just a type error.
If this is not the type error, how can I get the content and manipulate it?
Reproduce link
https://www.google.com/search?q=no+need+for+a+url+the+issue+is+self+explanatory
Reproduce Steps

try to use the content argument from the additionalData function of pluginSass.
get a slap from Typescript, because it's not a string type.

This should be a bug, however, the type is provided by @types/sass-loader, can you submit a PR to the original repo?
https://www.npmjs.com/package/@types/sass-loader


Error message when missing Xcode tools could be better

Operating system and version: Mac OS Mojave, 10.14.6

nvm debug output:

N/A
</details>

- `nvm ls` output:
<details>
<!-- do not delete the following blank line -->

```sh
N/A

How did you install nvm? (e.g. install script in readme, Homebrew):
The error occurs when installing nvm.

What steps did you perform?
Tried to install nvm using the following command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash

What happened?
The following was printed:
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed

100 13226  100 13226    0     0  90002      0 --:--:-- --:--:-- --:--:-- 90589
=> Downloading nvm from git to '/Users/cfonger/.nvm'
=> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Failed to clone nvm repo. Please report this!

- What did you expect to happen?
Because I was missing some Xcode command line tools, I would have expected the error message to point me towards some next steps to take to install them.

- Is there anything in any of your profile files (`.bashrc`, `.bash_profile`, `.zshrc`, etc) that modifies the `PATH`?
No

<!-- if this does not apply, please delete this section -->
- If you are having installation issues, or getting "N/A", what does `curl -I --compressed -v https://nodejs.org/dist/` print out?
<details>
<!-- do not delete the following blank line -->

```sh
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to nodejs.org (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Wildcard; CN=*.nodejs.org
*  start date: Aug 14 00:00:00 2017 GMT
*  expire date: Nov 20 23:59:59 2019 GMT
*  subjectAltName: host "nodejs.org" matched cert's "nodejs.org"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fe753004200)
> HEAD /dist/ HTTP/2
> Host: nodejs.org
> User-Agent: curl/7.54.0
> Accept: */*
> Accept-Encoding: deflate, gzip
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
HTTP/2 200
< date: Sat, 17 Aug 2019 19:53:53 GMT
date: Sat, 17 Aug 2019 19:53:53 GMT
< content-type: text/html
content-type: text/html
< set-cookie: __cfduid=d86cd8061682a0ea5b7153650206d78311566071633; expires=Sun, 16-Aug-20 19:53:53 GMT; path=/; domain=.nodejs.org; HttpOnly
set-cookie: __cfduid=d86cd8061682a0ea5b7153650206d78311566071633; expires=Sun, 16-Aug-20 19:53:53 GMT; path=/; domain=.nodejs.org; HttpOnly
< cf-cache-status: HIT
cf-cache-status: HIT
< expires: Sat, 17 Aug 2019 23:53:53 GMT
expires: Sat, 17 Aug 2019 23:53:53 GMT
< cache-control: public, max-age=14400
cache-control: public, max-age=14400
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< vary: Accept-Encoding
vary: Accept-Encoding
< server: cloudflare
server: cloudflare
< cf-ray: 507e325c6d362a41-SEA
cf-ray: 507e325c6d362a41-SEA
< content-encoding: gzip
content-encoding: gzip

<
* Connection #0 to host nodejs.org left intact

The error message comes from the mac OS, there's nothing nvm can do about it.
Unfortunately the first thing you should always do on a new Mac is to make sure git and curl (and thus the xcode dev tools) are installed.


Fix examples

Not tested yet, not clear if complete

Not tested yet, not clear if complete

Just updated the yaml examples that were not following the conventions for measurement functions and were therefore no longer working in v1...

Just updated the yaml examples that were not following the conventions for measurement functions and were therefore no longer working in v1...

Thanks!


Add Response::into_parts

This is useful when using reqwest as a http client in a proxy server and you need to convert the response type without cloning everything.
I also had implemented From<Request> for http::Request<hyper::Body> but since this would break with hyper 1.0 I decided to leave it out.

I think a From<Response> for http::Response makes most sense. reqwest will need to be updated for hyper 1.0 anyways.

Oh yeah that was what I meant 🤦

I think so. I think it's better than an into_parts methodml (I'd suggest removing that).

Yeah I guess that makes sense since converting to a hyper style response was really the reason I made this PR.
I will put the change in another PR.


Corrected typo

Corrected typo: requsterOptions should be requesterOptions

We generally don't accept pull requests against master, unless we are dealing with a hotfix.  This falls under the category of refactor as this is just a rename of an internal variable.  Thanks anyway though.


Change logging to SLF4J, and remove openDolphinLogLevel property

see #499

This change is

Coverage increased (+0.2%) to 63.681% when pulling 51dd6ae5f5135b65a5dde62ad121e2acae4e047b on log4j_to_slf4j into 8eadba24b3bea99fd110a89cdd0d24ef986ffc38 on master.

Coverage increased (+0.2%) to 63.709% when pulling 51dd6ae5f5135b65a5dde62ad121e2acae4e047b on log4j_to_slf4j into 8eadba24b3bea99fd110a89cdd0d24ef986ffc38 on master.


Fix bug in Join operation

When flattened, an inner join emits null values in the key field when there is more than one match. The current tests don't catch this bug as the test data isn't varied enough and the assertTrue(actualValues.containsAll(expectedValues)); isn't reversed. Fix this bug and add extra tests with more varied test data.

Merged into develop


API calls for remaining object control Ecmascript calls

#1594 implements Object.seal() and Object.freeze() in the C API. For completeness, bindings for the following would also make sense:

[ ] Object.preventExtensions()
[ ] Object.isSealed()
[ ] Object.isFrozen()
[ ] Object.isExtensible()

It would be nice if Ecmascript had an Object.defineProperty() -like call to control object attributes. It would be much more extensible with an object based argument, and it would also be nice in that adding engine specific attributes would be straightforward.
Maybe that would be a possible API approach at some point.


Toolbar refactoring: Time profiles

Removed unnecessary #role_allows_feature? call from #hide_button?. Each button in the time_profiles_center has its own feature described in miq_product_features.yml. This toolbar center only gets rendered when @layout == 'configuration' && @tabform == 'ui4'. The @layout and @tabform are already checked in toolbar_chooser.rb. and don't have to be checked for in #hide_button? again.
Links
Parent issue: #6259
Related issue: #6554
Pivotal Tracker: https://www.pivotaltracker.com/story/show/136408691

looks GOOD


Theming Question

Bug report
Accessing theme details
Describe the bug
Hi all. I'm working on demo-ing two of our themes inside Storybook. I've created two themes, e.g.
export const darkTheme = createTheme('dark-theme', {
  colors: darkThemePalette,
});

export const lightTheme = createTheme('light-theme', {
  colors: lightThemePalette,
});

I then have a component that consumes them (direct import of those) in a Storybook document, e.g.
### Light Theme

<ThemePalette theme={lightTheme} />

### Dark Theme

<ThemePalette theme={darkTheme} />

export default function ThemePalette(theme) {
  console.log(theme);
  return (
    <div className={theme}>

    </div>
  );
};

When I pass the theme to a div, nothing seems to be applied. I did some logging and it looks like that object has a theme subobject. Are my assumptions (I'm using this as a basis) off? Or is my usage incorrect?  FWIW, I just intend to do some variant styling in the ThemePalette component based on the theme's class.
It's not a deal breaker if I just have to do theme.theme, but it feels a tad awkward.
To Reproduce
See above description.
Expected behavior
I'd expect the class name to be applied like the docs mention.
Screenshots

System information

OS: Windows
Browser (if applies): Chrome
Version of Stitches: We're using the React package @1.2.6
Version of Node.js: 16.13.0