[go_router] Passing debugLogDiagnostics: false clears my log listeners

I register my log listener at startup of my app using package:logging. However when GoRouter is created at first build, it clears all listeners including my own.
Such behaviour produces two issues:

Setting debugLogDiagnostics: true doubles all logs produced by GoRouter
Setting debugLogDiagnostics: false disables my own logs

The only workaround that I found is to instantiate GoRouter on top of main(), however such behaviour is still confusing.
I think the solution here would be to use Logger.detached() for GoRouter
The issue was introduced in #99115

Hi @qoob23 , please provide a minimal, reproducible example and the output of flutter doctor -v.

Hi @exaby73!

Here's output of `flutter doctor -v`:
[✓] Flutter (Channel stable, 3.0.2, on macOS 12.2.1 21D62 darwin-x64, locale en-RU)
    • Flutter version 3.0.2 at /Users/svetozar/soft/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cd41fdd495 (3 weeks ago), 2022-06-08 09:52:13 -0700
    • Engine revision f15f824b57
    • Dart version 2.17.3
    • DevTools version 2.12.2
    • Pub download mirror https://pub.dev/

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
    • Android SDK at /Users/svetozar/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.68.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (2 available)
    • iPhone 13 (mobile) • 13F40979-8CA1-4678-9D51-D760C057CE38 • ios        • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64 • macOS 12.2.1 21D62 darwin-x64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

And here is a minimal, reproducible example:
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:logging/logging.dart';

final _localLogger = Logger('Local');

Future<void> main() async {
  Logger.root.level = Level.ALL;
  Logger.root.onRecord.listen(print);
  runApp(const App());
}

GoRouter createRouter() => GoRouter(
      debugLogDiagnostics: false,
      routes: [
        GoRoute(
          path: '/',
          builder: (context, state) => const HomePage(),
        ),
      ],
    );

class App extends StatelessWidget {
  const App({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    final router = createRouter();
    return MaterialApp.router(
      routeInformationProvider: router.routeInformationProvider,
      routerDelegate: router.routerDelegate,
      routeInformationParser: router.routeInformationParser,
    );
  }
}

class HomePage extends StatefulWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  void initState() {
    super.initState();
    _localLogger.info('initState');
  }

  @override
  Widget build(BuildContext context) {
    _localLogger.info('build');
    return const Scaffold(
      body: Center(child: Text('Hello!')),
    );
  }
}

with debugLogDiagnostics: false expected output is
flutter: [INFO] Local: initState
flutter: [INFO] Local: build

but actual output is empty
with debugLogDiagnostics: true expected output is
[GoRouter] known full paths for routes:
[GoRouter]   => /
[GoRouter] setting initial location null
[GoRouter] MaterialApp found
flutter: [INFO] Local: initState
flutter: [INFO] Local: build

but actual output is:
flutter: [INFO] GoRouter: known full paths for routes:
[GoRouter] known full paths for routes:
flutter: [INFO] GoRouter:   => /
[GoRouter]   => /
flutter: [INFO] GoRouter: setting initial location null
[GoRouter] setting initial location null
[GoRouter] MaterialApp found
flutter: [INFO] GoRouter: MaterialApp found
flutter: [INFO] Local: initState
[Local] initState
flutter: [INFO] Local: build
[Local] build

In my case it is a Provider from riverpod which creates a router on the first build.

I can reproduce this issue. The issue here is that go_router itself uses logging under the hood. The constructor calls the setLogging method, which called the log.clearListeners().
https://github.com/flutter/packages/blob/af73d9905e3488d8bb78d749523d51008274e0f6/packages/go_router/lib/src/logging.dart#L10-L21
In the logging package, clearListeners() does call root.clearListeners() on a certain condition. I believe that is what is causing your listeners to get cleared since you are listening on Logger.root
https://github.com/dart-lang/logging/blob/f6979e3bc3b6e1847a08335b7eb6304e18986195/lib/src/logger.dart#L146-L153
I guess the way to combat this for now is to initialize your listeners after GoRouter is initialized. Else listen on _localLogger  instead or create your own global root logger instance.

I agree. You could take it upon yourself and submit a PR if you like. You're most welcomed to :)

For sure, using Logger.detached() is a bad idea because in such a case, go_router logging is removed from the logging hierarchy.
What about just deleting this line - https://github.com/flutter/packages/blob/35b000ad28e8ea267be4c95274d98355f2190b16/packages/go_router/lib/src/logging.dart#L19.
I, in fact, can't understand its meaning.
But as for me whole debugLogDiagnostics logic (with custom log listener) is redundant. The main thing is that go_router uses logging library, and the user could configure its output (with or without hierarchicalLoggingEnabled) in the way they need it.
For any of my proposals, I could create PR.


Adding info for rel-notes labels/filters in reviewer-guide and release docs

Signed-off-by: Andrew Burden<EMAIL_ADDRESS>What this PR does / why we need it:
Following the change of our release cadence we need a way of auto-filtering our release notes at generation time in order to make them easier to navigate and consume for users. Using GitHub labels seems like the best way to manage this.
This has been discussed in a kubevirt-dev mailing list thread.
Special notes for your reviewer:
This PR is the starting point, and adds the process doc part of the change. If this goes ahead unchanged, there are two labels that still need to be created in labels.yaml in the project-infra repo, namely kind/required-change and kind/deprecation.
I'm not sold on the wording kind/required-change but it seems like a reasonable starting point. I suggest holding this PR until we are ready with the label PR.
We would also need subsequent automation, again in the project-infra repo. First, to add the label filtering, presumably to release-tool.go, and second to see if we can automate the adding of any these labels similar to how kind/api-change is automated.
Finally, while I was in release.md I noticed that one of the github links was outdated, and additionally bumped the version numbers used throughout the file.
Release note:

NONE

Could the area labels be useful to group changes of a specific area?

@0xFelix Good question - thanks for pointing them out. At this stage I don't know if we'll need that level of granulation as we'll be able to filter into sections using kind and then order within those sections using sig, which should be sufficient for the number of rel-notes in the new release cadence. We can always iterate if there's a need for them.
I suspect these labels will be applied anyway if/when we implement the SME/Horizontal Interest Group reviewer initiative.

/lgtm
/retest

/cc

/lgtm

/retest-required

/label kind/enhancement

/kind enhancement

/sig compute

/retest-required

cc @vladikr @rmohr @stu-gott @aburdenthehand


[Feat] Missing 'Rate Us' functionality

Description
As a retailing platform there should be a 'Rate us' feature. It help to improve developer or company to improve their platform as well as services.   It's basically a 1 to 5 star based rating model along with comments.
For now it's only Frontend. That print a alert message after submitting the review form.
I attached A button "Rate Us" In footer. after clicking on it raise a pop up middle of the screen(background is scrollable)
Just like the attached video ->
Screenshots
https://github.com/user-attachments/assets/022e326d-2cc1-41c1-afaa-2ca4971722fc
@mdazfar2   Please assign me this issue. I want to implement this new feature.
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@Suvadip-sana As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.

@mdazfar2
Ok thank you.


Write test for password reset expired

Is your feature request related to a problem? Please describe.
Currently don't have a test for password reset if the token has expired.

https://www.railstutorial.org/book/password_reset#code-password_reset_expire_test


The edge version is behind the chrome version

The edge version is behind the chrome version
Can you make sure the Edge Addons Gallery receives the latest version?

Someone has forked and taken over to newly maintain a previously abandoned and defunct project.
Github repository of Nicole's fork
Google chrome store listing

The Edge version is nothing to do with me.


Wildshape macro gets interrupted in pf1 0.78.10+

Hey,
The morphin mod does not seem to work correctly from 78.10+ onwards (13 included). It get's interrupted midway with the following error.
It changes the token image, adds the attacks, writes the buff but doens't change size, apply the buff nor close the dialog window. One has to reclick OK to complete the resize, apply buff and name but then the revert button doesn't remove the things written in the 1st interrupted attempt. The new token become the standard token, the attacks are not cleared and the buff becomes sticky..

It works perfectly in 0.78.9
oh and it's listed as 'PF1 Might Morphin Mod', missing a 'y' 😉
Cheers

Hmm actually it seems to clash with one of my modules... trying to figure out which one.


Don't complain about documented symbols with find-doc-nits -e -o

find-doc-nits can give a list of symbols that were added since 1.1.1 and
are undocumented (using -o). To do this it uses the missingcrypto111.txt
and missingssl111.txt files which give a snapshot of the undocumented
symbols at the time of the 1.1.1 release. Currently it complains about
symbols that are in those files that have subsequently been documented.
This isn't particularly helpful so we suppress that feature when "-o"
is being used.

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Pushed. Thanks.


Update Win_CyberCNS_Install.ps1

Moved tenant, portal and executablelocation to key store as they should never change client-to-client for 99% of users. Removed -Type entirely as a custom field and indicated it should be just passed as a variable. Didn't really understand why you'd want to specify this at the client level. Maybe agent level. But I suspect most people would pass this at the policy level (-Type Probe on a server and -Type LightWeight on a workstation, for example). Added a short explanation of the Uninstall variable.

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


OperationCanceledException when disposing AdminClient

Description
When AdminClient is disposed OperationCancelledException appears in Visual Studio Debug Output. It creates an unnecessary mess in the debug window
How to reproduce
execute that line of code
using var adminClient = new AdminClientBuilder(new AdminClientConfig { BootstrapServers = "localhost: 9092"}).Build();
where you need to replace localhost: 9092 with your Kafka server
Checklist

[x] Confluent.Kafka nuget version 1.5.1
[x] Apache Kafka version. 5.5.1
[x] Operating system.  Windows 10

thanks - this is not ideal, we should fix it. known issue.


zwave-JS-UI: Greenwave GWPN1 keeps flashing network error

Checklist

[X]  I am not using Home Assistant. Or: a developer has told me to come here.
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem is not mentioned there.

Deploy method
Snap
Z-Wave JS UI version
zwave-js-ui: <IP_ADDRESS>07bd8
ZwaveJS version
zwave-js: 11.9.2
Describe the bug
Last week upgraded to the Zwave-JS-UI to replace the previous Zwave setup supported in Domoticz.
Now i keep getting flashing buttons on the Greenwave GWPN1. I have about 7 of them and all behave alike. Nothing wrong in their functioning on switchting the lights on/off.
Setting the configuration to:
[17-112-0-4] LED for network error
[0] Disable the LED for network error (Default)
does not resolve it.
Is there other setting that resolves this?
To Reproduce
Tried redefining the settings in the gui but issue remains.
When switch on/off the issue is termporarily gone
Expected behavior
No blinking lights on the device
Additional context
No response

When using customer command parameter 4 set to value 0 the blinking stops (set)
When executing the get for parameter 4 there is an error indicating parameter 4 is undefined.
Trying same for parameter 3 (wheel positioin) i get the correct value of 128 (black).
For parameter 4 the setting is does not keep the flashing away permanently.
Hope this helps


Multicheckbox updates dirty state only after the modelChange event has finished firing

Description
Bootstrap multicheckbox field updates dirty state only after the modelChange event has fired, unlike other fields
Minimal Reproduction
app:
https://angular-ivy-z1eghs.stackblitz.io
editor:
https://stackblitz.com/edit/angular-ivy-z1eghs?file=src/app/app.component.ts
Your Environment

Angular version: 12.1.0
Formly version: 5.12.0

Additional context
I noticed this behavior when trying to capture and filter fields in a dirty state inside a modelChange event, all the fields I am using in my form are already dirty when the event fires, while multicheckbox is still pristine and turns dirty only afterwards keeping me from intercepting it as a dirty control during a modelChange event

This issue has been fixed and released as part of v5.12.3 and v6.0.0-beta.2 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!


*: replaced godep with glide

Godep was continually being a drain on development resources of acbuild,
and thus this commit replaces godep with glide. Glide takes advantage of
the golang vendor experiment, and thus this change will drop support for
versions of Go less than 1.5.
The biggest impact this change has is that dependencies are no longer
vendored with acbuild, and are instead fetched at compile time by the
build script. This is done by checking if the vendor directory exists,
and running glide install if it is not.
Fixes https://github.com/appc/acbuild/issues/98. Replaces https://github.com/appc/acbuild/pull/157.

Why do you not want to vendor the deps?
Derek Gonyeo<EMAIL_ADDRESS>schrieb am Fr., 26. Feb. 2016 20:23:

Godep was continually being a drain on development resources of acbuild,
and thus this commit replaces godep with glide. Glide takes advantage of
the golang vendor experiment, and thus this change will drop support for
versions of Go less than 1.5.
The biggest impact this change has is that dependencies are no longer
vendored with acbuild, and are instead fetched at compile time by the
build script. This is done by checking if the vendor directory exists,
and running glide install if it is not.
Fixes #98 https://github.com/appc/acbuild/issues/98. Replaces #157
https://github.com/appc/acbuild/pull/157.

It's not something that's as nicely supported with glide. It leaves the .git directories in what it fetches, and I didn't see an easy way to disable that.
I see two arguments to not want to move away from vendoring our dependencies:

What if one of our dependencies vanishes from github?
We have a local copy on our machines (because it'll be sitting in acbuild's vendor directory), and can throw up a fork of the project.
What if github goes down?
This will only impact users who haven't yet built acbuild once, and chances are if someone who wants to build acbuild is at this stage then they don't have acbuild either, and won't be able to get it anyway.

I also think that glide's model will make it a good amount easier to work on both acbuild and one of acbuild's dependencies concurrently, since you can just cd into vendor/github.com/the/dependency, make changes, see the impact on acbuild, and when you're done commit and push inside the vendored repo.

Hi, as I also started experimenting with glide and I'd like to share what I learned since I'd prefer to vendor dependencies:

Glide doesn't remove .git and other VCS directories. But you can easily do this and now there's a tool to do this:

http://engineeredweb.com/blog/2016/glide-strip-vendor-vcs/

Glide doesn't remove unused packages so the created vendor, also with VCS data stripped out, remains with unneeded files (for example importing just the etcd client package imports the whole etcd project). The explanation is related to licensing and project modifications:

http://engineeredweb.com/blog/2016/go-why-not-strip-unused-pkgs/
But if you are sure of not causing license issues you can probably write a tool (I'm going to do this if it doesn't exists) that, given the glide.lock will remove all the files outside the import or subpackages (if the import have sub packages).

Just for completeness (but it's a general info and not related to glide) as the glide faq says, vendoring is good for the final application but with a package meant to be used by other projects it can cause problems in some cases:
https://github.com/mattfarina/golang-broken-vendor

But this is a problem present also with old style Godep vendoring/rewriting.

@sgotti thanks for letting us know your experience! Would you mind sharing
more about why you wanted to move away from Godep and how glide improves?
On Thu, Mar 3, 2016 at 9:46 PM, Simone Gotti<EMAIL_ADDRESS>wrote:

Hi, as I also started experimenting with glide and I'd like to share what
I learned since I'd prefer to vendor dependencies:

Glide doesn't remove .git and other VCS directories. But you can
easily do this and now there's a tool to do this:

http://engineeredweb.com/blog/2016/glide-strip-vendor-vcs/

Glide doesn't remove unused packages so the created vendor, also
with VCS data stripped out, remains with unneeded files (for example
importing just the etcd client package imports the whole etcd project). The
explanation is related to licensing and project modifications:

http://engineeredweb.com/blog/2016/go-why-not-strip-unused-pkgs/
But if you are sure of not causing license issues you can probably write a
tool (I'm going to do this if it doesn't exists) that, given the glide.lock
will remove all the files outside the import or subpackages (if the import
have sub packages).

Just for completeness (but it's a general info and not related to
glide) as the glide faq says, vendoring is good for the final application
but with a package meant to be used by other projects it can cause problems
in some cases: https://github.com/mattfarina/golang-broken-vendor

But this is a problem present also with old style Godep
vendoring/rewriting.
—
Reply to this email directly or view it on GitHub
https://github.com/appc/acbuild/pull/186#issuecomment-191955329.

@jonboulle sure. I'm currently not in the position to suggest e tool over another. I was intrigued on how it tries to manage dependencies like npm, pip, bundler using a config file and lock files, it tries to implements semver dependencies and read config from other vendor tools like godeps, gb etc...
Obviously, since golang is really distributed and doesn't have a central repository, there are some difference with other languages/tools.
One interesting thing is that it doesn't needs packages in your gopath but it will check them out directly inside your project (or copy them from a cache dir or from the gopath but then checking out the right version inside you project).
 This is causing me some headache since many projects (myself too) wants to commit it (for a lot of good reasons), but having or not having nested vendor directories have a different compilation behavior. I opened github.com/Masterminds#303 to talk about this.
Additionally, if I want to commit, and I'm sure to not cause licenses violations, I'd like to remove as much as possible from the vendor directory. I wrote a tool to do this (https://github.com/sgotti/glide-vc) (with some changes in flight, see the opened PRs)

After triggering some discussions on Masterminds/glide#303, glide 0.10 has much improved the vendor handling (http://engineeredweb.com/blog/2016/glide-0.10.0/)
Now you can easily remove nested vendor folders.  So if you have two dependencies that depends on incompatible version of pkgA you have to find a fix for making them work together.
actually my preferred workflow is this one:

create a glide.yaml (glide create, if already using godeps it'll convert them from godeps)
Update it (I prefer to specificy semvers tagged releases when possibile)
rm -rf vendor (I like to treat my vendor as a scratch and be able to recreate it every time)
glide update -u -s -v --cache # This will populate the vendor dir, remove VCS data and strip vendor (also undo godeps import rewriting). --cache is very useful to avoid git cloning deps every time I run it, you can also use --cache-gopath and --use-gopath instead of having a dedicate cache dir.
Test, fix glide.yaml for incompatibilities (for example force subdependency versions if needed)
Before committing glide.yaml, glide.lock and vendor/, super strip vendor/ removing (if licenses will permit it) all unneeded files using glide-vc (https://github.com/sgotti/glide-vc):
glide-vc --only-go --no-tests

cross-linking https://github.com/sorintlab/stolon/pull/131

Revisited this, tests now pass. Now vendors dependencies, unlike when I originally made this PR (uses glide flags to trip VCS info). Added Documentation/development-guide.md with a short guide on using glide.

Oh, and due to switching to using vendor, this commit drops go 1.4 from the travis tests.

@dgonyeo there is a tonne of unused stuff in there - is this post-glide-vc?

No it's not. Just ran glide-vc, updated the docs to state that it should be used and how to use it, and added these changes to the PR.


Wrong indicator is highlighted with multiple media

Love your design. I noticed, that when you have posts with multiple media, the second indicator instead of the first indicator is highlighted in the beginning. Couldn't figure out whats wrong in the javascript code. Do you know how to fix it?

Hey man, thanks for the compliment! :)
I had witnessed this behavior a few times too, but unfortunately I couldn't understand what could be wrong either. I will keep this issue open, hoping to get this bug resolved soon. ❤


The "Date Published" from the "Create Post" will hide the post if the server timezone is backwards compared to the browser timezone

Hi, just discovered Canvas and it's bloody amazing!!
I've published a post today and realized something. My server is in LA time, but I'm in Vietnam. When I create a post, the Javascript in the browser will take my time VN-time, but then when I publish and watch the home, it won't appear because the published time is in the future for the backend.
So, reproduction:

Set your server at a given timezone in the past (< GMT, for example Los Angeles)
Set your own timezone in say Japan (well in the future compared to LA)
Create a post and observe that the "Published At" time is in your browser time
Publish it and go to home

Observed result:

The post will not show (because the backend thinks it's in the future)

Expected result:

The post should show (because it's actually just been posted to be public).

Timezones are always a thing...

@nicolasembleton Thanks for checking out Canvas, and glad you like it! Thanks for bringing up this point, always helps when it's tested in different parts of the globe. I'll take a look and see what I can do to fix this.


Not Accurate

Hi, I tried to run this on Emulator. The last known location is not updated when I change the location from emulator settings.
Try these things:
1: Open app, it will give you the location which is currently set on emulator.
2: Now let the map page stay, and change location to some other location on emulator. The location on the map will not jump to that new location which is understandable, but when I close the app from here and reopen it, still it shows old location.
If I add one line to your code, this situation is resolved, but it's not a perfect solution.
mMap.setMyLocationEnabled(true);
Thank you

Thank you @sunnykinger, I corrected this in my last commit, it is probably not the optimal method but it works.


Minor comments fix

Signed-off-by: Zhonghu Xu<EMAIL_ADDRESS>Please provide a description of this PR:
FIx https://github.com/istio/istio/pull/40035#discussion_r927576239
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
6d16c52a61216ea0836480a518ed434ebec218ef
link
true
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Major Rewrite

I had made some breaking changes to the doc. I have since redone my build of this and came up with a proper working solution to allow for LAN routing and nested VM internet connectivity. This required a major rewrite of the doc.

Thanks!


Autofill on iPhone not working as expected

Steps to Reproduce

Go to password field (field with obscureText set to true), password autofill pops up
Go back to email field (field keyboardType set as TextInputType.emailAddress), and use password autofill

Result: Password is put into the email field instead of the username/email and nothing goes into the password field.
Expected Result: username goes into email field and password goes into password field
Here is a link to a video that shows the issue: https://drive.google.com/file/d/1TFyuvie7Vn1mK1syvuaRJMWtogt8kLwP/view?usp=sharing
Here is a reproduction case:
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('Please enter credentials'),
        ),
        body: Container(
          padding: EdgeInsets.symmetric(
            vertical: 15,
            horizontal: 30,
          ),
          alignment: AlignmentDirectional.topCenter,
          child: Form(
            child: Column(
              children: <Widget>[
                TextFormField(
                  keyboardType: TextInputType.emailAddress,
                  decoration: new InputDecoration(
                    hintText: "Email",
                    labelText: "Email",
                  ),
                ),
                TextFormField(
                  obscureText: true,
                  decoration: new InputDecoration(labelText: "Password"),
                )
              ],
            ),
          ),
        ),
      ),
    );
  }
}

related to https://github.com/flutter/flutter/issues/13015
Logs

Analyzing issue...
No issues found! (ran in 5.6s)

[✓] Flutter (Channel beta, v1.5.4-hotfix.1, on Mac OS X 10.14.4 18E226, locale en-US)
    • Flutter version 1.5.4-hotfix.1 at /Users/natalieflores/flutter
    • Framework revision 09cbc34a0b (7 days ago), 2019-04-30 15:44:27 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/natalieflores/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/natalieflores/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.2.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] VS Code (version 1.33.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.25.1

[✓] Connected device (1 available)
    • iPhone X • 90F6DD03-448B-4B6C-B03F-6FD7345B224D • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

• No issues found!

I have a local fix for this that would at least disable the password autofill if the focus leaves an obscureText textbox.
That might be worth landing short term.  Ideally, we should support the full native feel where if there's any obscureText (or really, any semantic password text entry field), you get password autofill that knows exactly which textbox to put the password into.


Added cf codes

@codeaholic-shub Please merge my PR under the hacktoberfest label, it would be of great help.
Thanks!!


Update LICENSE

The current format is not recognized by licensee.

Sorry; only just saw this. Looks good 👍


Need to document that this a review tool final checking tool

We need to document what the library is for and how it works

@Jbutler-helpful Is this issue still valid?

@Jbutler-helpful Is this issue still valid?


Are you planning to upload a sample script which runs an example app built with openxr?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
For example: I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you would like to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features
you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Well, if you can figure out how to convert it to python, you can try this tutorial

i would like to have simple example on initializing and reading some values from any runtime really
I wasn't able to create an Instance and get any Handle from my steamVR


Sentry file doesn't appear to be working, constantly need to re-enter auth code

This is my code:
  ipcMain.on('steam-login', (event, args) => {
    steamClient.connect();
    steamClient.once("connected", steamLoginUser);
    steamClient.once("servers", (servers) => {
      fs.writeFile("servers", JSON.stringify(servers));
    });

    function steamLoginUser() {
      let loginInfo = {
        account_name: args.username,
        password: args.password,
        auth_code: args.authCode || undefined,
        sha_sentryfile: (fs.existsSync("./sentry") ? fs.readFileSync("./sentry") : undefined)
      };

      if (loginInfo.auth_code === "") {
        delete loginInfo.auth_code;
      }

      steamUser.logOn(loginInfo);

      steamClient.once("logOnResponse", (resp) => {
        console.log("Response", resp);

        switch(resp.eresult) {
          case 65:
          case 63:
            event.sender.send('steamAuthCodeRequired');
            break;
        }
      });

      steamUser.once("updateMachineAuth", (sentry, callback) => {
        fs.writeFile("sentry", sentry.bytes);
        callback({ sha_file: getSHA1(sentry.bytes) });
      });

      function getSHA1(bytes) {
        let shasum = crypto.createHash("sha1");
        shasum.end(bytes);
        return shasum.read();
      }
    }
  });

When I login, I enter my auth code, sentry file is created, and all that is fine, but if I try to logout and log back in, I get another email with an auth code, I've logged my loginInfo and I see everything there (I remove the auth code on the second attempt (but still get eresult 63 and an email)
Any information would be great thanks.

The sentry file is irrelevant if you're using mobile authentication. You must generate the auth code using node-steam-totp.

@andrewda He is receiving emails, so no 2FA appatently. You are correct though.

@scholtzm yep you're right. I incorrectly assumed he was using 2FA.

What @scholtzm said.


Basic Auth Verificator Library

Create a library to verify basic auth user and password. The user and password for basic auth must be hashed with the following specifications:

PBKDF2 Hashing Algorithm
64 bits key length or 16 bits key size
Hash function SHA512
Encoded with Base64

https://github.com/Hari-Kiri/virest-utilities/pull/36
Done


Purge images

Those two error requires are not referenced - think you added them - you OK if I remove them and update the PR or do you want to fix ?


change url and chain id for lcoal initia.

change url and chain id for LocalInitia.

I think we need to update them for mainnet once the network is launched :)

let's replace mnemonics with new ones :)


(OraklNode) Customizable fetcher frequency

Description
This PR implements customizable fetcher frequency.
On synchronizing from orakl-config, it'll try to read field interval from adapter. If the field interval is not found, default interval 2000 (millisecond) will be set.
{
  "adapterHash": "0xf15e595e641f1447b5ad1c128007574b329e00937e6db3857aff1487345ed5f6",
  "name": "ADA-USDT",
  "decimals": 8,
  "interval": 2000,
  "feeds": [...]
}

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Deployment

[ ] Should publish npm package
[ ] Should publish Docker image

Summary by CodeRabbit

New Features

Introduced adjustable fetching intervals for adapters, allowing customization of data retrieval frequency.

Refactor

Updated internal handling of adapter settings to accommodate new interval settings.

Database Changes

Added a new column to manage fetching intervals for each adapter.

LGTM! I am curious why we decided to store the value in DB. I thought we read all the configurations during launch and setup work based on that.

Yes you have a point, currently, configuration is loaded by following procedure
admin api read config json -> admin api stores in db -> fetcher or aggregator read the stored config from db on launch
when app launches it runs in following steps

launch admin api and wait to be read
once admin api is ready run sync to sync db with config json
start fetcher , aggregator, and reporter

The settings from admin api can be removed later and settings could all be loaded from each services. Admin api will be only responsible for operation such as refreshing, stopping, or running


The app will crash if go to any accounts relation routers when the user already logged in

The app will crash if go to any accounts relation routers when the user already logged in,
like /login, /signup, /reset-password, /profile.
I found in LoginForm.jsx is using (user && formState == STATES.PROFILE && (user && 'password' in user.services)) to add changePassword button,
But the app will crach in the user.services is undefined.
LoginForm.jsx:287 Uncaught TypeError: Cannot use 'in' operator to search for 'password' in undefined
In the Meteor guild, the user services field will not auto send to client,
is it correct using user.services is client side?

I've fixed this in 3e7f6d3c4d020461657a129e2ca42bb0702b35bb, try updating to the latest release 1.1.10


exec passes trailing arguments to 'sh -c'

G'day! I'd expected otel-cli exec to invoke its first argument with its remaining arguments, so the first result below surprised me until I dug into the source code and saw it matched the second:
$ otel-cli exec -- bash -c 'echo a; echo b'

b
$ sh -c 'bash -c echo a; echo b'

b

I'd hoped for stricter argument passing so I could put otel-cli anywhere without having to troubleshoot whitespace and escaping in arguments, eg. so I could safely put otel-cli in a shebang to wrap a script:
#!/usr/bin/env otel-cli exec -- python3
import os, sys
print("Arguments:", repr(sys.argv))
print("Traceparent:", os.environ["TRACEPARENT"])

Propagation works, but with the current argument handling the argument gets split on its whitespace:
$ ./script.py "hello there"
Arguments: ['./script.py', 'hello', 'there']
Traceparent: 00-e16154a608fa3a412d3f8f4739a950a2-ea907477c0ba37b7-01

Straight argument passing would be a breaking change demanding a minor version bump given your major is zero… I reckon at about the same scale as #181? A lot of people won't notice, but it's worth documenting.
Proof-of-concept patch:
The following fixes the problem for POSIX-flavoured systems only:
diff --git otelcli/exec.go otelcli/exec.go
index 46df894..31560c1 100644
--- otelcli/exec.go
+++ otelcli/exec.go
@@ -52,13 +52,10 @@ func doExec(cmd *cobra.Command, args []string) {

-       // use cmd.exe to launch PowerShell on Windows
-       var shell string
-       if runtime.GOOS == "windows" {
-               shell = "cmd.exe"
+       var child *exec.Cmd
+       if runtime.GOOS == "windows" { // use cmd.exe to launch PowerShell on Windows
                commandString = "/C powershell " + commandString
+               child = exec.Command("cmd.exe", "-c", commandString)
        } else {
-               shell = "/bin/sh"
+               child = exec.Command(args[0], args[1:]...)
        }

-       child := exec.Command(shell, "-c", commandString)
-
        // attach all stdio to the parent's handles

A full PR might remove the special case for Windows, leaving that to the Go standard library (syscall.StartProcess?).

I'm open to changing the behavior for sure. TBH I didn't spend a ton of time on exec because I wasn't sure it would be very useful. IIRC I threw "sh -c" in there as a way to get it working right away without messing around too much. Clearly it needs work now.

@garthk I don't remember why I made sh -c the default. I've switched it to always preserve argv down to exec.Command. This should work fine on all OS's. It might break some folks who are depending on sh -c behavior, but seems like the right thing to do.
Can you please take a look at #202 and provide your thoughts?

release v0.3.0, please reopen if there's still an issue


fix bug where other :guardian_ keys are parsed from the conn

Came accross a problem where other :guardian_ keys where being processed by the Guardian.Plug.Keys module. Other meaning: other than _claims, _token and _resource.
These other keys may, for example, have been put there by another Plug in the pipeline. In particular, this causes problems when working together with guardian_db and revoking sessions.
The test demonstrates this by constructing this:
conn.private == %{
  guardian_default_claims: %{"sub" => "bob", "typ" => "access"},
  guardian_default_resource: %{id: "bob"},
  guardian_default_token: "eyJjbGFpbXMiOnsidHlwIjoiYWNjZXNzIiwic3ViIjoiYm9iIn19",
  guardian_error_handler: Guardian.PlugTest.PipelineImpl.Handler,
  guardian_module: Guardian.PlugTest.PipelineImpl.Impl,
  plug_session: %{
    "guardian_default_token" => "eyJjbGFpbXMiOnsidHlwIjoiYWNjZXNzIiwic3ViIjoiYm9iIn19"
  },
  plug_session_fetch: :done,
  plug_session_info: :renew
}

and then calling Impl.Plug.sign_out which would subsequently not try to clear the key :guardian_error_handler from the session with this fix.

Can you please update the changelog before I merge this.

Rebased and updated the changelog (added my previous PR to the changelog as well, hope you don't mind).

Thank you :)


 Trying to run Neogit results in:
Error executing Lua callback: .../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:48: Vim:Error executing Lua callback:
 ....local/share/nvim/lazy/neogit/lua/neogit/lib/git/cli.lua:616: attempt to call field 'system' (a nil value)
stack traceback:
        ....local/share/nvim/lazy/neogit/lua/neogit/lib/git/cli.lua:616: in function 'git_root'
        /home/me/.local/share/nvim/lazy/neogit/lua/neogit.lua:86: in function 'construct_opts'
        /home/me/.local/share/nvim/lazy/neogit/lua/neogit.lua:164: in function 'open'
        ...me/.local/share/nvim/lazy/neogit/plugin/neogit.lua:5: in function <...me/.local/share/nvim/lazy/neogit/p
lugin/neogit.lua:3>
        [C]: in function 'cmd'
        .../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:48: in function <.../share/nvim/lazy/lazy.nvim/lua/lazy/cor
e/handler/cmd.lua:16>
stack traceback:
        [C]: in function 'cmd'
        .../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:48: in function <.../share/nvim/lazy/lazy.nvim/lua/lazy/cor
e/handler/cmd.lua:16>

:lua vim.system results in nil for me (see version below)
Neovim version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1713773202
Operating system and version
Arch (EndeavourOS)
Steps to reproduce

Run :Neogit

Expected behavior
Neogit opens
Actual behavior
Crash with the error on description.
Minimal config
Install via Lazy

{
    "NeogitOrg/neogit",
    cmd = "Neogit",
    dependencies = {
      "nvim-lua/plenary.nvim", -- required
      "sindrets/diffview.nvim", -- optional - Diff integration
      "nvim-telescope/telescope.nvim",
    },
    opts =  {},
}

I have the same issue.
NVIM v0.95
Neogit 9040f6f

This is because neogit merges nightly branch and support 0.10+ only.
I suggest create a stable branch for 0.9.5 users so that the user does not need to manully pin at a specific commit.

This is because neogit merges nightly branch and support 0.10+ only.
I suggest create a stable branch for 0.9.5 users so that the user does not need to manully pin at a specific commit.

The README  states that its compatible with stable to
'
The master branch will always be compatible with the latest stable release of Neovim, and usually with the latest nightly build as well.
'

I made a tag for nvim 0.9 users: https://github.com/NeogitOrg/neogit/releases/tag/v0.0.1
HEAD follows the latest stable version of neovim, which is now 0.10


Windows-latest image does not support cc command or $(CC) variable in Makefiles

Description
On the windows-latest image, attempting to use the default $(CC) command in a Makefile (which resolves to the cc command), results in an error.
Area for Triage:
C/C++
Question, Bug, or Feature?:
Bug
Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Ubuntu 20.04 LTS
[x] Windows Server 2016 R2 (I assume?)
[x] Windows Server 2019

Expected behavior
C compiler to work
Actual behavior
/usr/bin/bash: cc: command not found

https://github.com/simonbyrne/cg/runs/1106611718#step:5:12
Repro steps

Create a Makefile that uses the automatic $(CC) variable, e.g.

version:
	$(CC) --version

run make version.

Hello, @simonbyrne
When you use bash in Windows, the GitHub bash is using by default (https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell), which has no cc installed.
Windows image also contains the MSYS2 bash, which has cc inside.
For using cc from MSYS2 bash, you can add the directory of this shell to PATH variable in previous step.
Please specify the next step before your make (win) step:
- name: Add Msys64 to PATH
        if: matrix.os == 'windows-latest'
        run: echo "::add-path::/c/msys64/mingw64/bin:/c/msys64/usr/bin"
        shell: bash

after this you can use make without CC=gcc key
If you'll still get the same issue - feel free to ping me in this ticket
Thank you.

Soon, bash will default to MSYS2. See #1648.

Thanks @andy-mishechkin and @eine!


ISPN-15072 Exclude global connections from Micrometer

https://issues.redhat.com/browse/ISPN-15072

merged! thanks @tristantarrant !


CSS not transferring when running npm run build

Describe the bug
When generating the build version of this website to view locally (or deploy via github actions), the website fails to connect with the CSS leaving unstyled HTML.
To Reproduce
Steps to reproduce the behavior:

git clone git@github.com:TylerMRoderick/fernfolio-11ty-template.git
cd fernfolio-11ty-template
npm install
npm run build
Open _site/index.html in the browser
Greeted with a webpage with (seemingly) no CSS (see screenshot below)

Screenshots

Desktop (please complete the following information):

OS: MacOS Sonoma 14.2.1
Browser: Firefox
Version: 123.0 (64 bit)

Additional context
Running npm start works fine, and I'm able to view the website (with CSS) on localhost.

Hey @natestemen, if your goal is to preview the build version of the website then you will need to run a web server. You can't simply open _site/index.html in the browser.
One way to do this is to go into the root directory and run npx http-server _site (you might need to install npx if you haven't done that before).
You can learn more about web servers on this MDN article. Hope that helps!

Out of curiosity what are the features here that require a web server?

Good question, I just took a look into _site/index.html to check.
If you look where the main.css file is included, you'll see /assets/css/main.css is a file path that doesn't resolve correctly without a web server. I believe the leading slash is what breaks things. If you replace that path with a relative path (assets/css/main.css), things will work without a web server.
In Eleventy, leading slashes in file paths are used to indicate that the path is relative to the root of the project. This is done to ensure that the path is always resolved correctly regardless of the current file location. If we were to run without a web server, the build step would have to only use relative paths. There is probably a way to configure things to achieve that if we wanted.


Update admin_guide.md

Fixed an invalid link.

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks, @scjane :)


realworld example doesn't start

In development branch of realworld example, and after pnpm i & docker up, running pmpm start throws this:
pnpm start

><EMAIL_ADDRESS>start /Users/guillem/programacio/codi/cites/databases/effect-typed/examples/realworld
> vite --config ./vite.config.mts serve --force src

failed to load config from /Users/guillem/programacio/codi/cites/databases/effect-typed/examples/realworld/vite.config.mts
error when starting dev server:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@typed/vite-plugin' imported from /Users/guillem/programacio/codi/cites/databases/effect-typed/examples/realworld/vite.config.mts.timestamp-1716481104804-ecd30aef0c94.mjs
    at new NodeError (node:internal/errors:406:5)
    at packageResolve (node:internal/modules/esm/resolve:789:9)
    at moduleResolve (node:internal/modules/esm/resolve:838:20)
    at defaultResolve (node:internal/modules/esm/resolve:1043:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36)
 ELIFECYCLE  Command failed with exit code 1.
 ```

Just need to run pnpm build in the root directory (don't need to install in the root directory), and the go to the example directory again and run pnpm start

Hey @guillempuche Thanks for the issue, and sorry for the confusion! As you pointed out, my instructions are lacking the pnpm install and pnpm build steps at the root of the repository before being able to run the example. This is due to using workspace:* links, and needing local builds of the code to function.
I'll update the docs in the meantime, and I'll work on getting those workspace:* links replaced with npm reference now that everything is published to NPM.

Docs have been updated, lemma know if they're not clear or representation of what you actually needed to do - https://github.com/TylorS/typed/blob/development/examples/realworld/README.md#getting-started


chore(templates): ignore lockfiles

Just like in examples, we don't want to have lockfiles in templates either.
We're running npm/yarn/pnpm install in our CLI (both when creating & on init), so this could cause unnecessary lockfiles if the user's package manager is different from the one we included the lockfile for.
https://github.com/remix-run/remix/blob/a511d347a3c452c7532ddb396a16d246ae8ba70e/packages/remix-dev/cli/create.ts#L225-L228
https://github.com/remix-run/remix/blob/a511d347a3c452c7532ddb396a16d246ae8ba70e/packages/remix-dev/cli/commands.ts#L71-L74

I also updated our default stacks for this: https://github.com/remix-run/indie-stack/pull/79, https://github.com/remix-run/blues-stack/pull/67 & https://github.com/remix-run/grunge-stack/pull/53


Why is easy_install deprecated and what should I do instead?

setuptools version
44.0.0
Python version
Does not matter
OS
Does not matter
Additional environment information
No response
Description
So, I received this warning:
WARNING: The easy_install command is deprecated and will be removed in a future version.

without any explanation of what I should do instead... And, how am I supposed to install Eggs now? I mean, not right now, but in this grim future, where there seems to be no way to install Eggs.
 In order to avoid dealing with pip, and to avoid dealing with idiotic install command, my normal workflow was to override install to do the equivalent of:
python setup.py bdist_egg
python -m easy_install ./dist/*.egg

This avoids inconsistencies caused by calling the default install command, which are particularly apparent when packaging "data" files, native libraries, scripts etc. I mean, if anything needs deprecation and removal, that's the install command. There should only be one way to install a package, which is to build the distributable package first, and then to install it.
Now, if you remove easy_install, then there's no way to have an actually functional installation process. This is because pip cannot install Eggs, and if I tried to replace them with wheels, then in order to make wheels, pip will, again, call setup.py install... which is idiotic and kinda hilarious, but it's a different battle... pip is beyond repair, and needs a complete ground-up remake at this point.
So, you are kinda removing the only functioning tool that can install packages without any alternative? Why?
Expected behavior
easy_install stays as long as there isn't a working alternative to install packages.
How to Reproduce
Irrelevant
Output
Irrelevant
Code of Conduct

[X] I agree to follow the PSF Code of Conduct

Wheel format is garbage and the tools around it are garbage too
dealing with idiotic...

This type of mean-spirited editorializing violates this project's code of conduct. Consider this a warning to try to stick to the facts with constructive criticism and respect the work of those who are donating their free time to these projects.

Why is easy_install deprecated?

I too was a detractor toward pip. It failed to meet many of the prior expectations I'd built up on Setuptools and easy_install, especially around eggs, as you describe.
Nevertheless, in an effort to converge on something suitable, pip and wheels became the defacto standards for installing packages and distributing compiled distributions (respectively). Since then, the volunteers at the PyPA have striven to create independent standards to serve as a foundation for a richer set of competing tools.
For example, pip is no longer required to build standards-based distributions. The build project implements a standalone builder. installer exists to install wheels.
For the past ~8 years, Setuptools has been focused on being a best-in-class build backend, to support the building and compilation and leave the upload/download/install/resolving/metadata/resources to other packages. There are now other projects that don't use Setuptools, will never have eggs, and need installer support too.
In my personal usage, I've found pip to have some transitional cost from eggs, but it suits most use cases, and because it's the most popular installer, it has a lot of support behind it. If you can describe a use-case that's unmet by pip, there's a good chance that use-case can be addressed (or you can contribute the change).
You've alluded to issues with pip, but I can only guess what the actual issues you might have encountered if you'd type pip install . instead of the workflow you described above (which essentially does the same thing - build a wheel and then install it).
In any case, the "replacement" for easy_install and eggs is to use pip and wheels, and there's almost no chance that these can be sustained, so this post is off-topic for Setuptools and I'll transfer this to packaging problems.


Showing Recent Issues Target release_unpack_ios failed: Exception: Failed to codesign /Users/rajdip/Library/Developer/Xcode/DerivedData/Runner-hadmaqroaesbvqcfilyzseibuoml/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Flutter.framework/Flutter with identity CC1BBCE90F70C407DB88BE252B1A7603BF43F2F6.

Steps to reproduce

flutter get
flutter run

Expected results
Need show to out of the code in ios simulator

Actual results
It should show the out off the code like this video

Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
``[✓] Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-arm64, locale
en-IN)
• Flutter version 3.19.6 on channel stable at
/Users/rajdip/Documents/sdks/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 54e66469a9 (6 days ago), 2024-04-17 13:08:03 -0700
• Engine revision c4cd48e186
• Dart version 3.3.4
• DevTools version 2.31.1
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/rajdip/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/rajdip/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.7+0-17.0.7b1000.6-10550314)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15E204a
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.7+0-17.0.7b1000.6-10550314)
[✓] VS Code (version 1.88.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.86.0
[✓] Connected device (4 available)
• Rajdip’s iPhone (mobile)   • 00008101-000A1C303644001E            • ios            • iOS 17.4.1 21E236
• iPhone 15 Pro Max (mobile) • 3C13719E-6496-41C9-81B2-DF24C7682304 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator)
• macOS (desktop)            • macos                                • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
• Chrome (web)               • chrome                               • web-javascript • Google Chrome 124.0.6367.62
[✓] Network resources
• All expected network resources are available.
• No issues found!

</details>

Hi @rajdip34
Please provide the crash log in text format instead of a screenshot for better readability and investigation (see avoid posting screenshots of text).

Showing Recent Issues Target release_unpack_ios failed: Exception: Failed to codesign /Users/rajdip/Library/Developer/Xcode/DerivedData/Runner-hadmaqroaesbvqcfilyzseibuoml/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Flutter.framework/Flutter with identity CC1BBCE90F70C407DB88BE252B1A7603BF43F2F6.

For this error, please check https://github.com/flutter/flutter/issues/106876#issuecomment-1181916833 to see if it works for you.


Security Vulnerability CVE-2023-37895

We're using io.wcm.testing.aem-mock.junit5:5.5.2 in our project and it has a high severity Security Risk CVE-2023-37895 in the Blackduck code scan report as shown below.

According to CVE-2023-37895:

Users are advised to immediately update to versions 2.20.11 or 2.21.18

Please help to upgrade the Jackrabbit dependency version in the next release.

following the links in the CVE report and the posting here: https://lists.apache.org/thread/j03b3qdhborc2jrhdc4d765d3jkh8bfw
only certain jackrabbit artifacts are affected ((jackrabbit-webapp, jackrabbit-standalone, jackrabbit-standalone-components).
none of these artifacts are included in aem-mock and it's dependencies:
$ mvn dependency:tree | grep jackrabbit
[INFO] +- org.apache.jackrabbit:jackrabbit-jcr-commons:jar:2.20.9:compile
[INFO] |  +- org.apache.jackrabbit:oak-jackrabbit-api:jar:1.22.15:compile
[INFO] |  +- org.apache.jackrabbit:oak-jcr:jar:1.22.15:compile
[INFO] |  |  +- org.apache.jackrabbit:oak-api:jar:1.22.15:compile
[INFO] |  |  +- org.apache.jackrabbit:oak-core-spi:jar:1.22.15:compile
[INFO] |  |  +- org.apache.jackrabbit:oak-store-spi:jar:1.22.15:compile
[INFO] |  |  +- org.apache.jackrabbit:oak-query-spi:jar:1.22.15:compile
[INFO] |  |  +- org.apache.jackrabbit:oak-security-spi:jar:1.22.15:compile
[INFO] |  |  +- org.apache.jackrabbit:oak-core:jar:1.22.15:compile
[INFO] |  |  |  \- org.apache.jackrabbit:oak-blob-plugins:jar:1.22.15:compile
[INFO] |  |  |     +- org.apache.jackrabbit:jackrabbit-data:jar:2.20.9:compile
[INFO] |  |  |     +- org.apache.jackrabbit:oak-blob:jar:1.22.15:compile
[INFO] |  |  \- org.apache.jackrabbit:oak-commons:jar:1.22.15:compile
[INFO] +- org.apache.jackrabbit.vault:org.apache.jackrabbit.vault:jar:3.2.8:compile

so this looks like a false positive to me?
we try to keep the versions of the dependencies in sync with certain older AEM releases to ensure compatibility for a broader range still in use out there.


wip

Stack:

#2852 ⬅
#2744

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is


Session ID

@nrshapiro ,
Im working on adding the PADS authentication. I seem to have everything working correctly, however no matter who Im logged in with I'm not allowed to read full documents.
I get the following returned in the JSON
accessLimited: true
accessLimitedDescription: "The full content of the document is available to subscribers. "
accessLimitedPubLink: null
accessLimitedReason: "This is a summary excerpt from the full text of the document. The full content of the document is available to subscribers. "

I just wanted to confirm that the session header I should be sending is client_session and not client-session. Otherwise - hoping you have some guidance on why Im seeing this?

You need to use dashes instead of underscores for header variables.  I believe that's also the way I specified it in all the doc; the only one that was not specified with dashes was the api-key variables, but now they are dashes too, since apparently beanstalk does not let _ variables through.
Ah, I see how this might be a little confusing in the interactive server docs:
"Requires API key and client_id in the header (use 'client-id' in call header)."
I'll get rid of the mapped variable name reference part but the header requirement is client-id and client-session)
In short, all of the header variables use dashes.

@nrshapiro ok, I can switch that. However when I send in dashes all endpoints seem to return 500 errors. Could you take a look at that?

I see...somewhere in the chain, client-session is being stripped out of the headers before I can read it.  I'm looking into it.

@bakerac4
Sorry, it's been a busy day.  And I didn't discover the real problem until I started running my Postman suite, and then not until I was able to fix the pretest calls to PaDS authenticate (which had changed, now requires Content-Type in headers, even though there's no body.)
I am pretty sure it should be ok now.  I pushed it to your staging.

My tests verify it's ok.


Import Base Level Information

Import base level and cost stats.

Need to also add the numbers of buildings you can possibly have built with a given HQ level.


Adds support for stream id to be explicitly set

Attempting to address #60
As before and by default, a new stream will have its Id set to a newly generated Guid.
However, overloaded constructors and other methods now allow a consumer of the library to specify the RecyclableMemoryStream Id, thereby giving the chance for it to be set to Guid.Empty and avoiding the cost associated with calling Guid.NewGuid().

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


empty feature

Thought it might be cool to have a feature like this:

b ="hello"

a = 1 when b is empty
// which in the background converts to:
// ((typeof(b) === 'string' || typeof(b) === 'Array') && b.length === 0) && a = 1 or something.

FWIW i also agree with first proposal... it would have the same logic as the rails .empty? method.


Add: Power of Three

Codecov Report

Merging #387 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #387   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files         137    138    +1
  Lines        1412   1414    +2
=====================================
+ Hits         1412   1414    +2

Impacted Files
Coverage Δ

problems/power-of-three/power_of_three.go
100% <100%> (ø)

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 41f4e79...b652e5f. Read the comment docs.


Remove link references

@HeidiSteen I found that these are not referenced at all.

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

@NextTurn   Ah, I see now -- completely forgot about the reference sections at the end.  We don't create references that way anymore.  I'll wait for your PR to go through and then make my updates to the Learn more reference.
Changes approved.  Please merge.


fix: fetch portfolio for requested accounts on load

Description
Fetch portfolio data for requested accounts on load if they exist. This is an extra logical fork in AppContext to ensure we have accurate balances and upsert any custom tokens on app load if the wallet and associated accounts have already been initialized via the standard account discovery flow or subsequent account management actions. In this case, we will bail early as to not re-run the account discovery flow which could potentially blow away managed accounts if a user had them.
Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes https://github.com/shapeshift/web/issues/7437
closes https://github.com/shapeshift/web/issues/7378
Risk

High Risk PRs Require 2 approvals

High - due to the fact that this is AppContext logic, I am marking as high even if the logic is quite isolated

What protocols, transaction types or contract interactions might be affected by this PR?

Testing

Take note of current account balance
Initiate a trade into a custom token
Upon broadcast, immediately refresh (the idea is we don't want websockets to pick up the mempool tx and update things for testing). For local dev, you can also comment out the websocket subscription effect in TransactionProvider to ensure no auto update/fetch
After refresh, you should now see the balance reflected, the custom token searchable and available, and I was seeing tx history update just fine in this scenario, so still working on recreating: https://github.com/shapeshift/web/issues/7214

Engineering

:point_up:
Operations

:point_up:
Screenshots (if applicable)
https://github.com/user-attachments/assets/417a77e5-ad5c-45f4-abb1-a798ca5b5e89

As it's high in the description, added the high risk label!


[Feature] Hides account deactivation button upon refresh if user has requested to deactivate. [OSF-2735]

Purpose
This prevents confusion when a user requests to deactivate their account then refreshes the page and sees that the deactivate button is still available.
Changes
By adding a requestedDeactivation to the User class, the page checks if the account is pending deactivation on load, and in the case that the user has requested deactivation, it displays a message informing the user rather than the button.
Before:

After:

Side effects
N/A
Ticket
https://openscience.atlassian.net/browse/OSF-2735

Pass done. Recommending looking at tightening up the UI just a bit more if it won't take long. Otherwise we'll go with this and open a new issue for the upgrade. 🐧

Since we've broken up into project teams, I'll go ahead and submit this one as is and a second ticket can be created as needed.

Then this is great. 🎉 🐧 🎉

Pass finished; just minor casing issues. I'll fix those when I merge.


Order results

Great plugin! Is there any way to order the rows I bring into the view?
For example:
{% for row in site.data.google_sheet limit:10 order_by:ASC %}
Thanks!

As far as I know, you would use assign to assign the data to a variable, and in that you can order the list, then use your for statement on that new variable.


Rek sit estimate backend

Description
This PR includes :

Swagger definition for SIT estimation

GET HTTP method
URL is /internal/estimates/ppm_sit as specified by Pivotal

SIT PPM Estimation Handler, which:

wraps sitCharge() and gets return value
Looks up SIT discount rate
Applies inverse of SIT discount rate to sitCharge

Includes test for SIT PPM Estimation handler

It also:

addresses some discrepancies between PpmEstimate and PpmSitEstimate in swagger.
Applies a fix in nonlinehaul.go func sitCharge
Makes sitCharge an exported func
Makes zip5ToZip3 an exported func
Adds helper func timeFromDateTime to handle conversion of strfmt.DateTime to time.Time

Reviewer Notes
Is there anything you would like reviewers to give additional scrutiny?
Code Review Verification Steps

[x] All tests pass.
[ ] Code follows the guidelines for Logging
[ ] Request review from a member of a different team.
[ ] (TRIAL) Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

@akostibas would like your feedback on the logging.


PlayersExclusiveJoinList.txt  deleted after every update

Hello everyone!
first i want to thanks the developer of this awesome tool :D Works like a charm!
imo i've only one problem:
I've activated the "check for updates before each restart" and the "make a backup before each update" option (can't tell the exact name, because i'm at work ;( ) and this works fine, but I alsp use arkflag_exclusivejoin="" and after each update (not every restart!) the PlayersExclusiveJoinList.txt in my ShooterGame/Binaries/Linux folder is gone.
I also recognized, that my GameUserSettings.ini and Game.ini is little bit messed up after each update.
The content of each of the ini's in still in it, but without breaks.
Any ideas or do you need any additional infos ?
Thanks in advance!
PS: While the whole backup/update/restart process don't appear any error or warning message.
See below (sry for the long text, but i don't find a spoiler command):

steam@Ubuntu-1610-yakkety-64-minimal:~$ arkmanager restart
Running command 'restart' for instance 'main'
The server has been stopped
Checking for updates before starting
Checking for update; PID: 8869
Downloading mod 679529026 ... Mod 679529026 downloaded
Downloading mod 715028562 ... Mod 715028562 downloaded
Downloading mod 731604991 ... Mod 731604991 downloaded
Downloading mod 741203089 ... Mod 741203089 downloaded
Downloading mod 764755314 ... Mod 764755314 downloaded
Downloading mod 816908578 ... Mod 816908578 downloaded
Downloading ARK update ... The server is already stopped
\033[0;39m Saved arks directory is /home/steam/arkserver/ShooterGame/Saved/Saved                                                                                Arks
Copying ARK world file (TheVolcano)                               [   OK   ]
Copying ARK profile files
76561197960430638.arkprofile                                    [   OK   ]
76561197961965809.arkprofile                                    [   OK   ]
76561197969107364.arkprofile                                    [   OK   ]
76561197970376879.arkprofile                                    [   OK   ]
76561197970420793.arkprofile                                    [   OK   ]
76561197973090101.arkprofile                                    [   OK   ]
76561197976196370.arkprofile                                    [   OK   ]
76561197976454008.arkprofile                                    [   OK   ]
76561197990276825.arkprofile                                    [   OK   ]
76561197998545088.arkprofile                                    [   OK   ]
76561197998885662.arkprofile                                    [   OK   ]
76561198004758483.arkprofile                                    [   OK   ]
76561198006882531.arkprofile                                    [   OK   ]
76561198018405759.arkprofile                                    [   OK   ]
76561198018933057.arkprofile                                    [   OK   ]
76561198039408574.arkprofile                                    [   OK   ]
76561198043100186.arkprofile                                    [   OK   ]
76561198067287111.arkprofile                                    [   OK   ]
76561198075713298.arkprofile                                    [   OK   ]
76561198076084135.arkprofile                                    [   OK   ]
76561198086453388.arkprofile                                    [   OK   ]
76561198091276471.arkprofile                                    [   OK   ]
76561198120838885.arkprofile                                    [   OK   ]
76561198126794592.arkprofile                                    [   OK   ]
76561198128029183.arkprofile                                    [   OK   ]
76561198153821290.arkprofile                                    [   OK   ]
76561198165376945.arkprofile                                    [   OK   ]
76561198201584867.arkprofile                                    [   OK   ]
76561198241567020.arkprofile                                    [   OK   ]
76561198247637962.arkprofile                                    [   OK   ]
76561198312660730.arkprofile                                    [   OK   ]
Copying ARK tribe files
1097353625.arktribe                                             [   OK   ]
1553123759.arktribe                                             [   OK   ]
1558278930.arktribe                                             [   OK   ]
1696458313.arktribe                                             [   OK   ]
1836515334.arktribe                                             [   OK   ]
1880739971.arktribe                                             [   OK   ]
Copying ARK tribute tribe files
Copying GameUserSettings.ini                                      [   OK   ]
Copying Game.ini                                                  [   OK   ]
Compressing Backup                                                [   OK   ]
Created Backup:  2017-02-14_15.06.54.tar.bz2
Applying update from staging directory
Update to 1629936 complete
The server is starting...
The server is now running, and should be up within 10 minutes

Also experiencing this issue.
Update cron
*/5 * * * * /home/steam/updatescript.sh >> /home/steam/updatelog.txt
Contents of /home/steam/updatescript.sh are
/usr/local/bin/arkmanager update --warn --saveworld --update-mods @all

this only creats a cron job and updates ark and all mods  with previous warning and saving for all ark instances or am i wrong ?

@sMuve that's probably correct. I'm reading through the script to see if I can spot the bug.
I suspect it's not backing up that file, and it gets erased when steam updates the game (update likely meaning delete old, replace with new)

@xangold is your GameUserSettings.ini and Game.ini also "messed up" like i described in my post ?

3404df7 and b0b10c8 should prevent any .txt files in ShooterGame/Binaries/Linux from being deleted or overwritten.

@klightspeed I'm not sure what's happening then. It started occurring for me yesterday after using that cron above. Prior to that I'd been manually doing arkmanager saveworld && arkmanager restart @all

I had to restore the whitelist manually twice since then, once last night, and once this morning (though not every update did it, as the backup script I had has contents in most of the backups)

I will be releasing a version with those fixes very shortly.

Oh, didn't realize those were not merged, my bad!

v1.6.18 should fix the deleted PlayerExclusiveJoin.txt issue.

@klightspeed do you have any idea why my GameUserSettings and Game.ini are messed up after the updates ? i tried to paste the content via right-click in putty and i also tried to upload the ini's via ftp, but in both cases the ini don't have any breaks after updates where made by the arkservermanager

What program are you using to open the ini files?
Does cat /home/steam/arkserver/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini show any line breaks?
Note that if you are using non-ascii characters in your MOTD or server name, the server will write the ini file as a UCS16 unicode file.
arkmanager will not itself modify any of the game ini files in ShooterGame/Saved/Config

i'm using nano on ubuntu 16.10.
cat shows me the correct breaks atm and my server name is without any non-ascii characters, but in my motd was one.
So i'll check the ini after the next ark patch and if there still is an issue with it i'll let you know.
thanks so much!

fwiw I've never had my .ini files change.
@sMuve if this is fixed, mind closing the issue?

yeah it's ok, because the main problem is solved :)

tested everything and it works fine now 👍


Fix for bug #30 and Has label filter for Out step

Nice job. I do have a comment for the label-step though. I encountered this problem (having multiple edges with the same name) and found that the traversal still includes all the edges and entities.
So while this indeed will do the job, if you have the following scenario:
class A : IVertex
{
	public EdgeToB Edge1 { get; set; }
	public EdgeToC Edge2 { get; set; }
}

[Label("edge")]
class EdgeToB : IEdge
{
}

[Label("edge")]
class EdgeToC : IEdge
{
}

And you have a vertex A that has 999 edges to B and 1 edge to C, you will find that A.Out('edge').hasLabel('C') will cost ~1000 RU (iirc) since Cosmos has to check and read all edges before it can start filtering on vertex level.
The optimal solution would instead be having the check on the edge itself, e.g. A.OutE('edge').has('InVLabel', 'C').InV(), which would cost ~2 RU.
However, since Cosmos doesn't index any of the native edge properties as searchable, you'd have to explicitly duplicate those so they are stored in Cosmos as edge properties and will then be searchable.
Something like this:
class FilterableEdge<TOut, TIn> : ManyToManyEdge<TOut, TIn>
	where TOut : IVertex
	where TIn : IVertex
{
	public string OutVLabel => LabelNameResolver.GetLabelName(typeof(TOut));
	public string InVLabel => LabelNameResolver.GetLabelName(typeof(TIn));
}

I think maybe there should be a design discussion on how to best tackle this issue.

I'm a little confused as to what this has to do with #30. Did you mean to refer to a different issue?
Regardless, I never meant for this project to become any sort of framework on top of the Gremlin query language because that will definitely open up a can of worms that I'm not ready to take on in this codebase. More specifically what I mean is that if a user of this library uses the Out() method in c#, I think it should only ever result in the out() step in Gremlin, not out().has(). I don't want future users of the library to be confused where extra steps are coming from (especially if they could have a negative performance impact).

@evo-terren I am really thankful to you for creating this library, It is very helpful to me. I am new Gremlin and Graph API, you provided a smooth track for starters like me.
Sorry, For creating confusion by creating a pull request together addressing different issues.
The commit https://github.com/evo-terren/Gremlin.Net.CosmosDb/pull/42/commits/220a58a98e6c9dcf14d9557fdc4973cdf36ed03d should address the issue #30. It worked for me.

Coming to "out().has()" part I understood your intention and I do agree with you on performance part.
But In the case like I have shared where edge with same created with different out edges,
[Label("product")]
public sealed class ProductVertex : IVertex
{
    public string Id { get; set; }
    public PersonPurchasedProductEdge People { get; set;  }
    public StorePurchasedProductEdge Store { get; set; }
}

[Label("purchased")]
public sealed class PersonPurchasedProductEdge : ManyToManyEdge<PersonVertex, ProductVertex>
{
    public string Id { get; set; }
}

[Label("purchased")]
public sealed class StorePurchasedProductEdge : ManyToManyEdge<StoreVertex, ProductVertex>
{
    public string Id { get; set; }
}

In this case, both of the below queries returning same result,
var storesPurchasedProduct = g.V("id").In(c => c.Store);
var personsPurchasedProduct = g.V("id").In(c => c.People);
Which is not something expected, Same case happening with Out as well.
At the same time I totally agree with you the additional step it is going to create and performance hit.
But I can come up with a better solution considering the design suggestions given by @BenjaBobs, so that the additional step comes into picture only when it is required (where there is a shared edge).
Let me know your thoughts.
Thank you @evo-terren  and @BenjaBobs

An option could be to create an analyzer that emits a warning if an IVertex has multiple edges with the same name.

Sadly, I have zero experience writing analyzers, but I hear it's been made significantly easier since the release of Roslyn. I don't have the time though.
https://docs.microsoft.com/en-us/visualstudio/extensibility/getting-started-with-roslyn-analyzers?view=vs-2017

I agree that the extra step should not be "hidden" in the library.  But an extension method to add the extra step could easily be added by anyone who did desire that behavior.  My team has added a few "steps" that way based on our needs.

I'm going to go ahead and make an executive decision here and say that I would not like for this to be part of the code base due to the concerns we've all discussed above. I recommend you either add a custom extension method in your own code or change your label names so that they are unique across different types of edges.

Yeah, I can go with adding custom extension method. Thanks for all you inputs.
Any thought on commit https://github.com/evo-terren/Gremlin.Net.CosmosDb/commit/220a58a98e6c9dcf14d9557fdc4973cdf36ed03d, can that be considered as a fix for  bug #30 ?

I suggest writing a test that proves it works and then submitting a new pr.
Also, @evo-terren maybe you should set up some CI to do run tests on pr's. I know that Azure Pipelines is free for open source projects, and so is AppVeyor.

@BenjaBobs  sure, Thank you


Check latest version from index instead of using hardcoded value

What type of PR is this:
/kind bug
/area testing
What does this PR do / why we need it:
An integration test is failing after registry is updated and the Go stack got a new version.
[FAILED] Expected
      <string>: 2.1.0
  to be equivalent to
      <string>: 2.0.0
  In [It] at: /go/src/github.com/redhat-developer/odo/tests/integration/cmd_devfile_init_test.go:187 @ 05/04/23 00:38:54.514

Instead of hardcoding the value of the latest version of the Go stack, the latest value is obtained by reading the index of the Devfile Registry.
Which issue(s) this PR fixes:
Fixes #
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

OpenShift Failures:
  [FAIL] E2E Test starting with non-empty Directory add Binding [It] should verify developer workflow of using binding as env in innerloop

  [FAILED] Expected
      <*url.Error | 0xc0004e2d50>: {
          Op: "Post",
          URL: "http://<IP_ADDRESS>:35493/api/newuser",
          Err: <*errors.errorString | 0xc000072130>{s: "EOF"},
      }
  to be nil
  In [It] at: /go/odo_1/tests/e2escenarios/e2e_test.go:431 @ 05/04/23 17:17:37.014

â€¢ [FAILED] [123.250 seconds]
E2E Test starting with non-empty Directory test debugging [It] should verify developer workflow from non-empty Directory
  ? What configuration do you want change? Add new environment variable
  ? Enter new environment variable name:
  ======================
  Unexpected error:
      <*xpty.errPassthroughTimeout | 0xc000f0c010>: {
          error: <*errors.errorString | 0xc000f0c000>{
              s: "passthrough i/o timeout",
          },
      }
      passthrough i/o timeout
  occurred
  In [It] at: /go/odo_1/tests/helper/helper_interactive.go:111 @ 05/04/23 17:18:18.077

Windows test:
Summarizing 1 Failure:
  [FAIL] odo dev command tests when a component is bootstrapped when Automount volumes are present in the namespace when odo dev is executed [It] should mount the volumes
  C:/Users/Administrator.ANSIBLE-TEST-VS/3893/tests/helper/helper_cmd_wrapper.go:101

  [FAILED] No future change is possible.  Bailing out early after 21.328s.
  Running oc.exe with args [oc exec zelwvo-app-75459dcfb9-8cml8 --namespace cmd-dev-test634mnt -c runtime -- cat /etc/config0444] and odo env: []
  Expected
      <int>: 1
  to match exit code:
      <int>: 0
  In [It] at: C:/Users/Administrator.ANSIBLE-TEST-VS/3893/tests/helper/helper_cmd_wrapper.go:101 @ 05/04/23 11:40:40.213
------------------------------

/override OpenShift-Integration-tests/OpenShift-Integration-tests
/override windows-integration-test/Windows-test
/lgtm


Any way to convert multiple files with fluent-ffmpeg?

Hello, I am looking for a way to convert an array of input files, but I want the output to be a set of files based on the input file for e.g:
an array of files ['123.mp3', '456.mp3']
123.mp3 should convert to 123.ogg and 456.mp3 to 456.ogg etc.
Any resources? tricks to do this? please let me know. Thanks ^_^

There is no built-in feature for handling multiple conversions at the same time. You'll have to write usual JS code to do this (launch all commands in a loop and call a callback when all are finished, or launch the first command and have its end event launch the next one until there are no more)

Ah dang! Anyways thanks for the library, really handy!


aiohttp support

Would be great if raven had built in support for aiohttp.
I initial made a pull request https://github.com/aio-libs/aiohttp/pull/1906 for basic logging to sentry in aiohttp support, but I can see it would be more logical to add the support here.
Would you accept a PR for this?

That's already in the works... https://github.com/getsentry/raven-aiohttp

Ok cool, great to see the transport is there.
What I'm talking about (sorry if I wasn't clear) is aiohttp application error logging. Is that in the pipeline too?


Transforming 3D points using transformixImageFilter reads only first 2 dimensions

Hello,
I've registered two images using a RigidTransform with SimpleElastix, and now I'm trying to transform a set of points using the obtained transform. I'm testing with the fixedPoints.pts file from the SimpleElastix tutorial (pasted below).
point
3
102.8 -33.4 57.0
178.1 -10.9 14.5
180.4 -18.1 78.9
I use the following code to transform the points using my transform parameter file
import SimpleITK as sitk
transformParameterMap = sitk.ElastixImageFilter().ReadParameterFile("TransformParameters.0.txt")
transformixImageFilter = sitk.TransformixImageFilter()
transformixImageFilter.SetTransformParameterMap(transformParameterMap)
transformixImageFilter.SetFixedPointSetFileName("fixedPoints.pts")
transformixImageFilter.SetOutputDirectory("outputDirectory")
transformixImageFilter.Execute()
But the transformixImageFilter seems to only read the first two values of each point. My outputPoints.txt file is below.
Point	0	; InputIndex = [ 279 -10752 ]	; InputPoint = [ 102.800000 -33.400000 ]	; OutputIndexFixed = [ 279 -10751 ]	; OutputPoint = [ 102.816604 -33.416649 ]	; Deformation = [ 0.016604 -0.016649 ]
Point	1	; InputIndex = [ -57 -18493 ]	; InputPoint = [ 57.000000 178.100000 ]	; OutputIndexFixed = [ -56 -18492 ]	; OutputPoint = [ 57.036062 178.087564 ]	; Deformation = [ 0.036062 -0.012436 ]
Point	2	; InputIndex = [ -14 -12715 ]	; InputPoint = [ -10.900000 14.500000 ]	; OutputIndexFixed = [ -14 -12715 ]	; OutputPoint = [ -10.878989 14.493811 ]	; Deformation = [ 0.021011 -0.006189 ]
How can I specify to the transformixImageFilter that my input file contains 3D points not 2D?
Running the same input with command line transformix (transformix -def fixedPoints.pts -out outputDirectory -tp TransformParameters.0.txt) gives the desired result (reads all 3 x,z,y values for each point) but with transformixImageFilter it only reads the first two. My transform file is attached.
TransformParameters.0.txt

This may be related to #113. Try to also set the moving image so that transformix may infer the dimensionality from that. Let me know how it goes!

Yes, setting the moving image for the transformixImageFilter fixes it. Thanks! This might be useful to have in the SimpleElastix tutorial. :)

Good point :)


Add support for Toopher AuthN

Partially related to #572
There exists a ToopherAuthenticationHandler as part of CAS MFA. Bring that module over to core,  as initiative to start supporting MFA. Note that this simply provides a handler; foundation support for MFA will still need to be hashed out and designed. We are doing this one step at a time.
@dima767 may get around to this issue. A separate CAS module with support for Toopher makes sense. Also related to #1070

Not happening. Service no longer maintained.


TinfourDemo rendering is upscaled for -Dsun.java2d.uiScale=2

My display is a high resolution one and therefore I must run java with -Dsun.java2d.uiScale=2 to make UI text readable. Unfortunately this parameter also causes the rendering output to be upscaled. Interestingly if I start to zoom out then the upscaling starts to disappear, but after it re-renders it is back.

The TinfourViewer was intended as a proof-of-concept rather than a serious
tool. So some of its features are limited. I'll have to add a font
selection to its "View" options.
In the meantime, you can modify the code to suit your requirements. Go into
MvComposite.java and look for "new Font". There are two places where the
font is set to Arial 10 point. Increase the size as you see fit.
The change above will modify the vertex labels. If you want to change the
text in the right-hand panel,  look for the strings "html" and "small".  If
you remove the small specification,  you'll get larger text.
On Fri, Oct 14, 2022, 3:02 AM Martin Ždila @.***> wrote:

My display is a high resolution one and therefore I must run java with
-Dsun.java2d.uiScale=2 to make UI text readable. Unfortunately this
parameter also causes the rendering output to be upscaled. Interestingly if
I start to zoom out then the upscaling starts to disappear, but after it
re-renders it is back.
[image: image]
https://user-images.githubusercontent.com/636095/195783004-d453ef13-dabd-425f-a150-bebeec75333a.png
—
Reply to this email directly, view it on GitHub
https://github.com/gwlucastrig/Tinfour/issues/91, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEWJDYNS7IEEWW4RJDTC5TDWDEARPANCNFSM6AAAAAARE6JIGM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I understand. Anyway the problem is not just with the fonts, but all the graphics ind the output view (lines, interpolated raster). If I will find a time I will try to play with it :-).

This is quick patch, but scaling needs to be probably applied on many more places.
scale.diff.gz

Thanks.  It see the approach. It affects line thickness, font size, the
size of vertex symbols.  I will play with the when I get c chance.
On Fri, Oct 14, 2022, 9:49 AM Martin Ždila @.***> wrote:

This is quick patch, but scaling needs to be probably applied on many more
places.
scale.diff.gz
https://github.com/gwlucastrig/Tinfour/files/9786909/scale.diff.gz
—
Reply to this email directly, view it on GitHub
https://github.com/gwlucastrig/Tinfour/issues/91#issuecomment-1279036513,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEWJDYM5HANIDUCZWSPZAHLWDFQGLANCNFSM6AAAAAARE6JIGM
.
You are receiving this because you commented.Message ID:
@.***>


AngularJS problems with $http

I noticed that when I was "away from keyboard" over 5-10min and I make a call to backend (GET, POST or something) the first call OPTIONS remains pending and if I make a second call works fine, so the applications seems to unlocking me.
The request is never resolve.
If I press again the button pressed before it works (also if a make different call from application it work)
Obviously the request not arrive to backend so it isn't resolved, this is the header of request, maybe can be helpfull..
Request URL:http://api.work.com/checkAuthToken
Request Headers
Provisional headers are shown
Access-Control-Request-Headers:accept, authorization
Access-Control-Request-Method:GET
Origin:http://work.com
Referer:http://work.com/admin/measure-units/
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
X-DevTools-Emulate-Network-Conditions-Client-Id:FDF19108-AB76-422C-96DF-40E2ED3F7A3E

Why?
the problem is from browser?
Do it happened the same thing to someone else?

I would be very surprised if this would be AngularJS specific. Try to use pure XHR and see if you can reproduce the same issue.

This is the function in service that I use globally for make request:
    var get = function(url, callbackOnSuccess, callbackOnError) {
        $log.debug('data.httpService.get fnUrl:' + url);
        var req = {
            method: 'GET',
            url: APP_CONFIG.api.base_url + url
        };

        if (appState.getValue('auth_token')) {
            req.headers = {
                'Authorization': appState.getValue('auth_token')
            };
        }

        if (!callbackOnError) {
            callbackOnError = callbackOnErrorDefault;
        }

        $http(req).success(callbackOnSuccess).error(callbackOnError);
    };

And this is an example how I use it:
httpService.get('/users', function(result, status) {
     // Do something
});

I don't think that it is the problem...

Uhm... I think the problem is from chrome... Now I get this problem while page refreshing (I make http call  when state is start)... I'm 90% sure that the problem is chrome...

I paid more attention to call executed and see that after 5-10min I think the browser have cached the "authorization" from backend so it doesn't send again the OPTIONS request but send directly the GET, POST or something request in question
See that when request goes in pending after 5-10mins
Access-Control-Request-Method:GET
There isn't the OPTIONS request before...
If I press again the button, first browser make OPTIONS, and second GET...
How can I fix this?

@furyscript, the OPTIONS request is made by the browser (i.e. Angular neither causes it, nor can it prevent it).
It is related to CORS requests. You can find more info on the relevant MDN article.

I'm thinking the problem is firewall...

Closing since it's not an issue with Angular


医药仓库管理系统

医药仓库管理系统0.1

I'm not sure this is a legit question, please post/answer in English only
(I'll close it for now)


Some posts are not formatted correctly

Provide better formatting for pages with:

Stray bullet points.
Links not being parsed out.
Socials not being parsed correctly.

I may want to double-space descriptions.

All that's left:

Links should be parsed out.
Some socials are still messed up, but far fewer than before.

At this point, it's just socials being messed up sometimes. If there are fewer than a few dozen of these, might be time to get the manual hedge trimmers out.

This is too cumbersome. Just don't deal with it: manual edit when the time comes.
For 2022 (if that happens), users should have a way to submit using a website or at minimum they should follow the correct formatting structure.


How do I find undefined or null files?

What would you like help with?
I am getting this error:

But I have no idea which files these are in. What is the quickest way to find them to sort them out.
I have tried search but no luck.

Thanks for reporting! 🙏
Are you seeing the error in a particular view, or is it all of them? Are you using Dataview?
Could you open the console in Developer Tools and see if you can find a stack trace that might give a hint of where it originated from?

It is in every view for the notes folder I am using.
Not using dataview.
I don't really know what I would be looking for, is there a guide I could follow?

This is on macOS, but I'm sure it's similar on Windows as well.
https://user-images.githubusercontent.com/8396880/202925197-b7a1ed00-ea08-4c46-810b-6352a7e9afc9.mp4
Look for anything with red text in the console tab. Ideally, it should say the same error as your seeing.

Thank you! I'll do some troubleshooting based on this. If you find the offending note, let me know!

I found out what it was.
There were some notes that had empty frontmatter so projects was reading it as undefined.
So in the page I had

Thank you for that! Confirming that I can reproduce. I'll have a fix for you later today.


Move to Deno

We should consider move the project to Deno. What do you guys think?

I think it's absolutely valid.
We started the tiny dungeon idea back in june 2019 (almost a year ago), we had no clue where to begin, so we chose Node. A long time has passed since then and Deno has been proving to be the best choice as js runtime, also has native support for TS and WebSockets, which is just what we need.


Tab change in examples

I noticed in the style guide examples that there is no tab change. Maybe I missed it too? This is where I had my teeth bared in the beginning. But in fact it is relatively easy :-D
I would prepare a PR where we have a tab change in TCA records.

The solution is merged


fix(Symbol.iterator): fixed typo in function name

Description:
Typo in function name.
Related issue (if exists):

Coverage remained the same at 97.686% when pulling 03fcbd91ad523591295b9ae7094f5bec0fd93211 on michaelgeorgeattard:master into f51b8f9391ca6d751517a72fdabb05ad8c1013d8 on ReactiveX:master.


Bug: Cannot favorite markets in the dispute list

Currently cannot favorite markets in /reporting-dispute-markets on 1.7.1.

This has been added to our internal tracking system: https://app.clubhouse.io/augur/story/18090/markets-cannot-be-added-to-favorites

Closing, since this was fixed in v1.8.0


Multiple Users

Icon Request

Icon name: Users
Tags of this icon:  Multiple Users, User Group
Use case: Identifying a group of users, defining permissions
Screenshots of similar icons:

https://remixicon.com/icon/group-3-line
https://remixicon.com/icon/group-3-fill