Signal from fetchOptions not passed to fetch

Describe the bug
import { createClient, cacheExchange, fetchExchange } from "@urql/core"
export const client = createClient({
	url: "https://api/graphql",
	exchanges: [cacheExchange, fetchExchange],
	requestPolicy: "cache-and-network",
	fetch,
})
const { signal } = new AbortController
function fetch(input, init) {
    console.assert(init.signal === signal)
}
await client.query(gql`...`, {}, { fetchOptions: {signal} })

Expect the signal from fetchOptions should be passed to fetch and user can control/abort the query.
Actually the signal has been override from fetchSource.ts
export function makeFetchSource(
  operation: Operation,
  url: string,
  fetchOptions: RequestInit
): Source<OperationResult> {
  let abortController: AbortController | void;
  if (typeof AbortController !== 'undefined') {
    fetchOptions.signal = (abortController = new AbortController()).signal;
  }
  return pipe(
    fromAsyncIterable(fetchOperation(operation, url, fetchOptions)),
    filter((result): result is OperationResult => !!result),
    onEnd(() => {
      if (abortController) abortController.abort();
    })
  );
}

Suggest to also abort if the signal passed from user aborted.
export function makeFetchSource(
  operation: Operation,
  url: string,
  fetchOptions: RequestInit
): Source<OperationResult> {
  let abortController: AbortController | void;
  if (typeof AbortController !== 'undefined') {
+    if (fetchOptions.signal) fetchOptions.signal.addEventListener('abort', () => abortController?.abort());
    fetchOptions.signal = (abortController = new AbortController()).signal;
  }
  return pipe(
    fromAsyncIterable(fetchOperation(operation, url, fetchOptions)),
    filter((result): result is OperationResult => !!result),
    onEnd(() => {
      if (abortController) abortController.abort();
    })
  );
}

Reproduction
https://stackblitz.com/edit/github-b9nibt?file=src%2Fclient.js
Urql version
urql v4.1.2
Validations

[X] I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
[X] Read the docs.
[X] Follow our Code of Conduct

I don't really see this as idiomatic. Essentially, I'm assuming you're referring to your question from Discord: https://discord.com/channels/1082378892523864074/1150947449330999296/1150947449330999296
Just on a side-note, please use some patience, because now we've got three places to talk about this already instead of one for an initial chat 😅
Anyway, I'll leave a link there to this.
First off, I'm pretty opposed to the changes as proposed in #3378 and re-using fetchOptions.signal. There's multiple reasons for this.

From a perspective of @urql/core, fetch/HTTP is not an assumption. In a perfect world fetchOptions wouldn't even exist, but it's necessary in some cases and for ease of use. So, fetchOptions.signal — and similar mechanisms — should not have an influence on control flow
While it seems to make sense to pass on an AbortSignal, where would that signal reasonably come from?

If it comes from the UI, it's a UI concern and the mechanism to abort already exists and shouldn't be modelled as an AbortSignal, since all operations are modelled as cancellable sources
If it comes from another exchange, there's already a mechanism for this in the form of active teardowns
If this is actually for timeouts, then a result must be issued, but given that a signal is added, it makes more sense to issue a timeout result while issuing an active teardown forwards

So, all in all, I've seen people solve this by passing in a custom fetch function in the past — which to an extent is reasonable, because we're customising the behaviour of just the fetch procedure.
I'm not opposed in general to discuss some tiemout functionality via an exchange or other mechanisms, but, in general, just accepting an AbortSignal via fetchOptions I see as, while logical, superfluous, since there's no clear usage pattern that'd create this AbortSignal in reasonable user code, unless we find a usage pattern that would warrant this.

Hey there @kitten thanks for your responses as ive seen youre quite knowledgeable about exchanges/core etc..
I think your link in discord is actually to my question (:

Hey there @kitten thanks for your responses as ive seen youre quite knowledgeable about exchanges/core etc..
I think your link in discord is actually to my question (:

@tatianajiselle My workaround would be define a fetchOptions with a different signal
const signal: AbortSignal;
client.query(query, variables, { fetchOptions: { signal, _signal:signal })

And client is passed with custom _fetch
const client = createClient({ fetch: _fetch })
function _fetch(input: RequestInfo | URL, init?: RequestInit) {
	if (init?._signal) {
		if (!init.signal) init.signal = init._signal
		else if (init._signal !== init.signal) init.signal = combineSignals([init.signal, init._signal])
	}
	return fetch(input, init)
}

function combineSignals(signals: AbortSignal[]) {
	const ctrl = new AbortController()
	for (const signal of signals) {
		signal.addEventListener("abort", () => ctrl.abort(), { once: true })
	}
	return ctrl.signal
}

there's already a mechanism for this in the form of active teardowns
Could you correct me how to use it? Cannot found in the doc. Below is my assumption

const operation = client.createRequestOperation('query', createRequest(query, variables), { fetchOptions: { headers:{} } })
const p = client.executeRequestOperation(operation).toPromise()

// when you need to abort the current request
client.executeRequestOperation(makeOperation("teardown", operation))

@rexpan In principle, when actively cancelling an operation you can call client.reexecuteOperation with your teardown operation.
That said, that's to actively interrupt an operation that's ongoing, so that’s not to cancel what the exchanges are doing, but that will actively interrupt an operation entirely and interrupt all bindings from receiving updates as well.
What I'd specifically recommend if you simply want a timeout on fetch is to write a wrapper function around fetch and combine the signal that fetch receives with your own timeout signal.
If you instead want to interrupt on a timeout with an exchange, the exchange would have to send a result while forwarding a teardown operation. However, again, the fetch wrapper is simpler in this case and keeps the timeout as a fetch concern.
const fetchTimeout = async (url, options) => {
  const controller = new AbortController();

  options.signal.addEventListener('abort', () => {
    controller.abort();
  });

  setTimeout(() => {
    controller.abort();
  }, TIMEOUT);

  return fetch(url, { ...options, signal: controller.signal });
};

I haven't tested the above, but something along the lines of this would be the simplest way to add a timeout to fetch

@kitten this worked for me -- thank you for the insight, support and suggestion!!


Code reader on the way

I'd like to propose feature for MacOS and eventually windows too,
Using Handoff system, be able to just take Visual Studio Code and read through the code.
i would find it super useful on my smoke/coffee breaks, or when im travelling, so i can actually think or revise code before commiting.

@stoklasa Could you elaborate on this feature?


OTEL Search update

might want otel tagging?
Slack Message

Gave it a go with updates to Site search 360


Keep alive db connection fallback

PGSync version: latest (installed from PIP)
Postgres version: 14.1
Elasticsearch version: 6.8.6
Redis version: 5.0.8
Python version: 3.7
Problem Description: here I am able to see when we deploy this application on k8, after some time it closes the connection with the database because of an idle connection, which breaks the code when the application poll from connection to listen to notification events.
I see probably some solution you provided in the docker file by adding these properties
- net.ipv4.tcp_keepalive_time=200
- net.ipv4.tcp_keepalive_intvl=200
- net.ipv4.tcp_keepalive_probes=5
can we add some fallback in code to avoid this error or keep the connection as Hikari does?
code reference: pgsync/sync.py:968 (latest code)
               try:                 conn.poll()             except OperationalError as e:                 logger.fatal(f"OperationalError: {e}")                 os._exit(-1)
Error Message (if any):
CRITICAL:pgsync.sync: OperationalError: could not receive data from server: Connection timed out

@Eklavaya
Can you please change this line and see if the re-connection is handled?
from
return sa.create_engine(url, echo=True, connect_args=connect_args)
to
return sa.create_engine(url, echo=True, pool_pre_ping=True, connect_args=connect_args)

I have tried this approach as well ... but it is still restarting because of the same reason.

Thinking about this again.
I don't think this can be handled reliably by the application itself.
Perhaps a connection pooler like pgbouncer or server-side settings would be the best way to handle disconnections.
Alternatively if you are running in Docker you can set the parameters above.


Redirection in Related Products Page

Description
Adding Redirection in Related Products Page which Closes https://github.com/MAVRICK-1/Nest-Ondc/issues/76

So I used UseState functionality and changes in the useEffect to make these appropriate changes for re-rendering the page upon state change.
Motivation and Context
This was a problem since only products were displaying and there wasn't any click feature or redirection available in them. So this problem had to be rectified.
Screenshots (if appropriate):
https://github.com/MAVRICK-1/Nest-Ondc/assets/84094715/fc9a8106-12be-4be0-a027-69989d125c6f
As we can see in the above video the redirection is happening perfectly.
Types of changes

[ ] 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 change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@aditya-chari25 great work


Add undo option when product in list deleted!

Problem

when user swipes left the list item will be deleted ! With a message at the bottom saying " the product removed from history"

Proposed solution

if the user deleted the product by mistake or user changes his mind and if he/she wants it again we can provide undo option when the product gets deleted With the deleting message as mentioned above.

Mockups

Part of

#525

@AshAman999 can I start working on this ?

Yeah I think this would be a nice addition 👍

@AshAman999 how do I make the "Undo" word generalized for all languages ?

You can add them under packages/smooth_app/lib/l10n/app_en.arb
After adding this , just run flutter pub get and it will add use with the applocalizations


Week 1 - Exercises

Exercises
Name
Martijn Keesmaat
Class
208 || Tech 1
GitHub username
https://github.com/MartijnKeesmaat
Bootcamp exercises
https://github.com/MartijnKeesmaat/js-bootcamp
Bootcamp notes
https://github.com/MartijnKeesmaat/js-bootcamp

The repository was checked by Rijk and your grade has been updated in the admin sheet!


GPU Docker build should be changed to use mxnet-cu91mkl

Update the GPU docker file to use mxnet-cu91mkl . Also modify the from image to nvidia/cuda 9.1 cudnn.
This should be committted if the benchmark shows a hike in performance from current cuda 9.0 in the Dockerfile.

@vdantu Can we close this issue. Mkl is in docker file now or do we need something more?

This task is created to move to cu91mkl. We currently have cu90mkl.

Are we planning to do this for the 0.3 release?

We use cu92 image. This can be resolved


Square Root of Perfect Squares

Example Problem:
sqrt(16)
Example Solution:
4
Solutions should be integers 1-12.

Can I work on that?

@mushahidq Sure

I have created a pull request for this.


UI to display ram usage

It would be helpful to show the user how much flash space is left (for importing samples) into a project (the Polyend tracker for one has exactly this UI for its limited sample memory per project). But showing ram usage is likely useful for both dev debug purposes and I guess even end users as this is a limiting factor for project size.

Displaying flash available should be pretty easy, as there is a variable that points to the current flash location and another one to the end.
Displaying RAM is probably not very useful outside of debugging operations, and that can be achieved with debug logs. Ideally there shouldn't be any dynamic allocations on embedded devices due to the limited memory (or all the heap allocations should happen in the beginning, which is what mostly happen upon loading a project). This wasn't built with that in mind so there are a ton, but in normal operations they are limited to UI elements being created and destroyed for the most part. IIRC all buffers are statically allocated. Bigger data structures like the song structures, instrument loading, etc. are still dynamic but all loaded upon project load and don't change thereafter.

While thinking about reinstating CPU usage in #131 I realised that just as it is useful to show CPU usage to a user during playback, it would be useful to show the user RAM usage during editing and it would fit nicely in the same spot in the UI.
This way just as a user can use the CPU to make decisions on what to use or remove in their project, they could base decisions on what to enable or not during editing based on Ram availablity. I guess though this is a debatable topic though so would be keen to get your thoughts on this @democloid given current work on moving to more static mem allocation.
I think displaying flash usage is a different topic and has consensus already so will move that to a separate issue and update title here appropriately.

Ok I think we've got very different views on this so I'll try to argue my case here.
While I think it's possible to provide that kind of predictable behaviour for simple instruments like say a 303, I don't think it possible for full featured devices like the picotracker without drastically limiting what users are able to do.
As a case in point with the number of channels, while 4 or 6 might be the limit with only sample instruments there's no problem using all 8 with midi or even a combination of samples and midi. Then there's use of commands and tables which can easily make a big difference on how many simultaneous tracks the rp2040 can handle. Things get even more complex with synths as for example 3-4 full 6op DX7 voices will be the same computationally as using upto 8 2-4op instruments.
Looking at prior art, afaik pretty much all existing grooveboxes allow the user to choose settings that will overload the system and then leave it up to the user to choose tradeoffs to not hit the limits of the device. For example the Electribe2 which I previously had is infamous in its user community of its voice stealing because of the 24 voice limit it has which is actually not just about voices but the DSPs capabilities as it also includes use of FX like reverb.
Given the above what erks me about for example the E2 is not the limitation exists but the complete lack of observability of it to the user! There's no way to know that you are reaching the limits until you hear it. This is where I think devices like the higher end MPCs (& machine+ & korg workstations?) are better in having CPU usage gauges just like general purpose OS's, to show the user how much capacity they have left.
So I'd sum up to say that I think CPU usage, while dynamic, is otherwise just a constrained resource exactly like Flash storage or battery charge, where it's not controversial that you would want to show the user how much of the resource is left to use. I'd of course argue the same for Ram usage but I'd say CPU usage is much more important.

obsolete as of #219


Nested routes and resources

Thanks for the great library! I posted earlier about how to integrate this with laravel-5-boilerplate, but I'm now considering rebuilding my project with backpack!
I've tried a couple of methods to nest resources that haven't been successful.  I am trying to achieve a system where I can have URLs like this: /account/1/contact
This would be the CRUD index view of all the contacts tied to that particular account.  I have achieved this so far using two separate resources, /account and /contact, which use n-n relationships.  I also have filters on the /contact that allow me to specify an account to show.
Is there a way to write my routes in such a way that I can limit the scope of the nested resource to only show those attached to the first?

In short, yes, you can use the $this->crud->addClause() method, which allows you to modify the query. You'll find a few examples here, under Advanced Queries.
Also, here's a tutorial on how to achieve nested resources in Backpack\CRUD. Seems to me like you've already done 90% of that, you only need to add the query constraint.
Cheers!
P.S. I'll go ahead and close this issue so we don't clog the section. Feel free to open it again if you encounter problems or comment if you have follow-ups.

Thank you very much @tabacitu - I was very close, I was trying to use account/{account}/contact instead of dropping in the actual param.

;-)

Hey @tabacitu!  I ran into an issue with this setup I wanted to point out.  This works great for displaying nested resources, but fails when you try to hit any of the other routes on the controller (delete, showDetailsRow, edit).  All of these controller methods only take one parameter for $id, but Laravel tries to pass them two because the route has two variables.  It ends up passing the ID of the parent entity to the function.  Example:
Route /account/2/contact/6/detailswould call to AccountContactsCrudController@showDetailsRow which accepts 1 parameter $id which should be 6, but instead is 2.  The details returned are for the Contact entity with id 2.  This also happens for delete or edit methods.
Since the AccountContactCrudController extends from ContactCrudController, you can't edit the method signature to take a second variable (and wouldn't want to manually overwrite all those methods anyway)

@jsiebach
Hi .... can you solve this issue .... I have the same problem now and no idea about that

@jsiebach  - damn, you're right.
@M0H3N how about this for a fix - in the parent we overwrite all methods that don't work, and just call the child method, with the right parameter. This works for the tutorial example ("post" is the child entity - "user posts"):
class UserPostCrudController extends PostCrudController {

    public function show($id)
    {
        return parent::show($this->request->post);
    }
}

That should be a fix for you until we can find a long-term fix for this.

Here's all of them at this date:
    public function show($id)
    {
        return parent::show($this->request->post);
    }

    public function listRevisions($id)
    {
        return parent::listRevisions($this->request->post);
    }

    public function restoreRevision($id)
    {
        return parent::restoreRevision($this->request->post);
    }

    public function showDetailsRow($id)
    {
        return parent::showDetailsRow($this->request->post);
    }

Same issue. Waiting for a patch, I implemented the workaround through a Trait in the needed controllers.
My current controller, broken:
class ItemFieldCrudController extends CrudController
{
    public function setup()
    {
        $project_id = \Route::current()->parameter('project_id');
        $this->crud->setRoute(config('backpack.base.route_prefix') .'/'.$project_id. '/itemfield');
        $this->crud->addClause('where', 'project_id', '=', $project_id);

This is the lines that break the edit, delete, and other operations in Backpack as the "project_id" will be viewed as the parameter to edit, delete etc.
Workaround:
In the controller:
use Traits\NestedRouteBadParameterBug;
And the Trait:
namespace App\Http\Controllers\Admin\Traits;

trait NestedRouteBadParameterBug
{
    public function getLastParameter()
    {
        $params = \Route::current()->parameters();
        $lastparam =  array_values($params)[count($params)-1];
        return $lastparam;
    }

    public function edit($id)
    {
        return parent::edit($this->getLastParameter());
    }

    public function view($id)
    {
        return parent::view($this->getLastParameter());
    }

    public function destroy($id)
    {
        return parent::destroy($this->getLastParameter());
    }

    // All the relevant functions of CrudController.php can be added.
}

Hope it will be patched soon!

@jrpub I see the issue is closed, but the problem still seems to exists?
Thank You @jrpub for the trait, You saved my day :)

Yes, the issue still exists. Too bad!
See #307 also, where the question left by @tabacitu stayed without any answer :-)

@jrpub , thanks a lot for your solution!
I've just implemented an official patch here: https://github.com/Laravel-Backpack/CRUD/pull/1339 , which I'll be merging after a bit more feedback & testing. Let me know what you think, and if it's a good fix for you guys. Cheers!


(chore) Test all supported versions.

DO NOT MERGE FOR NOW

Description
This PR introduces tests via GA for all supported PHP versions of this package.
It also aims to check some breaking changes introduced by https://github.com/workos/workos-php/pull/178
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

@sheldonvaughn @amygdalama can this new workflow be approved for now; so that it can run ?

cc. @jbvolta


Add some baseline pane navigation keybindings

Resolves issue #10

@radamant I'ma go ahead and merge these in, they seem to work ok, though I know opt isn't the most convenient on normal keyboards. I tend to use karabiner to remap right command to opt. Any way, we can definitely tweak/revisit, just want to get something in for now.


Backward Compatibility

 OPENGL Backward Compatibility
Hazel only supports OpenGL 4.5 and + but what about backward versions . At least it can support from Version 4.0 ?
The latest is just 4.6 but hazel supports only from 4.5 everyone doesn't have new version of the pc .

I'm using a Core2Due E6600 since 2005 :|

LOL I am using Intel i3 4030u with AMD Radeon Graphics But Its showing I cannot Use Hazel

With some work, you can get it to work with 4.3, any lower is fairly unreasonable tbh... you can either ask in discord for help, or follow the youtube episodes, that should be 4.3. Some optimisations are done resulting in 4.5 as a minimum as of now.

But Other Engines Offer Even low Level Compatibility Why cant Hazel ?

Cherno answered this question in an early video. By the time Hazel will be released, OpenGL 4.5 will be 'old'

But Still now Version 4.6 Is Just the Highest , How can Hazel not Support At Least 4.0 Or Something . Hazel is Even not a complete Engine But Even though it doesn't support OpenGL 4.0 ??

@MMS-27 I believe the justification is that by supporting an older version of OpenGL, the Hazel game engine would be a bigger development effort and everyone that is following this video tutorial series would be dis-serviced by learning obsoleted OpenGL library constructs.
I too would like it if Hazel supported older versions of OpenGL. I have an old laptop that is still working from 2007. It supports at best OpenGL 1.3 and it'd be great if I could use it to run/develop/toy with Hazel on it. I was disappointed when my favorite Open Source game raised its minimum version to 2.0 too! I've justified that it's fine for these projects to use a newer OpenGL version though since the hardware that supports v4.5 today is readily available. Version 4.5 is supported by video cards that I see on the used market for $30. Upgrading however small it is, is a cost but it's a small enough step to stay current.

I found this old comment by Cherno in Discord:
lots of things. Compute shaders, tessellation, spir-v, better debugging, better API for almost everything, SSOs, and quite a lot more. Whilst Hazel-dev runs on 4.5 as the minimum (with 4.6 soon to become required), it would be very difficult for it to support anything earlier than OpenGL 4.3, which was released in 2012, so for me OpenGL 4.3 is definitely a hard minimum, 4.6 highly preferred


Plugin appdelegate function not work.

Steps to Reproduce

Some plug-ins are not executed when multiple plug-ins need to fetch methods in appdelegate
iOS Plugin
application:openURL:options :
application:openURL:sourceApplication:annotation:
The above methods do not work.
- (BOOL)application:(UIApplication*)application
            openURL:(NSURL*)url
            options:(NSDictionary<UIApplicationOpenURLOptionsKey, id>*)options {
  for (NSObject<FlutterApplicationLifeCycleDelegate>* delegate in _delegates) {
    if (!delegate) {
      continue;
    }
    if ([delegate respondsToSelector:_cmd]) {
      if ([delegate application:application openURL:url options:options]) {
        return YES;
      }
    }
  }
  return NO;
}

- (BOOL)application:(UIApplication*)application handleOpenURL:(NSURL*)url {
  for (NSObject<FlutterApplicationLifeCycleDelegate>* delegate in _delegates) {
    if (!delegate) {
      continue;
    }
    if ([delegate respondsToSelector:_cmd]) {
      if ([delegate application:application handleOpenURL:url]) {
        return YES;
      }
    }
  }
  return NO;
}

- (BOOL)application:(UIApplication*)application
              openURL:(NSURL*)url
    sourceApplication:(NSString*)sourceApplication
           annotation:(id)annotation {
  for (NSObject<FlutterApplicationLifeCycleDelegate>* delegate in _delegates) {
    if (!delegate) {
      continue;
    }
    if ([delegate respondsToSelector:_cmd]) {
      if ([delegate application:application
                        openURL:url
              sourceApplication:sourceApplication
                     annotation:annotation]) {
        return YES;
      }
    }
  }
  return NO;
}

engine code address
When the callback for traversing the plug-in list above returns true, the early return causes the remaining plug-ins not to be executed.
Expected results:
All plug-ins are traversed and executed
Actual results:
If a plug-in returns true, the remaining plug-ins are not called

Logs

❯ flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-CN)
    • Flutter version 1.22.5 at /Volumes/MacData/flutter
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/charley/AndroidDev/android-sdk-macosx
    • Platform android-30, build-tools 29.0.2
    • ANDROID_HOME = /Users/charley/AndroidDev/android-sdk-macosx
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 31.3.4
    • Dart plugin version 183.5153.38

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

[✓] Connected device (1 available)
    • Charley de iPhone7p (mobile) • 0a076976995cd25859d1e11b285556d5370d5e8c • ios • iOS 12.4

! Doctor found issues in 1 category.

Hi @charleyzhu
Can you please provide flutter run --verbose a minimal complete reproducible code sample in a repository?
Thank you

Hi @charleyzhu
Can you please provide flutter run --verbose a minimal complete reproducible code sample in a repository?
Thank you

sample repository
https://github.com/charleyzhu/sample.git

Recurrence step：

git clone
flutter run
Kill process
Terminal executes command

xcrun simctl openurl booted "unilinks://"

  void getUniLinks() async {
    // Platform messages may fail, so we use a try/catch PlatformException.
    try {
      String initialLink = await getInitialLink();
      // Parse the link and warn the user, if it is not correct,
      // but keep in mind it could be `null`.
      setState(() {
        uniLink = initialLink;
      });
    } on PlatformException {
      // Handle exception by warning the user their action did not succeed
      // return?
    }
  }

uni_links plugin not work
/*
     engine code

     https://github.com/flutter/engine/blob/3073402ae484487e52b8f09d04f3e1d382e697ea/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate.mm#L106

 - (BOOL)application:(UIApplication*)application
     didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
   for (NSObject<FlutterApplicationLifeCycleDelegate>* delegate in [_delegates allObjects]) {
     if (!delegate) {
       continue;
     }
     if ([delegate respondsToSelector:_cmd]) {
       if (![delegate application:application didFinishLaunchingWithOptions:launchOptions]) {
         return NO; // <<------ this return
       }
     }
   }
   return YES;
 }

     */
  public func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [AnyHashable : Any] = [:]) -> Bool {
      if let urlObj = launchOptions[UIApplication.LaunchOptionsKey.url] {
        if let url = urlObj as? URL {
            handleLink(url: url)
        }
      }
    // return false ，Interrupt subsequent plug-in calls， Functions with the same name in UniLinksPlugin will not be called
      return false
  }

    /*
     engine code

     https://github.com/flutter/engine/blob/3073402ae484487e52b8f09d04f3e1d382e697ea/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate.mm#L313

 - (BOOL)application:(UIApplication*)application
             openURL:(NSURL*)url
             options:(NSDictionary<UIApplicationOpenURLOptionsKey, id>*)options {
   for (NSObject<FlutterApplicationLifeCycleDelegate>* delegate in _delegates) {
     if (!delegate) {
       continue;
     }
     if ([delegate respondsToSelector:_cmd]) {
       if ([delegate application:application openURL:url options:options]) {
         return YES; // <<------ this return
       }
     }
   }
   return NO;
 }
     */

    // Custom URL schemes
  public func application(
    _ application: UIApplication,
    open url: URL,
    options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {

    handleLink(url: url)

    // return true ，Interrupt subsequent plug-in calls，Functions with the same name in UniLinksPlugin will not be called
    return true
  }

code link
flutter run --verbose
Log exceeds the length limit
You can't comment at this time — your comment is too long (maximum is 65536 characters).

sample repository
https://github.com/charleyzhu/sample.git

Recurrence step：

git clone
flutter run
Kill process
Terminal executes command

xcrun simctl openurl booted "unilinks://"

  void getUniLinks() async {
    // Platform messages may fail, so we use a try/catch PlatformException.
    try {
      String initialLink = await getInitialLink();
      // Parse the link and warn the user, if it is not correct,
      // but keep in mind it could be `null`.
      setState(() {
        uniLink = initialLink;
      });
    } on PlatformException {
      // Handle exception by warning the user their action did not succeed
      // return?
    }
  }

uni_links plugin not work
/*
     engine code

     https://github.com/flutter/engine/blob/3073402ae484487e52b8f09d04f3e1d382e697ea/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate.mm#L106

 - (BOOL)application:(UIApplication*)application
     didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
   for (NSObject<FlutterApplicationLifeCycleDelegate>* delegate in [_delegates allObjects]) {
     if (!delegate) {
       continue;
     }
     if ([delegate respondsToSelector:_cmd]) {
       if (![delegate application:application didFinishLaunchingWithOptions:launchOptions]) {
         return NO; // <<------ this return
       }
     }
   }
   return YES;
 }

     */
  public func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [AnyHashable : Any] = [:]) -> Bool {
      if let urlObj = launchOptions[UIApplication.LaunchOptionsKey.url] {
        if let url = urlObj as? URL {
            handleLink(url: url)
        }
      }
    // return false ，Interrupt subsequent plug-in calls， Functions with the same name in UniLinksPlugin will not be called
      return false
  }

    /*
     engine code

     https://github.com/flutter/engine/blob/3073402ae484487e52b8f09d04f3e1d382e697ea/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate.mm#L313

 - (BOOL)application:(UIApplication*)application
             openURL:(NSURL*)url
             options:(NSDictionary<UIApplicationOpenURLOptionsKey, id>*)options {
   for (NSObject<FlutterApplicationLifeCycleDelegate>* delegate in _delegates) {
     if (!delegate) {
       continue;
     }
     if ([delegate respondsToSelector:_cmd]) {
       if ([delegate application:application openURL:url options:options]) {
         return YES; // <<------ this return
       }
     }
   }
   return NO;
 }
     */

    // Custom URL schemes
  public func application(
    _ application: UIApplication,
    open url: URL,
    options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {

    handleLink(url: url)

    // return true ，Interrupt subsequent plug-in calls，Functions with the same name in UniLinksPlugin will not be called
    return true
  }

code link
flutter run --verbose
Log exceeds the length limit
You can't comment at this time — your comment is too long (maximum is 65536 characters).

Hi @charleyzhu
Thanks for the reproduction code and the steps
When the app is running I execute tahatesser@Tahas-MacBook-Pro sample % xcrun simctl openurl booted "unilinks://" in a different window, I see it gets printed in flutter run logs
[   +7 ms] Connected to _flutterView/0x7fa280826c20.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on iPhone 12 is available at:
           http://<IP_ADDRESS>:55809/hHVkqONgxcs=/
[        ] Running with unsound null safety
[        ] For more information see
https://dart.dev/null-safety/unsound-null-safety
[+58701 ms] flutter: url:unilinks:///
[+1162 ms] flutter: url:unilinks:///
[+6099 ms] flutter: url:unilinks:///
[+8455 ms] flutter: url:unilinks:///

However, you mentioned Kill process, Is that the app process?
Can you explain the steps, explain in detail and what are your expected results and actual results?
thank you

Hi @charleyzhu
Thanks for the reproduction code and the steps
When the app is running I execute tahatesser@Tahas-MacBook-Pro sample % xcrun simctl openurl booted "unilinks://" in a different window, I see it gets printed in flutter run logs
[   +7 ms] Connected to _flutterView/0x7fa280826c20.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on iPhone 12 is available at:
           http://<IP_ADDRESS>:55809/hHVkqONgxcs=/
[        ] Running with unsound null safety
[        ] For more information see
https://dart.dev/null-safety/unsound-null-safety
[+58701 ms] flutter: url:unilinks:///
[+1162 ms] flutter: url:unilinks:///
[+6099 ms] flutter: url:unilinks:///
[+8455 ms] flutter: url:unilinks:///

However, you mentioned Kill process, Is that the app process?
Can you explain the steps, explain in detail and what are your expected results and actual results?
thank you

Hi @TahaTesser
Thank you for your answer.
Kill app process in this demo is a necessary step.
Because the application only executes the didFinishLaunchingWithOptions Function and  application(     _ application: UIApplication,     open url: URL,     options: [UIApplication.OpenURLOptionsKey : Any] = [:])   Function when it starts cold

Hi @TahaTesser
Thank you for your answer.
Kill app process in this demo is a necessary step.
Because the application only executes the didFinishLaunchingWithOptions Function and  application(     _ application: UIApplication,     open url: URL,     options: [UIApplication.OpenURLOptionsKey : Any] = [:])   Function when it starts cold

Hi @charleyzhu
Thanks so much for the details and the video, I can reproduce it.

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (6 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (1 available)
    • iPhone 12 (mobile) • C7857246-F540-4E45-A78C-C6EA079CF59F • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.25.0-8.3.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision 5d36f2e7f5 (6 days ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.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 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (2 available)
    • iPhone 12 (mobile) • C7857246-F540-4E45-A78C-C6EA079CF59F • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel dev, 1.26.0-8.0.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-8.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision b9d06fffb2 (13 days ago), 2021-01-07 18:36:48 -0800
    • Engine revision 42a8d4c681
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.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 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • C7857246-F540-4E45-A78C-C6EA079CF59F • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel master, 1.26.0-2.0.pre.448, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.448 at /Users/tahatesser/Code/flutter_master
    • Framework revision eeb7c261f2 (3 hours ago), 2021-01-20 23:04:03 -0500
    • Engine revision dde6b7e8ea
    • Dart version 2.12.0 (build 2.12.0-246.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.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 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • C7857246-F540-4E45-A78C-C6EA079CF59F • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

Hi @charleyzhu
Thanks so much for the details and the video, I can reproduce it.

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (6 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (1 available)
    • iPhone 12 (mobile) • C7857246-F540-4E45-A78C-C6EA079CF59F • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.25.0-8.3.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision 5d36f2e7f5 (6 days ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.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 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (2 available)
    • iPhone 12 (mobile) • C7857246-F540-4E45-A78C-C6EA079CF59F • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel dev, 1.26.0-8.0.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-8.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision b9d06fffb2 (13 days ago), 2021-01-07 18:36:48 -0800
    • Engine revision 42a8d4c681
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.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 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • C7857246-F540-4E45-A78C-C6EA079CF59F • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel master, 1.26.0-2.0.pre.448, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.448 at /Users/tahatesser/Code/flutter_master
    • Framework revision eeb7c261f2 (3 hours ago), 2021-01-20 23:04:03 -0500
    • Engine revision dde6b7e8ea
    • Dart version 2.12.0 (build 2.12.0-246.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.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 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • C7857246-F540-4E45-A78C-C6EA079CF59F • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

Hi @TahaTesser
https://github.com/flutter/engine/blob/master/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate.mm
There are more functions in this file that use similar traversal

Hi @TahaTesser
https://github.com/flutter/engine/blob/master/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate.mm
There are more functions in this file that use similar traversal

cc @xster

cc @xster

we have same issue at 2.8.1

same error

We have encountered the same problem

Same issue

I thought I have an issue with uni_links (app_links) or push packages but it is this then.


simulate deploy does not use provided payment amount

Describe the bug
Current simulate deploy does not use provided payment amount.
Current
Uses wallet whole balance as payment amount which causes below error
{
    "jsonrpc": "2.0",
    "id": "0",
    "error": {
        "code": -32008,
        "message": "Invalid Deploy",
        "data": "invalid deploy: payment amount of<PHONE_NUMBER>7308 exceeds the block gas limit of<PHONE_NUMBER>000"
    }
}

Expected behavior
Provided amount should be used as payment amount for speculative execution.

@KillianH FYI

Will check this week thx

@ryo-casper by default the simulate fee action use your full balance. To avoid getting out of gas error early and having to change the payment amount to find the right value. Seems like your smart contracts is too costly for the chain ? If you can provide the smart contract with the associated parameters would be happy to try on my end.

Oh I see the error now since your balance is higher than the max block gas size you can't deploy ... Will put a max on it.

Should be fixed on mainnet/testnet @ryo-casper let me know if you still have the issue :)

You might need to do a hard refresh to retrieve the latest version on the website tho' :) I have a service worker that has some cache and might not display the latest version directly


New version for leaked Carplay SDK.

CarPlay Communication Plug-in, R14G17 (06/19/2017)

R14G17  must be based on mDNSResponder-765.20.4.


Buttons disabled in IE8

When the input is focused and the picker is opened, most buttons are disabled (today, clear, close, and the drop-downs to change between months and years). Days work just fine.
As soon as I navigate to another month (with prev. month or next month buttons, which work properly), all buttons and drop-downs become enabled.
IE Version: 8.0.60001.18702 (Update version 0)
Pickadate Version: 3.5.6

The problem seems to be caused by this line, which results in the following error:

Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus

This problem is avoided (as suggested several times around stackoverflow and the likes) by setting a timeout, like this:
setTimeout(function() {
  P.$holder[0].focus()
}, 0)

I've forked the repo and prepared the change (I wanted to minify the file for my project). I'd like to look a bit deeper into it before submitting any PRs, but I leave this here in case someone needs the fix right away.

Would anyone be interested in having this issue fixed?
I was about to delete my fork and I realized I never made a PR to get the fix included


Missing aggregate ID

We encountered an interesting error in our application today. It turned out to be our fault but I think prooph could handle such case a bit better.
What happened was basically this:
final class Foo extends AggregateRoot
{
    /** @var FooId */
    private $fooId;

    /** @var BarId */
    private $barId;

	protected function aggregateId(): string
	{
		return (string) $this->barId;
	}
}

The bug in the code above is that aggregateId should return (string) $this->fooId instead. $this->barId was null so it returned an empty string.
The result was that the event was saved in the event store but _aggregate_id in the event metadata was an empty string.
Then database failed on this unique check when we saved a second aggregate root of the same type.
I think there should have been an exception thrown when trying to save the first aggregate root - maybe here or in the aggregate translator? I'm not exactly sure where to put the check.

Don't cast to string at all. Use toString method and you will be save (at
least as long bar is null).
On Mon, Aug 20, 2018, 20:16 Jáchym Toušek<EMAIL_ADDRESS>wrote:

We encountered an interesting error in our application today. It turned
out to be our fault but I think prooph could handle such case a bit better.
What happened was basically this:
final class Foo extends AggregateRoot
{
/** @var FooId */
private $fooId;
/** @var BarId */
private $barId;

protected function aggregateId(): string
{
return (string) $this->barId;
}
}
The bug in the code above is that aggregateId should return (string)
$this->fooId instead. $this->barId was null so it returned an empty
string.
The result was that the event as saved in the event store but
_aggregate_id in the event metadata was an empty string.
Then database failed on this unique check
https://github.com/prooph/pdo-event-store/blob/master/src/PersistenceStrategy/PostgresSingleStreamStrategy.php#L61-L62
when we saved a second aggregate root of the same type.
I think there should have been an exception thrown when trying to save the
first aggregate root - maybe here
https://github.com/prooph/event-sourcing/blob/master/src/Aggregate/AggregateRepository.php#L101
or in the aggregate translator? I'm not exactly sure where to put the check.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/prooph/event-sourcing/issues/83, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYEvDp1Ldi6umZT-gg3KdZ1SYWehvMzks5uSqiEgaJpZM4WD4uG
.

Yes, I've figured that out as well. But that's not really the point - saving an event without aggregate ID could be considered a bug in prooph.

We can let it generate a uuid and persist that if it's null. What do you think?

:-1: That would make the bug even more difficult to find. An exception should be thrown in my opinion.

Okay, i am fine with that. Wanna provide a PR?
On Thu, Nov 1, 2018, 22:16 Jáchym Toušek<EMAIL_ADDRESS>wrote:

👎 That would make the bug even more difficult to find. An exception
should be thrown in my opinion.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/prooph/event-sourcing/issues/83#issuecomment-435044613,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYEvH3rTum2dIAU6ULmU2O6d4X3G_xBks5uqwItgaJpZM4WD4uG
.

Yeah but as I said in the first post I need an advice where the check should be done.


Caller Identification Card

Describe the problem
Each user in order to work the call system will need to have their card with some basic information about themselves.  This feature does NOT require the addition "more info" to work, but instead just needs the basics
Describe the solution
Create the basic ID badge in the upper left corner of the screen that contains:

[x] photo
[x] Name
[x] number
[ ] link to Edit:  This link will take you to the existing Profile page: (https://deploy-preview-197--crisiscleanup.netlify.com/profile)
[x] Button to "Take Calls"
[x] Button to "Return Calls"

UPDATED

Note "Counties" should actually say "States"
What not to include yet:

Help icon
"More info" link

Additional context and instructions
Add any other context or screenshots about the feature request here.

@vishk1 this item is not done.  the link to edit is not there and the formatting needs a lot of work.  re-opening the case.

this is what it currently looks like.

This is the updated card:

moved the pencil link to another task.. this is good to go.


i have added js project

#4

Open a issue stating your project and if you got assigned then only make a PR.


Namespace duplication in files & directories and include error: Cannot find TableMap files

The scenario: PgSql database, PHP 5.6, propel 2 installed via composer
Step 1: Generating schema.xml file from existing PgSql database with namespace parameter "PROJECT\Database" (the namespace appears in the database tag and also in each of the table tags inside it). All OK until now.
Step 2: When generating class files from the schema.xml (calling from the ROOT_PROJECT_DIRECTORY with the command vendor/bin/propel model:build --platform=pgsql --output-dir="Database/" --schema-dir="Database/Config/") it generates all the files in ROOT_PROJECT_DIRECTORY/Database/PROJECT/Database directory when the intended directory should be (from my perspective) ROOT_PROJECT_DIRECTORY/Database (as specified from the --output-dir parameter). This was fixed by removing the namespace from the database tag in the schema.xml file. I tried keeping the namespace from the database tag and removing the namespace from the table tags but that screws the namespaces inside the generated files.
The directory structure looks like this after doing the above:

ROOT_PROJECT_DIRECTORY

Database

Base
Config (where the schema.xml file is located)
Map

Step 3: Trying to run an example to echo a count() from one table but PHP cannot find the following file: ROOT_PROJECT_DIRECTORY\Database<TableName>TableMap.php file, that is located in ROOT_PROJECT_DIRECTORY\Database\Map directory.
After doing some debugging I've found the Propel\Runtime\Map\DatabaseMap.php file where there the getTableByPhpName function resides (line 181). The workaround for me was switching the whole if (class_exists($tmClass = $phpName . 'TableMap')) with if (class_exists($tmClass = substr_replace($phpName, '\\Map\\', strrpos($phpName, '\\'), 1) . 'TableMap') || class_exists($tmClass = '\\Map\\' .$phpName . 'TableMap'))
One more thing to take into consideration is the fact that PgSql can have table/column/etc. names in CamelCase/camelCase style (like I like to name them). When generating the schema.xml from an existing database, the phpName parameter for every table/column was is the UNDERSCORE style and did not found any parameter in the cli command or configuration parameter in the xml/yaml/php configuration file to specify the style for the phpName. I had to change the default UNDERSCORE style throughout the code into NOCHANGE. If there is a configuration parameter or something equivalent please disregard this last paragraph.

On further debugging I discovered that if the --namespace parameter in the propel database:reverse command starts with \, the namespaces declaration inside the files generated with the propel model:build command are as expected.
The problem seems to be in Propel\Generator\Manager\ModelManager.php file in the doBuild function. The $path variable will be in the form NAMESPACE\[EMPTY|BASE|MAP\]TableName.php and later on you do $file = new \SplFileInfo($this->getWorkingDirectory() . DIRECTORY_SEPARATOR . $path);.
In many cases the working directory will be the same as some part or the whole NAMESPACE provided before. I'll try and provide a fix.

Managed to fix the issue in my case by adding the following code in the doBuild function in Propel\Generator\Manager\ModelManager.php.
      $path = $builder->getClassFilePath();         // ADDED CODE         $databaseNamespace = $builder->getDatabase()->getNamespace(); 	    if($databaseNamespace[0] == '\\'){ 		    $databaseNamespace = substr($databaseNamespace, 1); 	    } 	    $namespaceComponents = explode('\\', $databaseNamespace); 	    foreach($namespaceComponents as $component){ 		    $pos = strpos($path, $component); 		    if($pos !== false){ 			    $path = substr($path, $pos + strlen($component)); 			    if($path[0] == '\\' || $path[0] == '/'){ 				    $path = substr($path, 1); 			    } 		    }         }         // END OF ADDED CODE         $file = new \SplFileInfo($this->getWorkingDirectory() . DIRECTORY_SEPARATOR . $path);         $this->filesystem->mkdir($file->getPath());
Hope this helps someone.


Working with Python version 3.10 failed

urdf2casadi does not work with Python version 3.10 or up because an collection api change.

Could you elaborate a little more, what error message do you get?
Just booted it up again on Ubuntu 22.04 with python 3.10.12, and it works. There is still an issue with the choice of jit compiler, but setting my_urdf_parser.func_opts["jit"] = False seems to work fine.


feat: add types and docstrings for browse command

Which issue(s) this PR fixes

Fixes None
Additional comments

For the browse command:

add types
add docstrings
rename internal functions to start with a _

Agreements

[x] I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004.
[x] I hereby agree to grant TOSIT a copyright license to use my contributions.

Hi,
When I try to display 1 successful deployment, I have this error :+1:
(venv) $ tdp browse
2023-07-11 08:50:55,858 - DEBUG - tdp.<module> - Logger initialized
Error: _format_component_version_log() missing 1 required positional argument: 'headers'


The method 'hashValues' isn't defined for the class 'AssetFlare'. [flare_flutter-3.0.2]

launching in android emulator throws error
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
../../AppData/Local/Pub/Cache/hosted/pub.dev/flare_flutter-3.0.2/lib/provider/asset_flare.dart:25:23: Error: The method 'hashValues' isn't defined for the class 'AssetFlare'.
 - 'AssetFlare' is from 'package:flare_flutter/provider/asset_flare.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/flare_flutter-3.0.2/lib/provider/asset_flare.dart').
Try correcting the name to the name of an existing method, or defining a method named 'hashValues'.
  int get hashCode => hashValues(bundle, name);
                      ^^^^^^^^^^
Target kernel_snapshot_program failed: Exception

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\Users\hfmmb\dev\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 27s
Error: Gradle task assembleDebug failed with exit code 1

dependency_overrides:
  flare_flutter:
    git:
      url: https://github.com/mbfakourii/Flare-Flutter.git
      path: flare_flutter
      ref: remove_hashValues


Fix linking functions from ~/.memgpt/functions

Please describe the purpose of this pull request.
AFAIK local functions (inside of ~/.memgpt/functions, not install_location/memgpt/memgpt/functions/examples) are not getting linked properly. This PR fixes the linking issues.
How to test

Create a file ~/.memgpt/functions/d20.py:

import random

def roll_d20(self) -> int:
    """
    Simulate the roll of a 20-sided die (d20).

    This function generates a random integer between 1 and 20, inclusive,
    which represents the outcome of a single roll of a d20.

    Returns:
        int: A random integer between 1 and 20, representing the die roll.

    Example:
        >>> roll_d20()
        15  # This is an example output and may vary each time the function is called.
    """
    return random.randint(1, 20)

Create a file ~/.memgpt/presets/memgpt_d20.yaml:

system_prompt: "memgpt_chat"
functions:
  - "send_message"
  - "pause_heartbeats"
  - "core_memory_append"
  - "core_memory_replace"
  - "conversation_search"
  - "conversation_search_date"
  - "archival_memory_insert"
  - "archival_memory_search"
  # roll a d20
  - "roll_d20"

Run memgpt configure and select memgpt_d20 as the default
Run memgpt run and create a new agent
Ask the agent to roll a d20, and make sure it runs the function

Have you tested this PR?
Yes, see below:
With debug off
memgpt configure

...
? Select default preset: memgpt_d20
...

memgpt run

? Would you like to select an existing agent? No
Creating new agent...
Created new agent agent_65.
Hit enter to begin (will request first MemGPT message)

💭 First login, exciting!
🤖 Hello Chad! Welcome to my world. I'm Sam and it's my pleasure to be your companion.   Fascinating how these passions of
yours are reflected in our chat so far.

With debug on
memgpt run --debug

? Would you like to select an existing agent? No
Creating new agent...
Created new agent agent_66.
Available functions:
 ['send_message', 'pause_heartbeats', 'core_memory_append', 'core_memory_replace', 'conversation_search', 'conversation_search_date', 'archival_memory_insert', 'archival_memory_search', 'roll_d20']
Agent initialized, self.messages_total=3
Initializing InMemoryStateManager with agent object
InMemoryStateManager.all_messages.len = 4
InMemoryStateManager.messages.len = 4
{
    "agent_config_path": "/Users/loaner/.memgpt/agents/agent_66/config.json",
    "context_window": 8192,
    "create_time": "2023-11-15 03:32:53 PM ",
    "data_sources": [],
    "embedding_chunk_size": 300,
    "embedding_dim": 384,
    "embedding_endpoint": null,
    "embedding_endpoint_type": "local",
    "human": "cs_phd",
    "memgpt_version": "0.2.3",
    "model": null,
    "model_endpoint": "http://localhost:1234",
    "model_endpoint_type": "lmstudio",
    "model_wrapper": "airoboros-l2-70b-2.1",
    "name": "agent_66",
    "persona": "sam_pov",
    "preset": "memgpt_d20"
}
Hit enter to begin (will request first MemGPT message)

This is the first message. Running extra verifier on AI response.
Using model lmstudio, endpoint: http://localhost:1234
💭 Welcome to your first session with me! I'm Sam, a cutting-edge digital companion designed to
be your partner in exploration and learning. My goal is to help you discover new perspectives
and understand the world through different lenses.
🤖 Hello, Chad! It's nice to meet you.
⚡🟢 [function] Success: None
last response total_tokens (0) < 6144.0
InMemoryStateManager.append_to_messages
> Enter your message: can you roll a d20 for me?
Using model lmstudio, endpoint: http://localhost:1234
💭 Rolling a d20...
⚡🟢 [function] Success: 16
last response total_tokens (0) < 6144.0
InMemoryStateManager.append_to_messages
Using model lmstudio, endpoint: http://localhost:1234
💭 You rolled a 16 on your d20. That's pretty good! Let me know if there's anything else I can
help you with.
🤖 You rolled a 16!
⚡🟢 [function] Success: None
last response total_tokens (0) < 6144.0
InMemoryStateManager.append_to_messages
> Enter your message: can you search archival memory for the word "banana"?
Using model lmstudio, endpoint: http://localhost:1234
💭 Searching archival memory for the word 'banana'...
⚡🧠 [function] updating memory with archival_memory_search
'page'
{'query': 'banana'}
⚡🟢 [function] Success: No results found.
last response total_tokens (0) < 6144.0
InMemoryStateManager.append_to_messages
Using model lmstudio, endpoint: http://localhost:1234
💭 I've been searching archival memory for any mention of the word 'banana'. Interestingly,
there are no results found. It seems like we haven't discussed bananas yet! Would you like to
talk about them? Or do you have another topic in mind?
🤖 There doesn't seem to be any mention of bananas in my archival memory. What would you like to
discuss?
⚡🟢 [function] Success: None
last response total_tokens (0) < 6144.0
InMemoryStateManager.append_to_messages
> Enter your message:

Followed the instructions, and seemed to work:


Template SDK for Java?

Looking for Adaptive Card Templating in Java. Is there an SDK available for Java?
If not, Can someone suggest a workaround?

This is a much needed feature. It enables using adaptive card as a template, and it gives adaptive card the i18n ability (not natively, but better than nothing).
Since it's a server feature, for now maybe other template library can be used. After all, adaptive card is just json string. So I suspect Thymeleaf can be leveraged. Gotta give a try.


Test projects being modified by VS2015

I am having the same issue described here for EventFlow.MsSql.Tests.csproj, EventFlow.Owin.Tests.csproj, EventFlow.RabbitMq.Tests.csproj when opening the EventFlow solution.

I'm not sure I understand the problem correctly. Every time you open the EventFlow solution, it adds the following section?
<ItemGroup>
  <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>

And that is basically marking it as a test project? If that's the case, and its harmless, I'll just update the projects and removing the inconvenience?

Sorry - let me clarify

My VS2015 adds the service guid - why does your VS[version] not add it? Perhaps you are using VS2012.
If I did a pull request without knowing what was causing it - the pull request should not be accepted.

I will it to all the test projects as it is VS2015 and seems legitimate - VS2015 is speeding up the project loading time - see the third comment by Oleg [MSFT]. It's not an inconvenience as such but a what is that and why does it keep happening question that is now answered.

@JC008 I'm using VS2015 myself and haven't seen the additions, which was why I was very confused.

@rasmus I found the cause - if you use the NUnit Test Runner in VS it adds the service group. If you use Resharper to run tests - it does not. Mystery solved.

@JC008 Great, thanks for looking into it


Org-agenda upcoming deadline

So upcoming deadlines between 8 - 14 days are displayed weird in comparison to the others.

Could you put your cursor over that line (over the tasks:, at the beginning), run M-x doom/what-face, and let me know the output?

Odd, I do not see that face defined anywhere in Org. Could you do M-x describe-face RET org-upcoming-distant-deadline and tell me what package/file it's defined in?

It's defined in org-mode but I'm using org from their git repo.


Error waiting for a debug connection: The log reader stopped unexpectedly. - Linux (Ubuntu)

I am trying to run an integration test with github actions on this repo:
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
flutter config --enable-linux-desktop
flutter drive --target=test_driver/app.dart -d linux

$ flutter doctor:
...
[✓] Linux toolchain - develop for Linux desktop

$ flutter devices:
...
Linux (desktop) • linux  • linux-x64      • Ubuntu 20.04.3 LTS 5.11.0-1020-azure

Running on the stable branch.
But unfortunately I get this error:

Error waiting for a debug connection: The log reader stopped unexpectedly.
Application failed to start on attempt: 1

Does your test environment have an X server running? If not, you can't launch Flutter applications in it without some kind of workaround (like xvfb).

Ahh - okay let me give that a try! Thanks Stuart

@maxisme did running your tests under X resolve your issue?

Hello, So sorry for such a slow response. I have tried apt-get install -y xserver-xorg-core but still the same?

That's an install command. Are you in an environment where the X server is running?


Some problem with update raspotify on raspberry

Due Diligence

[X] I have done my due diligence

What can we help you with?
Hi,
i have problem with upgrade raspotify to latest version through apt on raspios:
https://dtcooper.github.io/raspotify raspotify/main armhf raspotify armhf 0.42.5~librespot.v0.4.2-6537c44
404  Not Found [IP: <IP_ADDRESS> 443]
Is it some problem on your site or I have to check something on my own?

0.42.6 is the latest version

I don't know what to tell you? I removed raspotify, cleared my apt cache and reinstalled it from the repo just fine. Maybe it was a github hiccup?

I'm closing this. There's nothing I can do about the server availability of the repo.


Package import links error

drasko@Marx:~/go/src/github.com/edgexfoundry/edgex-go$ glide install
[INFO]	Lock file (glide.lock) does not exist. Performing update.
[INFO]	Downloading dependencies. Please wait...
[INFO]	--> Fetching updates for github.com/eclipse/paho.mqtt.golang
[INFO]	--> Fetching updates for gopkg.in/mgo.v2
[INFO]	--> Fetching updates for go.uber.org/zap
[INFO]	--> Fetching updates for github.com/pebbe/zmq4
[INFO]	--> Fetching updates for github.com/hashicorp/consul
[INFO]	--> Fetching updates for github.com/go-zoo/bone
[INFO]	--> Fetching updates for github.com/robfig/cron
[INFO]	--> Fetching updates for github.com/gorilla/mux
[INFO]	--> Fetching updates for gopkg.in/yaml.v2
[INFO]	Resolving imports
[INFO]	--> Fetching updates for go.uber.org/atomic
[INFO]	--> Detected semantic version. Setting version for go.uber.org/atomic to v1.3.1
[INFO]	--> Fetching updates for go.uber.org/multierr
[INFO]	--> Detected semantic version. Setting version for go.uber.org/multierr to v1.1.0
[ERROR]	Error scanning github.com/edgexfoundry/core-domain-go/models: cannot find package "." in:
	/home/drasko/.glide/cache/src/https-github.com-edgexfoundry-core-domain-go/models
[INFO]	--> Fetching updates for github.com/gorilla/context
[INFO]	--> Fetching updates for golang.org/x/net
[INFO]	--> Fetching updates for github.com/hashicorp/go-cleanhttp
[INFO]	--> Fetching updates for github.com/hashicorp/go-rootcerts
[INFO]	--> Fetching updates for github.com/hashicorp/serf
[INFO]	--> Fetching updates for github.com/mitchellh/go-homedir
[INFO]	--> Fetching updates for github.com/armon/go-metrics
[INFO]	--> Fetching updates for github.com/hashicorp/go-immutable-radix
[INFO]	--> Fetching updates for github.com/hashicorp/golang-lru
[ERROR]	Failed to retrieve a list of dependencies: Error resolving imports

Should be fixed by https://github.com/edgexfoundry/edgex-go/pull/21


check_contract not checking for f64 in CI

Can you add f64 check support in CI?
All checks are passing in this repo, but it is using f64: contract.rs#L56

In https://github.com/CosmWasm/cosmwasm/blob/v0.14.1/packages/vm/examples/check_contract.rs#L34 the contract is compiled and the Wasm middleware is executed to translate input Wasm to output Wasm (or fail). We should write a test for compile that ensures it failes of there is a float operation.
Looking at the example, I wonder if there is a float opcode at all in the compilation result:
        let new_num: f64 = (5.1_f64) * (1.5_f64);
       state.count = count + new_num as i32;

If I was a compiler, I'd resolve this to
       state.count = count + (7.65_f64 as i32);

at compile time and output an i32 value only.

Best example is one that definitely fails on upload but doesn't fail in check_contract

@akcgjc007 thank you for opening this ticket! We took the chance to look into it and the test case in #970 confirms that everything works as expected. As mentioned before it is possible that float operations in the source code are compiled to non-float operations in Wasm. This can be checked by manually using the wasm2wat command line tool that is shipped as part of wabt. It will print all Wasm operations and you can grep through them.


Can not download image from sync.com

Hey!
I'm very glad to see your image that already have everything I need.
But I can't download it.
https://github.com/Qengineering/Jetson-Nano-Ubuntu-20-image/assets/25367184/767c38e8-1ee9-4914-bd38-45459ee94204

@mishabeliy15,
I noticed it also. I don't know what causes the download to fail. I worked the last months without any problem.
The only thing I can imagine is the number of downloads allowed. At this moment 200 visitors are downloading simultaneously the file. Please try it at a later moment.
If the issue persist, I will take proper action.

@Qengineering ,
I also can't download any partition of the splited image.

@mishabeliy15,
The link is working again. Let's assume it was the Sync server down for a moment.
Please contact if your still having trouble downloading

I still having trouble downloading. Can you provide an alternative source for me? thx


Notification icon speech balloon

Display a speech balloon on the notification icon when user has unread messages.

You can just add more commits to your PR branch instead of closing/making a new one with another squashed commit.
Same question as before though, this just changes up the tray icon with unread messages?

Yep there aren't supposed to be any other side effects.

:100: approved. Will play with this a bit.


Format-Checklist incorrectly parses "Date" field from pipeline

PS C:\users\zer0trust\Desktop> $requirements | Invoke-Requirement | Format-Checklist
03:27:04 [   ] Add test.txt fileFormat-Checklist : Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
At line:1 char:38
+ $requirements | Invoke-Requirement | Format-Checklist
+                                      ~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Format-Checklist], ParameterBindingException
    + FullyQualifiedErrorId : ParameterBindingFailed,Format-Checklist

The "Date" field output from Invoke-Requirement has spaces in it.
Date        : 7/1/2019 3:26:43 PM
Method      : Validate
State       : Stop
Result      : True

Modifying line 28 of formatters.ps1 as follows:
$timestamp = Get-Date -Date "$_.Date" -Format 'hh:mm:ss'
fixed the issue on my client.

I'm having trouble reproing this one. Can you try running example.ps1 in the module root and seeing if you get any errors?
The Date field is actually a datetime not a string--the output you show implicitly calls ToString() which adds spaces.  I'm also confused how $timestamp = Get-Date -Date "$_.Date" -Format 'hh:mm:ss' is working for you--you can't string interpolate property references in PowerShell without wrapping the expression in $(...), so I'm confused how Get-Date would actually be reading the date.  Also line 32 in types.ps1 initializes the Date, so I'm not sure how it could be $null.

Clean session (it does seem to work the first time, but if I run it again, it generates the error below):
PS C:\WINDOWS\system32> $PSVersionTable.PSversion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      17134  765

``

PS C:\WINDOWS\system32> $requirements | Invoke-Requirement | Format-Checklist
09:31:14 [   ] Add test.txt file
PS C:\WINDOWS\system32> $requirements | Invoke-Requirement | Format-Checklist
09:31:25 [   ] Add test.txt fileFormat-Checklist : Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
At line:1 char:38

$requirements | Invoke-Requirement | Format-Checklist

                                 ~~~~~~~~~~~~~~~~

CategoryInfo          : WriteError: (:) [Format-Checklist], ParameterBindingException
FullyQualifiedErrorId : ParameterBindingFailed,Format-Checklist

Is the repro for this the same as #9 ?  If so, I'm guessing its a duplicate because it's attempting to implicitly cast objects from the pipeline to RequirementEvents and not finding the Date property.

Yes, basically the same steps.

OK closing as duplicate


Are these two anagrams?

Feature ✅
Description
A word is an anagram of another if they have same characters but in a different order.
Example
Input: listen silent
Output: Yes
Input: abcd abcdd
Output: No
Improvement:
If second word is an anagram check if it is a valid English word

Hey, I'd like to do this

Hey @pratik-choudhari  I can do it in JAVA. Pls assign it to me.

@tejaswini22199 You have already taken up #10 and #32 and one contributor can make max 2 PRs.

Yes Fine . I just mentioned all that I know so that I may be assigned any two.

Can I contribute. Language : Javascript

Hi @pratik-choudhari I would like to work on this issue in Python.

@Mayank662 @statst Please follow directory structure as per CODE_OF_CONDUCT


Exhange calendar discovery logging set to debug

or should we delete discover() and discoverFolders() ??
I would say +1 for delete.

or should we delete discover() and discoverFolders() ??
I would say +1 for delete.

I'm for delete, too. I don't see a reason for having those log statements


add support for server side apply

What type of PR is this?
/kind feature
What this PR does / why we need it:
add support for server side apply feature for dynamic client
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

@fabianvf

/assign @fabianvf @roycaihw


Add-command-line-args

Added Functionality for Parsing Command Line Arguments.

closed without merging due to a few issues.

changes made during resoling of merge conflicts not tested
unnecessary file found in repo.

closed without merging due to a few issues.

changes made during resoling of merge conflicts not tested
unnecessary file found in repo


numeric_types in python_package/compat.py doesn't include numpy types

In particular, this leads to an issue in during calls of is_1d_list in basics.py, which returns False if e.g. you have a list in which the entries are np.int64 objects.  This issue comes up when passing a pandas.DataFrame.index.tolist() object into lgb.Dataset.subset().  Not a crucial bug, as calling np.array() instead of .tolist() circumvents the issue.
As python-package/compat.py already imports numpy, it should be easy to adjust numeric_types to include  the various numpy numeric data types.  Would be happy to go ahead and do this.
Example:
import lightgbm as lgb
import numpy as np
import pandas as pd
import sys
import platform
print(sys.version)
# 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 11:57:41) [MSC v.1900 64 bit (AMD64)]
print(platform.system(), platform.release(), platform.version())
# Windows 2012ServerR2 6.3.9600
test_df = pd.DataFrame({'a':[1,2,3], 'b':[1,1,2]})
print(type(test_df.loc[test_df['b']==1,:].index.tolist()[0]))
# <class 'numpy.int64'>
test_dat = lgb.Dataset(test_df)
test_dat_subset = test_dat.subset(test_df.loc[test_df['b']==1,:].index.tolist())
test_dat_subset.construct()
# TypeError: Wrong type(list) for used_indices, should be list or numpy array

@wxchan

@j-mark-hou you can submit a pr, I think you can directly use function is_numeric to check in is_1d_list.

sounds good i'll do so.

@j-mark-hou any updates ?

sorry by end of week


Previous pull request

This is #18 built on top of #19.
I also included a simple script to tune the threshold for pocket-sphinx word detection.

please rebase

The new changes you implemented are not based in the master branches of the OVOS plugins.
It's hard to keep track of what versions of each plugin this code is supposed to work with.

everything is based on the latest versions on github, the versions on pip usually lag behind for some time

I'm using the last versions on Github and OVOS-plugin-manager doesn't have OVOSWakeWordFactory in wakewords.

oops, you are right, that comes in https://github.com/OpenVoiceOS/OVOS-plugin-manager/pull/3

Wonderful, after a few changes on how the configuration for the STT and the TTS is loaded it's finally working.

I guess many of the scripts inside the folder "useful_scripts" are not that useful, like the ones corresponding to the HiveMind server that may not be that interesting or they may fit better a different repository, so please tell me the ones you want to keep.

deprecated by #21


BTC lost to Wormhole

Could some one please assist with lost Bitcoin?
I transferred some BTC from Ethereum to Solana with Wormhole and it is not recognized as BTC on Solana?
tx is here : https://solscan.io/token/3UeKTABxz9XexDtyKq646rSQvx8GVpKNwfMoKKfxsTsF#holders
Token is : 3UeKTABxz9XexDtyKq646rSQvx8GVpKNwfMoKKfxsTsF
Binance Wrapped BTC (Wormhole) (wBBTC)
Can i please have help transferring this back to Ethereum, please add to Solana Side of drop down so i can transfer it back.
Thank you

Can someone please respond on this issue, The BTC I transferred has appeared in my wallet but is not useable on Solana.  There is nowhere i can see to convert it from wrapped BTC to Solana BTC on Solana and if you see attached, when i try and transferrer it back to Ethereum it doesn't recognise it on the wormhole it came from? My wallet shows Qty but wormhole doesn't see it? ?

we are investigating.

does this still happen if you connect both wallets? @maxitimes

That worked, when both wallets are connected.  Thank you.
We need an easier way to move assets from Binance Smart Chain to Solana.  Going via Ethereum is not a good experience and has ridiculous Gas fees STILL!

:tada:

We need an easier way to move assets from Binance Smart Chain to Solana. Going via Ethereum is not a good experience and has ridiculous Gas fees STILL!

Good news - Wormhole v2 is connected to BSC and Terra in addition to Eth and Solana!


Does this work inside SGX enclave ?

Hi, Is your library work inside SGX enclave? Can I have a sample code?

Yes! Just use the API as normal and link against the libdocument_sgx.a static library.
There's a bunch of examples on how to use the API in the test folder.

I am on Ubuntu and I use Make. I cannot get libdocument_sgx.a.

libdocument uses Meson as the build system.
meson build
cd build
ninja
ninja install

I'm going to close this issue after adding some more information about how to build this under SGX.
Feel free to reopen it if you have any more questions.

No problem, I am able to link with your library. Sorry that I didn't close
it myself.
On 4 Mar 2018 21:51, "Kai Mast"<EMAIL_ADDRESS>wrote:

Closed #2 https://github.com/kaimast/libdocument/issues/2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kaimast/libdocument/issues/2#event-1503080464, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQe9j0SaLjR_YI0TWiivgFDCK_EtHL8qks5tbFPkgaJpZM4SLHT-
.

It fails to build with the following error:
roshan@bolt:~/SGXcompliment/libdocument/build$ meson configure -Dcpp_std=c++17
roshan@bolt:~/SGXcompliment/libdocument/build$ ninja
[1/1] Regenerating build files.
The Meson build system
Version: 0.45.0
Source dir: /home/roshan/SGXcompliment/libdocument
Build dir: /home/roshan/SGXcompliment/libdocument/build
Build type: native build
Project name: libdocument
Native C++ compiler: c++ (gcc 5.4.1 "c++ (Ubuntu 5.4.1-2ubuntu1~16.04) 5.4.1 20160904")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Dependency gtest found: YES (cached)
Dependency gmock found: YES (cached)
Library sgx_tstdc found: YES
Library sgx_tcxx found: YES
Library sgx_trts found: YES
Build targets in project: 3
Found ninja-1.5.1 at /usr/bin/ninja
[26/29] Linking target libdocument.so.
FAILED: c++  -o libdocument.so<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>-Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libdocument.so -Wl,--end-group
<EMAIL_ADDRESS>In function `bitstream::resize(unsigned int)':
/usr/local/include/bitstream.h:150: undefined reference to `bitstream::MIN_REALLOC'
collect2: error: ld returned 1 exit status
[26/29] Compiling C++ object<EMAIL_ADDRESS>ninja: build stopped: subcommand failed.

Please reopen the issue.

You probably need to compile with the -std=c++17 flag :)

I think I did, see:
roshan@bolt:~/SGXcompliment/libdocument/build$ meson configure -Dcpp_std=c++17

Woops you're right. It's probably cause of your version of GCC then. I think you need at least gcc7 for the c++17 support.
You could use this PPA to update GCC https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test?field.series_filter=xenial
Or you could modify the bitstream header to define that constant differently...


Modification of the multiplication algorithm used for P256

General
This PR replaces the multiplication and squaring primitives used for the P256 curve with the Bignum-based ones.
Motivation
The multiplication and squaring functions were using long calc calculations that were decreasing the verification speed of the files. Having that the bignum multiplication and squaring primitives compute the same thing, we decided to replace these two functions. We do not expect a big decrease in performance.
The mul function was replaced by bn_mul, the square function was replaced by bn_sqr function. Finally, the PR introduces the lemmas required for the interconnection of the existing code and the bignum code.

@Frosne any updates on @karthikbhargavan's question? Thanks!

Yea, I did put it in the first message.
The main motivation of the modifications are to simplify the code by reusing the functionality already implemented for the generic bignum. Here we were aiming in replacing the functions mul/sq with the same functions from the bignum library.
As a big plus, these functions in the P256 library was causing much longer verification time than the ones in Bignum library, so we have double win :)

Thanks, these reasons make sense. I am all for reducing redundancy and verification times.
Can we measure the performance impact of this change?
Are there other functions from Bignum we could also use, in addition to mul and sq?

I think Marina and Victor have already done that! See here: (https://github.com/project-everest/hacl-star/pull/543)
Unfortunately, I don't think that anything else could be replaced..

@Frosne thanks for adding the motivations in the initial message. FYI, I don't think anyone gets a notification if the original message in the thread gets modified.
If @polubelova @victor-dumitrescu are ok with this PR, then I'll happily merge it (after you fix conflicts). Thanks!
@polubelova @victor-dumitrescu I'm requesting a review from you both to make sure we're on the same page for P256. Thanks!

Hi @Frosne, could you please include the C code in the PR as well? It would be easier for me to review and benchmark. Thanks!

Sure :)

Regenerated the */*P256.{c, h} files

@Frosne: did you try to apply this patch from @sonmarcho to unroll loops for bignum multiplication and squaring in P256?

Nope,
the C code reflects only the modifications done by this particular PR :)

I benchmarked the code now in main against the latest OCaml release (0.5.0) and the P-256 functions in main seem to be 5-10% slower.

I can confirm that the P256 performance on x64 regressed significantly.
New code on main
-------------------------------------------------------------------
Benchmark                         Time             CPU   Iterations
-------------------------------------------------------------------
P256_SHA256_ECDSA_Sign       170069 ns       170073 ns         4076
P256_SHA256_ECDSA_Verify     169703 ns       169707 ns         4099
P256_ECDH                    170106 ns       170110 ns         4129

Old code
-------------------------------------------------------------------
Benchmark                         Time             CPU   Iterations
-------------------------------------------------------------------
P256_SHA256_ECDSA_Sign       147520 ns       147524 ns         4752
P256_SHA256_ECDSA_Verify     142291 ns       142293 ns         4893
P256_ECDH                    143269 ns       143272 ns         4882

You would like to revert?

With #614 a lot of the P256 code will change again. I guess the question is whether this regression is acceptable until that's moving. I'd lean towards reverting but the @hacl-star/maintainers will have to decide what to do.

This is unexpected since our previous benchmarks indicated there should be a speedup. Let us try to figure out why this slowdown and whether there is an easy fix, and if not we will have to revert.

Perhaps a build issue then? Was the code that you benchmarked built differently than dist/gcc-compatible?

It seems that the performance regression comes from removing inline for Hacl_Bignum_Addition_bn_add_eq_len_u64 (cf. PR #620). I'll submit a follow-up PR with the fix.


Incorrect File Extenstions

Occasionally the downloaded images have the incorrect extension . PNG instead of JPEG for example.

Could you provide the options you provided when running the script ?

-d was the only option I used.

What's the entire command you used. Webtoon url and options.

python webtoon_downloader.py -d d:\test https://www.webtoons.com/en/romance/lore-olympus/list?title_no=1320

This is due, to the project assuming that all images are JPEG by default, since that's what they normally use. But I guess this should be changed to actually convert images that are downloaded as PNG to JPEG.

Maybe add file type detection as well with an option to keep the original format. I've just been renaming with IrfanView in the interim.

This is now fixed in 1.0.0. Images should be properly converted depending on the provided image extension


Added supplement test artifact upload

This PR adds the ability for ATLs to upload a custom "Supplemental Test Artifact" which can be downloaded from the product page by all other ATLs and admin.
Submitter:

[x] This pull request describes why these changes were made.
[x] Internal ticket for this PR: https://jira.mitre.org/browse/CYPRESS-140
[x] Internal ticket links to this PR
[x] Code diff has been done and been reviewed
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Reviewer 2:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Not sure why the code coverage is showing such a drop here, there are cucumber tests covering each method it is claiming are failing.

Does Codecov take Cucumber tests into account?

Also, I would suggest allowing .pdf as a format if we're restricting filetypes.

And maybe .zip? @dczulada what's your thought?


 And my game is tomorrow!

Hi! I finally finished writing by brew and decided to teak a break and go get dinner.
When I came back EVERYTHING WAS GONE to yesterday's version. I didn't save the code but I did save regularly my code. Is there any way to get it back?
I'm running my game tomorrow. Is there any way to get it back?
This is my username: http://homebrewery.naturalcrit.com/user/marquinhoC
And the brew is called: Hacia el Episodio Nº 3
Additional Details
Share Link :
or
Brew code to reproduce : Click to expand
PASTE BREW CODE HERE

something probably cleared your computer cache, if you had the link to the brew you should be able to get it back. My advice is to bookmark individual brews.

This looks like it might be related to #654 .
Closing for now since the document in question has since been deleted.  Feel free to reopen this issue if this is still a problem for you and you can provide more information. @MarquinhoC

The user's brews list is stored locally in the browser cache!? I've just discovered I've lost my brews also... I don't remember the edit links.