Connection refused

I did it by the book -

I created an application in spotify
exported the CLIENT_ID, CLIENT_SECRET & REDIRECT_URI (this one is http://localhost:8888/callback/ - as recommended)
Added the redirect uri to the whitelisted addresses.

When I run my app I get the following message:

        User authentication requires interaction with your
        web browser. Once you enter your credentials and
        give authorization, you will be redirected to
        a url.  Paste that url you were directed to to
        complete the authorization.

Opened https://accounts.spotify.com/authorize?client_id=myclientid&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A8888%2Fcallback%2F&scope=user-follow-modify in your browser
Enter the URL you were redirected to:

and this message is of course accompanied by opening the this url, and this message appears:

This site can’t be reached
localhost refused to connect.
Search Google for localhost 8888 callback
ERR_CONNECTION_REFUSED

What am I doing wrong?

You have to copy the URL you are redirected to and paste it in the terminal where it asks for (even if it says "This site can’t be reached", you still have to copy-paste the URL).

I copy it, presses enter and it opens the URL one more time - and the code afterwards just does not run.
This is the full code:
import sys
import spotipy
import spotipy.util as util
import glob
import re

if len(sys.argv) == 3:
    username = sys.argv[1]
else:
    sys.exit()

token = util.prompt_for_user_token(username=username, scope='user-follow-modify')

try :
    sp = spotipy.Spotify(auth=token)
    results = sp.current_user_saved_tracks()
    for item in results['items']:
        track = item['track']
        print(track)
except:
    print('Unable to connect to username ' + username)

It doesn't print any error or something - it just doesn't run...

Same issue is occurring for me

+1

Your code runs, it just must be executing the else statement.
Personally, I've had an easier time utilizing the Client Credentials Flow.

CLIENT_ID, CLIENT_SECRET & REDIRECT_URI should be SPOTIPY_CLIENT_ID, SPOTIPY_CLIENT_SECRET and SPOTIPY_REDIRECT_URI. Also the previous versions were a bit buggy so make sure to upgrade:
pip install spotipy --upgrade


Manage Subtitles

Addon Manifest URL
https://addons.lowlevel1989.click/conf/api/v1/manifest.json
Addon Description
Manage Subtitles is an add-on for Stremio that allows you to manage your subtitles or follow the subtitles of other users completely free of charge.
Language of Content
None
Choose Labels

[ ] anime
[ ] asian drama
[ ] bollywood
[ ] cartoons
[ ] debrid support
[ ] http streams
[ ] live tv
[ ] metadata
[ ] misc
[ ] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[X] subtitles
[ ] torrents
[ ] tv shows
[ ] video games

Excellent!!!

how exactly do we add/configure this one? thanks in advance :D

how exactly do we add/configure this one? thanks in advance :D

Usage of 'Manage Subtitles' varies depending on your specific needs:

If you only wish to utilize the service's subtitles, simply configure it in Stremio through the install button. We recommend using the registered version for a more comprehensive experience.

For more personalized subtitles, it's best to access the dashboard and follow subtitles that interest you, contributed by other users with public profiles.

If you want to upload your own subtitles, you'll need to create a repository on GitHub or any other platform of your choice and then upload them to the 'Manage Subtitles' service, following the detailed instructions provided in the manual, available here: Link to the manual.

how exactly do we add/configure this one? thanks in advance :D

Starting from version <IP_ADDRESS>, we have resolved an issue with the 'Manage Subtitles' install button that previously made it impossible to install the add-on without using the website.
We apologize for any inconvenience this may have caused, but we are pleased to announce that the new implementation is now operational. Thank you for your understanding.

A partir de la versión <IP_ADDRESS>, hemos corregido un error que impedía la instalación del complemento 'Manage Subtitles' a través del botón de instalación, obligando a los usuarios a recurrir al sitio web para la instalación.
Lamentamos las molestias ocasionadas, pero nos complace informar que la nueva implementación ya está en funcionamiento. Agradecemos su comprensión y paciencia.

Hi!
Is there any instruction on how to get it to work in Stremio? I installed the addon, but I'm not seeing any interface element to choose subtitles from in Stremio, except for normal OpenSubtitles add-on.

Hi! Is there any instruction on how to get it to work in Stremio? I installed the addon, but I'm not seeing any interface element to choose subtitles from in Stremio, except for normal OpenSubtitles add-on.

Hello, sure, to add subtitles in Stremio, you simply need to install the "Manage Subtitles" addon. If you already have it installed, the subtitle you want should be available on the platform (dashboard), meaning that another user has uploaded it following the instructions in the dashboard manual. If not, you will need to refer to the manual to learn how to upload the subtitle to the platform, allowing both you and other users to use it.
What subtitle do you need and in which language? If I have some time today, I'll be happy to upload it for you. However, please keep in mind that it usually takes me more time to upload them as there are many pending requests.
I hope this information is helpful. Best regards!

Hi! Is there any instruction on how to get it to work in Stremio? I installed the addon, but I'm not seeing any interface element to choose subtitles from in Stremio, except for normal OpenSubtitles add-on.

Hello, sure, to add subtitles in Stremio, you simply need to install the "Manage Subtitles" addon. If you already have it installed, the subtitle you want should be available on the platform (dashboard), meaning that another user has uploaded it following the instructions in the dashboard manual. If not, you will need to refer to the manual to learn how to upload the subtitle to the platform, allowing both you and other users to use it.
What subtitle do you need and in which language? If I have some time today, I'll be happy to upload it for you. However, please keep in mind that it usually takes me more time to upload them as there are many pending requests.
I hope this information is helpful. Best regards!

Hi, greetings
I have follow everything in the manual given on your web, but when i click upload subtitle, nothing happen, it reset back to blank, is the web down or I did something wrong somewhere?
Thanks

Hi! Is there any instruction on how to get it to work in Stremio? I installed the addon, but I'm not seeing any interface element to choose subtitles from in Stremio, except for normal OpenSubtitles add-on.

Hello, sure, to add subtitles in Stremio, you simply need to install the "Manage Subtitles" addon. If you already have it installed, the subtitle you want should be available on the platform (dashboard), meaning that another user has uploaded it following the instructions in the dashboard manual. If not, you will need to refer to the manual to learn how to upload the subtitle to the platform, allowing both you and other users to use it.
What subtitle do you need and in which language? If I have some time today, I'll be happy to upload it for you. However, please keep in mind that it usually takes me more time to upload them as there are many pending requests.
I hope this information is helpful. Best regards!

Hi, greetings
I have follow everything in the manual given on your web, but when i click upload subtitle, nothing happen, it reset back to blank, is the web down or I did something wrong somewhere?
Thanks

Yes, it was recently undergoing maintenance. Could you please try again and let me know if you encounter any other issues? If so, a screenshot would be helpful.
Best regards,

Thanks @lowlevel-1989 , I have succesfully uploaded the subtitle, is there anyway to delete it? as i still searching for the perfect sync subtitle, so will need to have a trial and error process, worried that it will flood your library with the same movie subtitle

Hi, I'm having trouble trying to upload a raw YAML file. It keeps showing me this error: "Url: We exclusively support the SRT format, but for loading multiple items in the background, we also offer support for YAML."
I'm attaching the raw yaml url from github and getting that error. Also, I'm not sure what "season" I should put in the YAML code (it's a series with a Kitsu ID).
And when uploading, what should I put in "episode"? Should I just leave it blank?
Thanks in advance.

Hi, I'm having trouble trying to upload a raw YAML file. It keeps showing me this error: "Url: We exclusively support the SRT format, but for loading multiple items in the background, we also offer support for YAML." I'm attaching the raw yaml url from github and getting that error. Also, I'm not sure what "season" I should put in the YAML code (it's a series with a Kitsu ID). And when uploading, what should I put in "episode"? Should I just leave it blank?
Thanks in advance.

Muchas gracias, segun veo hablas español, es un bugs ya estamos solucionando el problema, tu yaml es correcto y puedes reportar el bugs en este linik por favor, para poder informarte cuando este solucionado y si es posible dime tu nombre de usuario.

Hi, I'm having trouble trying to upload a raw YAML file. It keeps showing me this error: "Url: We exclusively support the SRT format, but for loading multiple items in the background, we also offer support for YAML." I'm attaching the raw yaml url from github and getting that error. Also, I'm not sure what "season" I should put in the YAML code (it's a series with a Kitsu ID). And when uploading, what should I put in "episode"? Should I just leave it blank?
Thanks in advance.

fix this, please run the tests with your yaml: https://raw.githubusercontent.com/Ilikecofe/letstrymsub/main/ani/snk/0401/SNKFSpart1.yaml

Hi, I'm having trouble trying to upload a raw YAML file. It keeps showing me this error: "Url: We exclusively support the SRT format, but for loading multiple items in the background, we also offer support for YAML." I'm attaching the raw yaml url from github and getting that error. Also, I'm not sure what "season" I should put in the YAML code (it's a series with a Kitsu ID). And when uploading, what should I put in "episode"? Should I just leave it blank?
Thanks in advance.

fix this, please run the tests with your yaml: https://raw.githubusercontent.com/Ilikecofe/letstrymsub/main/ani/snk/0401/SNKFSpart1.yaml

Hi, I'm still having issues uploading the yaml link. I just posted on the issues tab on github as suggested so we can continue there. Thanks


Don't need to report no HEAD commit on dagger init for a new git repo with just a .git/ dir and no other files

If you start with an empty directory and git init you'll end up with a .git/ dir.
If you run dagger init --sdk typescript, for example, you'll get this:
dv ➤ dagger init --sdk typescript                                                          git:main
2024/07/14 09:49:41 WARN failed to get repo HEAD err="reference not found"
...

Yes this is because the git directory has no repo to commit on, it's common to every SDK and I think it's a normal behaviour?

Yup this is common to every SDK, but probably still worth explicitly handling this case of an empty git repo.

it's a normal behaviour

I think the proposal is to remove this behaviour :tada:


Using tmixSecurityProvider with gulp serve dist results in unknown provider error

I'm using the tmixSecurityProvider within my app.js page, and then making subsequent calls to tmixSecurity in downstream .js pages.

When I gulp serve my app on my local machine, it is running without error and the tmix security calls are working correctly.

However, when I use gulp serve:dist and then try to run the application, the app errors out with an Unknown provider error, which is "Unknown provider: tProvider <- t <- 1

Something about the minifying is causing the reference to the tmix security provider not work correctly.  Does anyone know how to resolve this?

Your inclination is probably correct. When using tmix-security are you using safe minification practices? Check out the angular website- specifically the section called "A Note on Minification". Check that all of your references follow those best practices.
Does that solve the issue for you?

I tried that but still ran into the same issue; is there something different about providers?

I'm having a similar issue, but I can only start my app by using gulp serve and it gives me that error.
BTW, the link to the AngularJs website is out of date; the "Note on Minification" content has moved to https://docs.angularjs.org/tutorial/step_07

I don't know if I solved the original problem, but one thing seems to be missing from the setup instructions.
The primary module needs to include the tmix module:
angular.module('myAppModule',
[
    //Angular dependencies
    ... ,
    'tmix'
]);

@CodeCharm, I can update that... but were you able to get the minified code to run?

@abrown I am just about to find out tomorrow; I'll let you know.
->Alan

@abrown Not with the existing provider. I'm attempting to refactor a little to see if I can't make it work. Should know this week.

I did finish refactoring, but I created a derivative project instead, with a new name. Sorry if this is bad form, but I'm probably still a lightweight on open source projects, and I had to get it working for my project, so I basically rebuilt it piecemeal while testing, and I changed the name of it so I wouldn't confuse myself. It is, however, just a refactored version; I did not add or remove any features or change the behavior (except to fix the issue).
Here is a gist with the refactored code: https://gist.github.com/CodeCharm/6eb4c7c2424f566bfb50e9b0c0e9ccc6
What I think broke the original is that the original code seems to rely heavily on the injects object to dereference all the dependencies, but the injects object is only properly initialized if either:

The code is not minified, or

The provider $get method is called to supply an instance of a service, for use by controllers etc. who have a dependency on it as a service.

The missing scenario is when you use it as a provider (during initial configuration), the $get method is not invoked, and the dependencies needed by the provider are not properly injected because ... not sure, but maybe the DI is a little different, and normal anti-minification solutions (i.e. using $injects) don't work.
I resolved it by passing any provider-supplied parameters to all called functions, and then having the called functions use the supplied parameter, or, if it is null, to use the corresponding property from the injects object.
It may not be elegant, and I may have done more than I needed, or could otherwise use some improvement, but it does work when it's minified, and it passes all the unit tests in the original project.


Fixed "[@publication= ]"→"[ @publication = ]"

bold with escape characters
https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-markpendingschemachange-transact-sql?view=sql-server-ver15

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified the update.


Feature to scan only on added content

Is your feature request related to a problem? Please describe.
Gitleaks is doing a wonderful job to detect secrets in the history. Gitleaks gives the commits in which a secret is added and removed.
If there are 3 commits:
commit1 - secret added
commit2 - secret deleted
commit3 - some random code
Gitleaks will detect the same secret which is present in commit1 and commit2. This works fine for a pentester interested in finding the secrets. But for security engineer trying to add gitleaks to a CI pipeline, alerting the same secret
Describe the solution you'd like
The remediation from product security team will be to revoke the secret wherever it is used and also remove it from the repo code. Once the secret is removed from the code we again get Gitleaks alert because the deleted content contains the secret.
There can be two solutions

Add a wrapper around gitleaks alerts and check if the same secret for the same repo (and same file) was alerted earlier. If yes, dont alert again and/or pass the pipeline.
Make sure gitleaks only checks for secrets added to the repo (not the secrets that are removed)

The first solution is difficult as there can be scenarios we could miss. The second solution where gitleaks has an option to check for secrets that are only added to the code is really helpful.
cc @zricethezav

There is a PR for what you are looking for: https://github.com/zricethezav/gitleaks/pull/268

@sbarbeau-od @Chan9390
The default behavior now is to scan additions. --include-deletions to scan deletions as well as additions. See https://github.com/zricethezav/gitleaks/releases/tag/v5.0.0


Ensure fieldset never exceeds max-width

This fix ensures that both WebKit/Blink and Firefox are prevented from expanding their fieldset widths to the content's minimum size.
Online demo
https://tourmaline-spoonbill.glitch.me/
This was preventing max-width: 100% from being applied to select menus inside a fieldset. There's further discussion in "Reset your fieldset" and raised by @kr8n3r in issue #1264.
Due to Firefox's legacy fieldset behaviour, I've also added a workaround for Firefox < 53.
// Fix for Firefox < 53
// https://bugzilla.mozilla.org/show_bug.cgi?id=504622
@supports not (caret-color: auto) {
  .govuk-fieldset,
  x:-moz-any-link {
    display: table-cell;
  }
}

It uses x:-moz-any-link to make the snippet Firefox-only, but with @supports not (caret-color: auto) to exclude Firefox >= 53 when caret-color support was added.

Rebased with master

@36degrees Just the last review point to address now: https://github.com/alphagov/govuk-frontend/pull/1269#discussion_r275388327
Let me know if I should remove the Firefox < 53 fix.


Refactor recovery methods actions and reducer into redux toolkit version

@ihaid Could you please test this PR regarding all stuff related to recovery methods, both related to creating an account and adding/removing recovery methods from an existing account? Also 2FA. Thanks.

Constantly see this error starting form the /create page

Constantly see this error starting form the /create page

@ihaid This one is not related, fixed here #2154

Thanks for testing @ihaid


feat: HtmxLazy component

@tanczosm this works, but is this a valuable component?
I dislike the hidden magic of Weather.razor not rendering its elements on an hx-request. Not that it works this way, but that it is not obvious to the developer.

This component has value, but probably not as written at the present time.
In trying to document rules for HtmxSwappable I think HtmxSwappable and HtmxLazy should probably be two components so you are on the right path.  HtmxSwappable is meant to act as a container for content you may individually swap into in the future.   The lazy loading logic in HtmxSwappable complicates it's usage and is trying to do too much at once.
Let's strip HtmxSwappable of lazy loading and put HtmxLazy on hold for a bit to focus first on what HtmxSwappable would be.  Give me a moment to play around with the code and I'll report back.


msal-node dependency reuires version bump to support current node version

error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "10 || 12 || 14 || 16". Got "18.12.1"

Upgraded to @azure/msal-node 1.18 which supports node 18. Thank you !


Script to add all data

Load all users and challenges
Insert them into database

Fixed with commit 1edb46af4716aee57d1bf4266a47a44ee3248c1c.


Rewrote inline xform to fix quadratic perf. bug

Turns out caching previously inlined modules is not useful
The previous algorithm in a module, would flatten an instance's children, then
flatten that instance. This caused all instances to be effectively
inlined the number of times of its depth in the instance hierarchy,
making it O(nds), where n is the number of instances, and d is the depth
of the instance, and s is the number of statements in the instance.
The new algorithm directly inlines a module by keeping track of the
parents of that instance, making it constant time with the number of
instantiated instances.

Inlining all of hwacha now takes 3 seconds, instead of not terminating after an hour. However, emitting the fully inlined hwacha requires a LOT of heap space.

We can use the fully inlined versions of things for things like combinational loop detection even if we don't end up emitting it.


[BUG] Multipart request method expects many form data objects instead of one

Describe the bug
Generated request method expect as many formdata objects as many fields formdata has. It should expect only one.
To Reproduce
...
paths:
  /v1/resource:
    post:
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/FormData'
...
components:
  schemas:
    FormData:
      required:
        - field1
        - field2
        - file
      type: object
      properties:
        field1:
          type: string
          nullable: false
        field2:
          type: string
          nullable: false
        file:
          type: string
          format: binary
          nullable: false

Generated method looks like:
Future<chopper.Response> v1ResourcePost({
    required FormData? field1,
    required FormData? field2,
    required List<int>? file,
  }) {
    return _v1ResourcePost(
        field1: field1,
        field2: field2,
        file: file);
  }

  ///
  @Post(
    path: '/v1/resource',
    optionalBody: true,
  )
  Future<chopper.Response> _v1ResourcePost({
    @Part() required FormData? field1,
    @Part() required FormData? field2,
    @Part() required List<int>? file,
  });

Generated Model:
@JsonSerializable(explicitToJson: true)
class FormData {
  FormData({
    required this.field1,
    required this.field2,
    required this.file,
  });
...
  @JsonKey(name: 'field1')
  final String field1;
  @JsonKey(name: 'field2')
  final String field2;
  @JsonKey(name: 'file')
  final String file;

Expected behavior
Generated method should expect one multipart object with all typed fields, binary should be interpreted as byte array or some other file representation (not string).
Library version used:
2.9.0

Closing due to no answer from customer. Feel free to reopen it and provide data


Spaces in filename

Hi @Elyx0 @KinanKazmi
I'm trying to upload file to my server (due to your example)
The example file in attachments
archive images.zip
I got error from RNFS library during the preparing real path
<Warning>: Failed to open target file at path: file:///Users/anastasiiak/Library/Developer/CoreSimulator/Devices/deviceID/data/Containers/Data/Application/appID/tmp/org.app/archive%20images.zip

Could you explain how to fix this problem?
Thanks

Were you able to figure this out? Having the same issue. Files with no spaces works but files with spaces don't.

Try: decodeURIComponent(name) for the name of the file.

@St1ma decodeURIComponent(name) solved your problem?

@sibelius Positive
@KristoferEng Thank you for response

On iphone8 and above, I needed to
imafeRef.put(decodeURIComponent(uri), { contentType: mime })
for it to upload files with spaces in the name.

You can use replace method


Should return non-zero exit code when there is a syntax error

Should be able to wrap a try/catch around the formatting

This landed in one of the recent PRs


Flarum beta8 compatibility

This extension is not compatible with new version of Flarum as per https://flagrow.io. Will this extension work properly with Flarum beta 8 ?

Sorry but I don't have a test instance of Flarum to verify if this plugin still works. Have you run a test with the new beta?

I have tried to install this extension on Flarum beta 8. The extension installs successfully and signin works automatically on Flarum when I sign in on my main site. But, when I activate the extension through extension manager in Flarum, no dialog opens to configure the extension options like sign up page, homepage etc. So, the forum homepage is open to all for sign in and sign up. Also, I have noticed that after I sign out from main site, I'm still signed in on the forum, even though the remember cookie is cleared(I think this issue was with beta 7 also).

Submitted a PR. #12  :)


Add identity/0 and equals/2 and equals/3 functions

We need a way of creating the identity quaternion and also comparing that two quaternions are in fact equivalent.

Added this, went ahead and added zero/0, and then decided to add both orientation and normal variants of equality along with an optional threshold mode.


Bluetooth device list ui

@AlexJustUser This branch has conflicts that must be resolved.
Could you mark conversations as resolved if they are resolved?


FileNotFoundError in susie_rss pipeline

ERROR: SuSiE_RSS_1 (id=dc17eece3ee30792) returns an error.
ERROR: [SuSiE_RSS_1]: [0]:
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
script_2021522588932750625 in <module>
----> python(fr'''import pandas as pd
      import numpy as np
      import rpy2
      from backports import zoneinfo

FileNotFoundError: 2

However it is strange as all the module can be successfully imported while shelling into the sif

This type of error is most likely due to stderr = f"{_output:nn}.stderr" instead of stderr = f"{_output[0]:nn}.stderr". So sos dont know where to write the stdout and stderr


dotnet.exe should optionally let the user pass in the project file name/path explicitly in the argument.

If a project file is specified in the arguments, use that file. Otherwise, look for a project file in the project directory and use the one found, if only one is found.

This is done.


Ignore lock files and other dead symlinks

Emacs creates lock files — symbolic links which contain a process identifier — when you start modifying a file but haven’t yet saved it. These would cause serveit to produce a 500 error, because it tries to stat the referent of these symlinks, which is by design a nonexistent file.
More generally this will stop the server coming up with a 500 error whenever the directory structure which is being watched contains a symbolic link to a file which doesn’t exist.

I’ve made the changes requested. Should I squash the commits before you merge?

Squashed as 6e202aa, thanks!

I just opened a PR with homebrew: https://github.com/Homebrew/homebrew-core/pull/37835
Once they merge it, you should be able to upgrade your installed serveit from homebrew to get this and the port option.


[WIP] packaging: improve deps, polish spec and fix split of files

Originally we had troubles with dependencies and release processes
as we have been strict about versions of leapp and repositories,
specified in the leapp rpm. As well, we would like to ensure that
currently we will install all rpms when leapp tool is installed.

So we are going to keep dependency on leapp-repository, but
without a version specification. We are going to left the
reponsiblity for version check on repositories itself.

As well, python?-leapp rpms will provide new leapp-framework
capability informing about incompatible changes or new features that
affects leapp repository (like changes in stdlib). This one will
be more flexible than official versioning and can be updated per
PR (see comment in the spec file for more details).

As well, I added several new macros in the SPEC, so there is no need
to update same values on several places anymore. Just update macros
in the top of the SPEC.

There is missing solution for Py3 framework. See the comments for more details, and this. I commented out the capability for python3-leapp now, so we can resolve it even later.

Tasks:

[x] update leapp.spec
[ ] create documentation
[x] prepare PR in leapp-repository

Can one of the admins verify this patch?

@oamg/developers - the name of capability can be changed yet. I am waiting with writting of the documentation until we have agreement on the solution.

@oamg/developers Here is prepared tmp repository with several leapp and leapp-repository builds with various provides & requirements:
[copr:copr.fedorainfracloud.org:pstodulk:leapp-deps-test]
name=Copr repo for leapp-deps-test owned by pstodulk
baseurl=https://copr-be.cloud.fedoraproject.org/results/pstodulk/leapp-deps-test/epel-7-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/pstodulk/leapp-deps-test/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1

https://copr.fedorainfracloud.org/coprs/pstodulk/leapp-deps-test

I will probably document that in the following PR as documentation needs more changes anyway and I am kind of sick now. keeping that opened, until @bocekm  finishes review of Beta/HTB, so we willl be able to merge both things together (as in both cases, other prs will have to be rebased).

It's broken travis ci - issues with pylint. That's unrelated to the changes in the PR. As well, leapp bot issue is unrelated to the PR.


docs: add 1.11.0 changes

@lena-larionova @rainest ready for another pass

@GGabriele Please convert a draft to a mergable PR as it gets "closer" to polished.
Please merge on release day and follow these steps for release: https://github.com/Kong/deck/blob/main/docs/development/release.md
Travis, it probably makes sense for you to do the release and have @GGabriele shadow on a call.


fix modulation menu value init

Properly init value when entering modulation menu

This PR also fixes the modulation indicator, which used to glitch when changing channels between AM or FM and SSB.
I moved the AM/FM indicator closer to the RX bar, but if the characters don't line up, you have to erase "SSB" before writing AM or FM. I preferred the 1st solution but we can change...

Excellent, good work!


redescribed the protocol instead of starting from how it was invented

Replace cryptic descriptions like 'holds an assertion of' with the actual steps.
Remove the old protocol before Improvement.
Describe step-by-step, e.g. previously omitted what smart contract checks, only what smart contract is capable of checking.

One minor thing that should be mentioned is that it is very important that the identifier is the output of a cryptographic hash function. If not, then it is possible for a blockchain node to steal the money from Bob by picking a specific identifier and get an attestation to that. However, if the identifier is the output of a hash function he will have to find a preimage of a hash function to be able to carry out that attack.


Fix enter key creating buttons

When you press enter, a blank button is created.

I just need to change the css from div { to section>div {


Does this solution clear the text if you change secure mode and keep typing?

See title
thanks 🙏

No, it doesn't. But it's based UiKit UITextField component.


need help just running

so, after installing here is what I tried to do:
create a .js file with the contents from here.
$  node index.js
(node:58679) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/Users/user/Downloads/notion/index.js:1
import { NotionGraph } from "@graphcentral/notion-graph-scraper"
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1178:20)
    at Module._compile (node:internal/modules/cjs/loader:1220:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
    at node:internal/main/run_main_module:23:47

Node.js v18.18.2

changed the filename and
$  node index.mjs
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '/Users/user/Downloads/notion/node_modules/@graphcentral/notion-graph-scraper/' imported from /Users/user/Downloads/notion/index.mjs
    at new NodeError (node:internal/errors:405:5)
    at legacyMainResolve (node:internal/modules/esm/resolve:234:9)
    at packageResolve (node:internal/modules/esm/resolve:877:14)
    at moduleResolve (node:internal/modules/esm/resolve:939:20)
    at defaultResolve (node:internal/modules/esm/resolve:1132:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
    at link (node:internal/modules/esm/module_job:76:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v18.18.2

$  npm list --depth 0
<EMAIL_ADDRESS>/Users/user/Downloads/notion
├─┬<EMAIL_ADDRESS>-> ./packages/notion-graph-backend
│ ├──<EMAIL_ADDRESS>deduped -> ./packages/notion-graph-scraper
│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>-> ./packages/notion-graph-frontend
│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>-> ./packages/notion-graph-scraper
│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>deduped
│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
so I changed the file to
import { NotionGraph } from "./packages/notion-graph-scraper"
import fs from "fs"
/**
 * example of how to use `@graphcentral/notion-graph-scraper`
 */
;(async () => {
  const notionGraph = new NotionGraph({
    maxDiscoverableNodes: 2000,
    maxDiscoverableNodesInOtherSpaces: 2000,
    verbose: true,
  })
  const graph = await notionGraph.buildGraphFromRootNode(
    // notion help page
    `e040febf70a94950b8620e6f00005004`
  )
  console.log(graph.nodes.length)
  console.log(graph.links.length)
  await new Promise((resolve, reject) => {
    fs.writeFile(`test0.json`, JSON.stringify(graph), (err) => {
      if (err) reject(err)
      else resolve(``)
    })
  });

  process.exit(0)
})()

but I still get
$  node index.mjs
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/Users/user/Downloads/notion/packages/notion-graph-scraper' is not supported resolving ES modules imported from /Users/user/Downloads/notion/index.mjs
    at new NodeError (node:internal/errors:405:5)
    at finalizeResolution (node:internal/modules/esm/resolve:320:17)
    at moduleResolve (node:internal/modules/esm/resolve:946:10)
    at defaultResolve (node:internal/modules/esm/resolve:1132:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
    at link (node:internal/modules/esm/module_job:76:36) {
  code: 'ERR_UNSUPPORTED_DIR_IMPORT',
  url: 'file:///Users/user/Downloads/notion/packages/notion-graph-scraper'
}

Node.js v18.18.2

...
any help?

Hey sorry. I will check it out today

Let me know what you find. Thx.

@omarcostahamido

I think you forgot this step. It just runs well on my computer. But the problem is this repo is very outdated, so probably Notion's API went through a lot of changes. So I can confirm that the latest version isn't working anymore, meaning it will not be able to scrape any information from Notion. Will need to bump notion-client to the latest version and write some fixes. Until then this project is unfortunately unusable

https://github.com/graphcentral/notion-scrape-example
here's a working example.


Not sure where to put this, but Tracery's former 'home' to tutorials, CrysyalCodePalace.com is getting domain squatted

And unfortunately, those tuts don't seem to be available elsewhere, (except a nonfunctional version on the wayback machine)

@galaxykate if you are still reading things either offer one of us in good standing the repo or at the minimum update things to point to Archive.org https://web.archive.org/web/20220731105213/http://www.crystalcodepalace.com/tracery.html


v1.34 is very unstable - crashed twice in <2 hours.

We have written the needed data into your clipboard because it was too large to send. Please paste.

Issue Type: Bug
I upgraded to v1.34 this morning, but I've already had 2 crashes with it.
The first of these crashes said something about referencing memory at 0x00000000, and required a full hard rebooot.
v1.33 was very stable, no problems at all.
Version: 1.34.0 (system setup)
Commit: a622c65b2c713c890fcf4fbf07cf34049d5fe758
Date: 2019-05-15T21:59:53.881Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT ia32 10.0.17763
VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:53.881Z)
OS version: Windows_NT ia32 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 x 4000)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.94GB (3.11GB free)

Process Argv
P:\git\SlingshotCartel\SliderPuzzle -g P:\git\SlingshotCartel\SliderPuzzle\Assets\Scripts\PuzzleShapePicker.cs:1

Screen Reader
no

VM
0%

Extensions (17)

Extension
Author (truncated)
Version

better-comments
aar
2.0.5

Bookmarks
ale
10.4.3

highlight-line-vscode
cli
0.0.1

vscode-markdownlint
Dav
0.26.0

gitlens
eam
9.7.4

rest-client
hum
0.21.3

docthis
joe
0.7.1

docomment
k--
0.1.6

unity-code-snippets
kle
1.3.0

python
ms-
2019.4.12954

csharp
ms-
1.19.1

vscode-typescript-tslint-plugin
ms-
1.0.0

debugger-for-chrome
msj
4.11.3

errorlens
Phi
1.1.3

material-icon-theme
PKi
3.7.0

vscode-hexdump
sle
1.7.2

unity-debug
Uni
2.7.2

(1 theme extensions excluded)

If/when this happens again, I'll try to add more info to identify repro steps.

Closing this - after initial crashes prompting this report, VS Code has not crashed for a few days.
Will keep an eye on it.


chore(queue): Support task function

fix #27
Signed-off-by: Bo-Yi Wu<EMAIL_ADDRESS>

Codecov Report

Merging #28 (bcd1205) into master (a742c4e) will increase coverage by 1.10%.
The diff coverage is 86.36%.

:exclamation: Current head bcd1205 differs from pull request most recent head b574601. Consider uploading reports for the commit b574601 to get more accurate results

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   82.43%   83.54%   +1.10%
==========================================
  Files           7        7
  Lines         444      480      +36
==========================================
+ Hits          366      401      +35
- Misses         56       57       +1
  Partials       22       22

Impacted Files
Coverage Δ

simple/simple.go
85.39% <71.42%> (-1.36%)
:arrow_down:

worker.go
80.00% <84.61%> (-0.77%)
:arrow_down:

queue.go
86.51% <100.00%> (+1.90%)
:arrow_up:

nsq/nsq.go
84.87% <0.00%> (+2.52%)
:arrow_up:

logger.go
68.00% <0.00%> (+8.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Cannot rename my file

Hello, everyone:
I have been trying to rename a file (FilesRenamer) and zip it at the same time using wexflow. Although I could zip it,I cannot change the name. Does anyone know what am I doing wrong?

@rocaseres Here is sample workflow where a file get renamed then zipped:
<Workflow xmlns="urn:wexflow-schema" id="1000" name="Workflow_FilesRenamerZip" description="Workflow_FilesRenamerZip">
	<Settings>
		<Setting name="launchType" value="trigger" />
		<Setting name="enabled" value="true" />
	</Settings>
	<Tasks>
		<Task id="1" name="FilesLoader" description="Loading files" enabled="true">
			<Setting name="file" value="C:\WexflowTesting\file1.txt" />
		</Task>
		<Task id="2" name="ListFiles" description="Listing files" enabled="true">
		</Task>
		<Task id="3" name="Xslt" description="Renaming files and adding tags" enabled="true">
			<Setting name="selectFiles" value="2" />
			<Setting name="xsltPath" value="C:\Wexflow\Xslt\ListFiles.xslt" />
			<Setting name="removeWexflowProcessingNodes" value="false" />
		</Task>
		<Task id="4" name="FilesRenamer" description="Renaming files" enabled="true">
			<Setting name="selectFiles" todo="toRename" />
			<Setting name="overwrite" value="true" />
		</Task>
		<Task id="5" name="Zip" description="Zipping files" enabled="true">
			<Setting name="selectFiles" value="4" />
			<Setting name="zipFileName" value="output.zip" />
		</Task>
		<Task id="6" name="FilesMover" description="Moving Zip to Zip folder" enabled="true">
			<Setting name="selectFiles" value="5" />
			<Setting name="destFolder" value="C:\WexflowTesting\Zip\" />
		</Task>
	</Tasks>
</Workflow>

The file file1.txt is renamed to file1_renamed.txt then zipped in output.zip.
Here is ListFiles.xslt:
 <xsl:template match="/">
    <root>
      <WexflowProcessing>
        <xsl:for-each select="//WexflowProcessing/Workflow/Files//File">
          <xsl:choose>
            <xsl:when test="@name = 'file1.txt'">
              <File taskId="{@taskId}" name="{@name}" renameTo="file1_renamed.txt" todo="toRename" from="app1" />
            </xsl:when>
            <xsl:when test="@name = 'file2.txt'">
              <File taskId="{@taskId}" name="{@name}" renameTo="file2_renamed.txt" todo="toSend" from="app2" />
            </xsl:when>
            <xsl:when test="@name = 'file3.txt'">
              <File taskId="{@taskId}" name="{@name}" renameTo="file3_renamed.txt" todo="toDownload" from="app3" />
            </xsl:when>
            <xsl:when test="@name = 'file4.txt'">
              <File taskId="{@taskId}" name="{@name}" renameTo="file4_renamed.txt" todo="toDownload" from="app4" />
            </xsl:when>
          </xsl:choose>
        </xsl:for-each>
      </WexflowProcessing>
    </root>
  </xsl:template>
</xsl:stylesheet>

Thank you so much for your help! I tried to solve my problem, but I still have issues. This is what is going on. Wexflow gets my file from a website, but it does not have any extension. So, I tried to rename it as a .zip and then get its extension. Unfortunately, when the program zips it, the extension does not appear. Here is the XML code and XSLT file in case it gives you more information.

@rocaseres Just to understand what you are trying to do. You download a zip without extension then you add .zip extension with FilesRenamer. Is this what you want to do?

Yes, that's right. The file I want to download is .zip. I would like to get it with the .zip extension or rename the file in order to convert it into .zip. I hope I'm clear

@rocaseres There are two errors in your workflow. You should use Http task instead of HttpGet and your Xslt must be fixed.
Here is a working workflow:
<Workflow xmlns="urn:wexflow-schema" id="1000" name="Workflow_FilesRenamerZip" description="Workflow_FilesRenamerZip">
	<Settings>
		<Setting name="launchType" value="trigger" />
		<Setting name="enabled" value="true" />
		<Setting name="approval" value="false" />
		<Setting name="enableParallelJobs" value="true" />
	</Settings>
	<LocalVariables />
	<Tasks>
		<Task id="1" name="Http" description="Downloading" enabled="true">
			<Setting name="url" value="http://aelassas.github.io/wexflow/archive" />
		</Task>
		<Task id="2" name="ListFiles" description="Listing files" enabled="true">
		</Task>
		<Task id="3" name="Xslt" description="Renaming files and adding tags" enabled="true">
			<Setting name="selectFiles" value="2" />
			<Setting name="xsltPath" value="C:\Wexflow\Xslt\ConvertirZIP.xslt" />
			<Setting name="removeWexflowProcessingNodes" value="false" />
		</Task>
		<Task id="4" name="FilesRenamer" description="Renaming files" enabled="true">
			<Setting name="selectFiles" value="1" />
			<Setting name="overwrite" value="true" />
		</Task>
		<Task id="5" name="FilesMover" description="Moving Zip to Zip folder" enabled="true">
			<Setting name="selectFiles" value="4" />
			<Setting name="destFolder" value="C:\WexflowTesting\Zip\" />
		</Task>
	</Tasks>
</Workflow>

And here is ConvertirZIP.xslt:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="xml" indent="yes"/>

  <xsl:template match="/">
    <root>
      <WexflowProcessing>
        <xsl:for-each select="//WexflowProcessing/Workflow/Files//File">
          <xsl:choose>
            <xsl:when test="@taskId = '1'">
              <File taskId="{@taskId}" name="{@name}" <EMAIL_ADDRESS>todo="toRename" from="app1" />
            </xsl:when>
          </xsl:choose>
        </xsl:for-each>
      </WexflowProcessing>
    </root>
  </xsl:template>
</xsl:stylesheet>

It worked! Thank you so much!

Glad that it worked for you.


⚠ Bofrost.at has degraded performance

In 524e084, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1371 ms

Resolved: Bofrost.at performance has improved in bf49d10 after 15 minutes.


Microwin crash, folder won´t delete

Describe the bug
I was trying to use microwin but my antivirus interrupts it and cancels the creation.
I am using Bitdefender
I am not trying to use the tool anymore I just want to delete the leftover folders.
To reproduce
Steps to reproduce the behavior:

Open the tool (as administrator)

Go to the tool, microwin
Load a windows 10 iso from the ,,, button.
Leave it with the default configuration
Start tool

Expected behavior

After a few minutes/seconds bitdefender jumps canceling the creation.
Now the folders are permanently in my download folder (I select that folder).

When I try to delete it, it shows that I need privileges to perform the action.

I can't find a way to delete

Screenshots
If applicable, please add screenshots to help explain your problem.

I solved it:
I made a bootable usb with ubuntu.
I boot from my PC with that usb
I used the option to test ubuntu
From the ubuntu explorer I accessed those files.
I gave ubuntu permission to handle those files
And simply deleted them
Done


Internal Server Error After Site Creation

I am using kubernetes cluster with docker.
I Successfully created site here is the logs.
Attempt 1 to connect to mariadb.default.svc.cluster.local:3306
Attempt 1 to connect to frappe-bench-erpnext-redis-queue:12000
Attempt 1 to connect to <IP_ADDRESS>:6379
Attempt 1 to connect to frappe-bench-erpnext-redis-socketio:11000
Connections OK
Created user _3c3d3934fa5e49ca
Created database _3c3d3934fa5e49ca
Granted privileges to user _3c3d3934fa5e49ca and database _3c3d3934fa5e49ca
Starting database import...
Imported from database /home/frappe/frappe-bench/apps/frappe/frappe/database/mariadb/framework_mariadb.sql
Installing frappe...
Updating DocTypes for frappe        : [========================================] 100%
Updating country info               : [========================================] 100%
Installing erpnext...
Updating DocTypes for erpnext       : [========================================] 100%
Updating customizations for Address
Updating customizations for Contact
*** Scheduler is disabled ***
I access website outside. here is the error.
Internal Server Error
Why it show ??
I reinstall site manually  its work fine. here is the command.
bench --site test1.example.ae reinstall
This will wipe your database. Are you sure you want to reinstall? [y/N]: y
MySQL root password:
Installing frappe...
Updating DocTypes for frappe        : [========================================] 100%
Updating country info               : [========================================] 100%
Set Administrator password:
Re-enter Administrator password:
Installing erpnext...
Updating DocTypes for erpnext       : [========================================] 100%
Updating customizations for Address
Updating customizations for Contact
*** Scheduler is disabled ***

re-open if needed


Framework to view the buoy on RViz

The current model sdf file cannot be not parsed by the urdf parser plugin directly. Using a test sdf file to make it compatible with the plugin and proof of concept is currently working. Run ros2 launch buoy_gazebo rviz.launch.py
Or directly with the main launch file having rviz launch argument set:
ros2 launch buoy_gazebo mbari_wec.launch.py rviz:=True

Breaking it down into smaller issues:

sdformat version should be 1.7
Sensors in the model are not supported by URDF
Unsupported joint types: ball, universal, screw, revolute2, gearbox
Cannot have multiple root links, all links (except one root link) should have a parent

For more details on limitations see README in the sdformat_urdf package
Working on to either tailor our sdf and/or improving of the plugin.

I'm able to load the meshes prefixed by package:// on both RViz and Gazebo with this change:
diff --git a/buoy_description/hooks/buoy_description.dsv.in b/buoy_description/hooks/buoy_description.dsv.in
index 54beeea..c0ae662 100644
--- a/buoy_description/hooks/buoy_description.dsv.in
+++ b/buoy_description/hooks/buoy_description.dsv.in
@@ -1 +1 @@
-prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share/@PROJECT_NAME@/models
+prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share

What Gazebo does is strip everything up to :// and try prefixing the rest of the URL with all paths in the IGN_GAZEBO_RESOURCE_PATH environment variable.
For example, with that change, after sourcing my colcon workspace, I see these values for the environment variable:
$ env | grep RES
IGN_GAZEBO_RESOURCE_PATH=/home/chapulina/dev_focal/ws_fortress/install/share/buoy_gazebo/worlds:/home/chapulina/dev_focal/ws_fortress/install/share

So consider a URI like this:
https://github.com/osrf/buoy_sim/blob/ff2f498a5afda06bf0a42d4188fc3d7bf6c582b4/buoy_gazebo/worlds/test_mbari_wec_model.sdf#L22
Gazebo will try:

/home/chapulina/dev_focal/ws_fortress/install/share/buoy_gazebo/worlds/buoy_description/models/mbari_wec/meshes/buoy_float.stl - that doesn't exist, continue
/home/chapulina/dev_focal/ws_fortress/install/share/buoy_description/models/mbari_wec/meshes/buoy_float.stl - that exists!

Though the functionality is still incomplete (tfs aren't being published, wip on ros_ign), this should be clear now to be merged as its won't affect simulating using gazebo!

Just checking, with this PR as is, the buoy doesn't show on RViz, right? We need TF for it?
No the buoy would still be visible, only it can't translate movement in rviz as seen in gazebo.

I think I found the issue with the transforms. Seems like coming from here or its ros2 equivalent https://github.com/ros/kdl_parser/blob/a1ba6dfffc9c95b30d8a099f8785db4cf5c0342f/kdl_parser/src/kdl_parser.cpp#L103. Not sure what this library does but missing universal joint support.

Support from sdformat_urdf and upstream Gazebo is all merged! This is ready for a final review.


[BUG] FOREIGN KEY constraint failed

Describe the bug
I was using version 1.6, but since a few days ago I am getting the error message "foreign key constraint failed"
Only 2 out of 7 files are recognized when scanning a folder
Same thing with version 1.5
The same goes for the Diffusion Toolkit folder deleted and reinstalled
What should I do?  Thanks
Version:
What version of Diffusion Toolkit are you using?  1.5 and 1.6
Tool:
What tool did you use to generate the image?  A1111, 1.7.0

There was probably a database change when you updated to 1.6, which isn't officially released yet and can be very buggy. You should only do so for testing purposes.  Exactly when does this error occur? Is it on startup? What action causes it?

At first, the symptom occurred when I deleted or moved files in Explorer, but now I can't scan even if I don't delete the files.  Is there a way?

So now, it only occurs when you click scan?
Can you try remove excluded images or clean removed folders?

Webui didn't load thumbnails in toolkit when file was created Autoscan didn't work
Manually scanning didn't work and I kept getting ""foreign key constraint failed"" error messages.
Can you try remove excluded images or clean removed folders?
I tried but no improvement
Luckily, I changed to Commits c7b8a63 and it seems to work now.
It's nice to see the program working well
It must be a lot of work to make the program.
Good luck and thank you for your interest.
I don't mind if you close the issue.

Please let me know if the latest version still has the issue (v1.6.1)

It's working well. Thank you


Implementing tween#get and Famous Transitionable-like constructor

See https://github.com/tweenjs/discuss/issues/1#issuecomment-282525375

Fixed with last commit

Cool, looking forward to API like this!


Python 3.6.7 & pyarrow 0.12.0 failing with OSError: Unrecognized filesystem: <class 'str'>

I'm trying to use pyarrow 0.12.0 to convert CSV file to parquet with python script:
import time

import pandas as pd
import pyarrow as pa
import pyarrow.parquet as pq

def convert(csvPath, parquetPath, compression='NONE'):
	start_time = time.perf_counter()
	csv_stream = pd.read_csv(csvPath)
	csv_stream.info(memory_usage='deep')

	t1 = pa.Table.from_pandas(csv_stream)

	schema = t1.schema
	print(schema)

	writer = pq.ParquetWriter(parquetPath, schema, compression)
	writer.write_table(t1)
	writer.close
	elapsed_time = time.perf_counter() - start_time

	print("Converted '{0}' to '{1}' in {2} seconds".format(csvPath, parquetPath, elapsed_time))

convert('data/units.csv', 'data/units.parquet')

It used to work with pyarrow 0.11.1, but failing with 0.12.0:
Traceback (most recent call last):
  File "convert_csv_to_parquet.py", line 24, in <module>
    convert('data/units.csv', 'data/units.parquet')
  File "convert_csv_to_parquet.py", line 17, in convert
    writer = pq.ParquetWriter(parquetPath, schema, compression)
  File "/mnt/c/repos/apache_arrow/py_arrow/env/lib/python3.6/site-packages/pyarrow/parquet.py", line 367, in __init__
    filesystem, path = resolve_filesystem_and_path(where, filesystem)
  File "/mnt/c/repos/apache_arrow/py_arrow/env/lib/python3.6/site-packages/pyarrow/filesystem.py", line 414, in resolve_filesystem_and_path
    return _ensure_filesystem(filesystem), path
  File "/mnt/c/repos/apache_arrow/py_arrow/env/lib/python3.6/site-packages/pyarrow/filesystem.py", line 395, in _ensure_filesystem
    raise IOError('Unrecognized filesystem: {0}'.format(fs_type))
OSError: Unrecognized filesystem: <class 'str'>

Steps to reproduce
Create virtual environment

python3 -m venv env
source env/bin/activate
python -V in virutal env gives me Python 3.6.7

Add dependencies

pip install numpy pandas pyarrow
check the dependencies' versions pip list:

numpy (1.16.1)
pandas (0.24.1)
pip (9.0.1)
pkg-resources (0.0.0)
pyarrow (0.12.0)
python-dateutil (2.8.0)
pytz (2018.9)
setuptools (39.0.1)
six (1.12.0)

Run the script

python convert_csv_to_parquet.py

You were relying on passing a position argument to a keyword argument in
writer = pq.ParquetWriter(parquetPath, schema, compression)

Try changing this to
writer = pq.ParquetWriter(parquetPath, schema, compression=compression)

Thanks, @wesm, it fixed my issue.


energy_distance is the squared value

The energy_distance function does not compute the energy distance (as defined by Székely and used in the scientific literature). Instead it computes the square root of that distance (which is a metric, as the original energy distance does not verify the triangle inequality, but its square root does).
Thus, either the code should be changed to use the right definition, or a warning should be placed in the documentation to explain that the definition used is not the original one.

It depends on the reference which quantity is called "the energy distance". Our references 1 and 3, at least, label the metric quantity as "the energy distance", but some others label the square of the metric quantity as "the energy distance" (reference 4 notes the variability). The variability in the literature is worth noting in the docstring, but I wouldn't say that we are using a wrong definition.

Well, the Wikipedia should not be a primary source, but I agree that in the third reference the authors seem to have changed their mind and call "energy distance" to the square root of the original definition, either because its metric properties or by analogy with the distance covariance. However most scientific literature still uses the old name. Note that even recent work (such as https://doi.org/10.1016/j.jspi.2020.11.001) from the original authors uses the original definition. Maybe we should ask directly to @mariarizzo the rationale for that.
In coding the dcor package (which is mine) uses the original definition, and energy (the R package of the original authors) does not even have a function to compute the energy distance (the function edist computes a statistic based on the squared definition instead).
I am not sure if changing the implementation is appropriate, but I think that at least a warning in the documentation could help to clarify everything.

In scipy, we try to reserve "distance" for those with metric properties and use "divergence" or "dissimilarity" for others. Since the literature gives us an option here, I'm inclined to leave the name and implementation alone, but I welcome the addition of a note (but not a warning) about the variability in the naming.


[Feature Request] Verbose output for daemon

I like to see what the daemon is doing, but this command returns nothing:
vmtouch -v -d -l -p 0M-60M "/mnt/disk1/Movie/OP"
I like to see following things:

what has been crawled
how many data of each file has been crawled
when it finished to crawl

Or is this something that is not possible because I choosed the daemon mode?

Yeah daemon was really only intended to keep the lock active. I think actually adding daemon mode to vmtouch wasn't a good idea, and it's sort of deprecated.


Major refactor

I guess best approach now is to merge it as soon as minimum viable, then work further from there with individual PR's?

Need to consolidate a bit; then commit


Use Invalid context when keyword used as identifier

Summary
This PR is related to #13778 and updates the return type of parse_identifier in the parser to return a result-like structure where both Ok and Err variant uses an Identifier. The type of the variant will indicate the type of ExprContext to use by the caller.
Previously, the ctx field on ExprName would only be set to Invalid when the identifier itself was invalid or missing. But, in case a keyword was found, then it would still set it to Load / Store. This becomes problematic because red knot will start displaying diagnostics for unresolved reference:
# Name `pass` used when not defined
for x in pass:
	pass

This PR resolves that by setting the Invalid context even in those scenarios so that the semantic model will avoid recording a use of this "keyword as identifier".
Test Plan

This PR resolves that by setting the Invalid context even in those scenarios so that the semantic model will avoid recording a use of this "keyword as identifier".

The downside of doing this will be that Red Knot won't be able to offer a refactoring to rename all uses of pass in identifier positions to a non-keyword name.

For example, typescript reports two diagnostics for:
if (let > 0) {

}

    Identifier expected. 'let' is a reserved word in strict mode.
    Cannot find name 'let'.

Which I think is correct because I can now use the editor features to find all references to let or even jump to its definition and rename the variable and all its references using the rename refactor.

Which I think is correct because I can now use the editor features to find all references to let or even jump to its definition and rename the variable and all its references using the rename refactor.

Ok, I think that might be useful.
For context, I remember we discussed this in our 1:1 but I made this change quite a while ago. When I wrote some tests in #14754, I saw those unresolved reference diagnostics which I didn't find helpful.
I'll close this for now, we can revisit if there's any requirement.


Add shell completion

It would be nice to have shell completion (tab completion/autocompletion/whatever you want to call it)

For zsh someone wrote it: https://github.com/spwhitt/nix-zsh-completions
Whats the best way to autogenerate this for python's argumentparser?

The solution appears to be argcomplete.

I would accept a PR that adds a script to generate the completion script so that we can check it into the git repo.


Missing speaker prevents sonos component from loading

Home Assistant release (hass --version):
0.58.1
Python release (python3 --version):
Component/platform:
Sonos
Description of problem:
Missing Sonos speaker prevents sonos component from loading.
Expected:
Set-up all other speakers and ignore the missing one.
Problem-relevant configuration.yaml entries and steps to reproduce:
media_player:
  - platform: sonos
    hosts:
      - Sonos1-Kueche
      - Sonos1-WZ-rechts
      - Sonos1-WZ-links
      #- Sonos3-EZ
      - Sonos1-Bad
      - Sonos-Connect-WZ
      - SonosOne-WZ

Commenting out the line with the temporarily switched off speaker fixes the problem
I use names instead of IP-adresses. The names are assigned in the router.

Traceback (if applicable):
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 171, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
  File "/usr/lib/python3.6/asyncio/tasks.py", line 352, in wait_for
    return fut.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/sonos.py", line 143, in setup_platform
    players.append(soco.SoCo(socket.gethostbyname(host)))

Additional info:

I dont have sonof's so I'm unable to replicate your issue, but just wondering what would happen if you'd configure each speaker seperately, ie:
media_player:
  - platform: sonos
    hosts:
      - Sonos1-Kueche
  - platform: sonos
    hosts:
      - Sonos1-WZ-rechts
  - platform: sonos
    hosts:
      - Sonos1-WZ-links
  - platform: sonos
    hosts:
      - Sonos3-EZ
  - platform: sonos
    hosts:
      - Sonos1-Bad
...

Dear @ferdydek,
you are right. While for sure the traceback still shows an error due to the missing system named "Sonso3-EZ", the other Sonos boxes now get initialized.

IMO this would only be a workaround and changes have to be made:

documentation updated to reflect how hosts are intended to be used
OR
change in the component to split the entities regardless of configuration method by default
Again, I don't use this platform so cant say if its intended or not.
@amelchio could you take a look at this please?

As this relates to a powered off speaker, you can actually test it without having a Sonos :)
Anyway, it is the lookup by name that fails, I tried fixing that in #11013 now.


Tweaks to Tab UI

Makes the tab bars scrollable if necessary
Switched out the splitter element so it places nicer

The one we were using before relies on computed styles, which don't exist if the element or its parent is hidden. As such, the splitter was un-mounting its children if it was hidden.
The easiest way to observe this was to run one of the scripts then change the tab. The script would still run, updating the data etc., but the output area would stay blank when you tabbed back over because it was unmounted.

I preferred the look of the other splitter, and this one seems to be a bit heavier in terms of dependencies, so I'm open to alternatives here.

Not super fussed about the code changes, but I'm noting that the main.stan window refreshes when showing/hiding the errors pane, which doesn't happen on the main branch.

Yeah, I noticed that. This version of a splitter doesn't support a variable number of children -- which is good, since we were running into issues with the size persisting from the old splitter because it was re-rendering based on the children array, but it does mean to get the old behavior we need to return a different component based on the value of syntaxWindowVisible. Do you know of any way to avoid re-rendering in that case?

Hmm... One could memoize the main.stan pane maybe? I'm not sure if that would actually help, though, since its parent would be conditionally popping in and out, which is probably going to cause a rerender regardless...

Hmm... One could memoize the main.stan pane maybe?

Yeah, that doesn't help, since the parent component is changing anyway. Maybe keep the Split component in and vary the hidden status of the error window? Let me try that.

Maybe keep the Split component in and vary the hidden status of the error window? Let me try that.

Nope, that isn't it either--the Split component is inserting a couple additional layers of divs that would need to be hidden themselves.

@jsoules I found another option I could set to make the actual splitter itself invisible, so the fact that it's always two children no longer matters

@jsoules I found another option I could set to make the actual splitter itself invisible, so the fact that it's always two children no longer matters

Oh awesome!


Show 5 decimals for ETH/LSDs/OETH amounts

It looks like we're showing 18 in some places and this is causing the layout to break. Can we use 5 in all cases other than when the user is entering an amount into the input field - these don't need to be capped

In this case, a real user is experiencing a little overflow due to six decimal places on the main balance. I still think it would be cool to have dynamic precision where the number of digits depends on the space available and larger balances have fewer decimal places. In this case of the main balance, it would be cool for this user to see 1,702.31446 while another user might see 0.00012345.

Dynamic could also work well for the change column in the history where very small amounts need more 6 decimals. Although being an edge case this may be unnecessary


Specification of translator source structure.

Explain how source files should be organised within directories. In particular, explicitly explain how we should deal with:

Fully portable source code.
Source code that depends on architecture, but not on platform.
Source code that depends on platform, but not on architecture.
Source code that depends both on platform and on architecture.

I have proposed a directory layout. It remains to add some explanations clarifying what should go into each directory and why.

Done.


libflutter crashes sporadically

I took a collection of our logs and symbolicated all of them. I looked at the traces and then removed any crashes that looked nearly identical to other crashes bringing me down to five that show libflutter as the last thing called (and two that seem GPU / driver related). The application itself is not a game, does not use custom fonts, shaders, or other heavy / intense UI items.
The app does make use of a custom kotlin library linked against the standard C++ library for JNI functions.
The embedded library seems to work well up until one of these crashes occur.
Any insight, ideas, or things to try?
********** Crash dump: **********
Build fingerprint: 'samsung/starqltesq/starqltesq:10/QP1A.190711.020/G960USQU9FVB2:user/release-keys'
#00 0x0000000001ab0098 /data/app/com.li.lx-O5svn7oAJCT6ZjTTIHGpGg==/lib/arm64/libflutter.so (BuildId: ac81dbe6a14145f04ad79b76cf9e5e3c681a3cf3)
                                                                                dart::ClassPtr dart::Class::New<dart::MonomorphicSmiableCall, dart::compiler::target::MonomorphicSmiableCall>(dart::IsolateGroup*, bool)
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/dart/runtime/vm/object.cc:3003:10
#01 0x0000000001af3528 /data/app/com.li.lx-O5svn7oAJCT6ZjTTIHGpGg==/lib/arm64/libflutter.so (BuildId: ac81dbe6a14145f04ad79b76cf9e5e3c681a3cf3)
                                                                                dart::AbstractType::NullabilitySuffix(dart::Object::NameVisibility) const
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/dart/runtime/vm/object.cc:20301:11
#02 0x0000000001ac55d4 /data/app/com.li.lx-O5svn7oAJCT6ZjTTIHGpGg==/lib/arm64/libflutter.so (BuildId: ac81dbe6a14145f04ad79b76cf9e5e3c681a3cf3)
                                                                                dart::Function::VerifyCallEntryPoint() const
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/dart/runtime/vm/object.cc:26916:1
#03 0x00000000000f5f1c <anonymous:700d743000>
Crash dump is completed

********** Crash dump: **********
Build fingerprint: 'samsung/starqltesq/starqltesq:10/QP1A.190711.020/G960USQU9FVB2:user/release-keys'
#00 0x000000000189c8a4 /data/app/com.li.lx-O5svn7oAJCT6ZjTTIHGpGg==/lib/arm64/libflutter.so (BuildId: ac81dbe6a14145f04ad79b76cf9e5e3c681a3cf3)
                                                                                sktext::gpu::BagOfBytes::BagOfBytes(char*, unsigned long, unsigned long)
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/skia/src/text/gpu/SubRunAllocator.cpp:20:0
Crash dump is completed

********** Crash dump: **********
Build fingerprint: 'samsung/starqltesq/starqltesq:10/QP1A.190711.020/G960USQU9FVB2:user/release-keys'
#00 0x00000000015bf1fc /data/app/com.li.lx-EFcfA8Q-MHlz1Ws8w_iIYQ==/lib/arm64/libflutter.so (BuildId: 28af3c003dc3df47d321bb57bca9a9abd73a75f4)
                                                                                std::__1::ctype<char>::widen(char) const
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/libcxx/include/__locale:681:16
                                                                                std::__1::basic_ios<char, std::__1::char_traits<char> >::widen(char) const
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/libcxx/include/ios:777:51
#01 0x000000000197db20 /data/app/com.li.lx-EFcfA8Q-MHlz1Ws8w_iIYQ==/lib/arm64/libflutter.so (BuildId: 28af3c003dc3df47d321bb57bca9a9abd73a75f4)
                                                                                sk_sp<skia::textlayout::FontCollection>::get() const
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/skia/include/core/SkRefCnt.h:298:29
                                                                                sk_sp<skia::textlayout::FontCollection>::sk_sp(sk_sp<skia::textlayout::FontCollection> const&)
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/skia/include/core/SkRefCnt.h:226:55
                                                                                skia::textlayout::ParagraphBuilder::make(skia::textlayout::ParagraphStyle const&, sk_sp<skia::textlayout::FontCollection>)
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/skia/modules/skparagraph/src/ParagraphBuilderImpl.cpp:21:46
#02 0x000000000197ecd0 /data/app/com.li.lx-EFcfA8Q-MHlz1Ws8w_iIYQ==/lib/arm64/libflutter.so (BuildId: 28af3c003dc3df47d321bb57bca9a9abd73a75f4)
                                                                                SkTArray<skia::textlayout::Placeholder, true>::init(int)
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/skia/include/private/SkTArray.h:478:13
#03 0x000000000002957c [anon:libc_malloc]
Crash dump is completed

********** Crash dump: **********
Build fingerprint: 'samsung/starqltesq/starqltesq:10/QP1A.190711.020/G960USQU9FVB2:user/release-keys'
#00 0x00000000015c0a0c /data/app/com.li.lx-EFcfA8Q-MHlz1Ws8w_iIYQ==/lib/arm64/libflutter.so (BuildId: 28af3c003dc3df47d321bb57bca9a9abd73a75f4)
                                                                                std::__1::shared_ptr<impeller::Renderer>::operator=(std::__1::shared_ptr<impeller::Renderer>&&)
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/libcxx/include/memory:4427:5
#01 0x00000000019aa8b4 /data/app/com.li.lx-EFcfA8Q-MHlz1Ws8w_iIYQ==/lib/arm64/libflutter.so (BuildId: 28af3c003dc3df47d321bb57bca9a9abd73a75f4)
                                                                                void std::__1::allocator_traits<std::__1::allocator<flutter::AssetManagerFontStyleSet::TypefaceAsset> >::__construct<flutter::AssetManagerFontStyleSet::TypefaceAsset, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(std::__1::integral_constant<bool, true>, std::__1::allocator<flutter::AssetManagerFontStyleSet::TypefaceAsset>&, flutter::AssetManagerFontStyleSet::TypefaceAsset*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/libcxx/include/memory:1717:18
                                                                                void std::__1::allocator_traits<std::__1::allocator<flutter::AssetManagerFontStyleSet::TypefaceAsset> >::construct<flutter::AssetManagerFontStyleSet::TypefaceAsset, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(std::__1::allocator<flutter::AssetManagerFontStyleSet::TypefaceAsset>&, flutter::AssetManagerFontStyleSet::TypefaceAsset*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/libcxx/include/memory:1560:14
                                                                                void std::__1::vector<flutter::AssetManagerFontStyleSet::TypefaceAsset, std::__1::allocator<flutter::AssetManagerFontStyleSet::TypefaceAsset> >::__emplace_back_slow_path<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/libcxx/include/vector:1674:5
#02 0x0000000000000041 <unknown>
Crash dump is completed

********** Crash dump: **********
Build fingerprint: 'samsung/starqltesq/starqltesq:10/QP1A.190711.020/G960USQU9FVB2:user/release-keys'
#00 0x0000000001abf328 /data/app/com.li.lx-YC7KBDfFG0z8psmN1Sb4Cw==/lib/arm64/libflutter.so (BuildId: ac81dbe6a14145f04ad79b76cf9e5e3c681a3cf3)
                                                                                dart::Function::ImplicitClosureFunction() const
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/dart/runtime/vm/object.cc:9405:1
#01 0x00000000000fe014 <anonymous:7073cb2000>
Crash dump is completed

********** Crash dump: **********
Build fingerprint: 'samsung/starqltesq/starqltesq:10/QP1A.190711.020/G960USQU9FVB2:user/release-keys'
#00 0x000000000007a144 /apex/com.android.runtime/lib64/bionic/libc.so (je_tcache_bin_flush_small+1116) (BuildId: d00c50b4798c95f2447d684ed3ea7dcb)
#01 0x0000000000049448 /apex/com.android.runtime/lib64/bionic/libc.so (je_free+488) (BuildId: d00c50b4798c95f2447d684ed3ea7dcb)
#02 0x0000000001ba6400 /data/app/com.li.lx-YC7KBDfFG0z8psmN1Sb4Cw==/lib/arm64/libflutter.so (BuildId: ac81dbe6a14145f04ad79b76cf9e5e3c681a3cf3)
                                                                                dart::TimelineEvent::PrintJSON(dart::JSONWriter*) const
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../third_party/dart/runtime/vm/timeline.cc:633:11
#03 0x00000000002559fc [anon:libc_malloc]
Crash dump is completed

********** Crash dump: **********
Build fingerprint: 'samsung/starqltesq/starqltesq:10/QP1A.190711.020/G960USQU9FVB2:user/release-keys'
#00 0x0000000000261444 /vendor/lib64/egl/libGLESv2_adreno.so (BuildId: cbac6fcec6df68cf2f89388913f072d7)
#01 0x000000000022dd28 /vendor/lib64/egl/libGLESv2_adreno.so (BuildId: cbac6fcec6df68cf2f89388913f072d7)
#02 0x0000000000216eec /vendor/lib64/egl/libGLESv2_adreno.so (BuildId: cbac6fcec6df68cf2f89388913f072d7)
#03 0x00000000000310f0 /system/lib64/libEGL.so (android::eglSetDamageRegionKHRImpl(void*, void*, int*, int)+108) (BuildId: d6ab516ab8e5f2c3ab3e72d95bbda7cd)
#04 0x00000000015be8ac /data/app/com.li.lx-O5svn7oAJCT6ZjTTIHGpGg==/lib/arm64/libflutter.so (BuildId: ac81dbe6a14145f04ad79b76cf9e5e3c681a3cf3)
                                                                                flutter::AndroidChoreographer::PostFrameCallback(void (*)(long, void*), void*)
                                                                                /b/s/w/ir/cache/builder/src/out/android_debug_arm64/../../flutter/shell/platform/android/android_choreographer.cc:57:35
#05 0x0000043800000000 <unknown>
Crash dump is completed

Thanks for the report @dan-ssi
Can you provide flutter doctor -v on which you are seeing this crash log ?
Also, is there a way for you to provide replicable steps or minimal code sample which triggers this crash ?

@darshankawar here's the flutter doctor -v output:
[✓] Flutter (Channel stable, 3.3.9, on macOS 12.4 21F79 darwin-x64, locale en-US)
    • Flutter version 3.3.9 on channel stable at /Users/danielslowinski/Library/Android/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (3 weeks ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

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

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

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

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

[✓] Connected device (3 available)
    • Pixel 4a (mobile) • 08281JEC206058 • android-arm64  • Android 12 (API 31)
    • macOS (desktop)   • macos          • darwin-x64     • macOS 12.4 21F79 darwin-x64
    • Chrome (web)      • chrome         • web-javascript • Google Chrome 108.0.5359.98

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

• No issues found!

Trying to determine a minimal code sample. that can be executed without additional hardware.

Thanks for the update. Although the symbolicated crash log you shared is useful, but a minimal code if possible would be great to have to determine the root-cause, so will wait for you to provide the same.


Warning modal for new pipetting functions

overview
When a user connects to a robot with the new pipetting functions feature flag disabled, they should be shown a modal with copy instructing them to turn the feature flag on and explaining the effects of the feature flag (same as current behavior for P10S function--copy below).
The corresponding modal for the P10S feature flag should be removed.

Text:
[title]
Important: Pipette Calibration Update
[body]
This release includes an adjustment to the default aspirate behavior of the P10S, P10M, P50S, P50M, and P300S pipettes. The adjustment refines the ul to mm conversion for the pipettes to incrementally improve their accuracy.
Please be aware that this will result in a material change to the aspirated volumes of the pipettes. Though the results will be more accurate, a change to pipetting behavior may not be immediately desirable for some users.
For example, if you are in the middle of an experimental run and have updated to this new release, running a protocol post update will result in data that may be different from results using the previous release.
Additionally, if you have made any manual adjustments to the software to compensate for inaccuracy, those adjustments may not be compatible with the changes in this release and could result in inaccurate pipetting.
We strongly recommend you use these new calibrations. However, if you prefer to use the previous ul to mm conversion, you can revert to those settings in the 'Advanced Settings' menu. Please reach out to our team with any questions.

BLocked by #3026


Invalid RNSVG.podspec file: undefined method `visionos' for #<Pod::Specification name="RNSVG">.

Pod install error
"react": "18.2.0",
"react-native": "0.72.11",
"react-native-svg": "^15.1.0",
[!] Invalid Podfile file:
[!] Invalid RNSVG.podspec file: undefined method `visionos' for #<Pod::Specification name="RNSVG">.
from /Users/mac/Desktop/WorkSpace/Rootchat/RootchatRN/node_modules/react-native-svg/RNSVG.podspec:18
-------------------------------------------
s.tvos.exclude_files = '**/*.macos.{h,m,mm}'

s.visionos.exclude_files = '**/*.macos.{h,m,mm}'

s.osx.exclude_files = '**/*.ios.{h,m,mm}'
-------------------------------------------
.
from /Users/mac/Desktop/WorkSpace/Rootchat/RootchatRN/ios/Podfile:29
-------------------------------------------
target 'rootsapp' do

config = use_native_modules!

-------------------------------------------

Fixed for me by updating Cocoapods, see https://github.com/getsentry/sentry-react-native/issues/3547#issuecomment-1911977140

Fixed for me by updating Cocoapods, see getsentry/sentry-react-native#3547 (comment)

Worked for me too! Thanks

Updating cocoapods did'n worked for me
also ive tried to link react-native-svg manually in ios, that also did'n worked

Fixed by adding "image": "latest" in my eas.json for the respective profile I was building with

Updating cocoapods did'n worked for me also ive tried to link react-native-svg manually in ios, that also did'n worked
---update--- i was able to fix the problem navigate to node_module/react-native-svg/RNSVG.podspec file
and delete s.visionos.exclude_files = '**/*.macos.{h,m,mm}' and :visionos => "1.0"
and create a patch using "patch-package"

please can you explain how you used "patch-package" or what is the content for the fix

@ssandroidify thank's so much! This works for me

"react": "18.2.0",
"react-native": "0.73.6",
"react-native-svg": "^15.1.0",
Issue still remaining, is there any update about this bug?

getting the same error, Does anyone find any stable solution?
Updating Watchman didn't work. @DogukanTansuk
@ssandroidify could you please help me with the patch package creation?

@TanveerShah0
make these 2 changes in below mentioned file
navigate to -
node_module/react-native-svg/RNSVG.podspec file
and delete
s.visionos.exclude_files = '/*.macos.{h,m,mm}'**
and
:visionos => "1.0"
then install this package patch-package
then run cmd -
npx patch-package react-native-svg

Last version of react-native-svg is not stable. I downgraded to 14.1.0 and pod install worked
yarn add<EMAIL_ADDRESS>

getting the same error, Does anyone find any stable solution?
Updating Watchman didn't work. @DogukanTansuk
@ssandroidify could you please help me with the patch package creation?

Ensure that your cocoapods version above 1.14.3, please follow the steps to ensure that you're in right configuration to fix this problem;
rm -rf node_modules ios/Pods ios/Podfile.lock
yarn && npx pod-install

This is fixed my problem if it is not works for you then yours is different than mine. Our 4 team member also fixed like this.

Last version of react-native-svg is not stable. I downgraded to 14.1.0 yarn add<EMAIL_ADDRESS>and pod install worked.

That's work for me. Thank you

Hi everyone,
This bug has been fixed and released in the latest version 15.3.0 🎉 After the update everything should work and if not - feel free to comment or open a new issue.

just downgrade the react-native-svg.
use this also :: npm i<EMAIL_ADDRESS>

Whats the status on this? This is still occuring

downgrade the npm svg package

Last version of react-native-svg is not stable. I downgraded to 14.1.0 yarn add<EMAIL_ADDRESS>and pod install worked.

npx expo install<EMAIL_ADDRESS>worked for me

Last version of react-native-svg is not stable. I downgraded to 14.1.0 yarn add<EMAIL_ADDRESS>and pod install worked.

I tried the news version 15.4 but its not working...
But this Solution helped me out.TY

The 14.1.0 version of react-native-svg worked for me.


Unable to build on Mac OSX: Linking fails on libstitching.dylib

Currently trying to install on Mac OSX 10.11.3 with OpenCV from Homebrew. Can't seem to build, I have attached the output.
The error I am getting is:
[ 76%] Linking CXX shared library lib/libstitching.dylib
Undefined symbols for architecture x86_64:
"FloatArray::FloatArray(std::__1::vector<float, std::__1::allocator >)", referenced from:
_CompressedRectilinearPortraitProjector_mapBackward in stitching.cpp.o
_CompressedRectilinearPortraitProjector_mapForward in stitching.cpp.o
_CompressedRectilinearProjector_mapBackward in stitching.cpp.o
_CompressedRectilinearProjector_mapForward in stitching.cpp.o
_CylindricalPortraitProjector_mapBackward in stitching.cpp.o
_CylindricalPortraitProjector_mapForward in stitching.cpp.o
_CylindricalProjector_mapBackward in stitching.cpp.o
...
"DoubleArray::DoubleArray(std::__1::vector<double, std::__1::allocator >)", referenced from:
_detail_estimateFocal in stitching.cpp.o
_GainCompensator_gains in stitching.cpp.o
"StringArray::operator std::__1::vector<cv::String, std::__1::allocatorcv::String >()", referenced from:
_detail_matchesGraphAsString in stitching.cpp.o
"IntArray::IntArray(std::__1::vector<int, std::__1::allocator >)", referenced from:
_detail_selectRandomSubset in stitching.cpp.o
_detail_findMaxSpanningTree in stitching.cpp.o
_detail_leaveBiggestComponent in stitching.cpp.o
_Stitcher_component in stitching.cpp.o
"SizeArray::operator std::_1::vector<cv::Size, std::_1::allocator<cv::Size > >()", referenced from:
_detail_resultRoi in stitching.cpp.o
_detail_resultRoiIntersection in stitching.cpp.o
_Timelapser_initialize in stitching.cpp.o
_TimelapserCrop_initialize in stitching.cpp.o
_VoronoiSeamFinder_find2 in stitching.cpp.o
_Blender_prepare2 in stitching.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libstitching.dylib] Error 1
make[1]: *** [CMakeFiles/stitching.dir/all] Error 2
make: *** [all] Error 2
Opencvbuildfail.txt

Thanks for reporting!
I've tried applying a fix, did it help?

Hi,
I've tried to install again with:
luarocks install cv
but same issue. Has the fixed been pushed upstream to luarocks or do I need to build from elsewhere?
(Sorry, new to Torch)
Thanks,
Ash

the same problem

Oops. Seems like I've found a huge bug. Fixing...

Thanks, let me know if you need any more information.

Phew! Yet another significant rework of the whole thing, thanks to this issue.
@fagg
Could you please try luarocks install cv once more and tell me if you succeed?

Looking more promising, but still no cigar.
This is the error I get now:
[ 76%] Linking CXX shared library lib/libstitching.dylib
Undefined symbols for architecture x86_64:
"StringArray::operator std::__1::vector<cv::String, std::__1::allocatorcv::String >()", referenced from:
_detail_matchesGraphAsString in stitching.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libstitching.dylib] Error 1
make[1]: *** [CMakeFiles/stitching.dir/all] Error 2
make: *** [all] Error 2

D'oh!
I've added the missing symbol it complains about. Does it work now?

not yet, i got this error:
[ 16%] Linking CXX shared library lib/libCUDACommon.dylib
[ 16%] Built target objdetect
Scanning dependencies of target optflow
Undefined symbols for architecture x86_64:
"_THCudaStorage_newWithData", referenced from:
TensorWrapper::TensorWrapper(cv::cuda::GpuMat&, THCState*) in CUDACommon.cpp.o
"_THCudaTensor_free", referenced from:
_transfer_tensor_CUDA in CUDACommon.cpp.o
"_THCudaTensor_new", referenced from:
TensorWrapper::TensorWrapper(cv::cuda::GpuMat&, THCState*) in CUDACommon.cpp.o
"_cudaFree", referenced from:
FakeMemoryPool::release() in CUDACommon.cpp.o
FakeDefaultDeviceInitializer::~FakeDefaultDeviceInitializer() in CUDACommon.cpp.o
"_cudaMalloc", referenced from:
FakeMemoryPool::initilizeImpl() in CUDACommon.cpp.o
"_cudaSetDevice", referenced from:
FakeDefaultDeviceInitializer::~FakeDefaultDeviceInitializer() in CUDACommon.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libCUDACommon.dylib] Error 1
make[1]: *** [CMakeFiles/CUDACommon.dir/all] Error 2
thanks

@Orange15
Do you have CUDA and cutorch (luarocks install cutorch) installed?
If you're not going to use to use OpenCV functions for GPU, then try BUILD_CUDA=OFF luarocks install cv.

I get a different error (nothing to do with CUDA, which I have installed and working by the way). Please see attached.
OpenCVBuildFail2.txt

@fagg
That class for the abscence of which the compiler blames us was introduced in opencv_contrib at January 20. You must be having an older version. Could you please reinstall a fresh snapshot of contrib or, if you don't want to, just replace your modules/ximgproc/include/opencv2/ximgproc.hpp with its new version.

Sorry for the delay guys. I hope I've (at least temporarily) solved this build issue. Follow up in #103


Update Get-AzureADDirectoryRole.md

Added additional example for fetching directory role by name.

@VinceSmith,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Association between Users and Deals

Find all deals a user is/has been part of.
Validate Lender Id & Borrower Id

Done

API endpoint /api/users

Useage

Search users based on name and/or email

case insensitive
don't have to provide full value
eg.
For user John Doe with email<EMAIL_ADDRESS>

GET  /api/users?name=joHn&email=johnd

Can specify limit as a query param if required

Default value : 10
Max value : 100

Merge Request: #2


TST: adding marker and stricter warning checks

Adding a marker for the isolated build testing. You can turn off this with -m "not isolated" - might be useful for conda-forge, where isolated builds don't matter.
Making the tests a bit stricter, checking for warnings.

Nice, only warning made error is DeprecationWarning: check_home argument is deprecated and ignored. - which I fixed a couple of days after CPython 3.11.0 shipped. Since it's in tests and just CPython triggering a warning on itself, should be fine to just to hide.

Made changes, and updated history to be one commit per change. Also updated tmpdir to tmppath, since I noticed that elsewhere being py.path instead of pathlib - the first time I wrote this fixture, I wasn't able to use tmppath, but here it's fine.


Open the home screen to the most recently selected feed page

Is your feature request related to a problem? Please describe.
As detailed in #799, it's annoying to have to remember to scroll over to the custom feed I use every time I open the app after quitting. The best solution would be allowing the user to unpin following altogether, but as triage we could just always open the app to the most recently selected page on Home.
Describe the solution you'd like
I believe this could be be done by recording feed selections in AsyncStorage and using that value as the initial value for the selected page state.
Describe alternatives you've considered
Adding a setting to preferences that allows users to opt into hiding following. If they choose to hide, following is not pinned; if not, following is pinned at the first position (as now).
Additional context
I'm happy to implement this.

Yeah that seems like a good idea

Added!


Applying migrations... fail

first run docker composee [nhost/hasura-auth] (help me 🙏 😅)
error code
{"level":30,"time":1652923504251,"pid":18,"hostname":"09699a726a8e","msg":"Log level: info"}
hasura-auth_1  | {"level":30,"time":1652923504716,"pid":18,"hostname":"09699a726a8e","msg":"Waiting for Hasura to be ready..."}
hasura-auth_1  | {"level":30,"time":1652923504929,"pid":18,"hostname":"09699a726a8e","msg":"Hasura is ready"}
hasura-auth_1  | {"level":30,"time":1652923504929,"pid":18,"hostname":"09699a726a8e","msg":"Applying migrations..."}
hasura-auth_1  | (node:18) UnhandledPromiseRejectionWarning: Error: certificate has expired
hasura-auth_1  |     at applyMigrations (/app/dist/migrations.js:62:19)
hasura-auth_1  |     at processTicksAndRejections (internal/process/task_queues.js:95:5)
hasura-auth_1  |     at async start (/app/dist/server.js:43:5)
hasura-auth_1  | (Use `node --trace-warnings ...` to show where the warning was created)
hasura-auth_1  | (node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
hasura-auth_1  | (node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Could the error "certificate has expired" be related to Postgres and any certificate you might have there?


Link needed in blurb about App Transport Security exception

From the Networking page:

By default, iOS will block any request that's not encrypted using SSL. If you need to fetch from a cleartext URL (one that begins with http) you will first need to add an App Transport Security exception. If you know ahead of time what domains you will need access to, it is more secure to add exceptions just for those domains; if the domains are not known until runtime you can disable ATS completely. Note however that from January 2017, Apple's App Store review will require reasonable justification for disabling ATS. See Apple's documentation for more information.

The part about disabling it completely has a link, but how to add an exception for specific domains is not. Linking to a resource that explains how to do this would be useful, particularly for users of create-react-native-app, which seems to hide things like the info.plist file mentioned in this article that appears if you google it.

I'll work on this.

@carlbennettnz does the PR #177 is enough?

Hey, sorry, just saw this. Good improvement, thanks 👍
Only concern is that the Info.plist referred to in the linked resource is hidden by create-react-native-app. When I tried to create my first app, I found similar instructions, but never found this file.

Oh, I see what you mean. In that case, would the developer have to add React Native to a native iOS app then?

Not sure. I gave up after getting stuck on this and went back to PWAs instead.

@charpeni it would be great if you can close this issue as PR for the same has already been merged.


GPU-friendly spike detection [6]

user points estimate: 6
feature: #67 (GPU Support)
This task will implement more efficient spike detection on the GPU. On completion

spikes will be efficiently detected and communicated on host and GPU back ends
MPI communication of spikes will have been tested and validated on all back ends

Implementation details

the hardware-specific backend provides an interface that

front end (i.e. the cell_group) can describe which compartments/locations must be watched (with threshold)
front end can periodically request a list of recorded "threshold crossings"

the front end is responsible for translating the threshold crossings into pre-synaptic spikes

Closed by PR #167