AF2/Ionic3 - Facebook Authentication - Native Cordova - Not updating html

Hello, I hope this is the correct forum to ask this in, my alternative is StackOverflow. But I've done everything as precicely posted in the article https://github.com/angular/angularfire2/blob/master/docs/Auth-with-Ionic3-Angular4.md and I believe it's working correctly on the phone, but I do not see my name. However, on the web app version, I do see my name. Was updating the
Hello {{ displayName }}
 simply left out of the if (this.platform.is('cordova')) { part of the function?
constructor(public navCtrl: NavController,
			private toastCtrl: ToastController,
			private platform: Platform,
			private fb: Facebook,
			private afAuth: AngularFireAuth) {
	afAuth.authState.subscribe((user: firebase.User) => {
		if (!user) {
			this.displayName = null;
			return;
		}
		this.displayName = user.displayName;
	});
}

signInWithFacebook() {
	if (this.platform.is('cordova')) {
		return this.fb.login(['email', 'public_profile']).then(res => {
			const facebookCredential = firebase.auth.FacebookAuthProvider.credential(res.authResponse.accessToken);

			return firebase.auth().signInWithCredential(facebookCredential);
		})
	}
	else {
		return this.afAuth.auth
			.signInWithPopup(new firebase.auth.FacebookAuthProvider())
			.then(res => console.log(res));
	}
}

signOut() {
this.afAuth.auth.signOut();
}

I see how I can subscribe to the afAuth.authState, but for Cordova, the Facebook package is used, so I'm not sure how to access the fields of the user or what the return object is. Thanks for any help provided.
If it helps, when ran on the android device, I see a Facebook box pop up for a brief period, maybe for 10 milliseconds, then disappear. This is why I think it's working (the authentication) but I just want to know how to access the user fields so I can print my name or grab a user id to associate with junk throughout the app that might go into a database.

Hi @darthink! This repo has a required issue template to file bugs and other troubleshooting issues with the library. Stackoverflow is the proper medium for this question.


Enable opening relative markdown links from editor

Testing #19089
In the example below, we open the tabs.md file correctly, but don't scroll to the correct header

Fixed by #19639


btcpayserver: 1.6.9 -> 1.6.10

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/btcpayserver/versions.
meta.description for btcpayserver is: "Self-hosted, open-source cryptocurrency payment processor"
meta.homepage for btcpayserver is: "https://btcpayserver.org"
meta.changelog for btcpayserver is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.6.10 with grep in /nix/store/jzp5qi7d53s5kv55sjbb7s76vq1vhdhw-btcpayserver-1.6.10
found 1.6.10 in filename of file in /nix/store/jzp5qi7d53s5kv55sjbb7s76vq1vhdhw-btcpayserver-1.6.10

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
btcpayserver

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jzp5qi7d53s5kv55sjbb7s76vq1vhdhw-btcpayserver-1.6.10 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A btcpayserver https://github.com/r-ryantm/nixpkgs/archive/4ae959e94913a257ebf40255f6ddc7ca0eda4811.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jzp5qi7d53s5kv55sjbb7s76vq1vhdhw-btcpayserver-1.6.10
ls -la /nix/store/jzp5qi7d53s5kv55sjbb7s76vq1vhdhw-btcpayserver-1.6.10/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

btcpayserver

Maintainer pings
cc @kcalvinalvin @erikarvstedt for testing.

Result of nixpkgs-review pr 188571 run on x86_64-linux 1

1 package built:

btcpayserver


syncer/checkpoint(dm): update the meaning of IsOlderThanTablePoint

What problem does this PR solve?

Issue Number: ref #4287
What is changed and how it works?
after https://github.com/pingcap/tiflow/pull/3891 , we can be confident to skip event <= table checkpoint when using position based replication
Check List
Tests

pass original test

Code changes

Has exported function/method change

Release note
`None`.

/run-dm-integration-test

/run-dm-integration-test

/merge

Codecov Report

Merging #4289 (62664ec) into master (ab62e6b) will decrease coverage by 0.2431%.
The diff coverage is 44.7099%.

Flag
Coverage Δ

cdc
59.1053% <54.6042%> (-0.5106%)
:arrow_down:

dm
52.0465% <40.4329%> (-0.0191%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #4289        +/-   ##
================================================
- Coverage   55.5183%   55.2752%   -0.2432%
================================================
  Files           495        495
  Lines         61151      61192        +41
================================================
- Hits          33950      33824       -126
- Misses        23789      23961       +172
+ Partials       3412       3407         -5

/run-dm-integration-test
/run-verify
/run-kafka-integration-test

/run-dm-integration-test

/hold
found a bug in CI

/run-dm-integration-test

https://github.com/pingcap/tiflow/pull/4289/commits/dd9531495cc9aa9e8701e537438f6b3d7b679652
PTAL @Ehco1996 @GMHDBJD

can't understand this change, what if added2Queue = false but err2!=nil ?

it means handleJob meets error before send the job to DMLQueue or DDLQueue, which will not happen currently.

can't understand this change, what if added2Queue = false but err2!=nil ?

it means handleJob meets error before send the job to DMLQueue or DDLQueue, which will not happen currently.

yes, but this could not hanppen in handleRowsEvent and how this change fix the save checkpoint while job is not added to queue 😵. could you please explain more

I mean "save checkpoint while job is not added to queue" is a bug, the commit has fixed it.

/unhold
/merge

/run-integration-test /tidb=pr/30558
/run-kafka-integration-test /tidb=pr/30558

/run-integration-test /tidb=pr/30558
/run-kafka-integration-test /tidb=pr/30558

/run-kafka-integration-test /tidb=pr/30558


fix: *arr server not persisting on initial save

The selected Sonarr/Radarr server was not being saved when creating a new rule.

:tada: This PR is included in version 2.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Pre-load CAS3 applications in test/dev env for testing purpose

Changes in this PR
Refer CAS-185 for more information.
This PR is to insert CAS3 applications in test, dev env for testing purpose. This helps for any analysis/research work in assessment and booking flow.
Release checklist
As part of our continuous deployment strategy we must ensure that this work is
ready to be released at any point. Before merging to main we must first
confirm:
Pre merge checklist

[ ] Have all changes to any dependencies been deployed to both preprod and
production in a backwards compatible way? (This includes our API,
infrastructure, third-party integrations and any secrets or environment variables)
[ ] Has a required data migration been included in this change or been done in
advance?

Post merge checklist
Once we've merged we now need to release this through to production before
considering it done.
Find the build-and-deploy job in CircleCI
and work through the following steps:

[ ] Has the product manager asked to provide approval for this feature?

[ ] Has the product manager approved?

[ ] Manually approve release to preprod
[ ] Verify change released to preprod
[ ] Manually approve release to prod
[ ] Verify change released to production

Should a release fail at any step, you as the author should now lead the work to
fix it as soon as possible.

Thanks Sudhakar,
I think we ought to take a little more time here to include in the commit message a brief summary of the seeding which is being done here. A brief narrative covering:

What entities are being created
What state they are in
What these testing scenarios are supported by these fixtures

I appreciate that you are linking this PR to a Jira ticket. Today I have access to that ticket and can see:

In the TEST environment we need to be able to work on Referrals (Applications) related to Bookings. This will allow us to test out scenarios based on Referrals and the linkage between Referrals and Bookings.

That ticket refers to another ticket which where I see the user story:

As an HPT
So that I don’t leave referrals in 'ready to place' after a booking has been created and distract other assessors
I need to have the referral automatically updated as closed

However, in the future there's no guarantee (even high probability) that the person maintaining this service will have access to these Jira tickets. For that reason we believe it makes good sense to ensure that our source control system is the principal source of truth for documenting decisions and rationale.
Please see https://github.com/alphagov/styleguides/blob/master/git.md (from of our CAS ways of working) for more on the Git practices we try to follow.


Adding .NET 9 canary and updating .sln with more github action links

Description of changes:
Adding .NET 9 which needs to be a custom runtime because Lambda doesn't support .NET 9 as a managed runtime.
Testing done:
Built and tested locally with sam build and sam deploy --guided
Merge Checklist
General

[x] I have read the CONTRIBUTING doc
[x] I used the commit message format described in CONTRIBUTING

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

CodeQL isn't supported for .NET 9 yet, so we just have to wait for that. For now, overriding merge.: https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/


CSV output, slow, timestamp issues

running with python 3.7.3 on OSX Sierra. installed from git download. App seems to run without errors, although it is very slow - even on simple queries where I am looking over a short period and I know there are only 20-30 tweets.
CSV output better once I had used tabs as delimiter.
Timestamps field appears to often be empty, or contains hashtags or URLs
Needs an option to overwrite output instead of 'file exists' then quits.
All this makes it difficult to get usable data

The new version will have ";" as a default separator for the CSV output file and the command line argument "-ow / --overwrite" to indicate you want existing output files to be overwritten.

just tried latest version, but it seems there are extra return characters that are messing up the CSV file,
so still not working

Do you have any suggestions?
One option could be to save it to csv with pandas, but I don't want to add pandas as an requirement just for saving the tweets to csv.

not sure...
script works well apart from this although a bit slow. Maybe some text encoding issue - I don't
know where these extra return characters are coming from - perhaps " " quotes are getting messed up?? . Maybe CSV export in python3.7 has issues. CSV read/write is normally easy.


Spreadsheets are empty when opening in "Spreadsheet compare" Office tool

Hello! First of all, thank you for the amazing tooling, metrics are really great and so performant. I'm able to generate large xlsx files using .NET.
However, I have faced the issue when trying to compare the file generated with SpreadCheetah, with other xlsx files using the Spreadsheet Compare 2016 tool (part of Office). The file generated using SpreadCheetah is treated as empty for some reason by this tool, so I can't compare it with others. At the same time, the file in Excel looks good and has the data. I had no similar issue when opening files created using NPOI package.
So, is it possible to make the SpreadCheetah-generated xlsx files compatible with Spreadsheet Compare?
This is how the issue looks like in Spreadsheet Compare (left file - SpreadCheetah, right file - created in Excel):

This is how it looks like in Excel:

Minimal code:
using var tempStream = new MemoryStream();
await using var spreadsheet = await Spreadsheet.CreateNewAsync(tempStream, null, cancellationToken);
await spreadsheet.StartWorksheetAsync("Report", null, cancellationToken);

var columnNames = new List<string> { "column1", "column2" };
var values = new List<string> { "value1", "value2" };

var headerRow = new List<Cell>();

foreach (var columnName in columnNames)
{
     headerRow.Add(new Cell(columnName));
}

await spreadsheet.AddRowAsync(headerRow, cancellationToken);

var valuesRow = new List<Cell>();
foreach (var value in values)
{
    valuesRow.Add(new Cell(value));
}
await spreadsheet.AddRowAsync(valuesRow, cancellationToken);

await spreadsheet.FinishAsync(cancellationToken);

Environment:
Spreadcheetah 1.9.0
.NET 6

Sorry I accidentally created it here, in samples repo. Moved the issue to the main repo: https://github.com/sveinungf/spreadcheetah/issues/16


S3 as storage results in error deploying

I am trying to deploy using S3 storage and I am receiving the following error when trying to deploy the cr:
$ oc create -f s3_cr.yaml
The QuayEcosystem "example-quayecosystem" is invalid: []: Invalid value: map[string]interface {}{"apiVersion":"redhatcop.redhat.io/v1alpha1", "kind":"QuayEcosystem", "metadata":map[string]interface {}{"creationTimestamp":"2019-11-06T21:33:31Z", "generation":1, "name":"example-quayecosystem", "namespace":"quay-enterprise", "uid":"1427b888-00dd-11ea-a98d-02dd80a8768f"}, "spec":map[string]interface {}{"quay":map[string]interface {}{"imagePullSecretName":"redhat-pull-secret", "registryStorage":[]interface {}{map[string]interface {}{"name":"s3", "s3":map[string]interface {}{"host":"hosthere", "s3_access_key":"accesskey", "s3_bucket":"quay", "s3_secret_key":"secret+key"}}}}}}: validation failure list:
spec.quay.registryStorage in body must be of type object: "array"
This is what my cr looks like:
apiVersion: redhatcop.redhat.io/v1alpha1
kind: QuayEcosystem
metadata:
name: example-quayecosystem
spec:
quay:
imagePullSecretName: redhat-pull-secret
registryStorage:
- name: s3
s3:
s3_bucket: quay
s3_access_key: acceskey
s3_secret_key: secret+key
host: host

@dmhumph It looks like a bit of the formatting of your cr was lost. Would you be to use a code block and paste it into there? Based on the error you shared, it might simply be an indentation issue.

Sorry about that here is the cr:
apiVersion: redhatcop.redhat.io/v1alpha1
kind: QuayEcosystem
metadata:
  name: example-quayecosystem
spec:
  quay:
    imagePullSecretName: redhat-pull-secret
    registryStorage:
      - name: s3
        s3:
          s3_bucket: quay
          s3_access_key: acceskey
          s3_secret_key: secret+key
          host: host

@dmhumph what version of the image

@sabre1041 I don't see a location to specify the image version.  I just used the default config before the oc create -f s3_cr.yaml.  I just did a new pull from the project master about an hour ago

@dmhumph version of the operator. Support for additional backend aside from local are in development and only in the "latest" image tag

@sabre1041 Ok, I did not see that anywhere before testing.  So I guess I am using 0.0.7 then.  Do I just need to change the version in the version.go to "latest" to test again?  Thanks

@dmhumph you make the change here

@dmhumph any updates?

@sabre1041 I have not had the chance to retest and probably will not for a few weeks.  I will circle back and if it is still an issue I will reopen the issue.  Thank you


Register GRPC message service

We support the GRPC query handler but there is also a message handler implementation in other modules like:
// RegisterServices registers module services.
func (am AppModule) RegisterServices(cfg module.Configurator) {
	types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper))
	querier := keeper.Querier{Keeper: am.keeper}
	types.RegisterQueryServer(cfg.QueryServer(), querier)
}

Yeah, that was a new technique that started with rc2 or so.. I think this was defined in ADR 31 or 29?


Request Display url from id to slug

I still have a problem calling slug to show on url using apollo for a long time now, still can't solve. Can anyone help?

Sure, what do you exactly want to do? Can you maybe add some example code of what you've tried?

Hi maybe I am late but in order to use friendy url (using slug) I suggest:

have a slug field in the content

create a graphql query articles-slug.gql in ./apollo/queries/article
Your new GraphQL query should be (add fields you need)

./apollo/queries/article/articles-slugs.gql
query Articles ( $slug : String){
  articles( where : { slug :$slug } ) {
    title
    ...
}

create a folder _slug in nuxt ./pages/article and then create a index.vue file

./pages/article/_slug/index.vue

<template>
  ....
</template>

<script>
import articlesQuery from '~/apollo/queries/article/articles-slug'
export default {
   data:()=>({
      articles: {}
   }),
   apollo: {
    articles: {
      prefetch: true,
      query: articlesQuery,
      variables() {
        return { slug: this.$route.params.slug };
      },
      update: data => data.articles[0]
    }
  },
}
</script>

change the nuxt-link in ./components/Articles.vue

<nuxt-link
   v-for="article in articles"
   :to="{ name: 'articles-slug', params: { slug : article.slug } }" :key="article.slug">
   {{ article.title }}
</nuxt-link>

@swina I wanted the category to use slug as well, so site.com/articles/news/ will list all articles under the news category. Could you guide me on how to achieve that please.
Thank you.

As for articles create a pages/categories/_slug/index folder and create a index.vue
Your index.vue should look like
<template>
  ....
</template>

<script>
import categoryQuery from '~/apollo/queries/category-slug/category-slug'
export default {
   data:()=>({
      categories: {}
   }),
   apollo: {
    categories: {
      prefetch: true,
      query: categoryQuery,
      variables() {
        return { slug: this.$route.params.slug };
      },
      update: data => data.articles[0]
    }
  },
}
</script>

Your category-slug.gql
query Categorues ( $slug : String){
  categories( where : { slug :$slug } ) {
    title
    ...
}

Your Categories collection needs to have a slug field in order to work.

You will have a categories/news routing working.

For some reason when I added the image to the _slug.vue page, the article will not render the title and content.  Also when I go to other articles, I get an error: Cannot read property 'url' of undefined. The article page renders fine when I remove the image code.
`

{{ articles.title }}

Sidebar

`

Closing this issue since it seems @swina has answered the initial question and @marvthedev opened https://github.com/strapi/strapi-starter-nuxt-blog/issues/22


Unable to open files once attached?

Hi there,
Firstly, thanks a lot for posting this extension. It's definitely helped me get much further along the road.
From the official Kubernetes extension, I'm able to find my pod and "attach visual studio code" successfully, and can open/edit files fine.

However, once I connect with your extension, the window opens and the files are listed, however the files cannot be opened. I see this error:

First, I wondered if this wasn't working because I didn't supply the image. I notice that in the top of the search bar, it says "undefined" in brackets, whereas this is filled with the image name when I use the Kubernetes extension.

I edited the terminal command based on the "Extension Host" output in the vscode window which reads as follows.
code --folder-uri "vscode://k8s-container+context=mycontext+podname=mypod+namespace=default+name=pytorch+image=myimagename"

However, even after loading the pod with this new command I still can't edit the files on the remote host. I wonder if you have any ideas on how to fix this? I'm pretty sure I'm escaping all the special characters in the URI properly. If you have any tips on how to get your extension to work for my case, I'd be very grateful!

However, even after loading the pod with this new command I still can't edit the files on the remote host.

In my env (WSL2) even image param is blank I can attach to a container so I think the undefined thing is not related to your problem.
This extension just opens URI with params.
https://github.com/mtsmfm/vscode-k8s-quick-attach/blob/fd4dae17b0802d7326ae0663378085ffe05bce61/src/quickAttach.ts#L96-L102
https://github.com/mtsmfm/vscode-k8s-quick-attach/blob/fd4dae17b0802d7326ae0663378085ffe05bce61/src/quickAttach.ts#L120-L126
If you find something wrong please send a PR.

Heyo,
I'm having the same issue while using WSL2.

Is there anything I can do to help debug the issue?


Cleaning up aliased version

ResourceConflictException: Unable to delete version because the following aliases reference it: [test]

Apex is not able to cleanup old version if alias is attached to it.

Is the plan to allow an aliased version to be removed or to avoid trying to remove versions that are aliased in the first place?
We encountered this error today and I was about to open a feature request to prevent Apex from attempting to clean up aliased versions at all. We use aliases to represent different logical environments (staging, systems integration testing, production) so the last thing we'd want is for part of one of our environments to disappear as part of the cleanup.

@brentsnook actually I was thinking about allowing an aliased version to be removed.
In general, we suggest to use different AWS acc for envs. In you case you could also use retainedVersions option http://apex.run/#retainedversions (setting to some high value).
I've also created https://github.com/apex/apex/issues/405 so you will able to completely disable versions cleanup.

Hi @mthenw, I think that if a version is aliased then you wouldn't want it to be removed at all because it is still significant in some way.
Having one AWS account per environment isn't always practical. We have at least 3 logical environments in our non-production account and follow a prod/non-prod approach as detailed here.
Setting a high number of retained versions would allow us to lessen the chance of our environments being broken and disabling cleanup should prevent that entirely but the automated cleanup is still a useful feature to have.

You can use IAM Roles to switch envs very quickly (it adds a little switcher in the console), I can't think of any down side to be honest, other than if you're doing manual provisioning of envs.

Two years later, I would still benefit a lot from an option to opt out from deleting aliased versions. Can be done by ignoring the error from AWS. Is this something that could happen for Apex? My Go skills are limited


Deferred object from Raw Query.

I need to populate associations from a raw query:- model.query(sql, cb).populate('pets'), or alternatively have a none deferred method of populating associations.
i.e record.populate('pets) - record is just a returned model schema not a defered object.
Is this possible?

Hi @stefan1968, this is impossible. raw queries are adapter/db specific and they can return anything, from records, to counts, to admin operation results, etc. without any control from waterline core. The returned result format itself will vary between adapters. If you are doing raw query why not do your JOIN (that's essentially what populate does) operation in the query itself? You will like get more performance from it.
Regarding record.populate('pets') there is an open issue for that: #572 - Add "Populate" instance method to Waterline. Please note that in this case record would need to be an instance of model, in other words something returned by .find(), .update() or .create().

Thanks for the response. The raw query explanation makes perfect sense. What is the timeline on record.populate ?

 I'm not aware of anyone currently working on it and it's not assigned to any version to be released soon. It's labelled as "Help Wanted" so any help is welcome, mind giving it a shot? :smiley:

Haha. If only I had time, I've just basically ported our companies server from LocmotiveJS/Sequelize to SailsJS/Waterline, and whilst Waterline is not as mature yet, the way it does stuff is far easier to handle.
Having said that, find with selected attribute returns is a must. I believe thats on its way?

Having said that, find with selected attribute returns is a must. I believe thats on its way?

It's here. See https://github.com/balderdashy/waterline-docs/blob/master/query-language.md#select


some suggestions.

Hi, thanks for the useful workflow.
I have two suggestions as following:

when type 'gh ' with no argv, is it better to show all repos?
I think it might be useful to have another 'ghs ' branch, for showing and searching our starred repos.

Thanks for the suggestions. There's a newer version in the cooks (already on master) that has the following features:

Search your own repos from cache with repo <query>
Search across Github with the command: gh <query> (not cached)
Search PRs you're involved in (cached)

Feel free to try it out and give any feedback before the official release.


Tweak timeouts

The current timeout value for the gemini client is something like 60 seconds, at the least, which is probably too long for an interactive user to wait. Let's tweak that.

This has been resolved with the move to Python, which now has a timeout of 30 seconds.


Unable to detect my Sphero Bolt; toy not found exception

I am running PySphero on an Ubuntu 18.04 LTS installation  in VMware, on Python 3.6.
When running examples/find_toy.py, I cannot find my sphero bolt; after a second it just gives a toy not found error. I know it's not my hardware as using the Sphero EDU app in windows on the same machine I can connect to it without error. is there something I need to do aside from installing bluepy and pysphero to get it working? Bolt was the one toy this was tested and found to work on I believe.

Can you connect to sphero using mac address? This example.

Did you enable bluetooth sharing?

Bluetooth sharing is enabled on the vm, still same result.
The example tries to connect to a device with the mac address "aa:bb:cc:dd:ee:ff" by default. Was I supposed to change this? I did not, and just tried running the example, and bluepy returned a connection error.
Thanks for your help so far, hoping to get this figured out!

Um... You should execute python with root privilege for using bluepy.
I tried execute example without root and I got PySpheroNotFoundError.
Try to run example with root privilege.

sudo python3 examples/find_toy.py
and sudo python3 examples/wake.py
The result is the same.
Do I need to pair the device in any way to my machine before running this code?

Ok.
Let's check the bluepy and bluetooth.
Please, run this code and send output:
from bluepy.btle import Scanner, DefaultDelegate

class ScanDelegate(DefaultDelegate):
    def __init__(self):
        DefaultDelegate.__init__(self)

    def handleDiscovery(self, dev, isNewDev, isNewData):
        if isNewDev:
            print("Discovered device", dev.addr)
        elif isNewData:
            print("Received new data from", dev.addr)

scanner = Scanner().withDelegate(ScanDelegate())
devices = scanner.scan(10.0)

for dev in devices:
    print("Device %s (%s), RSSI=%d dB" % (dev.addr, dev.addrType, dev.rssi))
    for (adtype, desc, value) in dev.getScanData():
        print("  %s = %s" % (desc, value))

This is copy-paste from bluepy docs.

Well, I think we may have found the problem.
After running sudo python3 blue_test.py:
Traceback (most recent call last):
File "blue_test.py", line 13, in
devices = scanner.scan(10.0)
File "/home/stevo399/.local/lib/python3.6/site-packages/bluepy/btle.py", line 852, in scan
self.start(passive=passive)
File "/home/stevo399/.local/lib/python3.6/site-packages/bluepy/btle.py", line 790, in start
self._mgmtCmd("le on")
File "/home/stevo399/.local/lib/python3.6/site-packages/bluepy/btle.py", line 312, in _mgmtCmd
raise BTLEManagementError("Failed to execute management command '%s'" % (cmd), rsp)
bluepy.btle.BTLEManagementError: Failed to execute management command 'le on' (code: 12, error: Not Supported)

See this issue. Maybe it help you.

I think it was a hardware issue more than anything. This package works with the pi3, which I got and tested it on this week. I'm guessing it was an issue with my computer's hardware or the vm.

This should help with this issue: https://github.com/IanHarvey/bluepy/issues/218#issuecomment-350680433
In my venv, the bluepy-helper executable is here:
sudo setcap 'cap_net_raw,cap_net_admin+eip'  venv/lib/python3.7/site-packages/bluepy/bluepy-helper

I am running PySphero on an Ubuntu 20.04 LTS with Python 3.8.10
Maybe I 'm not good at programming on Ubuntu. I don't know how to connect my sphero bolt, because I can't find my device in my bluetooth list(gui on upper right corner).
Maybe I don't know how to start pysphero?
Here is my oprations:
install the vscode
try run code core.py、wake.py, but it doesn't work.
Traceback (most recent call last):
File "/home/zzrs123/Pysphero/pysphero/examples_lmq/wake.py", line 22, in
main()
File "/home/zzrs123/Pysphero/pysphero/examples_lmq/wake.py", line 10, in main
with Sphero(mac_address=mac_address) as sphero:
File "/home/zzrs123/.local/lib/python3.8/site-packages/pysphero/core.py", line 49, in enter
self._ble_adapter = self._ble_adapter_cls(self.mac_address)
File "/home/zzrs123/.local/lib/python3.8/site-packages/pysphero/bluetooth/gatt_adapter.py", line 39, in init
ch_force_band = self._find_characteristic(SpheroCharacteristic.force_band.value)
File "/home/zzrs123/.local/lib/python3.8/site-packages/pysphero/bluetooth/gatt_adapter.py", line 56, in _find_characteristic
raise PySpheroRuntimeError(f"Characteristic {characteristic} not found")
pysphero.exceptions.PySpheroRuntimeError: Characteristic 00020005-574f-4f20-5370-6865726f2121 not found


Bring standalone RLMArrays to parity with RLMArrayLinkView

This will require having an array-backed RLMResults

Any update on this? This issue first surface in Oct 2014 and is still a limitation. ???

This issue is still open. Part of the reason this isn't a high priority is that it's fairly easy to work around. I've provided some workaround in response to your other comment here: https://github.com/realm/realm-cocoa/issues/1019#issuecomment-205391089
We're pretty focused on adding Realm functionality that can't be easily done using the public API at the moment. See this GitHub issue search for an overview of those tasks.


Add FunctionName and FileName to the LogEntries sent to cloud.

Added Function Name and FileName to the LogEntry. THis allows these fields to be used for filtering the logs in Kibana
Testing Done
Upgraded to the new image - added debugs and verified that the fields are getting filled. These new fields do not show up in kibana till the Proto files are updated in cloud.

I don't see any code which sets the new fields.
Note that they are already included in the content in the API because they are in the output which logrus is producing in the log files we get from the go agents.
Thus you need to extract the filename and function name from that json to fill in the new fields in the API.

Hi Erik,
the usage is in this line in logmanager.go:
logChan <- logEntry{source: r.source,

Note that they are already included in the content in the API because they are in the output which logrus is producing in the log files we get from the go agents.

Good catch.. I thought I addressed it.. But missed the final hookup. Fixed it.


Initial version of the API OAS Specification

What about splitting this file into multi file as this is getting quite big? We could put the schemas into different files for example.

This might be worth doing in the future but for now, I'll keep it as one file.


Restrict generate sources to output yml files only

Is your feature request related to a problem? Please describe.
Generating full .yml files (model name, list of columns, empty description fields) for every model in a dbt project - thorough documentation.
Describe the solution you'd like
If the current generate sources function had a flag that disables .sql files creation / or yml-only flag, it would achieve exactly that. Although it's set up for sources specifically, if you provide your analytics schema in the .dbt_coves.yml, it will create the yml definitions for all of the dbt models in a project.
Describe alternatives you've considered
As an alternative I had a wrapper python function that captured terminal output of this function https://github.com/dbt-labs/dbt-codegen/blob/0.3.2/macros/generate_model_yaml.sql for each model and created the ymls.
Additional context
The generate sources function is extremely useful in creating staging models for a dbt project. It seems, however, that it could be easily extended to help with thorough documentation of all models within a dbt project. Ideally, it wouldn't then put the "sources" part at the top of the file, but that's much easier to get rid of than creating all of the ymls from scratch!

Nice idea @kon-mal.
I would suggest then creating another variant of the generate subcommand, i.e. dbt-coves generate models.
Instead of reading the DB schema, I'd suggest reading models information from the dbt manifest.
The tool could list the models so the user selects which ones to generate.

@kon-mal generate properties now exists


Welsh Language Amendments

Following a conversation with the Welsh Language Unit in MoJ we have some sections of an application that need to be revised.
Attached in the document
[Uploading... Welsh apps.docx]

[Uploading... Welsh apps.docx]


[modify][gws][schedule] lazy calendar initialization

Coverage decreased (-8.01%) to 60.283% when pulling b90f5ca0aba2bb043d02c1bc351bd9f8d8e925a0 on sunny4381:features/improve-calendar-ux into e4286d56c493cf2bb14989f15b63df65d9846dd9 on shirasagi:master.


Avoid extra buffering when writing out sub messages.

Instead of creating a complete Data for the submessage, compute the
length (which would have been done anyway inside of serializedData()),
write out that varint, and then traverse the message to write its
content.  This avoids the allocation of the Data for the sub message
and then having to copy it into the real Data being created.

Nice!  What's the performance impact?

Nice! What's the performance impact?

Nothing I'd claim.  The first time I ran them, it said every test was faster before my change (including JSON and TextFormat, and those shouldn't change).  Second run said everything but JSON encode was faster after my change.  So I'd say for what the script checks, it is all in the noise range.  The real "wins" likely are if there are deeply nested messages, as that's why the extra Data usage could have added up.


jdbc instrumentation: TraceListenerStrategySpanCustomizer does not work

Describe the bug
Sleuth 3.1.5.
First: injection points for subj lists (datasource-proxy and p6spy) declare list of subj of ? super CommonDataSource, but by spring generics injection rules no any matching subj implementations. All implementations is ? extends CommonDataSource.
customizers.getIfAvailable(ArrayList::new) always return empty list.
customizers type must be ObjectProvider<List<TraceListenerStrategySpanCustomizer<? extends CommonDataSource>>> or ObjectProvider<List<TraceListenerStrategySpanCustomizer>>.
Second: for TraceHikariListenerStrategySpanCustomizer.isApplicable dataSource parameter never be instance of HikariDataSource - there will be proxy or wrapper for HikariDataSource which must be unwrapped (not downcasted) to HikariDataSource.

do you have a reproducer of the problem? a test or a project?
cc @ttddyy

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Work module not found

Hello, I have a VssConnection and I have been able to get most clients from it except I am having trouble with the work client. I'm using the following code to get the client:
work_client = connection.get_client('vsts.work.v4_0.work_client.WorkClient')
And the error I'm getting is:
ModuleNotFoundError: No module named 'vsts.work'
Can you please tell me how to initialize a work client?

This is available in the dev branch, which has not been published on the python index yet.  I hope to publish it by end of week.
As a workaround you can clone the repo, and install with the pip install -e . command.


demo-python failes to start

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
demo-python contains the following bug
derived_roles_1.yml
...
derived_roles:
...

gives log

"Index build failed","missing":[{
"importing_file":"resource_policy_1.yml",
"desc":"Derived roles import 'my_derived_roles' not found"
}],
"load_failures":[{
"file":"derived_roles_1.yml",
"error":"file is not valid: { "
"/: [additionalProperties 'derived_roles' not allowed | "
"missing properties: 'derivedRoles' | "
"missing properties: 'exportVariables' | "
"missing properties: 'principalPolicy' | "
"missing properties: 'resourcePolicy'] "
"}"}
]}

Expected Behavior

derived_roles ---> derivedRoles

fixes the problem.
Steps To Reproduce
git clone https://github.com/cerbos/demo-python.git
cd demo-python
./pw demo

Environment
- OS: mac
- Cerbos version:
- Docker version:
- Go version:

Anything else?
No response

Thanks for reporting.


[bugfix] Strict RegEx added to M, d, e and E, fixes #3830

@cetinerhalil - you are failing tests. What are you trying to do?

@marwahaha
The issue was
"Parsing date string in a strict mode accepts two digit months and days, when just 'M' or 'D' format is specified. Other way around, when 'MM' format is specified and one digit month is provided parsing fails, as expected.
Why does 'M'/'D' formats accept '01' as valid moth/day respectively?"
I've tried to fix it but i couldn't figure out how to pass the tests


wlroots cannot seem to find Xwayland when it's installed to /opt/bin

Hi
I am not sure why, as since I use checkinstall to build and install wlroots, it loses the feature flags, so the system is not stripping PATH as far as I know... It seems that PATH is still getting stripped? since the path to Xwayland does not appear to be hard coded.
Thanks

Could you please show the steps you're taking and the commands you're running? The meson version would help too.

It's meson 0.44.0
I build it with
meson --buildtype=plain --prefix=$INSTALLDIR --libdir=$INSTALLDIR/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH) -Dwerror=false build

(where $INSTALLDIR=/opt)
and I get the error by running sway or rootston
symlinking /opt/bin/Xwayland to /usr/bin/Xwayland works around it, but I don't want to do that permanently

Can you run echo $PATH? Can you try to run Xwayland manually?

Hi
PATH=/opt/bin:/opt/games:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Xwayland is /opt/bin/Xwayland
and it runs for Weston
Thanks

Weston:
section = weston_config_get_section(config,
						    "xwayland", NULL, NULL);
		weston_config_section_get_string(section, "path",
						 &xserver, XSERVER_PATH);

		// ...

		if (execl(xserver,
			  xserver,
			  display,
			  "-rootless",
			  "-listen", abstract_fd_str,
			  "-listen", unix_fd_str,
			  "-wm", wm_fd_str,
			  "-terminate",
			  NULL) < 0)

wlroots:
execvp("Xwayland", argv);

They're using a config option (which is also set at build time) instead of PATH.

Can you try to run Xwayland directly, from your CLI, to make sure that wlroots can find it?
Can you print $PATH right before execvp("Xwayland", argv); in wlroots?

is that
wlrlog(L_INFO, "XWAYLANDPATH %s", getenv("PATH"));

it turns out to be (null)
but I could be doing something wrong...

Fixed in https://github.com/swaywm/wlroots/pull/886


Parallelise OCDS  Work

(I thought there was another ticket about this, sorry if dupe)
There have been various discussions among people, including at the Montreal retreat about this.
We would like to parallelise the work. There are several different places this could happen
A) Within stages. eg, currently only one fetch happens at a time, only one store happens at a time
It might be nice to parallelise so up to a certain number (eg 5) could run at once. However, this basically means we are DOS'ing someones server. During the fetch stage, it's someone elses. During  store stage, it's our own. So careful. (Set limits per source?)
B) Across stages. Currently you can't do any storing at all until all the fetch has finished.
Some sources are very big (5000 files, more) and it would be good if as soon as 1 file is fetched, it it stored. And as soon as 1 file is stored, it's it Checked. This means analysts can start work sooner.
Also, if we get this right it will hopefully make #58 really easy.
Tech to use:
Options:

Threads
Async
A que system and lots of separate workers.

The consensus seems to the latter: A que system and tons of separate workers.

While Async might give us even more of a speed boost for better use of our server resources, it's a lot of extra work.
Async and threads are seen to be more work than a que system
It can be hard to debug problems with Async and threads, where as if we get a que system right (transparent) it should be easier.
It might be easier to make a que system resumable
A que system would support spreading workers across multiple machines easily

It was not discussed which que system to use, some of the team have "opinions" :-)
Also noted is that ideally it should be able to work without the que in an "single threaded" way, so as not to increase the install burden.
This is a big bit of work and it will not start straight away; this is simply to record conversation and thoughts so far and allow others to comment on this.

In the very short term, it would be useful to have explicitly recorded what can and can't be done in parallel. As I understand it, I could open up 20 tmux panes and run all stages for each source individually with no ill effects (apart from making the server very busy). If I was trying to get hold of all the data as quickly as possible, this would help me a lot - although wouldn't help in the case of trying to get one source's data more quickly.
In the merely short term, I'd like us to consider the trade-off between 'doing it right' and 'making it immediately useful'. Right now, running some of the scrapers takes a very long time, which is an immediate pain point. If the longest-running ones can be made to download in parallel using an easier-to-try technique, then we solve an immediate problem sooner rather than later. We can, of course, then refactor to a better technique later.

In the very short term, it would be useful to have explicitly recorded what can

Sounds like a good docs page to write up - thanks for prompt!

There was a very brief exchange about using state machines in https://github.com/open-contracting/kingfisher/commit/f776d7a38a1351d41f00e53246fc8c6a20092807#r30481553
Note that many queues are essentially (very simple) state machines, so this is essentially on the broad path of the issue description.
In terms of the database, to implement a state machine, we just need a state column in any table for which there is a state machine.
In terms of code, here's an example state machine API. If this model, we could have different workers trigger gather events on sources, and fetch and store events on files (among other events). In a state machine, each event describes its valid transitions, e.g. store transitions from fetched to stored, and triggering store on a file in a state other than fetched would raise an error.
You could of course implement all this without the language of a 'state machine', but in my experience, using this model keeps logic, responsibility, concerns, etc. tidy.
At present, I think we only run 'events' at the level of the source (and we only have a Source class, not a File or Resource class), but I think we have to move this down to the level of the file to fulfill the vision of parallelization, which also gives an opportunity to implement these state machines.
Somewhat separately, I find 'filestatus' a confusing name, as the table describes a file/resource, not just a file status.


加载 Web 视图时出错: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.72.2
OS Version: macos

Steps to Reproduce:

加载 Web 视图时出错: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.73.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/duplicate of #125993

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!

I saw it when I searched for it earlier, and I tried it in stackoverflow but it didn't work, so I deleted the cache


Enhancement/refactoring

This PR mostly distributes the functions from Program.fs into logically grouped modules.
Some other refactoring efforts have been made such as:

Making indentation consistent

Some things I would like to look at in the future are:

Making indentation of generated code consistent (remains unchanged by this PR). Currently it's a mixture of 2/4 space.
Decomposing Interactive.fs further.

Will be happy to iterate on any of the changes.

Reading this commit by commit is much easier than looking at the diff. 🤓

@Krzysztof-Cieslak Any chance for a review? :)

Thanks a lot for that, and sorry it took me so long. ❤


Remake problem manually during multirate init

Alternatively, the compat for SciMLBase can be restricted. I opened PR #343 to test CI with that.

Purpose
fixes #341
SciMLBase.remake is called twice during the cache initialization for a problem with the multirate alg.
SciMLBase changed the way remake(::AbstractODEProblem,...) works in 2.68.0. Previously, if the f kwarg was an AbstractODEFunction, the problem was remade with f directly as its function. After 2.68.0, remake(::AbstractODEProblem) calls a new remake method with f and prob.f as arguments. This new function returns an AbstarctSciMLFunction of the same type and properties as prob.f.
To-do

Content
This commit replicates the behavior of DiffEqBase.remake on the provided arguments before the change.

[x] I have read and checked the items on the review checklist.

i.e., define (above):
function cts_remake(prob; f)
	return DiffEqBase.ODEProblem{DiffEqBase.isinplace(prob)}(
		f,
		prob.u0,
		prob.tspan,
		prob.p,
		prob.problem_type;
		prob.kwargs...,
	)
end

And changes become:

outerprob = DiffEqBase.remake(prob; f = prob.f.f2) -> outerprob = cts_remake(prob; f = prob.f.f2)
innerprob = DiffEqBase.remake(prob; f = innerfun) -> innerprob = cts_remake(prob; f = innerfun)


Integration with bsb -clean-world

https://github.com/BuckleScript/bucklescript/issues/2965

Done inhttps://github.com/cristianoc/genFlow/commit/3a64b36cff0d47d5d44d03c2dcb2b13d09eafd34.

@cristianoc I think calling bsb -clean or bsb -clean-world is not removing all .gen.tsx files but some of them
<EMAIL_ADDRESS><EMAIL_ADDRESS>
  "gentypeconfig": {
    "language": "typescript",
    "importPath": "relative",
    "exportInterfaces": false,
    "module": "es6",
    "shims": {
      "ReasonReact": "ReactShim",
      "TsReact": "ReactShim",
      "React": "ReactShim",
      "ReactEvent": "ReactEvent",
      "Js": "Js",
      "Opaque": "OpaqueShim"
    },
    "namespace": true
  },

@Coobaha looks like the clean is done directly by bucklescript without calling genType.
++ @bobzhang
See how in the example, projects, the clean is done "manually": https://github.com/cristianoc/genType/blob/master/examples/typescript-react-example/package.json#L16


Custom docker images in connectable builds on resin-raspberrypi

Connects to resin-os/meta-resin#133-supervisor-custom-image-tag
@telphan @floion

LGTM


what's the difference between dry_train and dry_eval?

For fashion_mnist problem, if you set solution_dir already contained the trained model then the training in the dry_train mode takes only one epoch. Thus, dry_train and dry_eval do the same and there is no need to distinguish them.

Done, waiting for PR to merge.

@jakubczakon @buus2 #50


Bedrock runtime update?

Was this updated for Bedrock runtime update? I get the following error on all models (I do have access):
Error invoking the model: ValidationException(properties: AWSBedrockRuntime.ValidationException.Properties(message: Optional("1 validation error detected: Value 'anthropic.claude-v2:0:100k' at 'modelId' failed to satisfy constraint: Member must satisfy regular expression pattern: (arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][-]?)+)")), httpResponse: Status Code: http_status_400 x-amzn-RequestId: a1d2c37b-e82f-438e-b0bd-06c4815cbb58, x-amzn-ErrorType: ValidationException:http://internal.amazon.com/coral/com.amazon.bedrock/, Content-Type: application/json, Date: Thu, 07 Dec 2023 10:44:00 GMT, Connection: keep-alive, Content-Length: 493, message: Optional("1 validation error detected: Value 'anthropic.claude-v2:0:100k' at 'modelId' failed to satisfy constraint: Member must satisfy regular expression pattern: (arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][-]?)+)"), requestID: nil)

Fixed in 1.0.5

The error is slightly different now but I still think it's related to Bedrock runtime change. Here's what I got now after attempting to use the latest version of the app (from Dec 10th, 2023):
Error invoking the model: ResourceNotFoundException(properties: AWSBedrockRuntime.ResourceNotFoundException.Properties(message: Optional("Could not resolve the foundation model from the provided model identifier.")), httpResponse: Status Code: http_status_404 Date: Tue, 12 Dec 2023 12:37:22 GMT, Connection: keep-alive, x-amzn-RequestId: 5437b2b4-dd1e-42a5-8eca-cda3e21c2d94, Content-Length: 88, Content-Type: application/json, x-amzn-ErrorType: ResourceNotFoundException:http://internal.amazon.com/coral/com.amazon.bedrock/, message: Optional("Could not resolve the foundation model from the provided model identifier."), requestID: nil)


Changes to set groundwork for local agent launch

A few commits which set some of the groundwork to enable launching API jobs using the Genie agent instead of the 3.x job execution code

Coverage decreased (-0.05%) to 91.692% when pulling 5c836652c30f10dc58f9156a5539fe3cf415d58b on tgianos:agentLauncher into d4e32eb3610bef2b769d281584607a03ba7f91bb on Netflix:master.


Adaptive Expressions: fill in obvious gaps with additional pre-built functions

Issue
This issue is to track additional functions we want to add to Adaptive Expressions for R10.  Just reply with a proposed function.
[dcr]

It would be better if a sample is attached for each function

A function that can combine two list.
E.g. a=[1, 2, 3], b=[2, 3, 4], combine(a, b)=[1, 2, 3, 2, 3, 4]

@Danieladu can you propose the function signature for those functions and let us review

indexOf/lastIndexOf
Expression already contains these two functions, but just with the default equals condition.
So, should we change the original function to make it 'lambda'? The function may like:
indexOf([1, 2, 3], x, x > 2)
Change the original function maybe a breaking change?
merge
merge(json1, json2), should we add some more parameters? like ignore case
Combine two list
Now expression has function union to combine two lists and remove the duplicated items.
So, the function's name is the biggest issue, combine? addrange ? concatList? (concat is exist)

index/indexof - need to verify with @stevenic if what we have is enough
merge(json, json) makes sense.
concat(list1, list2) makes sense.

@Stevenic can you confirm what we have now index\indexof is good enough?

Here is the workaround:
where(indicesAndValues(user_list), x, x.value > 2)[0].index
In the next stage, we may consider supporting some functions for lambda. like first, last, count, indexOf, lastIndexOf .etc.
For example:
first(list, x, x > 2)
last(list, x, x>2)
count(list, x, x>2)
indexOf(list, x, x > 2)
lastIndexOf(list, x, x > 2)

But before this feature is completed, users can also achieve these function results through the solution by other builtin functions or customize functions.

@Stevenic we are closing this now, see above the resolved issue, if you continue to have gaps, let's track them via new issues


safeTxGas estimated too low for Safes with threshold 5

Title/Description
safeTxGas estimated too low for Safes with threshold 5
Environment

Browser: Firefox + Chrome
Safe: https://rinkeby.gnosis-safe.io/app/#/safes/0x63aEed83C0737471340276E8f4E0b94f71071b71/transactions
Wallet: Metamask + Safe Mobile
App Version: 3.0.1
Environment:

production (rinkeby)

Steps to reproduce
I used a new Safe with 5/8 owners (see address above)

Create tx (I just sent a small amount of ETH from the Safe to itself.
Collect all signatures
Execute with the last owner.

Expected result
Tx gets executed properly.
Obtained result
Out of gas due to safeTxGas too low.

https://rinkeby.etherscan.io/tx/0x2fb333d97533827840428c78f90dea7cd5407dcea383ba64feb1ce4de1b3c843
https://dashboard.tenderly.co/tx/rinkeby/0x2fb333d97533827840428c78f90dea7cd5407dcea383ba64feb1ce4de1b3c843

Screenshots
Seems like Ethereum gas limit is estimated correctly, but no the safeTxGas limit.

Something similar is happening to me trying to create a safe with 6 owners.
Still investigating.

Having similar issues with a 5 of 5 test.

@tschubotz did you manage to get it working when you set the safeTxGas higher here?

No, unfortunately the execute button seems to be disabled in that case currently. @SilentCicero


get "ResponseError: NOAUTH Authentication required."when set redis password

the password is not set into connection?
redis://:password@<IP_ADDRESS>:6379/1

update to 0.3.6, resolved

Please close this issue as it's solved.


Fix IPv6 endpoints with non-default port

This commit adds brackets to IPv6 addresses in auth.py. Otherwise the signature is not calculated properly.

E.g.: http://[::1]:8080 doesn't currently work.

Hi @drake127, thanks for the PR! This looks reasonable to me, would you mind adding a test to ensure the behavior continues working as expected?

I am willing to do it if you give me some hints how to add tests in your project. I tested it against Scality docker endpoint but I suspect I cannot do it here. Do you have some endpoint in your test infra (that verifies V4 signatures)?

Codecov Report

Merging #2601 (4da625f) into develop (d9d5ade) will decrease coverage by 0.00%.
The diff coverage is 75.00%.

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

@@             Coverage Diff             @@
##           develop    #2601      +/-   ##
===========================================
- Coverage    95.43%   95.43%   -0.01%
===========================================
  Files           59       59
  Lines        11842    11844       +2
===========================================
+ Hits         11302    11303       +1
- Misses         540      541       +1

Impacted Files
Coverage Δ

botocore/auth.py
97.70% <75.00%> (-0.20%)
:arrow_down:

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 d9d5ade...5690112. Read the comment docs.


Placing components into sub-directories generates render error

I need to organize components into folders, however I have been unable get a simple single line "Hello World" component to  work if I place it within a sub-directory of assets/svelte.
For example, if I have a component in assets/svelte/test/HelloWorld.svelte:
Hello World

And I use it in my markup:
<.svelte name="HelloWorld" />

I get the following error:

NodeJS.Error at GET /
Cannot read properties of undefined (reading 'render')
TypeError: Cannot read properties of undefined (reading 'render')
at render2 (/home/andrew/work/ls_test/priv/svelte/server.js:530:22)
at callModuleFunction (/home/andrew/work/ls_test/deps/nodejs/priv/server.js:32:23)
at getResponse (/home/andrew/work/ls_test/deps/nodejs/priv/server.js:44:26)
at Interface.onLine (/home/andrew/work/ls_test/deps/nodejs/priv/server.js:53:39)
at Interface.emit (node:events:514:28)
at [_onLine] [as _onLine] (node:internal/readline/interface:416:12)
at [_normalWrite] [as _normalWrite] (node:internal/readline/interface:610:22)
at Socket.ondata (node:internal/readline/interface:243:23)
at Socket.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:376:12)

I thought, this might be a simple fix....
I tried changing  live_svelte/assets/js/liv_svelte/utils.js to handle sub-directories:
import { basename } from 'path'

export function normalizeComponents(components) {
  if (!Array.isArray(components.default) || !Array.isArray(components.filenames)) return components

  const normalized = {}
  for (const [index, module] of components.default.entries()) {
    const Component = module.default
    //const name = components.filenames[index].replace("../svelte/", "").replace(".svelte", "")
    const name = basename(components.filenames[index])
    normalized[name] = Component
  }
  return normalized
}

And I also noticed the component convenience support deps/live_svelte/lib/mix/components.ex didn't account for sub-directories either.
So I changed that to:
def get_svelte_components do
    "./assets/svelte/**/*.svelte"
    |> Path.wildcard()
    |> Enum.map(fn path -> Path.basename(path, ".svelte") end)
  end

After force rebuilding deps/live_svelte and priv/static/svelte I still get the same error.
It seems there isintent in the code to support sub-directories as svelte/**/*.svelte is used elsewhere.
What am I missing to get this to work?
My ultimate goal is to release a starter project using shadcn-svelte and live_svelte.  Shadcn-svelte organises code into sub-directories which also uses an index.ts in each folder.
I have got everything else working, Typescript support and tested shadcn-svelte with a simple switch component (without its corresponding index.ts) and it works just fine, so it seems I am very close to having a very compelling headless UI for liveview that does accessibility right, all enabled by live_svelte and themed with tailwind via shadcn_svelte.

Did you try:
<.svelte name="your_sub_directory/HelloWorld" />

Did you try:
<.svelte name="your_sub_directory/HelloWorld" />

Thank-you so much!   I can't believe I missed that in the docs.
I can confirm that  it renders without error.   (I also backed out all my changes above).
I also verified that the index.ts from chadcn-svelte which contains variants also works just fine:
    <div class="flex mt-8 gap-4">
      <.svelte name="HelloWorld" />
      <.svelte name="badge/badge">Default</.svelte>
      <.svelte name="badge/badge" props={%{variant: "secondary"}}>Secondary</.svelte>
      <.svelte name="badge/badge" props={%{variant: "destructive"}}>Destructive</.svelte>
      <.svelte name="badge/badge" props={%{variant: "outline"}}>Outline</.svelte>
    </div>

My remaining question is, is there any issue with the LiveSvelte.Components helper working with components in sub-folders?

Happy to hear it works! If there's a way you think that can improve the docs, feel free to suggest or create a PR.

My remaining question is, is there any issue with the LiveSvelte.Components helper working with components in sub-folders?

That might not be working correctly with subfolders as there's limitations to the name of a component, like slashes won't work for example.

Happy to hear it works! If there's a way you think that can improve the docs, feel free to suggest or create a PR.

Certainly. I will see what I come up with for naming and resolving components in sub directories with the helper.
Anf thanks again for all your work on LiveSvelte and putting out those videos as I would not have discovered it otherwise.  I have mentioned LiveSvelte quite a few times in ElxirForums as an interesting solution to the challenge of responsive UI  and the lack of a good UI component system and I'm quite surprised it hasn't garnered more attention.
Once I properly bed things down I plan to share my starter project with full documentation on how to set things up and my learnings.


invalid character '.' in crate name: substreams.yaml

I currently running the Quickstart of the substreams documentation and it fails the build part with:
.
.
.
   Compiling impl-serde v0.3.2
   Compiling ethbloom v0.12.1
   Compiling impl-codec v0.6.0
   Compiling primitive-types v0.11.1
   Compiling ethereum-types v0.13.1
   Compiling ethabi v17.2.0
   Compiling substreams-ethereum-core v0.9.1
   Compiling substreams-ethereum-abigen v0.9.1
   Compiling substreams-ethereum-derive v0.9.1
   Compiling substreams-ethereum v0.9.1
   Compiling substreams-ethereum-quickstart v1.0.0 (/home/gustavo/tutorial-substream)
error: invalid character `'.'` in crate name: `substreams.yaml`

error: could not compile `substreams-ethereum-quickstart` due to previous error

After looking at other projects like substreams-uniswap-v3 and substreams-template, it looks like the crate name in [lib] ins't necessary. I suggest removing/changing it in the documentation.

The lib is indeed not necessary, but it defines the final filename of the produced .wasm, it's easier to define to be substreams all the time.
I think it was replaced by mistake when doing a search/replace within the documentation file. Using name = "substreams" was the right thing to put.


Release binary has some issues

I don't know if there's anything to really do about these, but figured I'd flag them just in case.
When packaging for Arch, I noticed these warnings from the packaging linter:
dungeon-revealer-bin W: ELF file ('usr/bin/dungeon-revealer-linux') lacks FULL RELRO, check LDFLAGS.
dungeon-revealer-bin W: ELF file ('usr/bin/dungeon-revealer-linux') is unstripped.
dungeon-revealer-bin W: ELF file ('usr/bin/dungeon-revealer-linux') lacks PIE.
dungeon-revealer-bin W: Unused shared library '/usr/lib/librt.so.1' by file ('usr/bin/dungeon-revealer-linux')

If I try to strip the binary, it fails to run with Pkg: Error reading from file., which makes me think this is definitely some kind of special binary. So all the warnings above may not really apply.

If you're curious, the package is up at https://aur.archlinux.org/packages/dungeon-revealer-bin/ :)

(it is -bin because it uses the binary build artifact rather than building from source)

I found this for RELRO and PIE. I don't know if it helps though.

Is this something that must be fixed inside pkg or by us?

Not sure actually. My guess would be in pkg.

I’m gonna close this issue for now, as mentioned before, this is something that should be addressed in pkg


Fix mysql table creation for some mysql servers

For example, this command does not work on linux but works on my windows machine. This fixes it on both

Its not because linux but the new mysql version

@Trojaner25 Tortellio got:
[registered] /balance (fr34kyn01535.Uconomy.CommandBalance/balance)
[registered] /pay (fr34kyn01535.Uconomy.CommandPay/pay)
Uconomy >> Exception in Uconomy: MySql.Data.MySqlClient.MySqlException: Invalid default value for 'lastUpdated'
  at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0
  at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0```
Might be caused by outdated SQL

This has been fixed, tell him to update uconomy (maybe Sven did not trigger build)


When will the code be released?

Thank you for your intriguing work! I'm eager to learn when you plan to release the code.

Hello, thank you for your interest in our work.  Currently, I have the original, untidy code on my computer. We plan to release the cleaned-up code within the next two weeks.

Hello, thank you for your interest in our work. Currently, I have the original, untidy code on my computer. We plan to release the cleaned-up code within the next two weeks.

Thanks! Looking forward to it!

@lif314 Hi, we have released our code and pre-trained weights.


Support for Multimodal models

I do like the simplicity of this project's bindings to LLama.cpp.
Are there plans to add multimodal model support - like llava and phi-3 vision. I can test the bindings for these.
Thanks,
Ash

@AshD Thanks, that is only possible if llama.cpp supports it - and currently it doesn't, unfortunately. I find that Phi-3-vision is actually really good, I hope they add support eventually.

Agreed. Someone opened an issue in llama.cpp for Phi-3 vision.
https://github.com/ggerganov/llama.cpp/issues/7444
Would it be possible to get support for llava models. I think llama.cpp has support for those.

I don't think I currently have time to support that kind of work, but if they add support for phi-3-vision, then I would be quite interested in updating this codebase to support it.

@AshD I create a quick API hosting in Python along with a C# client, if you want to check it out - while we're waiting for llama.cpp to support the model.
https://gist.github.com/dranger003/daff444ebf04951d4279b5b2dee71ab4

Thanks @dranger003  Looks good :-)


Fix job not found when retrying a retry-able job

What this PR does / why we need it:

Model deployment in merlin uses queue system implemented within queue package. All model deployment and batch prediction will be converted into a job, submitted into the queue, and executed by worker (worker.go). The result of job execution can be retried if it's a RetryeableError. However, due to incorrect handling of retry (the transaction is not rolledback), the job is not retried properly.  This PR fix the retry issue and add test to validate retry behavior.
Which issue(s) this PR fixes:

Does this PR introduce a user-facing change?:

None

Checklist

[X] Added unit test, integration, and/or e2e tests
[X] Tested locally
[N.A.] Updated documentation
[N.A.] Update Swagger spec if the PR introduce API changes
[N.A.] Regenerated Golang and Python client if the PR introduce API changes

Thanks for the fix, LGTM


Normal activity in IPython console resulted in this error

Description
What steps will reproduce the problem?
I was deleting a line with backspace (Ubuntu 16.04)
What is the expected output? What do you see instead?
A pop came up. But spyder remained open.
Please provide any additional information below
File "/home/ratnadeepb/app/miniconda3/envs/2bytz/lib/python3.6/site-packages/spyder/plugins/help.py", line 92, in validate
valid = self.is_valid(qstr)
File "/home/ratnadeepb/app/miniconda3/envs/2bytz/lib/python3.6/site-packages/spyder/plugins/help.py", line 74, in is_valid
return shell.is_defined(objtxt, force_import=True)
File "/home/ratnadeepb/app/miniconda3/envs/2bytz/lib/python3.6/site-packages/spyder/widgets/internalshell.py", line 467, in is_defined
return self.interpreter.is_defined(objtxt, force_import)
File "/home/ratnadeepb/app/miniconda3/envs/2bytz/lib/python3.6/site-packages/spyder/interpreter.py", line 312, in is_defined
namespace=self.locals)
File "/home/ratnadeepb/app/miniconda3/envs/2bytz/lib/python3.6/site-packages/spyder/utils/dochelpers.py", line 305, in isdefined
module = import(base, globals(), namespace)
File "/home/ratnadeepb/app/_2bytz/python/Forex/scripts/create_tables.py", line 183, in
for pos in r.response['account']['positions']:
NameError: name 'r' is not defined
Version and main components

Spyder Version: 3.2.4
Python Version: 3.6.1
Qt Versions: 5.6.2, PyQt5 5.6 on Linux

Dependencies
pyflakes >=0.6.0 :  1.5.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.2 (OK)
numpy >=1.7      :  1.12.1 (OK)
sphinx >=0.6.6   :  1.6.2 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
psutil >=0.3     :  5.2.2 (OK)
nbconvert >=4.0  :  5.2.1 (OK)
sympy >=0.7.3    :  None (NOK)
cython >=0.21    :  None (NOK)
qtconsole >=4.2.0:  4.3.0 (OK)
IPython >=4.0    :  6.1.0 (OK)
pylint >=0.25    :  1.6.4 (OK)

Thanks for reporting. We'll fix this error in our next version.
@dalthviz, an easy one for you. You just need to catch NameError in isdefined, around line 305.


animations not playing on quicklook

Description
Animations in AR stopped playing on quicklook (on iOS15 it appears).
tested the same model on ios14.8 (plays animations) and ios15.0/15.0.1 (does not play animations).
I did look around (google and apple dev forums) and found some similar issues but not much about them... perhaps they changed something about the url params?
(I know quicklook is it's own thing, but thought it was worth opening this issue so if it is something general it is documented, feel free to disagree and close this)
Live Demo
https://app.pixelar.studio/viewer/057f7002517ce05b7d7444da8b2679cc40603f24
Version

model-viewer: v1.7.2

Browser Affected

[ ] Chrome, version: xx.x.xxxx.xx
[ ] Edge
[ ] Firefox
[ ] IE
[x] Safari

OS

[ ] Android
[x] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

AR

[ ] WebXR
[ ] SceneViewer
[x] QuickLook

Hi @veronicamontezuma , you may want to follow this bug. They said they weren't able to repro it.
https://bugs.webkit.org/show_bug.cgi?id=231904

@veronicamontezuma yes, that sounds about right, just wanted to make sure you know where to reach out if the next release doesn't fix it. :)


fix: evidences -> evidence

Evidence can be plural and it is the more common usage so evidences was changed to evidence in the store. Update those changes here.

Pull Request Test Coverage Report for Build 675

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 48.637%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/resources/Disputes.js
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/contracts/implementations/arbitrator/KlerosPOC.js
4
67.78%

Totals

Change from base Build 673:
-0.3%

Covered Lines:
478

Relevant Lines:
868

💛  - Coveralls


Update script.js

I have added comments to the script js file

I saw your changes, can you make good changes


JdbcSagaStore should not insert Saga after zero updates

Updated JdbcSagaStore so it does not persist the saga when an update fails.
Inspired by this Axon google group question: https://groups.google.com/forum/#!topic/axonframework/xAiMAmsbgiE
Currently the JdbcSagaStore persists a saga if an update fails, but it seems like it should do nothing when this occurs which would be consistent with the JpaSagaStore.

Thanks for providing this fix @bpwalford! It'll be part of the 4.3 release (which can be expected soon).


TabNine breaks VSCode Snippets

please complete the following information:

OS version: Ubuntu 18 on WSL2
Editor version [e.g. 1.45.0-insider]: 1.52.1
Programming language: js
TabNine extension version: v3.1.23

Issue Details:
I have a VS Code snippet f, that simply returns a js arrow function.
TabNine suggestions sometimes override my snippet, and don't allow me to select it.
In the video below, you'll see the snippet works fine when I type it on an empty line. But if TabNine has given me a suggestion, like it does after a useEffect(), then the suggestions won't update with my snippet. I have to delete and re-enter the f.
https://user-images.githubusercontent.com/61143948/103359169-4e666e00-4aaf-11eb-9702-7c8ed2e8740f.mp4
When I disable TabNine, the snippets work perfectly in both cases.

This seems like an issue with how VSCode's suggestions work. VSCode exposes no API that might allow us to intervene nor block any suggestions not originating from our plugin.
Please submit this ticket on VSCode repository: https://github.com/microsoft/vscode/issues


RECEIVER_EXPORTED / RECEIVER_NOT_EXPORTED Flag Requirement (Android 14)

Hey, everyone!
I'm using this fork in a project and, after an update to React Native 0.74.x, I'm encountering an error when attempting to connect to a Nordic device for the DFU process.
Unable to create service com.pilloxa.dfu.DfuService: java.lang.SecurityException: com.fleetwoodgroup.heelupdate: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
Per this article on Stack Overflow, it looks like this is a requirement for Android 14 and above.  My React Native update, of course, is now targeting API level 34.
        buildToolsVersion = "34.0.0"
        minSdkVersion = 23
        compileSdkVersion = 34
        targetSdkVersion = 34
        ndkVersion = "26.1.10909125"
        kotlinVersion = "1.9.22"

It looks like this issue was fixed on Nordic's side:
https://github.com/NordicSemiconductor/Android-DFU-Library/pull/415
How do we ensure this fix is included here in this project?

Okay... I'm seeing that manualexSP merged this fix recently; I'm wondering if my codebase isn't including the update.  Will look into this and see if I can pull the latest from master.

Wound up removing the react-native-nordic-dfu package and then re-added it, specifying the commit hash.  Not sure if this is a yarn issue (why wasn't yarn picking up the latest commits from master?), but I was able to get everything updated and we're back in business.
Thank you for maintaining this library!  🤩


[Feature Request]: Edit button on profile section.

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The Edit feature is fine, but it show when a user go inside the post by clicking on the read more button.
I want to add edit button near the delete button so that user will have a full control over his/her profile.
Use Case
User enhancement
Benefits
user engagement
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

A similar issue exists #127. In case she is inactive then I will assign it to you.

Assigning it level1 since only an icon needed to be added which navigates with the state

Assigning it level1 since only an icon needed to be added which navigates with the state

😄 okay

@VaibhavArora314 the person who had created the edit post had not created any routes /edit he/she is calling a component instead without navigation. so, should i create a separate route ?

@VaibhavArora314 the person who had created the edit post had not created any routes /edit he/she is calling a component instead without navigation. so, should i create a separate route ?

sure but it will be a lot of headache separating the component without breaking anything

Yah but i don't have another choice :(


Adds Kafka Connect Service Account

It looks like @faustocv hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot


Add Assert Elements Exists & Nth Element Exist Step

Issue:
We need to be able to get all elements on the page or the nth element from a page in order to confirm it exist or further steps to use them.
Solution:
Add functions to be able to assert elements exist on the page and to get the nth element on the page.

Paging @fortoulrodolfo to review the front-end work in this pull request!
Paging @Chekote to review the back-end work in this pull request!
Paging @johnnie502 to review the testing work in this pull request!


TIEGCM comparison additions

This pull includes a bugfix for the file format keyword in tiegcm. It also includes a first pass at fast interpolation for TIEGCM values along the satellite track. The method is sound but still needs to be updated to account for the log scaling of some TIEGCM parameters.
Creating this pull now before I forget about the changes II made a few months ago.

Adding latest develop commits to sort out recent testing bugs.

Thanks Jeff!
On Jun 4, 2019, at 9:22 AM, Jeff Klenzing <notifications<EMAIL_ADDRESS>wrote:
Adding latest develop commits to sort out recent testing bugs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysat/pull/232?email_source=notifications&email_token=AA3N26NCK3MD3FN5KHFHH23PYWYSTA5CNFSM4HSUW2L2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW3BODQ#issuecomment-498472718, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3N26PVIVCLSK6FJB42RYDPYWYSTANCNFSM4HSUW2LQ.

Coverage decreased (-0.06%) to 77.599% when pulling 8095d6bb9302f9235e8893e4700a6aa0c44680b5 on tiegcm_comparison into d79be400af1791b1b1a6c9490853e390fe840ae5 on develop.

Coverage decreased (-0.06%) to 77.599% when pulling 8095d6bb9302f9235e8893e4700a6aa0c44680b5 on tiegcm_comparison into d79be400af1791b1b1a6c9490853e390fe840ae5 on develop.

Added a tentative docstring based on my reading of the code.  Also generalized inputs in case a string rather than a list of strings is input for either scoords or tlabels.  @rstoneback, am I interpreting this right?

Thanks for iterating on this Jeff. The module itself needs a bit of work. Parts of the data are linear, others are log. I need to work on ensuring consistency.
Already in Santa Fe?
On Jun 16, 2019, at 3:25 PM, Jeff Klenzing <notifications<EMAIL_ADDRESS>wrote:
@jklenzing commented on this pull request.
Tiegcm tag labels refer to IVM
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysat/pull/232?email_source=notifications&email_token=AA3N26NH3S4OUKJLNHNFKD3P22ORVA5CNFSM4HSUW2L2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3VHRMY#pullrequestreview-250247347, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3N26M7SOLXTBLM4W4MUQLP22ORVANCNFSM4HSUW2LQ.

DFW airport. Was talking with Asher about TIEGCM capabilities, which is how I noticed this.

Heh. Sounds like everyone is at the same gate. I should mosey back that way.
On Jun 16, 2019, at 3:38 PM, Jeff Klenzing <notifications<EMAIL_ADDRESS>wrote:
DFW airport. Was talking with Asher about TIEGCM capabilities, which is how I noticed this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysat/pull/232?email_source=notifications&email_token=AA3N26LZAJ4O7S4GBFQBFNTP22QDPA5CNFSM4HSUW2L2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZUYDQ#issuecomment-502483982, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3N26LILYOOOP2HPBJVYRDP22QDPANCNFSM4HSUW2LQ.

Just switched to E35.


Replace tanArc(to) with tanArcTo(relative: true)

Fixes https://github.com/KittyCAD/modeling-app/issues/3319

I haven't tracked down the exact spot, but I feel like there are a lot of assumptions in TS code about the argument and their order, like where to put the %.
https://github.com/KittyCAD/modeling-app/blob/11a94cc99e018df455305862b4a9b465be53b0ab/src/clientSideScene/sceneEntities.ts#L1206

Here's a place that adds a new call.
https://github.com/KittyCAD/modeling-app/blob/11a94cc99e018df455305862b4a9b465be53b0ab/src/lang/std/sketch.ts#L812-L815

can we merge this?

will leave to @adamchalmers to rebase

Replaced by #3705.


IJSRuntime strange behavior !

I found a strange behavior of IJSRuntime service
IJSRuntime showing toast messages that is being send to wrong connected client
for example:
there are 2 clients who is connected to the system if the first one did some operation and JSRuntime shows a toast 'Successfully Done' the toast appears in the last connected client who is in ideal state rather than the first connected client who DID and DESERVE the toast message
it looks like somehow the JSRuntime service is singleton ...
To Reproduce
I have this view model
[Route("/helpdesk_model")]
    [Route("/helpdesk_model/{Id:long}")]
    public class HelpDeskViewModel : ViewModelBase<CorrectiveWorkOrder>
{
      [inject] IJSRuntime jsRuntime {get;set;}
      JsInterop _jsInterop;

protected override void OnInitialized()
{
 _jsInterop = new JsInterop(jsRuntime);
}
     void AddNewWorkOrder()
{
   ...
   _jsInterop.ShowToast('Successfully Done',Style.success);
}
}

which inherits from this base class
public interface IViewModel<TEntity> : IViewModelContainer where TEntity : DbModel
    {
        TEntity Entity { get; set; }
        IDataAccessLayer<TEntity> DataAccessLayer { get; set; }
    }

    [Layout(typeof(LayoutComponent))]
    public class ViewModelBase<TEntity> : ComponentBase,IViewModel<TEntity> where TEntity : DbModel
    {
[Parameter]
        public TEntity Entity { get; set; }
        [Inject]
        public NavigationManager NavigationManager { get; set; }
...

The JsInterop class
public class JsInterop
    {
public JsInterop(IJSRuntime jSRuntime)
        {
            SetJsRuntime(jSRuntime);
        }
public async Task<bool> ShowToast(string message, ResponseStatus status)
        {
            JsRunTime.InvokeAsync<string>("Site.Toast", message, status.ToString());
            return false;
        }
}

The js code..
window.Site = {
 Toast: function (message, style) {
        var toast = new Toasty();

        if (style === "success") {
            toast.success(message);
        }
        else if (style === "info") {
            toast.info(message);
        }
        else if (style === "warning") {
            toast.warning(message);
        }
        else if (style === "error") {
            toast.error(message);
        }
    }
}

Further technical details

ASP.NET Core version: 3.1 Server-Side Blazor
The IDE (VS / 16.4)

Further more ..
this thing happens when both users on the same url 'Route'
probably the view models 'pages' are singleton type

Further more 2...
even if the last connected client routes to different page
he is still receiving toasts
i think when last client routed to same page as first client
it overwrited the current IJSRuntime of the page so that is still receiving the toasts
also if the first client re-route to same page then he receive his toasts as expected as he overwrited yet again IJSRuntime...
this is a confirmation of the previous assumption
the pages are singletons...
any solution ?

after further real investigation...
creating JsInterop object every time i want to use javascript works fine
but if i store the JsInterop object things start going messy tho the JsInterop is a simple class to call functions
anyway i converted these static methods inside JsInterop class to extention methods for IJSRuntime interface and it solved my problem
now my guess about what is going on with pages a.k.a view models in this case...
when we have [inject] property in a view model it sticks per user..
if we have normal property it is static to the view model ?! and therefore it gets overwritten each time users visit that page and it is there shared for everyone ?
i think this is what is going on..
everything in page is static or singleton but not anything decorated with [parameter] or [inject]
am i right ?

everything in page is static or singleton but not anything decorated with [parameter] or [inject]

The Razor compiler does not change the scoping or visibility of code written inside a code block. You can inspect the generated code under the obj\Debug\netcoreapp3.1\Razor folder  to see what the generated code looks like. In Blazor Server, IJSRuntime instances are scoped per SignalR connection. I suspect the SetJsRuntime method in your JSInterop type is extending the lifetime of the IJSRuntime` instance across multiple scopes.

anyway i converted these static methods inside JsInterop class to extention methods for IJSRuntime interface and it solved my problem

That sounds great and is the pattern we would encourage.


Proof-reading & corrections

I felt it was mandatory as a French native speaker to do some changes in order to make the whole translation more correct.
Hook me up on Discord: JiveOff#0001 if you have questions.

Thanks @Maurin3 for the improvements from #65, you certainly did more than me on this, I didn't spend that much time on it as well. 👍
Wanted to change a few words in the translation.

thanks!


Coverage XML sometimes checked too early

I could have missed something so my apologies if there is an easier fix but I have noticed that depending on the order I install pytest-azurepipelines or
pytest-cov via pip that sometimes the pytest11 plugin hook invoke coverage XML
production after the pytest-azurepipeline session finish hook, meaning it
thinks the coverage XML is not present. This is less a problem when using pip but if using pipenv it can be more difficult to control install order.
Output observed - skip upload appears before coverage report:
##[warning]Coverage XML was not created, skipping upload.

---------- coverage: platform linux2, python 2.7.15-final-0 ----------

Oh and thanks for such a great library :)

I run in to the same/similar problem. I run pytest in a docker container.
output

[error]Unable to process command '##vso[codecoverage.publish codecoveragetool=Cobertura;summaryfile=/gherkin/coverage.xml;reportdirectory=/gherkin/htmlcov;]' successfully. Please reference documentation (http://go.microsoft.com/fwlink/?LinkId=817296)
##[error]File '/gherkin/coverage.xml' does not exist or is not accessible.

My pipeline step:
  - task: Bash@3
    displayName: Run Unittests
    inputs:
      targetType: 'inline'
      script: |
        # Write your commands here

        echo 'Testing docker'
        docker run --rm -v $(System.DefaultWorkingDirectory):/staging \
        $(containerRegistry)/$(imageRepository):$(branchTag) \
        pytest ./utils --cov utils --cov-report html --junitxml=test-gherkin.xml

I changed the order of the modules in my requirements file, but that did not change the behaviour.

I run in to the same/similar problem. I run pytest in a docker container.
output

[error]Unable to process command '##vso[codecoverage.publish codecoveragetool=Cobertura;summaryfile=/gherkin/coverage.xml;reportdirectory=/gherkin/htmlcov;]' successfully. Please reference documentation (http://go.microsoft.com/fwlink/?LinkId=817296)
##[error]File '/gherkin/coverage.xml' does not exist or is not accessible.

My pipeline step:
  - task: Bash@3
    displayName: Run Unittests
    inputs:
      targetType: 'inline'
      script: |
        # Write your commands here

        echo 'Testing docker'
        docker run --rm -v $(System.DefaultWorkingDirectory):/staging \
        $(containerRegistry)/$(imageRepository):$(branchTag) \
        pytest ./utils --cov utils --cov-report html --junitxml=test-gherkin.xml

I changed the order of the modules in my requirements file, but that did not change the behaviour.

Did you ever solve this? I have the exact issue.

I could have missed something so my apologies if there is an easier fix but I have noticed that depending on the order I install pytest-azurepipelines or pytest-cov via pip that sometimes the pytest11 plugin hook invoke coverage XML production after the pytest-azurepipeline session finish hook, meaning it thinks the coverage XML is not present. This is less a problem when using pip but if using pipenv it can be more difficult to control install order.
Output observed - skip upload appears before coverage report:
##[warning]Coverage XML was not created, skipping upload.

---------- coverage: platform linux2, python 2.7.15-final-0 ----------

@timgates42 is there any way of getting this to work? It checks out too early and then fails to find the generated coverage files

I had a go at fixing it in #34 but the PR failed verification due to what looked like CI credentials not being setup in the automation correctly

I am having the same issue.... Will this be fixed soon ?
    at System.Xml.XmlTextReaderImpl.FinishInitUriString()    at System.Xml.XmlTextReaderImpl..ctor(String uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver)    at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)    at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings)    at Microsoft.TeamFoundation.TestClient.PublishTestResults.NUnitResultParser.ParseTestResultFile(TestRunContext runContext, String filePath)    at Microsoft.TeamFoundation.TestClient.PublishTestResults.NUnitResultParser.<>c__DisplayClass1_0.<ParseTestResultFiles>b__0(String file)    at System.Linq.Enumerable.SelectListIterator2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator1.ToList()    at Microsoft.TeamFoundation.TestClient.PublishTestResults.NUnitResultParser.ParseTestResultFiles(TestRunContext runContext, IList1 resultFilePaths)
at Microsoft.VisualStudio.Services.Agent.Worker.TestResults.Parser.ParseFiles(IExecutionContext executionContext, TestRunContext testRunContext, List1 testResultsFiles, ITestResultParser testResultParser) Reading code coverage summary from '/app/coverage.xml' **##[error]Unable to process command '     [exec] #11 6.915 ##vso[codecoverage.publish codecoveragetool=Cobertura;summaryfile=/app/coverage.xml;reportdirectory=/app/htmlcov;]' successfully. Please reference documentation (http://go.microsoft.com/fwlink/?LinkId=817296)** ##[error]File '/app/coverage.xml' does not exist or is not accessible.      [exec] #11 6.915       [exec] #11 6.915       [exec] #11 6.915 ---------------- generated Nunit xml file: /app/test-output.xml ----------------      [exec] #11 6.915 ------------ generated xml file: /app/src/tests/unit/unit_tests.xml ------------

I believe I have a work around. You can add --no-coverage-upload directive to your pytest command and the error will go away as it will stop the vso publish altogether to Azure Pipeline. You will have to copy the htmlcov and coverage.xml from docker container though.

Looks like we have the same problem :( ... any idea when it could be fixed?

Same here , receiving DirectoryNotFoundException
2022-06-16T23:14:52.4135713Z [command]/bin/bash --noprofile --norc /agent/_work/_temp/d309be40-198f-4557-8742-2ee3b7e18b4b.sh
2022-06-16T23:14:53.3949384Z ============================= test session starts ==============================
2022-06-16T23:14:53.3951057Z platform linux -- Python 3.9.10, pytest-7.1.2, pluggy-1.0.0
2022-06-16T23:14:53.3951749Z rootdir: /dummy-workdir
2022-06-16T23:14:53.3952347Z plugins: azurepipelines-1.0.3, nunit-1.0.0
2022-06-16T23:14:53.3952748Z collected 1 item
2022-06-16T23:14:53.3952894Z
2022-06-16T23:15:02.6605264Z Result Attachments will be stored in LogStore
2022-06-16T23:15:02.7152146Z Run Attachments will be stored in LogStore
2022-06-16T23:15:02.7808350Z Failed to parse result files: System.IO.DirectoryNotFoundException: Could not find a part of the path

The issue still exists:
============================= test session starts ==============================
platform linux -- Python 3.7.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /usr/src/app, configfile: pytest.ini
plugins: anyio-3.6.2, nunit-1.0.3, azurepipelines-1.0.4, cov-4.0.0
collected 13 items

tests/test_main.py ..                                                    [ 15%]
tests/abc****_tests/test_api.py ....                                  [ 46%]
tests/abc****_tests/test_abc.py .                                     [ 53%]
Result Attachments will be stored in LogStore
Run Attachments will be stored in LogStore
Failed to parse result files: System.IO.FileNotFoundException: Could not find file '/usr/src/app/test-output.xml'.
File name: '/usr/src/app/test-output.xml'
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.FinishInitUriString()
   at System.Xml.XmlTextReaderImpl..ctor(String uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver)
   at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings)
   at Microsoft.TeamFoundation.TestClient.PublishTestResults.NUnitResultParser.ParseTestResultFile(TestRunContext runContext, String filePath)
   at Microsoft.TeamFoundation.TestClient.PublishTestResults.NUnitResultParser.<>c__DisplayClass1_0.<ParseTestResultFiles>b__0(String file)
   at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
   at Microsoft.TeamFoundation.TestClient.PublishTestResults.NUnitResultParser.ParseTestResultFiles(TestRunContext runContext, IList`1 resultFilePaths)
   at Microsoft.VisualStudio.Services.Agent.Worker.TestResults.Parser.ParseFiles(IExecutionContext executionContext, TestRunContext testRunContext, List`1 testResultsFiles, ITestResultParser testResultParser)
##[warning]Coverage XML was not created, skipping upload.

------------ generated Nunit xml file: /usr/src/app/test-output.xml ------------
--------- generated xml file: /usr/src/app/tests/junit/test-output.xml ---------
============================= 13 passed in 10.16s ==============================
Async Command Start: Publish test results
Async Command End: Publish test results
Finishing: Run Python Tests

https://stackoverflow.com/questions/74384658/coverage-report-not-published-using-docker-and-pytest-azurepipelines
Is anyone able to get the pytest results published from the Docker container?
(copying the junit/xml files from the container to runner leads to a broken filepath in the report. You can still open the report but won't see the line-wise coverage)

+1 Also seeing this

+1 issue still persists


Types of Image Files

What types of image files have you traced so far? What are limitations of using certain filetypes?

imagetracer.js uses the standard HTML5  and JavaScript functions in loadImage() , so the supported file types depend on the browser . JPEG, GIF, PNG and BMP should work. If you would like to trace other formats, e.g. PCX which might not be supported by the browser, try to load it into an ImageData object and call imagedataToSVG() or imagedataToTracedata() . Please note that there is no built in check on image size, so trying to trace very big images might cause out-of-memory error.


Bank value plugin overflow

Describe the bug
Bank value plugin is overflowing when you have something like 3 twisted bows. That is, the result is over 2147m. This results in sometimes a negative result showing up as the bank value.
I believe the problem lies in these lines, as two integer values are multiplied and causing an integer positive overflow.
To Reproduce
Have the bank value plugin enabled.
Have more than 2147m worth of one item in the bank.
Expected behavior
The value of the bank shouldn't be overflowing.
Screenshots

Environment

OS: Ubuntu 18.04.3 LTS
RuneLite version: 1.5.38
Launcher version: 2.0.2

fixed in ec0858548ff52986a0e84706472b85180df22ac1


UI Changes and Pop up + Joint Commit with team brutal_foss

Slightly improved UI & A pop up has been added to show how it works along with a link to the Git repository

A little bit of padding has been added to the input field and rounded corners in terms of UI changes
Pop up has been added as mentioned during the first review (table 13) Attached screenshots
Before:

After:

The previous 2 commits adds UI changes to buttons, text fields and background.
The background and fonts were changed by team brutal_foss and the rest by team byte_banana.
The buttons have been made to spin for pure amusement. Added Mukund too for the same reason.

The colours, hover states etc of the buttons were changed by byte_banana