Upgrade STM32CubeMX version from 5.3.0 -> 6.9.2

Summary

Upgrade the boards in our repo from STM32CubeMX 5.3.0 to 6.9.2. We need to switch to 6.9.2 to unlock support for the STM32H7xx family of microcontrollers, which is going to be on our vehicle controller this year. Also, we should just upgrade since they probably fixed a bunch of bugs.
TODO: Test this on other people's machines
Changelist

Migrate every board's .ioc file from 5.3.0 to 6.9.2. This means we had to regenerate the drivers/middleware for every board, leading to a crazy diff.
Switch to CMSIS-RTOS v2, which is supported in 6.9.2 (it wasn't in 5.3.0). CMSIS-RTOS is an API that wraps FreeRTOS, and v2 is way easier to use than regular FreeRTOS and way more powerful than v1.
Bumped the version in the container (using a custom tag currently so ubcformulaelectric/environment still points to the regular container, and other CI jobs can run).

Testing Done

[x] Flashed all boards and spun wheels on jacks
[ ] This is a big change, so lets do some driving with these changes

Resolved Issues

Checklist
Please change [ ] to [x] when you are ready.

[x] I have read and followed the code conventions detailed in README.md (This will save time for both you and the reviewer!).
[x] If this pull request is longer then 500 lines, I have provided explicit justification in the summary above explaining why I cannot break this up into multiple pull requests (Small PR's are faster and less painful for everyone involved!).

Also I am not familiar about autogenerated STM files but can they autogenerate on each build? (If so can we hide it away in build_arm)

Possibly yes. Currently we invoke CubeMX with the generate code command which just updates main.c and a few other files. We can also invoke with the project generate which should also update the driver files. Although Cube usually doesn't like being generated in a different directory than the .ioc so I'm not sure if we can put it in build_arm.
This'll be easier after the refactor since all CubeMX stuff will live in its own folder.

I'll review once #1040 gets merged in.


[WIP] Dummy server

Fixes #2866.
What is this?
This is an implementation of a basic socket server that is able to run concurrently with the main thread. This might be useful for testing our 'Transfer-Encoding: chunked' functionality as pytest-httpbin isn't able to handle this kind of encoding.
How does it work?
You provide the Server constructor with a handler that will be called once the socket server is listening. This handler will be able to accept clients and send and receive any info it wants to. The main thread will be able to query the server by creating a normal socket.
Syntax proposed
I think that using a Context-Manager is a great way of making it easy to use the Server.
with Server(handler) as host, port:
    sock = socket.socket()
    sock.connect((host, port))
   ...

Doubts

urllib3 tries to use a IPv6 socket and falls back to IPv4 when it can't. Should I try doing the same thing?
I made a new directory for dummyserver, but don't know whether that was the right thing to do.
I am not sure whether I'm testing my code properly. Code is being tested in very different ways in test_requests.py

Roadmap

Handle exceptions in Server.
Add features such as basic_response_handler in urllib3's implementation.
Implement more tests
Implement 'Transfer-Encoding: chunked' tests using the dummy server.

Is this a good idea? Or should I stop doing this right now?

Can we perhaps not call it dummyserver? Maybe something more accurate, e.g., testserver?

Calling it a testserver feels like a good idea. As to the approach, this is definitely going in the right general direction, at least as far as I'm concerned. Obviously you need to replace the test that's currently there with one that actually tests requests itself, but that's fine.
We also need to be on the lookout for flaky tests here. Threaded tests can get tricky.

Ok, I'll call it testserver.
The test I added is there just for testing the server. It might be weird to add tests for a testing utility but I think it is necessary as it could be broken in many no trivial ways. If you don't like having requests tests and testserver tests in the same file (which actually looks bad) we could do the following things:

Having a separate file for testing testserver
Extracting testserver as a separate package and developing it with its tests independently from requests
Not testing it at all

I think I broke the CI server with tests that hang forever. I don't know whether I should do anything to fix that

Yup, that seems right. They don't consistently hang, but they do sometimes hang. Are you able to run the tests locally @BraulioVM?

PS @sigmavirus24 I don't seem to be able to stop the builds: can you do it?

I cannot stop the tests.

Well...that's not ideal.

@Lukasa I ran the tests locally on python2.7 and know why they hang. I have run the tests for the last version both on 2.7 and 3.4, and they are fine. Is there any easy way to replicate the build environment of the CI server?
I am sorry for breaking it, I never thought there wasn't going to be a timeout or something like that.

Ok, I already have a failing test for chunked uploads (in python3, the 'Transfer-Encoding' header is not being set and python2.7 doesn't even let me use a generator as data)

Do you like the overall direction of this PR? Do you think I have gone too far? As I am new with this project I'm not sure whether this is the way to go

I think in general it's ok, but I need to spend some time playing with it tomorrow.

@BraulioVM So, that test doesn't fail for me, it passes, but more importantly it does run!
Having played with this quickly on my local machine, this seems generally good: the test runs, the structure of the function mostly seems to be good, so I'm happy to have this as the basis of a set of more specific tests. I would like us to add some more helpers, but we don't need to do that right now: we can definitely tackle it later.
Well done @BraulioVM! Did you have more work you wanted to do before you proposed this for merging?

Thank you @Lukasa! I am happy this is finally going to be useful.
I don't mind adding those helpers you talk about, but as I am not totally sure about how this server will be used I don't know what helpers should be implemented. I guess some logic for parsing the chunked content must be implemented in order to fully test the library, however, I don't think that logic should be built into TestServer.
There's no more work I was planning on doing. I was hoping you would tell some other things you wanted this PR to have (such as those helpers).

So, some helpers that might be useful:

something that lets you easily return a complete response from a HTTP/1.1 string.
something that returns 200 OK but saves the request off to be examined

Ideally we'd want these with tests that use them, to confirm they work.

Ok! Sure, everything I implement will be tested.
Just for clarification, when you say "return a complete response from a HTTP/1.1 string" you mean the string contains the http headers and the body of the response and not just its body, right? Or is it just the body?

That's correct, headers and body. =)

Ok, done!
I added an attribute to the TestServer class called handler_results. It is a list which stores the return values of the request handler. This allows text_response_server to store the requests by returning its content.
I have added tests for those to features as well.

Anything else I should do in order to get this merged?

Not right now @BraulioVM, we're pretty quiet over the holiday period so we probably won't find time to focus on reviewing this until the new year.

Ok, that's perfect!
Happy holydays!

I have just finished my exams and have time to work on this again if it is heading the right direction. I have read https://github.com/kennethreitz/requests/issues/2866 and believe you want something similar to this, but you may prefer a different implementation anyway.
Should I keep working on this or look for another issue to work on?

I believe this is generally going in the right direction, but now that @kennethreitz is more active he may want to see if this is something he wants. @sigmavirus24 and I are definitely :+1: on this for improving our testing, but it's up to Kenneth.

Ok, I'll wait to see what Kenneth thinks of this

I have no opinion :)

Ok, I'll give this a review tomorrow and see where we are.

Ok @BraulioVM I've left some notes in the diff. =)
Unfortunately, while you've been away we moved the tests to a test subdirectory, so you'll need to move this change onto that directory structure. Sorry!

Ok, I have had several doubts while merging with master:

I have put TestTestServer test cases inside test_util.py because that's the file I've found for it. Should I change it? I had to import requests in order to test the server, but I believe you did not import it on purpose.
Is there any better place for test_chunked_upload?

Ok, we're making some good progress here @BraulioVM! We'll have a few more rounds of code review while we get this stuff settled, and right now our Jenkins runs are hanging (I'll investigate why).
Did you lose test_chunked_upload entirely? It doesn't seem to be in the diff at all: commit f17ef753d2c1f4db0d7f5aec51261da1db20d611 just removed it, without moving it to anywhere.

I'm sorry for needing this much reviewing. I hope that I can get the code right from the beginning with my next PR.

@BraulioVM I can't stress this enough: you don't need to apologise for code review. Code review is a healthy part of the development process, and it doesn't matter how good you are: you will get code review, and it's a good thing. You should see some of my patches on Twisted, which have had more than 100 code-review comments on them. ;)

Ok, done. I am ready for the next round!

Hmm, the Jenkins builds for this PR are all messed up. Lemme see if I can coerce Jenkins into starting a new build.

Ok, so Jenkins is now being helpful. The specific problem is import paths on Python 3, which is a result of the way the tests are invoked. I suspect you can fix that by changing the import path of test server, so that instead of doing from testserver.server import Server, you do from .testserver.server import Server.
Want to give that a try?

I went with from tests.testserver.server import Server. Is that ok? Or is the other option considered to be better in this particular case?

I'll review tonight all the style issues my PR has already had and look for them in other parts of my code in order to fix them. Anything else I should be doing?

@BraulioVM I think I'm happy with this as-is at this point, but I'm also a bit too close to it now to be objective. I'd like to ask @sigmavirus24 to do a review as well now, if he has time: just to make sure the code is as good as it can be. Otherwise, I think this is very close to being ready to merge.

Ok, I'll wait then!

Let's get this merged or closed soon — it's been open since late November.

If you think there is something wrong with this PR tell me and I will fix it

@sigmavirus24, what are the odds that you'll have time in the next 7 days to do a review?

One nit that we could probably fix up ourselves if we want to. Otherwise :+1: from me.

Fixed!

✨ 🍰 ✨


Make augur.net deploy automatically

Check the possibility and what needs to be done so that augur.net is deployed automatically.

@bconfortin not for design review. please close if done


Elaborated readme.md on build, usage

Elaborated on building and usage.
Older x32bit distros may have outdated golang with deprecated references ; advised to download newest versoin and compile if necessary, however comes with prebuilt binaries already so just need to download and configure $GOPATH and $GOROOT env vars.
asm-cli binary defaults to x64bit views by default; esoteric usage instructions demystified to invoke as x32bit.
32bit system but tries using x64bit registers, addressing by default:

thx very much!

Not a problem... glad to have helped!


force-override should use store_true

For boolean command arguments, that default to either true or false, it is better to use store_true or strore_false.
With this change, instead of calling:
python visualize_dataset_html.py --repo-id lerobot/koch_v2 --force-override 1

You will call:
python visualize_dataset_html.py --repo-id lerobot/koch_v2 --force-override

without supplying 0 or 1

cc: @Cadene @aliberts

We use 0 or 1 for boolean in arguments in other part of the code, so we prefer to stay consistent.
We might change this at some point on all of them.
I would prefer something like --force-override true or --force-override false.


expected one argument

Hi
what is the solution for this error?

I put the piece of code which was in READ ME file,
python -m cartography.classification.run_glue
-c configs/$TASK.jsonnet
--do_train
--do_eval
-o $MODEL_OUTPUT_DIR
but I receive the ERROR: expected one argument.
Then I give the value: cartography-main/sample/training_dynamics to the MODEL_OUTPUT_DIR argument, but receive the same error.
Could any one help me?

Have you replaces this $TASK. with task from configs?


chore(Spanner): Throw session create exception correctly

Resolve #5595  and https://github.com/googleapis/google-cloud-php/issues/5364

You may also want to add a System test in Spanner/tests/System/SessionTest.php:
    public function testSessionPoolShouldFailWhenIncorrectDatabase()
    {
        $this->expectException(\RuntimeException::class);
        $this->expectExceptionMessage('Database not found');

        $db = self::getDatabaseWithSessionPool(
            'non-existent-db',
            ['maxCyclesToWaitForSession' => 1]
        );
        $db->runTransaction(function ($t) {
            $t->select("SELECT 1");
            $t->commit();
        });
    }

@vishwarajanand I have resolved your comments, please have a look now.


feat(core): simple mutation switching process

Implement a simple mutation testing process using mutation switching.
BREAKING CHANGE:

Transpilers are no longer supported, please use build command instead
Custom mutators are no longer supported, Stryker now brings its own mutant instrumenter

Todo:

[ ] Unit tests for PrepareExecutor
[ ] Unit tests for MutantInstrumenterExecutor
[ ] Unit tests for DryRunExecutor
[ ] Unit tests for MutationTestExecutor
[ ] Implement Reporter.onAllMutantsMatchedWithTests
[ ] Implement command test runner.
[ ] Make sure html report works (mutants are not visible a.t.m.)
[ ] Make sure the progress reporter is working again (onAllMutantsMatchedWithTests is needed for that).
[ ] Remove dead code.

So yeah the PR turned out to be pretty massive. I've revamped the entire core of Stryker. I also had to break the reporter api in some places, we might need to break it more later. I'll update the PR's description to reflect the current state.


"Invalid json response" body when starting job

Describe the bug
When you start a job in the UI. The Node server display this error:
FetchError: invalid json response body at http://<IP_ADDRESS>:31907/job/11/start reason: Unexpected token o in JSON at position 0
    at /home/steshaw/Code/tweag/chainsail/app/client/node_modules/node-fetch/lib/index.js:272:32
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async handleRequestResponse (webpack-internal:///./utils/handleRequestResponse.js:91:22)
    at async __webpack_exports__.default (webpack-internal:///./pages/api/job/start.js:12:3)
    at async apiResolver (/home/steshaw/Code/tweag/chainsail/app/client/node_modules/next/dist/next-server/server/api-utils.js:8:1)
    at async DevServer.handleApiRequest (/home/steshaw/Code/tweag/chainsail/app/client/node_modules/next/dist/next-server/server/next-server.js:64:462)
    at async Object.fn (/home/steshaw/Code/tweag/chainsail/app/client/node_modules/next/dist/next-server/server/next-server.js:56:492)
    at async Router.execute (/home/steshaw/Code/tweag/chainsail/app/client/node_modules/next/dist/next-server/server/router.js:23:67)
    at async DevServer.run (/home/steshaw/Code/tweag/chainsail/app/client/node_modules/next/dist/next-server/server/next-server.js:66:1042)
    at async DevServer.handleRequest (/home/steshaw/Code/tweag/chainsail/app/client/node_modules/next/dist/next-server/server/next-server.js:34:1081) {
  type: 'invalid-json'
}

This error is not reflected in the UI and so the job appears to have started. Indeed it has started and therefore everything appears okay.
To Reproduce

Create a new job
Click 'Start' from the 'My jobs' page.

Expected behaviour
The job starts and there are no errors.
Environment

OS name + version: Ubuntu 22.04.2 LTS
Version of the code: main branch at 629c29494b1eb4a1ecb6daf2c42cc91cadb94480

A little investigation reveals that the problem is that the response is not JSON — it's the string "ok"
$ curl -XPOST http://<IP_ADDRESS>:31907/job/11/start
ok


db: adds mid txn errors

Right now, when you call methods on a transaction like Save, Delete, etc., an error will end the txn, which is cumbersome in cases where you want to handle that error and retry (w/o recreating the whole transaction).
Easiest solution: Add an error to all the reply objects (CreateReply, etc.)

Oh, note that the new errors are only used during a transaction... normal non-txn calls return the error as before.

Thanks for the late night look!

mark


Build using Java8?

I found that the dependency was built using Java11 when using Kaml, which makes it impossible for me to run apps that rely on this library on Java8
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Ack, will take a look likely tomorrow, and prepare a patch release.

hi @4o4E, I'd like to find out more about why you need Java 8.
It's not so easy to support Java 8, because SnakeKMP has a dependency on a library that's compiled to Java 11.
Is updating to Java 11 possible in your situation?

hi @4o4E, I'd like to find out more about why you need Java 8.
It's not so easy to support Java 8, because SnakeKMP has a dependency on a library that's compiled to Java 11.
Is updating to Java 11 possible in your situation?

i am a bukkit plugin developer. my plugin support 1.12-latest ver minecraft, but 1.12 can only use java8(not minectaft, bukkit's limit)

I've asked the owner of our dependency to support Java 8: https://github.com/ethauvin/urlencoder/issues/18

Hi everyone,
I just saw that there's already a PR by @krzema12 https://github.com/krzema12/snakeyaml-engine-kmp/pull/203
Since his looks more advanced we might be able to merge our two PRs into one.

I merged @krzema12's changes. I hope the result makes sense 😅

The fix is merged, we're going to release a new version within 2 days.

3.0.3 is released: https://github.com/krzema12/snakeyaml-engine-kmp/releases/tag/v3.0.3


How to do grouped Barchart?

Can anyone tell me how to do grouped barchart like this ?

@mpatelCAS Hi, did you manage to do this? If so, how? Thanks

@PasqualePuzio  This chart lib will not work for this I have used JS to achieve this in the application


feat(http): Allow loading data source from remote sources

Adds a client and server package that gives an HTTP interface wrapper for a DataSource.

I haven't read through the code yet, but we should be able to make the code pass CI.
First, change this line https://github.com/StanfordLegion/prof-viewer/blob/master/.github/workflows/rust.yml#L41 to remove --all-features.
The trunk failure probably indicates that your dependencies are not properly set behind the appropriate feature flag. I.e., you're building reqwest even when client and server are not set, or something. If you check the Cargo.toml closely you should be able to find it.


crypto/tls: feature request: add option to JUST skip hostname verification

I understand in "https://github.com/golang/go/commit/fca335e91a915b6aae536936a7694c4a2a007a60" we made changes to enforce either requiring ServerName or InsecureSkipVerify to be set in our tls libraries.
What about making this the default behaviour but having a "SkipHostnameVerification" option? I have a situation where we are using certs signed by our own private CA. The hostname verification won't work since we pre-generate certs using a CN that isn't an actual DSN/Host name. I still want to validate that other servers certs are at least signed by the same private CA as the client but JUST want to skip the hostnameVerify check. Today that doesn't seem possible.

CC @agl @FiloSottile

You can currently do this by using VerifyPeerCertificate and (*Certificate).Verify (and remembering to put the remaining rawCerts into VerifyOptions.Intermediates).
https://github.com/golang/go/blob/39e523792e33a0bd9217161ca53c6c0cb2324a99/src/crypto/tls/handshake_client.go#L315-L344
I don't think this is common enough to add another verification option to the already crowded tls.Config.

Problem is I want to use a library (rafthttp) that only exposes a transport.TLSInfo (https://github.com/coreos/etcd/blob/master/pkg/transport/listener.go) , not a tls Config (https://golang.org/pkg/crypto/tls/#Config). So this sort of manual workaround would need to be plumbed up the stack for me to use it. If there was a simple option, it would be easier to plumb this through.
[https://avatars2.githubusercontent.com/u/3730757?v=4&s=400]https://github.com/coreos/etcd/blob/master/pkg/transport/listener.go
etcd/listener.go at master · coreos/etcd · GitHubhttps://github.com/coreos/etcd/blob/master/pkg/transport/listener.go
github.com
etcd - Distributed reliable key-value store for the most critical data of a distributed system
Package tls - The Go Programming Languagehttps://golang.org/pkg/crypto/tls/#Config
golang.org
Constants. A list of cipher suite IDs that are, or have been, implemented by this package. Taken from http://www.iana.org/assignments/tls-parameters/tls-parameters.xml

From: Filippo Valsorda<EMAIL_ADDRESS>Sent: September 27, 2017 5:37 PM
To: golang/go
Cc: rsm10; Author
Subject: Re: [golang/go] crypto/tls: feature request: add option to JUST skip hostname verification (#21971)
You can currently do this by using VerifyPeerCertificate and (*Certificate).Verify (and remembering to put the remaining rawCerts into VerifyOptions.Intermediates).
https://github.com/golang/go/blob/39e523792e33a0bd9217161ca53c6c0cb2324a99/src/crypto/tls/handshake_client.go#L315-L344
[https://avatars3.githubusercontent.com/u/4314092?v=4&s=400]https://github.com/golang/go/blob/39e523792e33a0bd9217161ca53c6c0cb2324a99/src/crypto/tls/handshake_client.go#L315-L344
golang/gohttps://github.com/golang/go/blob/39e523792e33a0bd9217161ca53c6c0cb2324a99/src/crypto/tls/handshake_client.go#L315-L344
github.com
go - The Go programming language
I don't think this is common enough to add another verification option to the already crowded tls.Config.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/golang/go/issues/21971#issuecomment-332693931, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAvL8o2bbdzxc8ptfc343eWUqY16IHmQks5smupMgaJpZM4Pf-6w.

As to your original suggestion, curious why on lines 334-336 we seem to skip the first cert in the chain?
	if i == 0 {
		continue
	}

The first cert is the leaf, and it’s used on line 339. All the others are intermediates and are used on line 337.

Problem is I want to use a library (rafthttp) that only exposes a transport.TLSInfo (https://github.com/coreos/etcd/blob/master/pkg/transport/listener.go) , not a tls Config

This is a very special case. I would suggest working with the library maintainers (or just having your own fork) to expose the tls.Config. We shouldn't add a second way to do something in the standard library (especially a somewhat confusing security knob) just because one downstream package hides the first way.

I am also interested in skipping the hostname verification only. The problem is that if the ServerName is unset, it ill be inferred. As stated above, one way to achieve it is to set InsecureSkipVerify to True and copy/paste the code from the stdlib to config.VerifyPeerCertificate, but that is suboptimal, as one would miss fixes done to this part of code in the stdlib.
:+1: for a SkipHostnameVerification option.

👍 for a SkipHostnameVerification option as well.
Trying to get client authentication working with MySQL. Using a self-signed cert because I'm running everything out of VPS machines. Everything is IP based. Has anyone built the code for the suggested work around? I don't want to reinvent the wheel.

@sikemullivan
yes, here: https://github.com/digitalbitbox/bitbox-wallet-app/blob/b04bd07852d5b37939da75b3555b5a1e34a976ee/backend/coins/btc/electrum/electrum.go#L76-L111

Awesome, thanks for the quick response.

@benma
Should line 109 set the verified chains? Or does it not matter?
Now:
_, err := certs[0].Verify(opts)
return err

Then:
verifiedChains, err := certs[0].Verify(opts)
return err

Based on a quick look through the stdlib, I would say it would make sense, yes. Seems to be exposed only in conn.ConnectionState(), and conn.VerifyHostname(). Not sure why I didn't put it in back then.

Agree, everything seems to work without it getting returned. Thanks for your help.


Multiple Y-Axis

How to set two scale Y-axis, using ChartJS.Helper.MVC?

goto MultiAxis() in https://github.com/ritesh28393/ChartJS.Helpers.MVC/blob/master/SampleMVC/Controllers/LineChartsController.cs
you can find more examples at https://github.com/ritesh28393/ChartJS.Helpers.MVC/tree/master/SampleMVC

Thanks for help. Excellent wrapper.


Question: Change log level

Is there a way to change how verbose the logs are? And a way to turn off all logging in production?

They don't come on in production. And to disable them, run self.__disable... the relevant log level


Bug Report: Advanced VPN revoke_certifcate fails to apply

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform: 1.2.6
azure provider: 3.29.1
module: 2.4.1
Description
When providing custom VPN certificates the revoke certificate is giving errors about the root_certificate fields missing
Describe the bug
The enterprise scale module is not finding the fields provided for the revoke certificate
Steps to Reproduce
provide custom VPN settings with a root and revoke the certificate and it will pass validate but when going to apply it will not find a value for the field provided.

Add hub with vpn configuration. e.g.
vpn_client_configuration = [
                    {
                      address_space = ["<IP_ADDRESS>/32"]
                      aad_tenant    = null
                      aad_audience  = null
                      aad_issuer    = null
                      root_certificate = [{
                        name             = "DigiCert-Federated-ID-Root-CA"
                        public_cert_data = <<EOF
MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
EOF

                      }]

                      revoked_certificate = [{
                        name             = "Verizon-Global-Root-CA"
                        thumbprint = "customtp123"
                      }]
                      radius_server_address = null
                      radius_server_secret  = null
                      vpn_client_protocols  = ["IkeV2"]
                      vpn_auth_types        = ["Certificate"]

                    }
                  ]

Apply Plan

Screenshots
│ Error: Reference to undeclared resource
│
│   on .terraform/modules/enterprise_scale/resources.connectivity.tf line 197, in resource "azurerm_virtual_network_gateway" "connectivity":
│  197:           name       = root_certificate.value["name"]
│
│ A managed resource "root_certificate" "value" has not been declared in
│ module.enterprise_scale.
╵
╷
│ Error: Reference to undeclared resource
│
│   on .terraform/modules/enterprise_scale/resources.connectivity.tf line 198, in resource "azurerm_virtual_network_gateway" "connectivity":
│  198:           thumbprint = root_certificate.value["thumbprint"]
│
│ A managed resource "root_certificate" "value" has not been declared in
│ module.enterprise_scale.```

#### Additional context

This is a simple problem, I'll be submitting a PR shortly as this is impacting our landing zone setup.

Great spot... thank you for raising this and the corresponding PR 👍🏻


Fixes #560

This also implements one function proposed in #559, however, kept internal as it has not been approved by API review.

/azp run


AzureCliAuthentication error in SDK version

Getting the following error in connect-to-workspace.yml:
 AuthenticationException: AzureCliAuthentication requires azure-cli>=2.30.0 to be installed in the same python environment where azureml-sdk is installed.

The most recent SDK version (1.43.0) uses MSAL based auth instead of ADAL and needs azure-cli>=2.30.0 (change note).


Not increasing nonce if the transaction is not yet executed on the chain

I feel like this hasn't been an issue in the past (more of the last 1 - 2 weeks), but maybe I just never noticed it.
But it would be useful to queue tx's with a very low gas price, just to have them processed whenever it comfortable for the miners.
Lets say we're sending a TX with 0.1Gwei per gas, which will take about 10 minutes. If you generate a new transaction while the other transaction is still processing, MEW will keep using the same nonce, thus either getting the new the transaction rejected or even the old transaction overwritten when using a much higher gas limit.
Its not a syncing issue between nodes, because waiting for minutes does not change the results.
I feel like its simply a line of code not counting the pending transactions, but I might be wrong. If I have some spare time I'll see if I can figure it out myself, but just jumping into a big pool of code like this takes time :)

The code you will need is actually within Parity itself, not our codebase. We used to use geth for getTransactionCount as geth typically handles in better. Unfortunately, we can't seem to keep our geth nodes synced anymore and are temporarily 100% on Parity. This is also the reason why some of the error messages you are seeing are now different, even for the same issue.
We have also increased our nodes from 5 geth / 5 parity to 25 parity in order to keep up with the increased traffic. Due to large transaction pools, sometimes the lower gas-priced transactions drop out of the individual node's transaction pool. We have a separate handler to ensure that the transactions are broadcast if they do get dropped from our nodes, but for this reason it's nearly impossible to accurately get the nonce during times of super-high transaction volume. I'm not even sure that switching to geth would solve this at this point.
We have also considered manually increasing the nonce on the frontend after a user sends a transaction. The unfortunate part about that is it can lead to double-sending transactions inadvertently, which (IMO) is worse than a transaction not being sent. Imagine you are trying to get into an ICO. You send, it doesn't go through, you send again. When the transactions eventually get mined, now you have send 10 ETH to the ICO instead of your intended 5. It has even happened that a user with only 5 ETH in their account sends 5 ETH to the ICO, deposits another 5 ETH from their exchange for whatever reason, and that 5 ETH is then immediately sent out again due to the pending transaction now being able to be fulfilled.

For you, the best thing may be to use the Check TX Status page to send when sending back-to-back. There is a nearly-invisible button underneath the sidebar that you can click that will open up all fields. From there you can manually increase the nonce which (obviously) wouldn't replace the transaction. Another option would be to use the offline tab to manually increase the nonce.
Any insights or feedback welcome.


Handle Jason errors for malformed requests

I noticed that if Jason encounters something it can't parse, the core crashes cause. It should be handled
with a proper reply for the user.
For example send an invoke request with some error in the body, for instance:
{ function: hello, }

The core should send back a reply with status 400 (Bad Request) with a json:
{"error":"Failed to parse json in request. Malformed body."}

This issue is related to #27 but goes more in depth for the json de/encoding scenario.

Closed with #47


Infoboard 1.9

Hi I was wondering if you will update infoboardreborn to 1.9?

Well
someone needs to fork it

^

Will placeholder API support  be added?

Yes

@Ktar5 Can you please compile 1.9 jar? I need it badly. Even if it was buggy or early build, i just need it working on 1.9.

https://www.spigotmc.org/resources/infoboardreloaded.44270/


Remove outdated functions (e.g., Keptn 0.5/0.6 related functions)

There are some functions that are most likely no longer needed or need to be renamed accordingly:

sendDeploymentFinishedEvent (could probably be solved using #42): https://github.com/keptn-sandbox/keptn-jenkins-library/blob/788e1574e6bca62b1020129aff34356ed30e9c3d/src/sh/keptn/Keptn.groovy#L741-L810
sendConfigurationChangedEvent: https://github.com/keptn-sandbox/keptn-jenkins-library/blob/788e1574e6bca62b1020129aff34356ed30e9c3d/src/sh/keptn/Keptn.groovy#L959-L1026
sendConfigurationTriggered: https://github.com/keptn-sandbox/keptn-jenkins-library/blob/788e1574e6bca62b1020129aff34356ed30e9c3d/src/sh/keptn/Keptn.groovy#L1027-L1100

Definition of Done

[ ] Find out which functions are still in use, e.g., in https://github.com/keptn-sandbox/jenkins-tutorial
[ ] Also consult with @grabnerandi on those functions
[ ] Remove outdated functions

We will leave sendDeploymentFinishedEvent in for now. The others are removed/renamed in #46.


Opinion: Use Asyncio instead of ThreadPoolExecutor

I'm not sure a ThreadPoolExecutor is necessarily the right tool for what we want to do here. Each query doesn't really need its own thread as we aren't doing anything super CPU intensive, and we will arguably want to send more than 30 or so queries at a time. I find this answer to be very informative about the differences: https://stackoverflow.com/a/61360215
I would like to advocate for using asyncio as I think it's more suited for this task, as well as being cleaner in code (no literal parsing of the html response)

switched to asyncio.

It looks like the stress_utilities block still uses the ThreadPoolExecutor

Also, I think aiohttp is not needed. httpx has plenty of exception types you can use: https://www.python-httpx.org/exceptions/


Reordering scripts

We should be able to sort the scripts as we please.

Currently, we cannot change the ordering of the scripts.
I wish for the ability to (ctrl+up/ ctrl+down) reorder the scripts in order to organize them better, in a similar way we can with nodes in tree view.

It is not clear that this will ?! This is just a list of the open script editor.

Duplicate of #4775, sorry

Tried to search for script reorder or list, but I could not find anything. Glad to see it already exists :)


Scores in 'test.py' returning same 'scores' result for all proposals in 'test_net()'

Hi all,
I followed the training example in the readme to train with PASCAL VOC2007.
I am checking the classes in the 'scores' variable returned for each region proposal in the test_net() function in lib/fast_rcc/test.py and it gives the save result for each proposal for every image:
00 = {float32} 0.874722
01 = {float32} 0.00287288
02 = {float32} 0.00362293
03 = {float32} 0.00530484
04 = {float32} 0.00261565
05 = {float32} 0.00183657
06 = {float32} 0.00277678
07 = {float32} 0.0105681
08 = {float32} 0.00673886
09 = {float32} 0.00719575
10 = {float32} 0.00310469
11 = {float32} 0.00295222
12 = {float32} 0.00845009
13 = {float32} 0.00609355
14 = {float32} 0.00457908
15 = {float32} 0.0397893
16 = {float32} 0.00352177
17 = {float32} 0.00188703
18 = {float32} 0.00401282
19 = {float32} 0.00429039
20 = {float32} 0.00306445
I plotted all of the proposals without a threshold and they seem to be in the same spot for every image:

Could this be a problem with the model, restoring the model or training?
I am restoring the model using:
saver.restore(sess, '~/workspace/Faster-RCNN_TF/output/faster_rcnn_end2end/voc_2007_trainval/VGGnet_fast_rcnn_iter_70000.ckpt')

EDIT
Found the issue. I accidentally specified the --network parameter as VGGnet_test when training.


TypeError: 'type' object is not subscriptable

Description
Linux Mint 20.2, Python 3.8.10:
$ python3 -m systembridgebackend

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/aso/.local/lib/python3.8/site-packages/systembridgebackend/__main__.py", line 6, in <module>
    from systembridgeshared.const import SETTING_AUTOSTART, SETTING_LOG_LEVEL
  File "/home/aso/.local/lib/python3.8/site-packages/systembridgeshared/const.py", line 4, in <module>
    from .models.data import Data
  File "/home/aso/.local/lib/python3.8/site-packages/systembridgeshared/models/data.py", line 16, in <module>
    from .sensors import Sensors
  File "/home/aso/.local/lib/python3.8/site-packages/systembridgeshared/models/sensors.py", line 11, in <module>
    class Sensors(BaseModel):
  File "pydantic/main.py", line 179, in pydantic.main.ModelMetaclass.__new__
  File "pydantic/typing.py", line 399, in pydantic.typing.resolve_annotations
    """Special type construct to mark class variables.
  File "/usr/lib/python3.8/typing.py", line 270, in _eval_type
    return t._evaluate(globalns, localns)
  File "/usr/lib/python3.8/typing.py", line 518, in _evaluate
    eval(self.__forward_code__, globalns, localns),
  File "<string>", line 1, in <module>
TypeError: 'type' object is not subscriptable

Fresh installation, first run. Also, tried in venv but with same result.
What Platform / OS are you running?
Linux
What version are you running?
3.4.9
Anything in the logs or a references that might be useful?
No response
Additional information
No response

Will add a note that 3.9 and above is required


Wire up ClearlyDefined importer/walker.

It does include the whole configuration aspects (even for less configurable importers).


Update README.md

@ravikr126
Hello Sir, I've changed the "tech used" part of README file by adding the badges of respective languages. Please review it and accept the pull request.
THANK YOU SIR :)

I can't merge this pr due to code of conduct.


phpsdk-vc15-x64.bat does not detach after calling

I am writing a script, which should compile PHP 7.2 on a Windows system in an automatic way. So, whenever there is a new version for PHP 7.2, I do not have to do all this stuff by hand. For this, I am using batch. But after calling phpsdk-vc15-x64.bat, I get this output and my script does not go on:

[vcvarsall.bat] Environment initialized for: 'x64'
PHP SDK 2.1.5-dev
OS architecture:    64-bit
Build architecture: 64-bit
Visual C++:         15
PHP-SDK path:       D:\some\path\to\php7.2\build\deps
D:\some\path\to\php7.2\build
$

In my batch file, there is this written:
:: ...
set "PHP_SDK_X64=%PHP_DEPS%\phpsdk-vc15-x64.bat"
:: ...
call "%PHP_SDK_X64%"

It does not matter, what I am writing after my call of phpsdk-vc15-x64.bat, my script stop at the dollar sign $.
Can you give me a way how to handle this problem? This seems to be a bug for me.

I just looked, where this problem might come from. I found out, when I change the last line in the file phpsdk_dumpenv.bat from
exit /b %errorlevel%
to
exit %errorlevel%
then the script does not stop with a dollar sign.

@weltling Thanks for your answer. It helped me to solve my problem. Now, I can compile PHP7.2.


When using umap with init_pos=paga, got strange result

When i use umap with the parameter init_pos='paga', I got a strange result.

sc.pl.umap(adata,color='louvain')

no error

Versions:

scanpy==1.4.4 anndata==0.6.22.post1 umap==0.3.9 numpy==1.17.3 scipy==1.3.1 pandas==0.25.0 scikit-learn==0.21.2 statsmodels==0.10.1 python-igraph==0.7.1 louvain==0.6.1

Could you provide some more details? It'd be useful to see a script that can reproduce this behavior from scratch. There are some guides on how to write this up in the contributing section. Thanks!

Yeah, you deleted the issue template that prompts you to do this. In the future we might just close issues when people do that, it’s rude.

Yeah, you deleted the issue template that prompts you to do this. In the future we might just close issues when people do that, it’s rude.

Sorry for deleting the issue template.
Here are details:
I just followed the example of PAGA for hematopoiesis in mouse (Paul et al., 2015) to cope with my data.I want to recomputing the umap embedding using PAGA-initialization.

I got strange umap embedding even though i have tried several different  parameters.
Thanks!

Please post (as text, not image) some code that will create sp in a way that reproduces the umap, something like:
import scanpy as sc
sp = sc.read('sp.loom', backup_url='https://datastore.org/sp.loom')
sc.pp.???(sp)
...

@dhtc was that the same data as the previous plot?
Also, I have a suspicion about what's happening. Could you try calling sc.tl.umap(sp, init_pos="paga") instead of passing an array?

Because the paper have not been published, so i can't offer the data to reproduce this problem.
Here are the codes:
import scanpy as sc
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import anndata
import matplotlib as mpl
import scipy
from IPython.core.display import display, HTML
display(HTML("<style>.container { width:90% !important; }</style>"))

###settings###
sc.settings.verbosity = 1
sc.logging.print_versions()
results_file = './write/sp.h5ad'
sc.settings.set_figure_params(dpi=150)

sp=sc.read('sp_velo.loom')
sc.pp.normalize_total(sp,target_sum=1e6,key_added='norm_factor')
sc.pp.log1p(sp)
sp.raw=sp
sc.pp.highly_variable_genes(sp, n_top_genes=2000)
sc.pl.highly_variable_genes(sp)
sp = sp[:, sp.var['highly_variable']]
sc.pp.combat(sp,key='batch',covariates=['sample'])
sc.pp.scale(sp, max_value=10)
sc.tl.pca(sp, svd_solver='arpack')
sc.pl.pca_variance_ratio(sp, log=True)
sc.pp.neighbors(sp, n_neighbors=10, n_pcs=30)
sc.tl.diffmap(sp)
sc.pp.neighbors(sp, n_neighbors=20, use_rep='X_diffmap')
sc.tl.louvain(sp,resolution=1)
sc.tl.paga(sp)
_, axs = plt.subplots(ncols=1, figsize=(24, 10), gridspec_kw={'wspace': 0.05, 'left': 0.12})
sc.pl.paga(sp,color='louvain',layout='fa',pos=pos_coord,threshold=0.2,ax=axs)
from scanpy.tools._utils import get_init_pos_from_paga as init
sc.tl.umap(sp,init_pos=init(sp))
sc.pl.umap(sp,color='louvain')

Thanks!

@ivirshup
Yeah, it was the same data as the privious plot. I tried calling sc.tl.umap(sp, init_pos="paga") but meet an error. I just use the get_init_pos_from_paga function to solve this error as mention in #769 .Thanks!
TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of type(CPUDispatcher(<function rdist at 0x7f90e19f58c8>)) with parameters (array(float64, 1d, C), array(float64, 1d, C))
Known signatures:
 * (array(float32, 1d, A), array(float32, 1d, A)) -> float32
 * parameterized
[1] During: resolving callee type: type(CPUDispatcher(<function rdist at 0x7f90e19f58c8>))
[2] During: typing of call at /datc/dh_data/.conda_env/scrna/lib/python3.6/site-packages/umap/umap_.py (797)

File "../../../../.conda_env/scrna/lib/python3.6/site-packages/umap/umap_.py", line 797:
def optimize_layout(
    <source elided>

                dist_squared = rdist(current, other)
                ^

This is not usually a problem with Numba itself but instead often caused by
the use of unsupported features or an issue in resolving types.

To see Python/NumPy features supported by the latest release of Numba visit:
http://numba.pydata.org/numba-doc/latest/reference/pysupported.html
and
http://numba.pydata.org/numba-doc/latest/reference/numpysupported.html

For more information about typing errors and how to debug them visit:
http://numba.pydata.org/numba-doc/latest/user/troubleshoot.html#my-code-doesn-t-compile

If you think your code should work with Numba, please report the error message
and traceback, along with a minimal reproducer at:
https://github.com/numba/numba/issues/new

Thanks for posting that code, it's very helpful for figuring this stuff out.
I tried running that code on one of our example datasets, and wasn't able to reproduce your results (however, one of the variables pos_coord wasn't defined):
import scanpy as sc
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import anndata
import matplotlib as mpl
import scipy

sc.logging.print_versions()
# scanpy==1.4.4.post1 anndata==0.6.22.post1 umap==0.3.10 numpy==1.17.3 scipy==1.3.1
# pandas==0.25.3 scikit-learn==0.21.3 statsmodels==0.10.1 python-igraph==0.7.1 louvain==0.6.1

sp = sc.datasets.pbmc3k()
sc.pp.normalize_total(sp,target_sum=1e6,key_added='norm_factor')
sc.pp.log1p(sp)
sp.raw=sp
sc.pp.highly_variable_genes(sp, n_top_genes=2000)
sc.pl.highly_variable_genes(sp)
sp = sp[:, sp.var['highly_variable']]
sc.pp.scale(sp, max_value=10)
sc.tl.pca(sp, svd_solver='arpack')
sc.pl.pca_variance_ratio(sp, log=True)
sc.pp.neighbors(sp, n_neighbors=10, n_pcs=30)
sc.tl.diffmap(sp)
sc.pp.neighbors(sp, n_neighbors=20, use_rep='X_diffmap')
sc.tl.louvain(sp,resolution=1)
sc.tl.paga(sp)
_, axs = plt.subplots(ncols=1, figsize=(24, 10), gridspec_kw={'wspace': 0.05, 'left': 0.12})
# Modified this call because pos_coord wasn't defined:
# sc.pl.paga(sp,color='louvain',layout='fa',pos=pos_coord,threshold=0.2,ax=axs)
sc.pl.paga(sp,color='louvain',layout='fa',threshold=0.2,ax=axs)
from scanpy.tools._utils import get_init_pos_from_paga as init
sc.tl.umap(sp,init_pos=init(sp))
sc.pl.umap(sp,color='louvain')

The final plot looks normal enough:

Right now, there are a lot of variables in this script. There's a few things to try:

Check if pos_coord is causing the issue
I noticed your scanpy version wasn't the same as the current release, could you update that?
If you run the script with the dataset I used, does your plot still have those strange rectangular layouts?
Can you cut down the number of commands you used, and potentially even the amount of data? This will limit the number of variables that could be causing the behavior.


Now it's possible to specify a version generator.

Also added public protocol to know the version of a persisted object's id.
Issue #16

test that fails is the same as always (we need a fix :( )

not sure I like the block to specify version generator... what about a strategy?
(I know anything that understands "value" will work, but... I don't know :P)... anyway I will "preliminary accept" the PR, we can improve later.

The issue was closed with #24


./build.sh: line 52: cd: /Users//asahi-installer/package/Frameworks/Python.framework/Versions/Current: No such file or directory

Hello, i encountered an error when i try to build asahi-installer on my m1 mac at (read title, and screen for more details)

i manually unzipped the Python installer PKG, copied the relevant file to the folder and ran rest of the build.sh commands myself

Duplicate of #3


Update change-update-channels.md

Sorry, fixed two more occurrences of the task

@tunnelofsludge   Thanks again. I found 2 more instances, but that should be all of them.


feat: Rework serialization

Please, look at the CHANGELOG.md for the detailed list of changes.

@alexeyinkin This PR also resolves #6 (duplicates: #4, #5).
@gmpassos Looking forward to see these changes in pub.dev!

Published:
yaml_writer 2.0.0


XS✔ ◾ Updated mattermost docs

Updated mattermost docs

@hussnain612 Image is available for testing. docker pull stakater/workshop-exercise:SNAPSHOT-PR-92-92231c2d


[Question] Can we get the pretrained projector weights for llava-7b-v1?

Question
I've been running some experiments around llava-7b-v0 because the pretrained projector weights are not released for 7b-v1. However this has been problematic due to the tokenization issue with vicuna v0, resulting in improper masking of labels during finetuning. Can you make the projector weights available for us to experiment with?

Thanks!


Add custom_black/white_list

PR types

New features
PR changes

APIs
Description

Add custom_black/white_list
Add max_eval_iters
Add recompute_granularity args

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.gongenlei seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Each repo have there own prisma client

Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
if you have 2 different backend in an turborepo and they both have there own schema then they should not overwrite each other
Describe the solution you'd like
Able to have own prisma client of that repo
Describe alternatives you've considered
.

generator client {
  provider = "prisma-client-js"
  output   = "../client"
}

datasource db {
  provider = "sqlite"
  url      = env("DATABASE_URL")
}

model Car {
  id        Int      @id @default(autoincrement())
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  name      String
  price     Int
  sold      Boolean  @default(false)
}

import { PrismaClient } from '../../client';

export const prisma = new PrismaClient();


Fix some edge cases with code_copy

More detailed comment in here.
The YP specifies that we should stop copying for CODECOPY / EXTCODECOPY (while we currently pad with zeroes using memset when the offset is too large, and we don't check that offset + copy_size can go over the codesize, which can fail if we copy non-byte elements). The current failure on main is dues to the test_extcodecopy which generates a random code and random offsets / sizes to copy to. I think it would need a rewrite, to handle those specific edge cases manually and have deterministic failure.
@wborgeaud Was there a particular rationale for always padding with zeroes? This should be unrelated to the test failing so I could remove it, though it feels wasteful and it wasn't clear why we would need it. We do need padding with zeroes for CALLDATACOPY and RETURNDATACOPY though, which isn't implemented yet.

I've updated the test_extcodecopy test to make sure we don't touch memory parts we shouldn't. It's still non-deterministic (though running 10 times as opposed to once).


Upgrade putfile logs

Fixes #1359
For every object that we're putting from an obj store into pachyderm, it should not get its own log line. This will give us a breadcrumb trail of progress for large data set uploads.
Here's an example (expanded) log line thats generated from a recursive putfile now:
2017-02-25T01:26:40Z INFO
{
    "duration": "208.555745ms",
    "filepath": "test/20006.txt",
    "method": "putFileObjHelper",
    "objpath": "test/20006.txt",
    "request": "file:<commit:<repo:<name:\"debug\" > id:\"i\" > path:\"test\" > file_type:FILE_TYPE_REGULAR url:\"s3://tests3recursiveputs/test\" recursive:true ",
    "service": "pfs.API"
}

Ok the new logs look like:
2017-02-27T21:30:57Z INFO  protorpclog.Call
{
    "duration": "0.000s",
    "method": "putFileObj",
    "request": "file:<path:\"test/1876.txt\" > file_type:FILE_TYPE_REGULAR url:\"test/1876.txt\" recursive:true ",
    "service": "pfs.API"
}

And re-use the rpclog helpers.

Lovely


Stalled Catchups

https://console.cloud.google.com/logs/query;query="currently behind bitcoin core"
resource.type%3D"gce_instance";cursorTimestamp=2024-09-24T21:44:50.799233540Z;duration=PT12H?project=noted-extension-407918

testnet looks really stuck

And again with a new testnet node: https://console.cloud.google.com/logs/query;query=resource.type%3D"gce_instance"
resource.labels.instance_id%3D"7448402940028423273";cursorTimestamp=2024-09-24T23:14:44.242122237Z;startTime=2024-09-24T23:09:44.298Z;endTime=2024-09-24T23:14:44.298Z?project=noted-extension-407918
there was some restart?

Looks likes a RSFetcher problem:

Got the same on docker-compose VM on mainnet. Fixed with a restart.

Was this fixed by #2271 ?

yes most probably! but we must confirm before closing that the problems of the dev testnet server in recent days do not come from this bug.

hopefully fixed by #2285


Disable input areas not working

Can't disable input areas, still allows you to edit them

This has been fixed.


vue plugin for localForage

My site is https://github.com/dmlzj/vlf.
It is simple,but useful.

Feel free to open a PR to add it in the respective section of README :+1:


esnext and object initializer shorthand

jshint complains about this:
let foo = 1;
let obj = {foo};
Shouldn't that be okay and be treated just like this?
let obj = {foo: foo};

I just checked and this works in master version 2.6.0

@rwaldron this can be closed

Thanks!


Update repositories.txt

bot update

update

Hello @makerlabvn. The automated system here only operates on open pull requests. Since your submission was already accepted and the pull request merged, the bot won't pay any more attention to this pull request.
But this human is happy to provide assistance. Was there something you needed from the bot?


Microsoft office.com stopped auto-forwarding emails

I started seeing https://docs.microsoft.com/answers/comments/128806/view.html
Delivery has failed to these recipients or groups:

UUU SAAA<EMAIL_ADDRESS>Your message wasn't delivered because the recipient's email provider rejected it.

Diagnostic information for administrators:

Generating server: PH0PR18MB3975.namprd18.prod.outlook.com

<EMAIL_ADDRESS>Remote Server returned '550 5.7.520 Access denied, Your organization does not allow external forwarding. Please contact your administrator for further assistance. AS(7555)'

Original message headers:

Resent-From<EMAIL_ADDRESS>Received: from BN6PR19CA0098.namprd19.prod.outlook.com (2603:10b6:404:a0::12)
 by PH0PR18MB3975.namprd18.prod.outlook.com (2603:10b6:510:1::21) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.21; Tue, 10 Nov
 2020 17:03:50 +0000
Received: from BN3NAM04FT046.eop-NAM04.prod.protection.outlook.com
 (2603:10b6:404:a0:cafe::a2) by BN6PR19CA0098.outlook.office365.com
 (2603:10b6:404:a0::12) with Microsoft SMTP Server (version=TLS1_2,

IT admin took a look at the corporate setting. Microsoft changed the default rule that disables auto-fw. He created a custom rule for me. Defer to operation manager if I can continue to be awarded.


chore: minor changes to thorchain swapper tx status during swaps

Description
Investigation of #7371 led to some improvements to copy and a fix to swap status logic. Huzzah.
Issue (if applicable)
Stemmed from investigation of #7371
Risk

High Risk PRs Require 2 approvals

Low risk.

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

Testing
Test thorchain swaps complete as expected with better copy.
Engineering

Operations

[ ] :checkered_flag: My feature is behind a flag and doesn't require operations testing (yet)

Screenshots (if applicable)

Closed in favor of #7831

Closed in favor of #7831

The ruggiest of rugs 😂


Work around duplicate nanopb symbols in gRPC build

gRPC packages 0.3.7-dev from 2016 in its own third_party directory and
builds it into libraries produced by CMake. Firestore depends on <IP_ADDRESS>
via external dependency.
Firestore checks in its nanopb-generated sources for compatibility with
CocoaPods, where running the generator at build time on remote users'
machines is perilous. This means that Firestore's generated code must
match the version of nanopb available in CocoaPods.
Unfortunately, generated code from 0.3.7-dev and <IP_ADDRESS> are not
compatible with each other so we can't just downgrade the Firestore
CMake build to match gRPC and use its copy.
This change excludes gRPC's copy of nanopb until we get this fixed
upstream.

Note: this probably breaks the Windows build but I'm OK with that for now. We don't need desktop support until much later and this unblocks other development.


testing.postgresql not working

Traceback (most recent call last):
File "C:\Users\Oloyede Emmanuel\Documents\Hook\tests.py", line 42, in setUp
with testing.postgresql.Postgresql() as postgresql:
File "C:\Users\Oloyede Emmanuel\Documents\Hook\env\lib\site-packages\testing\common\database.py", line 92, in init
self.initialize()
File "C:\Users\Oloyede Emmanuel\Documents\Hook\env\lib\site-packages\testing\postgresql.py", line 50, in initialize
self.initdb = find_program('initdb', ['bin'])
File "C:\Users\Oloyede Emmanuel\Documents\Hook\env\lib\site-packages\testing\postgresql.py", line 144, in find_program
raise RuntimeError("command not found: %s" % name)
RuntimeError: command not found: initdb

I don't think this is a bug with this package. I have seen this before and fixed it by making sure that I had all the necessary PostgreSQL packages installed and then making sure that the path to initdb is included in the PATH environment variable.
$ sudo apt install postgresql postgresql-contrib
$ export PATH=$PATH:/usr/lib/postgresql/10/bin

I have PostgreSQL running, but I get the same error when trying to use testing.postgresql. Actually, the tests pass when I use the regural PostgreSQL database, but fail when trying to use the library.


Improved rtl support

tablex's align argument supposedly takes into account the context of the table when set to auto (the default), but seems to default to left even with text(dir: rtl).
Furthermore, the order of the columns goes left-to-right, and I could not find any way to override that behaviour (unlike align, which only requires a simple align: right).

Okay I've figured out map-rows: (idx, row) => row.map(c => (..c, x: 4 - c.x)) as a temporary workaround, but the core issue still stands I believe

How does the default table behave for your specified use cases?
(Also, you can try align: start for text direction-aware alignment)

align: start has the same effect as align: right with rtl text, it seems to be a more sane default if you ask me.
The default table has the behaviour I described as expected, with the column order following the text direction order.

Oh and trying to make rowspans work with this is an absolute pain. I'd go ahead and say it just should not be attempted until a proper fix for this is implemented

I see. Unfortunately, we cannot currently detect if text was set to RTL (blocked by https://github.com/typst/typst/issues/763), but we could add a rtl: bool toggle.
As I see it, however, the ideal way to tackle this would be to change the order of columns in your own data. It seems a bit weird for me for the table to produce output in a different order than the parameters it received (at least assuming we are using auto-positioning). Still, we could investigate adding this down the road. Thank you for reporting!

It seems a bit weird for me for the table to produce output in a different order than the parameters it received

Problem is, from the perspective of a native rtl-language speaker, in a rtl document — this describes the current behaviour. If I'm working with numerical data, sure; but if my table contains rtl text, I expect cells to be added right to left. The current behaviour is the one that produced output in a different order than the table received

I see, thanks for the info. I think it could be reasonable to add a toggle for this, though the implementation might get a bit complex for spans. I'll have to give this some further thought.

Great! Thanks for looking into this


⚠ Bofrost.be has degraded performance

In 21dffdf, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2707 ms

Resolved: Bofrost.be performance has improved in 8b7c348.


[QUESTION]  I can't add widgets in config file

Question
I can't add widgets in config file，
The device I use is Synology DS918，installed in docker
The configuration file added according to the official configuration tutorial
page does not load

Category
Setup and Deployment
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this question hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Delete the bottom widget configuration to display the page

Is there a problem with such a configuration file?
sections:

name: Today
icon: far fa-calendar-day
widgets:

type: clock
options:
format: en-GB
type: weather
options:
apiKey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
city: London
units: metric

But I just can't load it

required must have required property 'items' in /sections/8 | stdout

additionalProperties must NOT have additional properties in /sections/8 | stdout

It drives me crazy！！！

Please help me delete this question


Payment email tweaks

These are the final payment confirmation email tweaks from Faye, as well as adding a link to a feedback survey (to be removed once we start making public beta payments)

Cool, all seem like sensible suggestions. Done 👍


Question about custom cuda operators for tensor parallelism

We are currently trying to apply torchtitan to MoE models. MoE models require using grouped_gemm https://github.com/fanshiqing/grouped_gemm. GroupedGemm ops basically follow the same rule as in ColumnLinear and RowLinear. Is there any way to make custom ops dtensor compatible? Great thanks for help!

I think there are two high-level approaches:

Register a sharding propagation rule for your custom op (e.g.., https://github.com/pytorch/pytorch/blob/c12a4f2e65ad41b739aab1a261e2336b4a79fcfb/torch/distributed/_tensor/ops/math_ops.py#L1014)
Call non-DTensor compatible ops with DTensor._local_tensor and create a DTensor with the appropriate sharding afterwards

I think both approaches are equally viable if the permute input and output have the same sharding. If you are performing expert parallelism across devices, the second approach is probably easier at the moment.

For the second method mentioned by @yifuwang, both ColwiseParallel and RowwiseParalle have the options to convert the output to local tensors. Both also convert the input tensor to DTensor if the inputs are torch.Tensor. So you will be able to combine non-DTensor compatible ops with ColwiseParallel and RowwiseParalle

Curious, regarding this figure in your repo, which value(s) do you want to DTensor'ize? The input? Each of the Experts? Or representing the whole group of experts as a big DTensor? (each expert being a subset of rows or columns of it). Would appreciate your comment.

We would like both the input and the expert weights to be in DTensor just like the FFN layer in dense models. Specially, the gate can be parallelized via SequenceParallel. Each expert can use the standard Column + Row Parallel. However, this is less efficient in computation as we have to loop over all the experts. By using GroupedGemm, the experts can be concatenated together and we just need to perform a single big GroupedGemm.
The weights of the whole experts.

w1/w3: [num_experts, hidden_size, ffn_size]  -> [num_experts, hidden_size, ffn_size // tp]
w2: [num_experts, ffn_size, hidden_size] -> [num_experts, ffn_size // tp, hidden_size]

We can use similar techniques as in ColumnParallel for w1, w3 and RowParallel for w2. But we need GroupedGemm operators to know the TP sharding propagation rule as in torch.matmul.
Note that this is still tensor parallelism. We can further perform expert parallelism by distributing experts onto different Expert Parallel Group. This further shards the weights to

w1/w3: [num_experts, hidden_size, ffn_size]  -> [num_experts // ep, hidden_size, ffn_size // tp]
w2: [num_experts, ffn_size, hidden_size] -> [num_experts // ep, ffn_size // tp, hidden_size]

In expert parallelism, we simply distribute the tokens corresponding to that particular experts to that EP group and discards the rest. The inputs can be hard to express in DTensor as it is uneven sharding in EP group. But inside each EP group, we can use DTensor to represent the inputs.

You can also try DTensor local_map as how we enabled FusedRMSNorm in torchtitan: #404

@vermouth1992 Support for custom op registration was added in https://github.com/pytorch/pytorch/pull/131108. Consider giving it a try!


cshtml as script template

Please consider how a blazor page/view and or function could be used to generate output as a HTML script template of a given type handlebars,knockout,jquery etc.

I had put the following in gitter, but, I think this issue is kind of asking along the same lines.
Trying to figure out what the recommended strategy is to include a *@

the 1st

To have a successful experience with Blazor you should think of it like other SPA frameworks such as React or Angular. That is, you should use Blazor itself to present and update your UI. If you modify the Blazor-controlled DOM via an external tool like jQuery then you're in a world of unsupported weirdness. Blazor can't necessarily update your UI correctly if it doesn't match the state it expects (just like React or others can't in the same situation).
I'll close this because I hope it's resolved the question, but please let me know if not.


Updated SegmentIdentity to remove format as URI

Please link to the issue #526

PR needs more changes. Closing it for now.


🐛 noDelete is trying to fix unsetting HTMLElement dataset properties

Environment information
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset

>  When the attribute is set, its value is always converted to a string. For example: element.dataset.example = null is converted into data-example="null".

> To remove an attribute, you can use the delete operator: delete element.dataset.keyname.

What happened?
delete el.dataset.dateOfBirth;
changed to
el.dataset.dateOfBirth = undefined;
Expected result
delete el.dataset.dateOfBirth;
left as is or...
el.removeAttribute('data-date-of-birth');
I'm not sure which is preferable at least in terms of performance.
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

Doesn't this work with the suggestion provided?

@ematipico could you explain, I'm not that familiar with biome.
We are using "@biomejs/biome": "1.4.1", and run it via biome lint .

Is the code suggested by Biome still work for what you're doing?
el.dataset.dateOfBirth = undefined;

No because When the attribute is set, its value is always converted to a string so dateOfBirth becomes the string "undefined"
el = document.createElement("div");
el.dataset.dateOfBirth = undefined;


sealer pull image error

What happened:
sealer pull
sealer pull registry.cn-hongkong.aliyuncs.com/sealyun/kubernetes-amd64:v1.19.9
2021-05-07 10:15:59 [WARN] [github.com/alibaba/sealer/image/base_image_manager.go:57] failed to decode auth info, username and password would be empty, err: auth for registry.cn-hongkong.aliyuncs.com doesn't exist
Start to Pull Image registry.cn-hongkong.aliyuncs.com/sealyun/kubernetes-amd64:v1.19.9
2021-05-07 10:16:02 [EROR] open /var/lib/seadent/metadata/layerdb: no such file or directory

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

sealer version (use sealer version):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

this issues is fixed in (https://github.com/alibaba/sealer/pull/36)

ok.


Join Field: Incorrect Parent Relationship Assignment When Adding a New Document

Link to reproduction
No response
Environment Info
Binaries:
  Node: 20.9.0
  npm: 10.1.0
  Yarn: 1.22.19
  pnpm: 9.7.0
Relevant Packages:
  payload: 3.0.0-beta.108
  next: 15.0.0-canary.160
  @payloadcms/db-mongodb: 3.0.0-beta.108
  @payloadcms/db-postgres: 3.0.0-beta.108
  @payloadcms/graphql: 3.0.0-beta.108
  @payloadcms/next/utilities: 3.0.0-beta.108
  @payloadcms/richtext-lexical: 3.0.0-beta.108
  @payloadcms/richtext-slate: 3.0.0-beta.108
  @payloadcms/translations: 3.0.0-beta.108
  @payloadcms/ui/shared: 3.0.0-beta.108
  react: 19.0.0-rc-5dcb0097-20240918
  react-dom: 19.0.0-rc-5dcb0097-20240918
Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 19.6.0: Tue Feb 15 21:39:11 PST 2022; root:xnu-6153.141.59~1/RELEASE_X86_64
  Available memory (MB): 16384
  Available CPU cores: 4

Describe the Bug
I'm working with Postgres and using numeric IDs. When adding a new entry to a join-field-table, the parent relationship should be automatically set for the new entry. However, the parent is not being set correctly. When I attempt to save the newly created record, I get the following error: "This relationship field has the following invalid relationships: 1 0."
This issue might be related to the ID type, I've experienced a similar error in the past.
Reproduction Steps

Clone payload-3.0-demo
Update package.json as mentioned in PR #8323
Switch the database from MongoDB to Postgres
Add a relationship field to the pages collection

{
  slug: 'pages',
  admin: {
    useAsTitle: 'title',
  },
  fields: [
    {
      name: 'title',
      type: 'text',
    },
    {
      name: 'content',
      type: 'richText',
    },
    {
      name: 'user',
      type: 'relationship',
      relationTo: 'users',
    },
  ],
},

Add join field to the users collection

{
  slug: 'users',
  auth: true,
  access: {
    delete: () => false,
    update: () => false,
  },
  fields: [
    {
      name: 'pages',
      type: 'join',
      collection: 'pages',
      on: 'user',
    },
  ],
},

Open a user document and click the "Create new Page" button.
A drawer opens to create a new document, but it sets the parent relationship incorrectly. The label of the relationship field appears as "Untitled - ID: 1". If you try to save the document, you get an error.

Adapters and Plugins
No response

Hey @tobiasiv,
I was able to reproduce your issue. However, in order to reproduce this issue, you have to disable the drafts: { autosave: <number> } setting in the collection configuration.
In the process of reproducing your issue I stumbled upon two other issues that seem related to the creation of documents from the "Join" type Drawer component.

Conditional fields are late/lazy to re-render. I can confirm this by selecting the Low Impact hero type in the pages collection and seeing that the media field isn't being hidden away.
With draft autosaves the new document is stuck on Saving... and never actually saves a draft or creates a DB entry - likely due to the aforementioned issue where the error reads: This relationship field has the following invalid relationships: {Id} 0, where {Id} is the numerical id of the relation object

I'm attaching two videos to show these issues in practice.
https://github.com/user-attachments/assets/b418aa26-8f6e-4dff-8bb3-fc255ab42f2b
The above video shows a reproduction of this issue, as well as the issue mentioned in (1).
https://github.com/user-attachments/assets/c259f707-ec5a-4534-85ff-480ac7f8801d
This second video shows (2), and requires you have autosave enabled. In the video, I have an autosave interval of 100. No errors were generated.

Hey @DanRibbens - It seems this issue might have been missed. Could you please take a look? I’d really appreciate it!

Hey @tobiasiv this was fixed in #9381 and has been released as of v3.0.2. Let me know if you're still experiencing issues after upgrading. And thank you @akhrarovsaid for confirming this in such detail.

With draft autosaves the new document is stuck on Saving...

This was likely fixed in #9364. Join fields with autosave-enabled collections were broken in a few ways. This likely also fixes the issue you've described about conditional fields but I'd need you to report back on that one. Feel free to open new ticket(s) for that if needed.


Bad entity mapping in "Multiple Password Reset by User"

Describe the bug
Analytic Rule "multiple password reset by user" may have issues with Host entity when a match is found in SigninLogs.
To Reproduce
Steps to reproduce the behavior:
Make this rule trigger for SigninLogs and you will find this in the entities:

This is because of the wrong entity mapping is done in line 68 of the template here.
and then this field (Comptuter) is converted to string and mapped to Host entity.

tagging @shainw and @petebryan

Yea, this has been a problem for quite some time now tbh.

Thanks @ashwin-patil !

Are there any plans for fixing this alert rule? I don't think a rule this broken should be published as a template rule :-(

@ashwin-patil  do we have any update on this ?

Sorry for the delay on this fix. We have added fix for entity parsing for now in PR #1834 .
we are also working on improving the logic of this detection to be less noisy , will raise separate PR for that change.

Sorry for the delay on this fix. We have added fix for entity parsing for now in PR #1834 . we are also working on improving the logic of this detection to be less noisy , will raise separate PR for that change.

@ashwin-patil
How far is this fix deployed in the Azure Sentinel already since Jun 21, 2021?
I am still observing the same issue "Multiple password reset by User not mapping correctly" in my Azure Sentinel.
The host entry is neither IP nor FQDN, but<EMAIL_ADDRESS>""], which is still not correct.
Thank you for your feedback


Import declaration of type does works if an imported variable name does not match the original type name in the namespaces approach.

Search terms
namespaces, import, renaming, types
Steps to reproduce the bug

Create the d.ts file with the following content in the empty folder

declare module NamespaceA {
	export interface InterfaceA { }
	//export type renamedInterfaceA =  InterfaceA; // WA to typedoc v0.15
}
declare module NamespaceB {
	export interface InterfaceA { }
}
declare module NamespaceC {
	import renamedInterfaceA = NamespaceA.InterfaceA;
	import InterfaceA = NamespaceB.InterfaceA;

	export class TestClass {
		testMethod1(options: renamedInterfaceA): any;
		testMethod2(options: InterfaceA): any;
	}
}

Run

typedoc --includeDeclarations --excludePrivate --target ES5 .

See the generated types of the parameter of testMethod1 and testMethod2
The JSON output equvalent: typedoc019.ts405.zip
Expected Behavior
The  "option" parameter of testMethod1 is referred to the NamespaceA.InterfaceA.
The  "option" parameter of testMethod2 is referred to the NamespaceB.InterfaceA.
Actual Behavior
The "option" parameter of testMethod1 has the incorrect type and referred to the root of NamespaceC. In json renamedInterfaceA is variable inside NamespaceC without type.
The "option" parameter of testMethod2 has the correct type and referred to the NamespaceB.InterfaceA.
Environment

Typedoc version: 0.19.2
TypeScript version: 4.0.5
Node.js version: 12.18.3
OS: windows 10

Possible related tickets:
https://github.com/TypeStrong/typedoc/issues/1353
https://github.com/TypeStrong/typedoc/issues/435
Does this issue is going to be fixed in v0.20 ?

Yep, this is fixed in v0.20. I had to make one change because I apparently broke global files, but in v0.20.0-beta.12 this produces the expected result.

I have also tested my issue solution with<EMAIL_ADDRESS>and it works as expected.  Thank you, very much for your work. Typedoc is a very helpful tool!


fix: Remove the marginfi account check at the end

Closing as not stated why this is necessary.

Closing as not stated why this is necessary.

The idea for this branch comes from https://github.com/mrgnlabs/marginfi-v2/issues/212.
I think checking the account status at the end of the function is redundant, so I commented it out. Do you mean to explain the reason when submitting the PR?
    // check!(
    //     !marginf_account.get_flag(DISABLED_FLAG),
    //     MarginfiError::AccountDisabled
    // );


Throw exception if requested config file (-c) does not exist

Relates to issue #759 which I thought was clearly a bug, not alerting users that they have specifically requested a config file that gets quietly ignored.
However, running the existing tests showed two failures from this change in parameters.feature. I've "fixed" those failures, but I'm not 100% sure if the -c unexistent part was desirable there, or even harmful? Hmm.

This change makes sense to me


Clicking on “Use password” is returning false, without having entered the password

Steps to reproduce
when the Authentication required popup appears, click on Use password and the field for entering the password appears, but a false is also returned in the auth.authenticate() function
Expected results
the ideal would be to wait for the password to be entered and validated, and then have the return true/false
Actual results
returning false
Code sample
Code sample
import 'package:local_auth/local_auth.dart';

 final bool didAuthenticate = await auth.authenticate(
        localizedReason: 'Access to the app with biometrics',);

print(didAuthenticate);

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
W/WindowOnBackDispatcher( 9659): sendCancelIfRunning: isInProgress=falsecallback=androidx.activity.OnBackPressedDispatcher$Api33Impl$$ExternalSyntheticLambda0@cf791f5
D/BiometricPrompt( 9659): Cancel BP authentication requested for: 53
2
W/WindowOnBackDispatcher( 9659): sendCancelIfRunning: isInProgress=falsecallback=androidx.activity.OnBackPressedDispatcher$Api33Impl$$ExternalSyntheticLambda0@cf791f5
D/BiometricPrompt( 9659): Cancel BP authentication requested for: 54
I/flutter ( 9659): false
W/WindowOnBackDispatcher( 9659): sendCancelIfRunning: isInProgress=falsecallback=androidx.activity.OnBackPressedDispatcher$Api33Impl$$ExternalSyntheticLambda0@cf791f5
I/HandWritingStubImpl( 9659): refreshLastKeyboardType: 1
I/HandWritingStubImpl( 9659): getCurrentKeyboardType: 1

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.22.2, on Microsoft Windows [versÆo 10.0.19044.3086], locale pt-BR)
    • Flutter version 3.22.2 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (2 days ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Ferramentas de Build do Visual Studio 2019 16.11.15)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
    • Ferramentas de Build do Visual Studio 2019 version 16.11.32510.428
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[√] VS Code (version 1.90.0)
    • VS Code at C:\Users\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.90.0

[√] Connected device (4 available)
    • Windows (desktop)   • windows          • windows-x64    • Microsoft Windows [versÆo 10.0.19044.3086]
    • Chrome (web)        • chrome           • web-javascript • Google Chrome 125.0.6422.113
    • Edge (web)          • edge             • web-javascript • Microsoft Edge 125.0.2535.79

[√] Network resources
    • All expected network resources are available.

• No issues found!

Hi @vitoramaral10
I checked this on Android device which enabled Screen lock as Password but I see it worked as expected on package example. The result value (bool) is only returned when the authentication has been finished. I am using Pixel 7, Android 14.
What is your device info (OS, model)? Which screen lock methods are available on it? And what is your current package version? (please check local_auth_android from pubspec.lock file)

Hello,
my device is a Xiaomi Redmi 10 5g using android 14
and I have enabled fingerprint and password

I checked this on two devices which also enabled password and fingerprint:
1. Pixel 7, Android 14
When the authentication dialog prompts, select Use password button:

Then the Enter password screen appears but the returned value is not visible on the output console. It only returns false if I close Enter password screen.
2. Realme 6, Android 11
The Password button does not appear on authentication dialog, it is only displayed when I try a wrong finger first. Once I choose Password method, it navigates to Enter password screen where I can enter my password and have the same result as Pixel 7.
That being said, this works as expected on my end.
What is your current package version? Can you confirm this again with package sample code?


Metric: Issues Age

When fetching total count of issues, also grab all the created_at dates of all of the open issues
Calculate how many days each issue has been open
Export the mean and median days issue_days_open per repository into the data.json file

👋 I'm going to try and attempt this.
I will be OOO Dec 11, 2023 - Dec 15, 2023 so feel free to pick this up while I'm out :)

Yesterday, I tried creating a graphql query using the explorer tool and the docs.
I ended up adding a new file with the following query (I'm new to graphql so please let me know if I can optimize this):
{
  organization(login: "WorldHealthOrganization") {
    repositories(first: 100, privacy: PUBLIC) {
 			edges {
        node {
          issues(last:100, states:OPEN) {
            edges {
              node {
                createdAt
              }
            }
          }
        }
      }
    }
  }
}

I created a branch (calculate-issue-age) with this query so far.

I'm not sure if we need to create a separate query/file to get this information. I originally tried modifying the existing org-repos-info.graphql query, but the explorer was returning errors ("Field 'issues' has an argument conflict: {last:\"100\",states:\"OPEN\"} or {}?"):

 modifying the `org-repos-info.graphql` query attempt
{
  organization(login: "WorldHealthOrganization") {
    repositories(first: 100, privacy: PUBLIC) {
      edges {
        node {
          issues(last:100, states:OPEN) {
            edges {
              node {
                createdAt
              }
            }
          }
          collaborators {
            totalCount
          }
          nameWithOwner
          projects {
            totalCount
          }
          projectsV2 {
            totalCount
          }
          discussions {
            totalCount
          }
          forks {
            totalCount
          }
          isPrivate
          issues {
            totalCount
          }
          licenseInfo {
            name
          }
          watchers {
            totalCount
          }
        }
      }
    }
  }
}

{
  organization(login: "WorldHealthOrganization") {
    repositories(first: 100, privacy: PUBLIC) {
      edges {
        node {
          openIssue: issues(last:100, states:OPEN) {
            edges {
              node {
                createdAt
              }
            }
          }
          collaborators {
            totalCount
          }
          nameWithOwner
          projects {
            totalCount
          }
          projectsV2 {
            totalCount
          }
          discussions {
            totalCount
          }
          forks {
            totalCount
          }
          isPrivate
          issues {
            totalCount
          }
          licenseInfo {
            name
          }
          watchers {
            totalCount
          }
        }
      }
    }
  }
}

Ok, I updated that query. I'm working on forming the query with githubv4, but I'm getting errors because my structs aren't correct (I think) 😅
I have:
		OpenIssues struct {
			TotalCount githubv4.Int
			Nodes      []struct {
				Issue struct {
					CreatedAt githubv4.DateTime
				}
			}
		} `graphql:"openIssues: issues(states: OPEN)"`

For
 openIssues: issues(states:OPEN) {
            edges {
              node {
                createdAt
              }
            }
          }

The data was added to our pull in #93 🥳 Last step is to add it to the data table for display to the user.  @Lehcar I can put a PR up for that today unless you feel like jumping on it?

The data was added to our pull in #93 🥳 Last step is to add it to the data table for display to the user. @Lehcar I can put a PR up for that today unless you feel like jumping on it?

Thanks for doing this! Sorry, I just saw this--I've been catching up on emails 😅

No worries - it was fun and didn't take too long to do 😄


Ignoring my settings overrides on MacOS High Sierra?

Any tips?  I searched through the closed issues and didn't find any resolutions or anything so just curious if there is a known issue with pasting after changing those settings... or if there is anyway to verify them or debug them?

Ahh, thought projectRoot was the currently selected project folder, but it looks like it's using the top folder of the workspace?

Hello, I can't get you meaning from the title.
projectRoot is the top folder open by VScode.


tag v0.4

It would be great to get a v0.4 version tagged if the library is ready, because of the updating of google/auth from v0.7 to v0.9, which matches google/apiclient

We have logging coming in the next few days. I'd love to get that into 0.4 if it's not super urgent! :)

works for me 👍

@bshaffer v0.4.0 is now available!

woot! thanks.
On Wed, Jul 6, 2016 at 8:48 AM John Dennis Pedrie<EMAIL_ADDRESS>wrote:

@bshaffer https://github.com/bshaffer v0.4.0 is now available!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-php/issues/71#issuecomment-230814443,
or mute the thread
https://github.com/notifications/unsubscribe/AAGWBZ1TI2yCN3z7WZYAAujnocaViEqzks5qS85FgaJpZM4JAo5M
.


Doesn't work with Chrome Canary

At the time of the creation of this issue, Chrome is at v49 and Chrome Canary is at v51.  I was able to see that this extension is working for v49 but not for v51 (Canary).

not working for me in chrome Version 49.0.2623.110 (64-bit) .  Went through the installation steps 3 times.

@cosmicdreams I've not tried with Canary yet. I'll write some tests and run it and see why it's not working. Thanks for the report :+1:
@anakinjay Can you see the Templates panel or not seeing anything?

I have Version 49.0.2623.112 (64-bit) and I can see it hiding the theme_debug comments but the "templates" tab comes back saying it couldn't find any.

I just got this working with Chrome Canary and a Drupal 7 site.  My version on Mac is: 51.0.2703.0 canary (64-bit). I'll see if I can get it working with a D8 site this weekend.

I'm on Chrome 50.0.2661.75 and I've followed the installation steps and enabled debugging on a D7 site. I can see the debug comments in the HTML on other browsers but not on Chrome. I can't see the "templates" tab in dev tools.


Are there any plans to release the app on the Andriod?

At the moment, no, I don't have any plans for Android. But, never say never 😉


CLDC-3730 Update tasklist styling

Use govuk classes for tasklists styling

Do you think it's worth adding padding to the task list item on the left and right; removing the underline of the link and/or making on the entire hoverable area the cursor change to a pointer like a button.

Since we've got the entire task list area changing colour on hover now, I don't think we need to keep the link hover behaviour (at least not the underline). I wasn't able to get the cursor pointer to show up in the screen grabs above but it is possible to change it to a hand when hovering over the area.

@Dinssa In terms of the padding I think it should be the same as the component here, but let me know if it deviates from it: https://govuk-components.netlify.app/components/task-list/#input-erb-task-list-with-hints
And I think the hover state shows up for me (at least locally) I wonder if it's because our review apps don't get all the styling sometimes due to how our css gets compiled