[WIP] [TypeChecker] Score disjunctions and constraint components to prune search space

Before trying to solve constraint system components:

Score constraint components/buckets based on how many disjunctions
they have, that helps to prune some of the branches with incorrect
solutions early which limits overall depth of the search.

In each of the constraint component score disjunctions
based on how much information do we have about them, the
more information we have the easier it is to prune search
space of incorrect branches earlier.

When dealing with explicit coercions apply their conversions
early to avoid searching for solutions with incorrect types.

@swift-ci please test

@swift-ci Please test source compatibility

@swift-ci Please test source compatibility

@DougGregor @rudkx  I've rebased everything with the latest master and made conversion propagation a part of DisjunctionChoice solving, and addressed both of the comments.

@swift-ci please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 52bede3c5818269c1ab2226837ca9045984d8fe4
Test requested by - @xedin

Looks like one of the expressions is no longer too complex :)

@swift-ci please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 52bede3c5818269c1ab2226837ca9045984d8fe4
Test requested by - @xedin

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 52bede3c5818269c1ab2226837ca9045984d8fe4
Test requested by - @xedin

@swift-ci please test source compatibility

@swift-ci please test source compatibility

@swift-ci please test source compatibility

@swift-ci please test

@swift-ci please test source compatibility

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - c0db10be0f26a69a0b4ab16efcb1c1857d7ced4b
Test requested by - @xedin

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - c0db10be0f26a69a0b4ab16efcb1c1857d7ced4b
Test requested by - @xedin

@swift-ci please test source compatibility

@swift-ci please smoke test

@swift-ci please smoke test OS X platform

@swift-ci please smoke test OS X platform

@swift-ci please smoke test OS X platform

@swift-ci please clean smoke test OS X platform

Build failed
Swift Test OS X Platform
Git Sha - 906820ae220a82127a50232bcd9c01488c7398d4

@swift-ci please smoke test OS X platform

@swift-ci please smoke test OS X platform

@swift-ci please smoke test OS X platform

@swift-ci please smoke test OS X platform

@swift-ci please smoke test OS X platform

@swift-ci please smoke test OS X platform

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test OS X platform

@swift-ci please smoke test OS X platform

I can’t look at the code, but I’d like to ask about the algorithm per se.
I believe you’re solving a CSP here, right? By doing some variant of backtracking. Picking the variables with the least amount of options, so that you can branch less early and reduce the search space quickly. Am I right, there?
Um... if I am, I was thinking that maybe you could use a Heap (heapify your array/vector of variables). That way, the ordering step (O(nlogn)) is ommited, and then the whole solving process might become less costly.
I don’t know if it’s the best option, but in many heuristic algorithms that’s a classic :). In this case, CSP isn’t a “search” like the problems heuristics usually are used for... but the “score” you’re using fits the classic definition of “heuristic”. And therefore maybe it calls for similar tools 🤷🏻♂🙂
I’d like to know the details of this problem. It looks really interesting :)

@felix91gr It's close but not really, the algorithm/heuristic is actually trying to figure out which disjunction (with N choices) to use first to possibly reduce the depth of the search, the problem we have is that type variable domains are not known until all disjunction choices are all picked, only after that we can go ahead and pick bindings for type variables and check their satisfiability to constraints we have, which makes it more complicated comparing to classing CSP where most of the algorithms are based on the fixed variable domains.

Ahh. I see. Then, it’s like a search for trying “easy disjunctions” first. That search happens inside one step of assigning variables and checking constraint satisfiability. And I guess you try with every disjunction in the list?
(Do we have a documentation on this CS algorithm? I’d like to learn about it and work on it)

@felix91gr Kind of yes, but it doesn't actually assign anything, it's impossible really until all disjunction choices are set, but if something else did assign type to one of the type variables related to the disjunction it adds to it's score because it's more likely to filter out some of the branches.
Unfortunately we don't really have much documentation when it comes to expression type checker but we are working on it...

We could talk on twitter (or anything). I could write an outline of the problem and algorithm after I understand it. It’ll be a pleasure.

(And maybe add some drawings)

@felix91gr Thanks, I'll figure out if it works at all or not and let you know! I've actually made it a separate PR for it https://github.com/apple/swift/pull/11723

Bah. Pardon me. I’m very tired...
You already have something. How can I help? Does it need proofreading, visualization, completion...?
I want this algorithm to be written somewhere, that way people (like me) who aren’t that llvm/cpp savvy, can help from the algorithmic side of it. It would also help polishing the implementation, if need be.
My point is, you have my ~axe~ hands.

Oh, I see. Cool! Best of luck... and if you need me, just @ me somewhere ;)

Will do, thanks!


Read-me outlining changes coming

Leave a branch for development to track what I am doing lolz

I apologize for the mix-up but I inadvertently opened this PR when I intended to do it on my local fork as the upstream codebase.  Closing


Clicking on the Camera tool repeatedly results in the view to zoom out a little bit each time.

Describe the bug
When turning the camera ON and OFF reapeatedly, the view is zoomed out a little bit each time. Please see screen capture attached.
The original view is when I open the iModel.

This one is the zoom level we see after 6 clicks on the camera.

To Reproduce
Steps to reproduce the behavior:

Open an iModel in iTwin.js viewer (i.e. Design Review)
Click on the "Turn Camera OFF" and then "Turn Camera ON". Do it few times.
RESULT: The view zooms out a little bit each time we click on the camera.

Expected behavior
The view should not zoom out each time we click on the Camera tool.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the applicable information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
iTwin.js Version [e.g. 2.5.3]

Additional context
Add any other context about the problem here.

Why is this a problem (i.e., in what real workflow do users repeatedly turn camera off and on)?

You are right, probably not willing to happen in a real workflow. This was reported by one of our QA who tests limit cases.


Release: fixed settings and tests for using .stag username prefix

:tada: This PR is included in version 0.17.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add nonce to tracking script template

Rationale
Tracking scripts are triggering our new content security policy. They need the nonce.
Related Pull Requests

N/A

Changes

Add nonce to Google analytics tracking script template
Add instructions for adding nonce to custom tracking scripts

Seems like this might want to go to 24.1-SNAPSHOT.

Targeting 24.1: #5122


[Feature] Run hound on templates

Howdy,
Is it possible to run hound on templates e.g. .erb, .haml...

Hound now supports reviewing HAML (in beta).
To enable it add this to your .hound.yml:
haml:
  enabled: true

:tada:

Annnd we will soon support ERBLint too! https://github.com/houndci/hound/pull/1641

Hound now reviews ERB files. https://github.com/houndci/hound/issues/1599#issuecomment-440537267 💥


create photos page

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 46.817%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
326

Relevant Lines:
575

💛  - Coveralls

gotta do yarn format


[Release Tooling] Move resource bundles, if any, outside of xcframework (approach 2)

Closing in favor of #12114


Create a default QR code scanner

My last projects ( and probably my next one too ) all worked with QR code scanners. There is an Appwise Barcode scanner file but it is a little bit outdated and Android now has its CameraX Jetpack library that can be used with this.
I've already implemented a basic version but I can rewrite this for core if it's something you guys think we can use

I think this is a very good idea... maybe better to create a different library for that so we don't necessarily clutter Core with such functionalities, as I assume you'll have the need for some custom attributes, strings, colors,... (resources in general).
I noticed Jesse also made one in a project, maybe get together with him and see what can be done?

This has been picked up with the goals/rocks and also previously by Dieter and will be made into a standalone library named ScanWise


ARROW-15329: [Python] Add character limit to Table.to_string()

This prevents table column preview from being too long.
The main disadvantage is there is not way to guarantee that we don't truncate the preview in the middle of a value. For example, [20, 30, 40] could be truncated to [20, 30, 4..., which might be a little misleadning.

@jorisvandenbossche Do you want to take a look at this PR?

Closing because it has been untouched for a while, in case it's still relevant feel free to reopen and move it forward 👍


Setup script to generate load for longevity stand

We need a minimal script that would send transactions periodically to longevity stand and check that longevity stand has applied these changes. This is essential for Preview Release 1.

The script is ready but needs to be checked.

Script: https://github.com/soramitsu/iroha2-longevity-load-rs
Currently being integrated into longevity stand env.


fix deepFreeze to handle functions as values in strict mode

@Raynos

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


bug event and point to report id index

With the new indexes deleting the reports should be much faster.
Storing the reports in update mode (using the same run name) and
deleting a run should be much faster.

Some measurement reports using PostgreSQL:
Total number of reports: 37874
Unique reports: 15741
Without the indexes:
First store:  9,42s user 0,18s system 7% cpu 2:13,49 total
Second store on the same run: 9,46s user 0,18s system 1% cpu 11:47,78 total
Deleting the run: 601677.908 ms
With indexes:
First store:  9,47s user 0,15s system 6% cpu 2:18,24 total
Second store on the same run: 9,20s user 0,22s system 6% cpu 2:20,77 total
Deleting the run: 383.538 ms


Add Amazon EC2 to virtual machines

Thanks @sylr
Could you provide a small dmidecode output for the record ? cause I don't have this on the few ec2 VM I have access to

perfect, thanks!


1.6 No longer functional - Expired Certificate? - Critical

Rancher Server Setup

Rancher version: 1.6.30
Installation option (Docker install/Helm Chart): Docker
Proxy/Cert Details:

Describe the bug
I have a legacy docker setup for a couple of services that are still on 1.6. It looks like a certificate of some kind expired today, and all hosts are now refusing to connect. I see these errors on the server:
time="2021-09-30T21:33:09Z" level=info msg="Downloading key from http://localhost:8081/v1/scripts/api.crt"
time="2021-09-30T21:33:09Z" level=fatal msg="Error getting config." error="Invalid key content"

And these host errors from rancher agent:
ERROR: https://XXXXX/v1 is not accessible (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)

I can confirm that this also happens on a fresh install.
I think a hardcoded certificate may have expired. There is one on the agent that expired today:
Validity
Not Before: Sep 30 21:12:19 2000 GMT
Not After : Sep 30 14:01:15 2021 GMT
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            44:af:b0:80:d6:a3:27:ba:89:30:39:86:2e:f8:40:6b
        Signature Algorithm: sha1WithRSAEncryption
        Issuer: O=Digital Signature Trust Co., CN=DST Root CA X3
        Validity
            Not Before: Sep 30 21:12:19 2000 GMT
            Not After : Sep 30 14:01:15 2021 GMT
        Subject: O=Digital Signature Trust Co., CN=DST Root CA X3
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (2048 bit)
                Modulus:
                    00:df:af:e9:97:50:08:83:57:b4:cc:62:65:f6:90:
                    82:ec:c7:d3:2c:6b:30:ca:5b:ec:d9:c3:7d:c7:40:
                    c1:18:14:8b:e0:e8:33:76:49:2a:e3:3f:21:49:93:
                    ac:4e:0e:af:3e:48:cb:65:ee:fc:d3:21:0f:65:d2:
                    2a:d9:32:8f:8c:e5:f7:77:b0:12:7b:b5:95:c0:89:
                    a3:a9:ba:ed:73:2e:7a:0c:06:32:83:a2:7e:8a:14:
                    30:cd:11:a0:e1:2a:38:b9:79:0a:31:fd:50:bd:80:
                    65:df:b7:51:63:83:c8:e2:88:61:ea:4b:61:81:ec:
                    52:6b:b9:a2:e2:4b:1a:28:9f:48:a3:9e:0c:da:09:
                    8e:3e:17:2e:1e:dd:20:df:5b:c6:2a:8a:ab:2e:bd:
                    70:ad:c5:0b:1a:25:90:74:72:c5:7b:6a:ab:34:d6:
                    30:89:ff:e5:68:13:7b:54:0b:c8:d6:ae:ec:5a:9c:
                    92:1e:3d:64:b3:8c:c6:df:bf:c9:41:70:ec:16:72:
                    d5:26:ec:38:55:39:43:d0:fc:fd:18:5c:40:f1:97:
                    eb:d5:9a:9b:8d:1d:ba:da:25:b9:c6:d8:df:c1:15:
                    02:3a:ab:da:6e:f1:3e:2e:f5:5c:08:9c:3c:d6:83:
                    69:e4:10:9b:19:2a:b6:29:57:e3:e5:3d:9b:9f:f0:
                    02:5d
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Basic Constraints: critical
                CA:TRUE
            X509v3 Key Usage: critical
                Certificate Sign, CRL Sign
            X509v3 Subject Key Identifier:
                C4:A7:B1:A4:7B:2C:71:FA:DB:E1:4B:90:75:FF:C4:15:60:85:89:10
    Signature Algorithm: sha1WithRSAEncryption
         a3:1a:2c:9b:17:00:5c:a9:1e:ee:28:66:37:3a:bf:83:c7:3f:
         4b:c3:09:a0:95:20:5d:e3:d9:59:44:d2:3e:0d:3e:bd:8a:4b:
         a0:74:1f:ce:10:82:9c:74:1a:1d:7e:98:1a:dd:cb:13:4b:b3:
         20:44:e4:91:e9:cc:fc:7d:a5:db:6a:e5:fe:e6:fd:e0:4e:dd:
         b7:00:3a:b5:70:49:af:f2:e5:eb:02:f1:d1:02:8b:19:cb:94:
         3a:5e:48:c4:18:1e:58:19:5f:1e:02:5a:f0:0c:f1:b1:ad:a9:
         dc:59:86:8b:6e:e9:91:f5:86:ca:fa:b9:66:33:aa:59:5b:ce:
         e2:a7:16:73:47:cb:2b:cc:99:b0:37:48:cf:e3:56:4b:f5:cf:
         0f:0c:72:32:87:c6:f0:44:bb:53:72:6d:43:f5:26:48:9a:52:
         67:b7:58:ab:fe:67:76:71:78:db:0d:a2:56:14:13:39:24:31:
         85:a2:a8:02:5a:30:47:e1:dd:50:07:bc:02:09:90:00:eb:64:
         63:60:9b:16:bc:88:c9:12:e6:d2:7d:91:8b:f9:3d:32:8d:65:
         b4:e9:7c:b1:57:76:ea:c5:b6:28:39:bf:15:65:1c:c8:f6:77:
         96:6a:0a:8d:77:0b:d8:91:0b:04:8e:07:db:29:b6:0a:ee:9d:
         82:35:35:10

To Reproduce
Configure rancher 1.6, try to connect a host
Result
Failure to connect
Expected Result
The hosts should connect
Additional context
Here are my server startup logs;
210930 21:32:34 [Note] /usr/sbin/mysqld (mysqld 5.5.62-0ubuntu<IP_ADDRESS>) starting as process 27 ...
Uptime: 2  Threads: 1  Questions: 2  Slow queries: 0  Opens: 34  Flush tables: 1  Open tables: 26  Queries per second avg: 1.000
Setting up database
CATTLE_AGENT_PACKAGE_HOST_API_URL=/usr/share/cattle/artifacts/host-api.tar.gz
CATTLE_AGENT_PACKAGE_PER_HOST_SUBNET_URL=/usr/share/cattle/artifacts/rancher-per-host-subnet.zip
CATTLE_AGENT_PACKAGE_PYTHON_AGENT_URL=/usr/share/cattle/artifacts/go-agent.tar.gz
CATTLE_AGENT_PACKAGE_WINDOWS_AGENT_URL=/usr/share/cattle/artifacts/go-agent.zip
CATTLE_API_UI_URL=//releases.rancher.com/api-ui/1.0.8
CATTLE_CATTLE_VERSION=v0.183.83
CATTLE_DB_CATTLE_DATABASE=mysql
CATTLE_DB_CATTLE_MYSQL_HOST=localhost
CATTLE_DB_CATTLE_MYSQL_NAME=cattle
CATTLE_DB_CATTLE_MYSQL_PORT=3306
CATTLE_DB_CATTLE_USERNAME=cattle
CATTLE_GRAPHITE_HOST=
CATTLE_GRAPHITE_PORT=
CATTLE_HOME=/var/lib/cattle
CATTLE_HOST_API_PROXY_MODE=embedded
CATTLE_LOGBACK_OUTPUT_GELF_HOST=
CATTLE_LOGBACK_OUTPUT_GELF_PORT=
CATTLE_RANCHER_CLI_VERSION=v0.6.14
CATTLE_RANCHER_COMPOSE_VERSION=v0.12.5
CATTLE_RANCHER_SERVER_IMAGE=rancher/server
CATTLE_RANCHER_SERVER_VERSION=v1.6.30
CATTLE_USE_LOCAL_ARTIFACTS=true
DEFAULT_CATTLE_API_UI_CSS_URL=/api-ui/ui.min.css
DEFAULT_CATTLE_API_UI_INDEX=//releases.rancher.com/ui/1.6.52
DEFAULT_CATTLE_API_UI_JS_URL=/api-ui/ui.min.js
DEFAULT_CATTLE_AUTH_SERVICE_EXECUTE=true
DEFAULT_CATTLE_CATALOG_EXECUTE=true
DEFAULT_CATTLE_CATALOG_URL={"catalogs":{"community":{"url":"https://git.rancher.io/community-catalog.git","branch":"master"},"library":{"url":"https://git.rancher.io/rancher-catalog.git","branch":"${RELEASE}"}}}
DEFAULT_CATTLE_COMPOSE_EXECUTOR_EXECUTE=true
DEFAULT_CATTLE_MACHINE_EXECUTE=true
DEFAULT_CATTLE_RANCHER_CLI_DARWIN_URL=https://releases.rancher.com/cli/v0.6.14/rancher-darwin-amd64-v0.6.14.tar.gz
DEFAULT_CATTLE_RANCHER_CLI_LINUX_URL=https://releases.rancher.com/cli/v0.6.14/rancher-linux-amd64-v0.6.14.tar.gz
DEFAULT_CATTLE_RANCHER_CLI_WINDOWS_URL=https://releases.rancher.com/cli/v0.6.14/rancher-windows-386-v0.6.14.zip
DEFAULT_CATTLE_RANCHER_COMPOSE_DARWIN_URL=https://releases.rancher.com/compose/v0.12.5/rancher-compose-darwin-amd64-v0.12.5.tar.gz
DEFAULT_CATTLE_RANCHER_COMPOSE_LINUX_URL=https://releases.rancher.com/compose/v0.12.5/rancher-compose-linux-amd64-v0.12.5.tar.gz
DEFAULT_CATTLE_RANCHER_COMPOSE_WINDOWS_URL=https://releases.rancher.com/compose/v0.12.5/rancher-compose-windows-386-v0.12.5.zip
DEFAULT_CATTLE_SECRETS_API_EXECUTE=true
DEFAULT_CATTLE_WEBHOOK_SERVICE_EXECUTE=true
21:32:39.159 [main] INFO  ConsoleStatus - Loading configuration
2021-09-30 21:32:42,996 INFO    [main] [ConsoleStatus] Starting DB migration
2021-09-30 21:32:44,524 INFO    [main] [ConsoleStatus] DB migration done
2021-09-30 21:32:44,823 INFO    [main] [ConsoleStatus] Cluster membership changed [<IP_ADDRESS>:9345]
2021-09-30 21:32:44,823 INFO    [main] [ConsoleStatus] Checking cluster state on start-up
2021-09-30 21:32:44,824 INFO    [main] [ConsoleStatus] Waiting to become master
2021-09-30 21:33:06,015 INFO    [main] [ConsoleStatus] Loading processes
2021-09-30 21:33:06,365 INFO    [main] [ConsoleStatus] Starting [1/94]: LockDelegatorImpl
2021-09-30 21:33:06,365 INFO    [main] [ConsoleStatus] Starting [2/94]: AnnotatedListenerRegistration
2021-09-30 21:33:06,370 INFO    [main] [ConsoleStatus] Starting [3/94]: EventService
2021-09-30 21:33:06,370 INFO    [main] [ConsoleStatus] Starting [4/94]: DefaultObjectMetaDataManager
2021-09-30 21:33:07,032 INFO    [main] [ConsoleStatus] Starting [5/94]: JsonDefaultsProvider
2021-09-30 21:33:07,101 INFO    [main] [ConsoleStatus] Starting [6/94]: ObjectDefaultsPostInstantiationHandler
2021-09-30 21:33:07,102 INFO    [main] [ConsoleStatus] Starting [7/94]: DefaultProcessManager
2021-09-30 21:33:07,102 INFO    [main] [ConsoleStatus] Starting [8/94]: SampleDataStartupV3
2021-09-30 21:33:07,107 INFO    [main] [ConsoleStatus] Starting [9/94]: TaskManagerImpl
2021-09-30 21:33:07,131 INFO    [main] [ConsoleStatus] Starting [10/94]: ServiceAccountCreateStartup
2021-09-30 21:33:07,155 INFO    [main] [ConsoleStatus] Starting [11/94]: WebsocketProxyLauncher
2021-09-30 21:33:07,155 INFO    [main] [ConsoleStatus] Starting [12/94]: SampleDataStartupV15
2021-09-30 21:33:07,156 INFO    [main] [ConsoleStatus] Starting [13/94]: SchemaFactory:v1-admin
2021-09-30 21:33:07,390 INFO    [main] [ConsoleStatus] Starting [14/94]: SchemaFactory:v1-agent
2021-09-30 21:33:07,402 INFO    [main] [ConsoleStatus] Starting [15/94]: SchemaFactory:v1-agentRegister
2021-09-30 21:33:07,405 INFO    [main] [ConsoleStatus] Starting [16/94]: SchemaFactory:v1-base
2021-09-30 21:33:07,707 INFO    [main] [ConsoleStatus] Starting [17/94]: SchemaFactory:v1-member
2021-09-30 21:33:07,897 INFO    [main] [ConsoleStatus] Starting [18/94]: SchemaFactory:v1-owner
2021-09-30 21:33:08,056 INFO    [main] [ConsoleStatus] Starting [19/94]: SchemaFactory:v1-project
2021-09-30 21:33:08,211 INFO    [main] [ConsoleStatus] Starting [20/94]: SchemaFactory:v1-projectadmin
2021-09-30 21:33:08,366 INFO    [main] [ConsoleStatus] Starting [21/94]: SchemaFactory:v1-readAdmin
2021-09-30 21:33:08,560 INFO    [main] [ConsoleStatus] Starting [22/94]: SchemaFactory:v1-readonly
2021-09-30 21:33:08,707 INFO    [main] [ConsoleStatus] Starting [23/94]: SchemaFactory:v1-register
2021-09-30 21:33:08,713 INFO    [main] [ConsoleStatus] Starting [24/94]: SchemaFactory:v1-restricted
2021-09-30 21:33:08,862 INFO    [main] [ConsoleStatus] Starting [25/94]: SchemaFactory:v1-service
2021-09-30 21:33:09,055 INFO    [main] [ConsoleStatus] Starting [26/94]: SchemaFactory:v1-token
2021-09-30 21:33:09,059 INFO    [main] [ConsoleStatus] Starting [27/94]: SchemaFactory:v1-user
time="2021-09-30T21:33:09Z" level=info msg="Downloading key from http://localhost:8081/v1/scripts/api.crt"
time="2021-09-30T21:33:09Z" level=fatal msg="Error getting config." error="Invalid key content"
2021-09-30 21:33:09,229 INFO    [main] [ConsoleStatus] Starting [28/94]: AgentBasedProcessHandler
2021-09-30 21:33:09,229 INFO    [main] [ConsoleStatus] Starting [29/94]: AgentHostStateUpdate
2021-09-30 21:33:09,229 INFO    [main] [ConsoleStatus] Starting [30/94]: AgentManager
2021-09-30 21:33:09,230 INFO    [main] [ConsoleStatus] Starting [31/94]: AuthServiceLauncher
2021-09-30 21:33:09,231 INFO    [main] [ConsoleStatus] Starting [32/94]: BackupCreate
2021-09-30 21:33:09,233 INFO    [main] [ConsoleStatus] Starting [33/94]: BackupRemove
2021-09-30 21:33:09,233 INFO    [main] [ConsoleStatus] Starting [34/94]: CatalogLauncher
2021-09-30 21:33:09,233 INFO    [main] [ConsoleStatus] Starting [35/94]: ComposeExecutorLauncher
2021-09-30 21:33:09,233 INFO    [main] [ConsoleStatus] Starting [36/94]: ConfigItemRegistryImpl
2021-09-30 21:33:09,387 INFO    [main] [ConsoleStatus] Starting [37/94]: ConfigItemServerImpl
2021-09-30 21:33:09,503 INFO    [main] [ConsoleStatus] Starting [38/94]: ConfigUpdatePublisher
2021-09-30 21:33:09,503 INFO    [main] [ConsoleStatus] Starting [39/94]: DataManager
2021-09-30 21:33:09,504 INFO    [main] [ConsoleStatus] Starting [40/94]: DefaultAuthorizationProvider
2021-09-30 21:33:10,513 INFO    [main] [ConsoleStatus] Starting [41/94]: DefaultJooqResourceManager
2021-09-30 21:33:10,513 INFO    [main] [ConsoleStatus] Starting [42/94]: DefaultObjectSerializerFactoryImpl
2021-09-30 21:33:10,514 INFO    [main] [ConsoleStatus] Starting [43/94]: DockerComposeStackHandler
2021-09-30 21:33:10,514 INFO    [main] [ConsoleStatus] Starting [44/94]: DynamicExtensionManager
2021-09-30 21:33:10,514 INFO    [main] [ConsoleStatus] Starting [45/94]: ExtensionResourceManagerLocator
2021-09-30 21:33:10,514 INFO    [main] [ConsoleStatus] Starting [46/94]: HostApiRSAKeyProvider
2021-09-30 21:33:10,514 INFO    [main] [ConsoleStatus] Starting [47/94]: HostTemplateManager
2021-09-30 21:33:10,514 INFO    [main] [ConsoleStatus] Starting [48/94]: ImageStoragePoolMapActivate
2021-09-30 21:33:10,515 INFO    [main] [ConsoleStatus] Starting [49/94]: InstanceHostMapActivate
2021-09-30 21:33:10,516 INFO    [main] [ConsoleStatus] Starting [50/94]: InstanceHostMapDeactivate
2021-09-30 21:33:10,516 INFO    [main] [ConsoleStatus] Starting [51/94]: InstanceManager
2021-09-30 21:33:10,516 INFO    [main] [ConsoleStatus] Starting [52/94]: IpsecHealthcheckEnabledListener
2021-09-30 21:33:10,517 INFO    [main] [ConsoleStatus] Starting [53/94]: LoadBalancerServiceInstanceStopPreListener
2021-09-30 21:33:10,517 INFO    [main] [ConsoleStatus] Starting [54/94]: MachineDriverLoader
2021-09-30 21:33:10,518 INFO    [main] [ConsoleStatus] Starting [55/94]: MachineLauncher
2021-09-30 21:33:10,518 INFO    [main] [ConsoleStatus] Starting [56/94]: MetadataConfigItemFactory
2021-09-30 21:33:10,527 INFO    [main] [ConsoleStatus] Starting [57/94]: MountRemove
2021-09-30 21:33:10,528 INFO    [main] [ConsoleStatus] Starting [58/94]: PostInstancePurge
2021-09-30 21:33:10,528 INFO    [main] [ConsoleStatus] Starting [59/94]: PostStartLabelsProviders
2021-09-30 21:33:10,528 INFO    [main] [ConsoleStatus] Starting [60/94]: ProjectMemberResourceManager
2021-09-30 21:33:10,528 INFO    [main] [ConsoleStatus] Starting [61/94]: ProjectResourceManager
2021-09-30 21:33:10,528 INFO    [main] [ConsoleStatus] Starting [62/94]: PullTaskCreate
2021-09-30 21:33:10,528 INFO    [main] [ConsoleStatus] Starting [63/94]: RestoreFromBackup
2021-09-30 21:33:10,528 INFO    [main] [ConsoleStatus] Starting [64/94]: RevertToSnapshot
2021-09-30 21:33:10,528 INFO    [main] [ConsoleStatus] Starting [65/94]: SampleDataStartupV10
2021-09-30 21:33:10,529 INFO    [main] [ConsoleStatus] Starting [66/94]: SampleDataStartupV11
2021-09-30 21:33:10,530 INFO    [main] [ConsoleStatus] Starting [67/94]: SampleDataStartupV12
2021-09-30 21:33:10,530 INFO    [main] [ConsoleStatus] Starting [68/94]: SampleDataStartupV13
2021-09-30 21:33:10,531 INFO    [main] [ConsoleStatus] Starting [69/94]: SampleDataStartupV14
2021-09-30 21:33:10,532 INFO    [main] [ConsoleStatus] Starting [70/94]: SampleDataStartupV16
2021-09-30 21:33:10,532 INFO    [main] [ConsoleStatus] Starting [71/94]: SampleDataStartupV17
2021-09-30 21:33:10,533 INFO    [main] [ConsoleStatus] Starting [72/94]: SampleDataStartupV5
2021-09-30 21:33:10,533 INFO    [main] [ConsoleStatus] Starting [73/94]: SampleDataStartupV6
2021-09-30 21:33:10,534 INFO    [main] [ConsoleStatus] Starting [74/94]: SampleDataStartupV7
2021-09-30 21:33:10,535 INFO    [main] [ConsoleStatus] Starting [75/94]: SampleDataStartupV8
2021-09-30 21:33:10,535 INFO    [main] [ConsoleStatus] Starting [76/94]: SampleDataStartupV9
2021-09-30 21:33:10,536 INFO    [main] [ConsoleStatus] Starting [77/94]: SecretManager
2021-09-30 21:33:10,536 INFO    [main] [ConsoleStatus] Starting [78/94]: SecretsApiLauncher
2021-09-30 21:33:10,536 INFO    [main] [ConsoleStatus] Starting [79/94]: ServiceManager
2021-09-30 21:33:10,536 INFO    [main] [ConsoleStatus] Starting [80/94]: SettingManager
2021-09-30 21:33:10,536 INFO    [main] [ConsoleStatus] Starting [81/94]: SnapshotCreate
2021-09-30 21:33:10,536 INFO    [main] [ConsoleStatus] Starting [82/94]: SnapshotRemove
2021-09-30 21:33:10,536 INFO    [main] [ConsoleStatus] Starting [83/94]: StackAgentHandler
2021-09-30 21:33:10,536 INFO    [main] [ConsoleStatus] Starting [84/94]: StackAgentHandler
2021-09-30 21:33:10,537 INFO    [main] [ConsoleStatus] Starting [85/94]: StackAgentHandler
2021-09-30 21:33:10,537 INFO    [main] [ConsoleStatus] Starting [86/94]: StackAgentHandler
2021-09-30 21:33:10,537 INFO    [main] [ConsoleStatus] Starting [87/94]: StackAgentHandler
2021-09-30 21:33:10,537 INFO    [main] [ConsoleStatus] Starting [88/94]: TelemetryLauncher
2021-09-30 21:33:10,537 INFO    [main] [ConsoleStatus] Starting [89/94]: VolumeManager
2021-09-30 21:33:10,537 INFO    [main] [ConsoleStatus] Starting [90/94]: VolumeRemove
2021-09-30 21:33:10,537 INFO    [main] [ConsoleStatus] Starting [91/94]: VolumeStoragePoolMapActivate
2021-09-30 21:33:10,537 INFO    [main] [ConsoleStatus] Starting [92/94]: VolumeStoragePoolMapRemove
2021-09-30 21:33:10,537 INFO    [main] [ConsoleStatus] Starting [93/94]: WebhookServiceLauncher
2021-09-30 21:33:10,537 INFO    [main] [ConsoleStatus] Starting [94/94]: project.template.reload
2021-09-30 21:33:10,568 INFO    [main] [ConsoleStatus] [DONE ] [33763ms] Startup Succeeded, Listening on port 8081
time="2021-09-30T21:33:11Z" level=info msg="Downloading key from http://localhost:8081/v1/scripts/api.crt"
time="2021-09-30T21:33:11Z" level=fatal msg="Failed to configure cattle client: Get http://localhost:8080/v2-beta: dial tcp <IP_ADDRESS>:8080: connect: connection refused"
time="2021-09-30T21:33:11Z" level=warning msg="Couldn't load install uuid: Get http://localhost:8080/v2-beta: dial tcp <IP_ADDRESS>:8080: getsockopt: connection refused. Sleep 250ms and retry"
time="2021-09-30T21:33:11Z" level=info msg="Starting rancher-compose-executor" version=v0.14.30
time="2021-09-30T21:33:11Z" level=info msg="Starting websocket proxy. Listening on [:8080], Proxying to cattle API at [localhost:8081], Monitoring parent pid [10]."
time="2021-09-30T21:33:11Z" level=info msg="Configured http API filter"
time="2021-09-30T21:33:11Z" level=info msg="Configured authTokenValidator API filter"
time="2021-09-30T21:33:11Z" level=info msg="Master config file: master.conf"
time="2021-09-30T21:33:11Z" level=fatal msg="Unable to create event router" error="Get http://localhost:8080/v2-beta: dial tcp <IP_ADDRESS>:8080: getsockopt: connection refused"
time="2021-09-30T21:33:11Z" level=info msg="Downloading certificate from http://localhost:8081/v1/credentials/1c1/certificate"
time="2021-09-30T21:33:12Z" level=info msg="Fetch uuid f0134ced-180b-487a-968f-94c07b0af140 successfully"
time="2021-09-30T21:33:12Z" level=info msg="Starting Catalog Service (port 8088, refresh interval 300 seconds)"
time="2021-09-30T21:33:12Z" level=info msg="Starting go-machine-service..."

The 1.x server container doesn't even support TLS, so you must have an external nginx/haproxy/similar proxy providing termination.  The agents are connecting to that and are unable to verify the cert chain because the root certificate in that chain is expired.  So you need to serve up a cert that the agent can successfully validate.  As @StrongMonkey noted one of the Let'sEncrypt roots expired today, so you probably have a cert signed by it.
Rancher development mostly moved on to 2.x in 2017, and 1.6.x has not been patched or maintained for nearly 2 years, following a lengthy notice period.  I don't know if the newer Let'sEncrypt roots are in there or not, but we are not going to change anything or produce a new build with newer CA certs baked into it at this point.
You can also add extra CAs for the hosts to verify, or tell rancher about a self-signed one you generated yourself.

But you are running totally unsupported and unpatched software that is years old on top of a likely similarly-vintage stack of other abandoned versions of software in a fast-changing industry with frequent critical security flaws. I liked 1.x as much as the next person but please stop using our old software before it costs you.

Understood, this is not mission critical software, and so it's been a low priority to update it.
It looks like @StrongMonkey is correct. It's from SSL termination in front of Rancher. Because this worked in my browser, I assumed it was an internal private cert issue. Turns out it works in chrome, but not other applications. Sorry for wasting your time here.

For those running this old piece of legacy infra and haven't migrated yet to rancher2, here's what I did:
docker exec -it rancher-agent bash
apt-get update
apt-get install ca-certificates
vi /etc/ca-certificates.conf
# !mozilla/DST_Root_CA_X3.crt
update-ca-certificates
exit

It's the wildwest, persist the changes locally so that they remain when restarting the host:
docker commit rancher-agent rancher/agent:v1.2.11b

Rerun the host registration with the new container (get the registration command in the rancher UI with Add Host and use the rancher/agent:v1.2.11b image).
sudo docker run -d --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.11b https://rancher.example.com/v1/scripts/SOMEUUID

Rinse and repeat with the other hosts.
Yes shameful.

Update, other containers need the same treatment, such as rancher/metadata:v0.10.4 looking into it.

Yak got a trim
for image in "agent:v1.2.11" "metadata:v0.10.4" "net:v0.13.17" "healthcheck:v0.3.8"; do docker run -t --cidfile /tmp/$image.cid rancher/$image /bin/bash -cx 'apt-get update; apt-get install ca-certificates; sed -i "s/^mozilla\/DST_Root_CA_X3.crt/!mozilla\/DST_Root_CA_X3.crt/" /etc/ca-certificates.conf; update-ca-certificates;'; docker commit `cat /tmp/$image.cid` racher/$image; done

Deleting container in the rancher UI should ensure that the new images are picked up in the local cache.

For those running this old piece of legacy infra and haven't migrated yet to rancher2, here's what I did:
docker exec -it rancher-agent bash
apt-get update
apt-get install ca-certificates
vi /etc/ca-certificates.conf
# !mozilla/DST_Root_CA_X3.crt
update-ca-certificates
exit

It's the wildwest, persist the changes locally so that they remain when restarting the host:
docker commit rancher-agent rancher/agent:v1.2.11

Rerun the host registration with the new container (get the registration command in the rancher UI with Add Host).
sudo docker run -d --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.11 https://rancher.example.com/v1/scripts/SOMEUUID

Rinse and repeat with the other hosts.
Yes shameful.

unfortunately, not working for me still got lots of:
ERROR: https://rancher.is2.show/v1 is not accessible (server certificate verification failed. CAfile: /var/lib/rancher/etc/ssl/ca.crt CRLfile: none)

Thank you very much @jmatsushita for your quick and dirty workaround!
Ok for removing mozilla/DST_Root_CA_X3.crt from the /etc/ca-certificates.conf and updating certificates.
But is it enough?
I followed your procedure for the rancher-agent and get the same error as @lachnerd:
2021-10-04T10:42:17.342095374Z ERROR: https://manager.kheoos.com/v1 is not accessible (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)

Moreover if I connect to the rancher-agent and test SSL connectivity from it with:
openssl s_client -servername manager.kheoos.com -showcerts -connect manager.kheoos.com:443

The cerfiticate chain is still based on DST Root CA X3:
CONNECTED(00000003)
depth=3 O = Digital Signature Trust Co., CN = DST Root CA X3
verify error:num=10:certificate has expired
notAfter=Sep 30 14:01:15 2021 GMT
---
Certificate chain
 0 s:/CN=manager.kheoos.com
   i:/C=US/O=Let's Encrypt/CN=R3
-----BEGIN CERTIFICATE-----
###
-----END CERTIFICATE-----
 1 s:/C=US/O=Let's Encrypt/CN=R3
   i:/C=US/O=Internet Security Research Group/CN=ISRG Root X1
-----BEGIN CERTIFICATE-----
###
-----END CERTIFICATE-----
 2 s:/C=US/O=Internet Security Research Group/CN=ISRG Root X1
   i:/O=Digital Signature Trust Co./CN=DST Root CA X3
-----BEGIN CERTIFICATE-----
###
-----END CERTIFICATE-----
###

@jmatsushita @lachnerd I succeeded to launch the rancher-agent by:

removing every DST_Root_CA_X3 related files under /etc/ssl/certs/
clear the /etc/ssl/certs/ca-certificates.crt file and run update-ca-certificates

Here is how I rearranged the procedure:
# HOST
docker exec -it rancher-agent bash
# CONTAINER
apt-get update && apt-get install ca-certificates
sed -i '/DST_Root_CA_X3.crt/d' /etc/ca-certificates.conf
cd /etc/ssl/certs/ && ls -la | grep DST_Root_CA | awk '{print $9}' | xargs rm
> /etc/ssl/certs/ca-certificates.crt
update-ca-certificates
exit
### HOST
docker commit rancher-agent rancher/agent:v1.2.11

@jmatsushita @lachnerd I succeeded to launch the rancher-agent by:

removing every DST_Root_CA_X3 related files under /etc/ssl/certs/
clear the /etc/ssl/certs/ca-certificates.crt file and run update-ca-certificates

Here is how I rearranged the procedure:
# HOST
docker exec -it rancher-agent bash
# CONTAINER
apt-get update && apt-get install ca-certificates
sed -i '/DST_Root_CA_X3.crt/d' /etc/ca-certificates.conf
cd /etc/ssl/certs/ && ls -la | grep DST_Root_CA | awk '{print $9}' | xargs rm
> /etc/ssl/certs/ca-certificates.crt
update-ca-certificates
exit
### HOST
docker commit rancher-agent rancher/agent:v1.2.11

thx, i will try that...

The fastest way to get everything back up and running for me was to change my reverse proxy from Let's Encrypt ACME to zerossl. I am using this in front of Rancher:
https://github.com/nginx-proxy/acme-companion
I simply had to modify it to use Zerossl:
https://github.com/nginx-proxy/acme-companion/blob/d56d1aa9fd1d467479824d0db8b2ab043b469376/docs/Zero-SSL.md

@regbo Thanks for providing this.  Would you be able to provide some details/steps on how you were able to modify it to use zero SSL?
I'm in the exact same position but have been able to work around things by proxy'ing through cloudflare for now.
Thanks!


Why does memoizeWith take a variadic function

Why does memoizeWith take a variadic function rather than a unary function accepting an array of arguments?  This doesn't seem in line with the Ramda's general aversion to variadic functions, and in this case doesn't seem to serve a necessary or even useful purpose.  The same cannot be said of, for example, the first/last functions called in a pipe/compose sequence.
On a side note I've noticed @CrossEye expressing desire to make pipe and compose no longer variadic ( https://github.com/ramda/ramda/issues/2381#issuecomment-343960898 ), and I personally hope that doesn't (fully) happen.  In the most common scenarios, it would just pollute users' code with extraneous syntax, unless the functions at least retained variadic input support as well.  If this is directly discussed elsewhere, I'd like to respectfully chime in.

@evan-king:
Sorry, I somehow missed this when it was posted, and only noticed it now when trying to do some cleanup.
I wish we hadn't ever included any version of memoize, honestly.  The function is simply not a good fit for Ramda, and it's generally cleaner to use a bespoke version.  But if we're going to have it, I think it fits with other Ramda functions as best possible.  Sanctuary made the decision to exclusively support fixed-arity functions; that's both simpler and easier to maintain, but Ramda has always been designed to be more familiar to JS developers, who are used to variadic functions.
It wasn't clear to me if you thought that the key-generation function or both functions should be restricted to a unary function taking an array.  But I think we want to be able to memoize an arbitrary user function, including something like (...ns) => ns.reduce((a, b) => a + b, 0).  And it seems clear that the key-generation function should have the same signature as the main function, so we must support a variadic function there.
As to pipe/compose, I would like them not to be variadic simply to add consistency to the library.  But yes, it would entail users adding [ - ] to their invocations.  I wouldn't do this lightly, but could see this in a major version change.


Only upload coverage data for the test shard

That's the only shard that computes new coverage data.

@Hixie

I'm going to land this patch because this is seriously messing up our coverage data.


Please display the exact encoder command run

There is no way of seeing the exact encoder command if you want to reproduce a run locally for debugging purposes.  Please put it somewhere, preferably a place easier to find than the log.

It's currently in metrics_gather.sh, which isn't exactly machine-readable (and worse, isn't stored in the info.json file). Probably the first thing to do would be to move the CLI parameters out into a higher level.

On similar lines, it would be very useful to print the exact "configure" and "make" command-lines run.
With baseline changing frequently (as adopted experiments get turned on by default), sometimes questions pop up as to what experiments the "baseline" already contains.


Useless rules removal

Fixes runtimeverification/firefly#551
This fixes two warnings the llvm backend produces about useless rules

this looks okay with me but I'd rather someone else approve since I don't know this code very well. In particular, I'm not familiar with the BlockIdentifier sort.


another fix for docker release version

#107  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @iuwqyir and the rest of your teammates on  Graphite


Make some inter-module dependencies mandatory

Some dependencies between Jodd modules are currently optional.
It happens in practices that ppl are really not using them as much separately, so to avoid additional optional configuration of modules, make them mandatory.
For example: madvoc and pettite with proxetta.

Hey @moh-sushi one thing I need to review with someone.
Some modules have additional 'servlet'-related addons. For example, HTML parser has a JSP tag. So far, the servlet dependency of the servlet is optional. In other words:
jodd-lagarto   ---depends_on-->     servlet (optional)

This happens for 3 jodd modules.
I would like to turn around this dependency. Therefore, I would move all servlet dependend code to the jodd-servlet library, making jodd modules optional instead. In other words:
jodd-servlet   ---depends_on-->    jodd-lagarto (optional)

This way 3 libraries become "clean" without optional dependencies, and only one library, the servlet one, has optional dependencies.
wdyt?

Hi @igr ,
as far as i understand you properly:
my concerns are that the jodd servlet module contains code that contains actual to another module because it is domain / module specific (e.g. jodd-lagarto).
In other words : the jodd-servlet module recieves code from "foreign" domains / modules.

jodd-servlet   ---depends_on-->    jodd-lagarto (optional)

Proper direction?
While reading your comment , my thought is :
 jodd-lagarto (optional)  ---depends_on-->   jodd-servlet

There is no need to depend on jodd-servlet, since it is not used. jodd-lagarto optionally depends only on servlets. You are right about the domain/module specific concerns, I share the same.
I just wanted to remove optional dependency, but the only proper way would be to add an additional module (e.g. jodd-lagarto-servlet) which I am not sure if I would add it right now (unless we split jodd into several pieces :)

You are right about the domain/module specific concerns, I share the same.

Glad to see that we are having the same concerns in this topic.
If you really want to remove optional deps, i am okay with "jodd-lagarto-servlet" and similar modules.
Well, a short lock to e.g. spring-tx module.
It has optional deps , too.
If the optional deps are documented well, it is up to the user to ensure that these optional deps are available on classpath.

Good. Thank you for sharing your thoughts, just need a sanity check :))


Segmentation fault when calling HidApi::new()

Hello,
For the second time in a month I am getting a [1]    47775 segmentation fault error as soon as I initialize the API HidApi::new() and I have no idea why it does that since it has always been working in the past. The error disappears after I restart my machine but eventually comes back at some point.
I know I am not bringing a lot of information and that it is not going to help you that much but I wanted to report the problem in case there is something you want me to try while I am having the issue.

Are you still experiencing this issue in the newest version of the library?
Also, could you please give me some detail about the platform you are targeting, and a code example?
Sorry for the very late reply (I took over crate maintenance a week ago).

I am closing this issue now. @craigzour  if you are still interested, please open a new ticket.


B 21468 int

Agility ticket
Summary
We need to track all new updates of assigning and updating a counseling office to a move and add them to the Move history tab and display properly.
How to test

Login as a milmove customer, create an order, picking a non-prime counseled duty location, take note of the Counseling Office chosen.  Save the orders info and at least go through the process to upload an Orders document (don't need to create a shipment).
Go back to move created in step 1, Edit the orders, and change the Counseling office.
Go through step 1 again but pick a prime counseled location (NS Mayport).
Login as an office user and search for the move from step 1 and verify that the Counseling office displays properly in the Move history tab.
Search for the move from step 3 and verify that Counseling office does not show up since it was not available for a prime counseled move.

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against 708aa2d573d1e4c01528c7b94bfd151ed19e1890


Deduplicate constants

apache_beam/runners/dataflow/internal/names.py
apache_beam/runners/portability/stager.py
has same constants defined in both files.
Imported from Jira BEAM-5939. Original Jira may contain additional context.
Reported by: altay.

Could we close this issue because these two PRs have resolved it? (https://github.com/apache/beam/pull/13142) and (https://github.com/apache/beam/pull/6976)

Could we close this issue because these two PRs have resolved it? (#13142) and (#6976)

I agree with you.


bug: no Sound Notification switch on mobile devices

Prerequisites

[X] I have searched for existing issues that already report this problem, without success.

Script Version
1.3.4
Platform
Android
Current Behavior
Sound Notification switch od invisible on mobile device (Android - Dolphin [Browser).]
Expected Behavior
I wants to see Sound Notification switch :)
Steps to Reproduce
Just go to Notification settings :)
Additional Information
No response

In mobile , inactive tabs cannot produce sound, hence that option is not available

You have right but someone (for example me) use bot on mobile device with screen on and with the phone on the desk. I don't look at phone all the time ;)


Adopt formatOnSave changes

Since VS Code now has the editor.formatOnSave-setting and the onWillSaveTextDocument-event, this code should be revisited. I'd recommend to remove it and to rely on the built-in formatOnSave feature or to use the new event. Both will prevent unnecessary fs-operations and reduce the risk for endless write-event-write loops.
See https://code.visualstudio.com/updates#_format-on-save, Microsoft/vscode#12449, and Microsoft/vscode#239 for more details

Done

Thanks


Test Audicity install on basic trigger logic

Once we have the basic trigger in place, need to test it with Audicity.

New fresh DE org and scratch org
Install dreamhouse-audicity from github
Install Audicity
Configure Audicity using user guide
Test trigger
Needs feedback to docs and engineering team

Completed this. Ready to proceed.


event name case suggestion in template

In volar starter:

I define the event name using pascal case, but get kebab case suggrstion in template:
defineEmits<{
    (e: 'changeFontSize', newFontSize: number): void;
}>();

volar.completion.preferredAttrNameCase

@Sight-wcg I want kebab for non-event attr, camel for event attr


How about write properties to file function?

I never thought about it. Is possible create a library with some restrictions for read/write property files.


Make optics hierarchy pic more readable

Can you also add Zipping/Grate optics which is supertype of Equivalent and subtype of Update and Upcast?

@Odomontois signature?

@Odomontois done. also included diagram's source file.

Actually arrows are in the the wrong direction.
Zipping is supertype of Equivalent, so arrow should be from Equivalent to Zipping not otherwise.
Same for Update/Upcast with Zipping

@Odomontois done


AUR package for Arch Linux

Hi @Unknwon
I created a AUR package for Arch Linux https://aur.archlinux.org/packages/gogs/
So they can install use it quickly with yaourt on Arch Linux.
I packaged the app by downnloading the official binary. Creating a user in /var/lib/gogs and repository is put in /usr/share/gogs/. A systemd unit file is used to launch the app.
The custom config file (/var/lib/gogs/custom/conf/app.ini is symlink to /etc/gogs.conf).
The package is similar to how the AUR package of https://github.com/gitlabhq/gitlabhq works.https://aur.archlinux.org/packages/gitlab/
Can we include somewhere in document to point user to it?

Can someone reopen this issue?
As the repo/package on AUR is now broken, both three package is not build-able.

You can use https://github.com/edacval/pkgbuilds/ as starting point . Works for me perfectly.

As I use arch on my workstation, and have extensive knowledge of pkgbuilds,
I can take at look at the package in AUR :)

I also started from the AUR version. Deeply rewrote and simplified PKGBUILD, package can be easily upgraded or replaced with another upstream branch version.

Thanks, I will update the packages.

Gogs AUR package - Build options "sqlite pam cert"
The current version of the gogs package is possible to build.
Gogs-Git AUR package - Build options "sqlite pam cert"
The package is updated to current commit. Build on my machine with positive result.
Gogs-Git-Dev AUR package - Build options "sqlite pam cert"
gogs-git-dev package is updated to current commit. Build with error, I think this is a code problem.
...
cmd/cert.go:33: cannot use runCert (type func(*cli.Context) error) as type func(*cli.Context) in field value
cmd/dump.go:28: cannot use runDump (type func(*cli.Context) error) as type func(*cli.Context) in field value
cmd/serve.go:35: cannot use runServ (type func(*cli.Context) error) as type func(*cli.Context) in field value
cmd/update.go:21: cannot use runUpdate (type func(*cli.Context) error) as type func(*cli.Context) in field value
cmd/web.go:55: cannot use runWeb (type func(*cli.Context) error) as type func(*cli.Context) in field value

When you are not possible to build the package, can you please post the error message output of the make process.

@edacval My package is not so simple, because I read the .gopmfile and load the correct commit version from the repository.

@fanningert Any idea why would this always happen?
==> Entering fakeroot environment...
chmod: cannot access '/tmp/aur-gogs-git/gogs-git/pkg': No such file or directory
/usr/bin/fakeroot: line 181:  8920 User defined signal 1   FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"
==> ERROR: Makepkg was unable to build gogs-git.
==> Restart building gogs-git ? [y/N]

@lifehome Please look at this post https://bbs.archlinux.org/viewtopic.php?id=160829

Uh, I have not messed up my system with i686 and x86_64 libs, so thanks for your concern.
However after reading the whole post didn't really solve my question, any two cents?

I test the package build (on x86_64, armv6h, armv7h) with yaourt , packer and manually with makepkg. But I don't get your error.


Secure API with api-key

Add api-key security to API.
Not the admin API, there is a separate issue for that.
Maybe make a user interface for it in the admin UI to generate new keys and administer them.

This also fixed #126


Syntax correction of the text in Portuguese.

turma- people group
class - object-oriented programming
The other changes are to improve understanding of the text.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

@acqfel Thank you for  creating this PR.  However, since it was created, the underlying document has changed.  Can you please review and resolve the current merge conflicts?  It could be the changes to the underlying document are so significant that your changes are no longer relevant.  If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you.

@acqfel Thank you for creating this PR. However, since it was created, the underlying document has changed. Can you please review and resolve the current merge conflicts? It could be the changes to the underlying document are so significant that your changes are no longer relevant. If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you.

Thanks Randell Dawson,
I will close this PR and read the updated document.


[FLINK-15398][hotfix][doc]Correct catalog doc example mistake

What is the purpose of the change
Correct catalog doc example mistake
Brief change log

84b3810 Correct catalog doc example mistake

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): ( no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no )
The runtime per-record code paths (performance sensitive): ( no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: ( no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable )

@bowenli86 @wuchong to have a review.


Fix large memory use caused by the use of multiprocessing.imap_unordered.

Supersede #117
Introduction
Previously, I introduce multiprocessing.imap_unordered to accelerate the RegularInf parsing.
But after small scale tests with memory profiling and timeit, I found that comparing to the time it saves(around 10seconds), it consume 200MB~ extra memory, which is not so efficient.
This PR dips the use of multiprocessing.imap_unordered, and also reduce some memory footprint for RegularInf class.
Test and result
For one mainecu and one subecu environment, the memory usage on the mainecu drops from 867M~ to 664M~.

black is broken on version<22.3.0.
https://github.com/psf/black/issues/2964


Import Module issue (dataset, training)

I will re-iterate why this change is being tested. The original commands from the readme were causing an issue.

Running the program from root directory which is:

Align
python3 .\dataset\forced_alignment\align.py --audio_path .\dataset\forced_alignment\test.wav --script  .\dataset\forced_alignment\book.txt --aligned aligned.json

Generate clips
python3 .\dataset\clip_generator.py --audio_path .\dataset\forced_alignment\test.wav --forced_alignment_path .\aligned.json --output_path wavs --label_path metadata.csv

Running programs images
https://github.com/BenAAndrew/Voice-Cloning-App/issues/5#issue-834137013
https://github.com/BenAAndrew/Voice-Cloning-App/issues/5#issuecomment-801469139

@vinamramunot-tech Thanks for the PR. I will test soon and if everything still works I'll merge

I also want to let you know that these changes suggested were because I was only trying via command line. I haven't tried the web app because it didn't accept my input for the dataset. Please let me know if you have any questions or concerns.

@vinamramunot-tech I've tried testing it with the app but it cannot find the imports now. I will look into fixing these imports for the CLI approach at a later stage but were probably going to need to do this differently

@BenAAndrew That works! I am going to place this in draft until we come back to this discussion at a later stage. For now, I will try out the web page again.

This has been fixed in https://github.com/BenAAndrew/Voice-Cloning-App/commit/92f3cebd85c43063d55b1b63cce6c0d64bd6c6c8


Implications of licensing template with GPL

Does that mean that a modification starting from this template to produce a module must be released under GPL as well?  That something like Artistic-2.0 is no longer an option?

I just chose the one I use by default. No problem changing it to Artistic-2.0, if you think this serves the community better.


Default language option behaves unexpectedly when input text is English

The program's target language option is intended to be set to English by default according to the help message, but if the input text is in English it seems to infer the target language either randomly or from context based on the input text.

Modified prompt to solve this issue. "English" (as default option) keyword is provided in the prompt


Add Command for Finding Empty Slots in Schedule

Changes
This PR adds the freebetween command to search for free appointment slots between a specific time period. It also refactors the Appointments model to allow the display of empty slots in between appointments.
Known Issues
I will resolve these issues in the meantime, but I expect them to be non-trivial, so when this PR is merged, unsolved bugs will be created as issues.

freebetween does not display the correct appointment indexes if a slot appears in between
✅ freebetween misses out empty slots before the first appointment in the schedule and after the last appointment in the schedule.

Related Issues

Closes #198

Codecov Report

Merging #221 (6083eb0) into master (a414be4) will increase coverage by 0.27%.
The diff coverage is 77.09%.

@@             Coverage Diff              @@
##             master     #221      +/-   ##
============================================
+ Coverage     72.93%   73.21%   +0.27%
- Complexity     1024     1102      +78
============================================
  Files           141      149       +8
  Lines          3137     3367     +230
  Branches        362      394      +32
============================================
+ Hits           2288     2465     +177
- Misses          785      835      +50
- Partials         64       67       +3

Impacted Files
Coverage Δ

src/main/java/seedu/contax/model/Model.java
100.00% <ø> (ø)

src/main/java/seedu/contax/ui/AppointmentCard.java
0.00% <0.00%> (ø)

...va/seedu/contax/ui/AppointmentListCardFactory.java
0.00% <0.00%> (ø)

...ain/java/seedu/contax/ui/AppointmentListPanel.java
0.00% <0.00%> (ø)

...main/java/seedu/contax/ui/AppointmentSlotCard.java
0.00% <0.00%> (ø)

src/main/java/seedu/contax/ui/MainWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/contax/model/ModelManager.java
98.27% <84.61%> (-0.77%)
:arrow_down:

...tax/model/appointment/DisjointAppointmentList.java
94.44% <91.17%> (-1.51%)
:arrow_down:

.../contax/logic/parser/FreeBetweenCommandParser.java
95.23% <95.23%> (ø)

src/main/java/seedu/contax/logic/LogicManager.java
83.33% <100.00%> (ø)

... and 15 more

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 a414be4...6083eb0. Read the comment docs.


Fixes #1926 - clear search columns on delete

Coverage: 94.26% (-0.003%) from 94.263% when pulling 4f5a398ea9de0eeb3628e7d08461431f13dd8efe on cody-clear-on-delete into 59261abe1e2b8c96da766212f2c858f481d9965e on main.


Add "How to Run a Tessera Log (MySQL)"

#21

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 35.17%. Comparing base (46ec9c2) to head (6c2862c).
Report is 78 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #163      +/-   ##
==========================================
- Coverage   35.80%   35.17%   -0.63%
==========================================
  Files          16       33      +17
  Lines        1363     2880    +1517
==========================================
+ Hits          488     1013     +525
- Misses        801     1756     +955
- Partials       74      111      +37

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Bug]: Class "App\Providers\Filament\FilamentEditProfilePlugin" not found

What happened?
Following the instructions
Add in AdminPanelProvider.php

->plugins([
    FilamentEditProfilePlugin::make()
])

this results in Class "App\Providers\Filament\FilamentEditProfilePlugin" not found
How to reproduce the bug
added the plugin in AdminPanelProvider.php
Package Version
1.0.14
PHP Version
8.3.8
Laravel Version
11.11
Which operating systems does with happen with?
No response
Notes
No response

You should use  the import
use Joaopaulolndev\FilamentEditProfile\FilamentEditProfilePlugin;


Investigate priority of supporting China phone onboarding

Supporting China will pose a unique set of challenges due to crypto regulations. Work with founders and CeloDance to understand priority of market and desired features for supporting onboarding users reliably.

Scheduled to talk about this with Alberto this week.

Closing this ticket due to update below (copied in description).
Update: Following chat with @albertomartin, China SMS support is not top of list compared to other priorities.


Connect to dApp from mobile

Hi there
I am working on a dApp bridge,and having some problems with mobile users.
[FOR EXAMPLE] - metamask has it own app,that has built in browser,and its easy to connect to the dApp through the metamask browser.
[PROBLEM] - I wanna fIgure out how can i do the same with the polkadot wallet,i didnt found any apps that has the same functionality.Maybe somehow i can do it with fearless wallet app?
Is there any solution that could help me in this situation?
Thank you

This sounds like WalletConnect:
https://github.com/WalletConnect-Labs/walletconnect-v2-monorepo/issues/21


Pin with custom images moves when zooming

I'm using TK.CustomMap.Sample to show the issue
When using a custom image for the pin. And you zoom out, the Pins are not staying in the right coordinates. They appear to "move".
Screenshots with Custom Images:

The pins should not exit the circle
Now the normal functionality can be achieve by using the system one (with out custom image)
Screenshot with System Pin:

As you can tell the system pins doesn't exit the circle.
The same is happening with Android

See #114

My bad then.
So, I think there should be an update to the wiki to make the property more obvious.

I have made the changes to the Wiki.
Hope it helps!

Awesome, thank you!
And yes, the wiki is uncompleted and out of date. Feel free to update it whenever you want. I'll add you as contributor.


Component influxdb

This has two commits, one for the component one for the merge.

Looks good to me, can you amend the commit message to trace the issue number?
https://issues.apache.org/jira/browse/CAMEL-10066
Thanks! :-)

The Karaf feature doesn't work. I'll merge this PR and I'll fix it.

The PR has been merged @jlpedrosa. Many thanks for your contribution :-)
Can you close the PR? Thanks!

Can you create a page on confluence with documentation? Also I don't get why the automatic generation of asciidoc documentation doesn't work for this component

Hi Andrea,
I don't have access in the cwiki to create documentation, I already have the ICLA signed, sent and archived by the secretary people. My username in the cwiki is jlpedrosa.
Thanks andrea!

Ok, @davsclaus can you grant karma to @jlpedrosa ? Thanks!

Karma granted

Can you please add the headers in the asciidoc file of the component? They are not automatically generated for the moment. So you have to populate the table by hand.

Hi Andrea
I think it'd be better if I manage to get it generated automatically, so I'd preffer to work in fixing it radther than filling it manually no?
What is the maven task that should generate it?
Thanks to you!

Yes, but it should work for all the components and not all the components use the same naming convention for the class containing the header files, so it won't be easy :-)
The Mojo is here:
https://github.com/apache/camel/blob/master/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ReadmeComponentMojo.java

Hi Andrea i've narrowed a little bit more.
this mojo leverages a generated file that is named componentname.json, then reads it to get the adoc and update it.
Basically, this:  String json = loadComponentJson(jsonFiles, componentName); returns null in my component. [https://github.com/apache/camel/blob/master/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ReadmeComponentMojo.java#L94]
example: ./target/classes/org/apache/camel/component/mongodb/mongodb.json
I still don't have a clue what is generating that json file, once I get it, I may fix why it's not being generated.

Hi @jlpedrosa
This is already solved here:
https://github.com/apache/camel/commit/ee03cec2a92a48358bf2b503c160d46b51a036f2

There were to empty lines under the influxdb file


Icons not changing size with use of fontsize

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Icons do not change in size, stays in default, might be CSS files that are in the wrong order. Not sure.
Expected Behavior 🤔
Should be different sizes.
Steps to Reproduce 🕹
Here is demo showing the problem:
https://codesandbox.io/s/material-demo-oizfb

@wigsnes You need to get the Material-UI styles injected after the material.io styles. In your case, the styles should be linked from the head, not the body element.


Installation completed successfully but site does not work

i had Docker errors but fixed it; https://github.com/rtCamp/Frappe-Manager/issues/83 , everything completed successfully;
✅ Halting other sites: Done
✅ Ports Check : Passed
✅ Pulling Docker Images: Done
✅ Starting Docker Containers: Done
✅ Creating Site: Done

Site not Found;

System information:

fm --version : 0.9.0
lsb_release -a :

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy

docker version: Docker version 24.0.7, build afdd53b
docker-compose version:

docker-compose version 1.29.2, build unknown
docker-py version: 5.0.3
CPython version: 3.10.12
OpenSSL version: OpenSSL 3.0.2 15 Mar 2022

Log:
fm.log

I checked the logs and I think the site has been created and the site server has started. How are you accessing the site  ?
Can you do a curl and give me the output here ?

I am accessing via web browser from host computer;

Curl on terminal;
curl http://<IP_ADDRESS>
<!doctype html>

<title>404 Not Found</title>

Not Found

<IP_ADDRESS> does not exist

Since you're trying to access the site from other computer, you'll need to set up a domain IP mapping in the /etc/hosts file of your host system for your created site.

Since you're trying to access the site from other cothis was not a case before, and i did not get it, my host computer is windows, fm is on virtual ubuntu, if i could'nt go with ip address how will i go if i mputer, you'll need to set up a domain IP mapping in the /etc/hosts file of your host system for your created site.

this was not a case before, and i did not get it, my host computer is windows, and i did as you suggested but this should not be like this, and no it did not worked.
host;

Any Idea?

First, Thank you very much this amazing Automating installation solution!
I have same issue.
I had imagine... the reverse proxy or internal DNS. But I don't have development skill...
So, I edit the hosts file in C:\Windows\System32\drivers\etc
My server's IP address is '<IP_ADDRESS>', so I wrote it in hosts file.
<IP_ADDRESS> myerpnext.com
Now, I can connect to
http://<IP_ADDRESS>/adminer  and  http://myerpnext.com/adminer
http://<IP_ADDRESS>/mailhog  and  http://myerpnext.com/mailhog
But I can not connect to
http://<IP_ADDRESS>  and  myerpnext.com
(404 Not found)
So, I've test in Server. Not host.
I had used links2 CLI (ssh) for connecting test. It works.
I mean When I try connect localhost in server, It works.
links2 http://myerpnext.localhost  in ssh (putty),
I can see the Home and login to Frappe, Email. Password, show, Forget Passowrd? Login .... and etc
links2 http://localhost
404 Not found. localhost does not exist
I allow the 22, 80, 100, 443, 8000, 8080, 9000 port by ufw.

I'm not an expert, so I'm sorry if I don't know much.
I tested them one by one.
The address accessed from the server is http://erp.localhost, and the internal network address of the server is http://<IP_ADDRESS>
I set up port forwarding and DDNS on my router. open the 80 port.
Now it is possible to connect from the outside using a ddns address such as http://aaa.router.com. (This address is an example)
Wow, I confirmed that the connection was working fine via http://aaa.router.com/mailhog from an external network.
However, when going to http://erp.aaa.router.com, a 404 Not Found page appears.
I hope this helps.

This issue has been fixed in #113.
To create site accessible outside.

Create site with fqdn name such as frappe.com.
Add hosts entry on your system for that site.


[charts/redis-ha] feat: update misc images

Signed-off-by: smcavallo<EMAIL_ADDRESS>What this PR does / why we need it:
Updates to newer images for security and fixes
https://hub.docker.com/_/redis?tab=tags&page=1&ordering=last_updated
https://hub.docker.com/_/haproxy?tab=tags&page=1&ordering=last_updated
https://hub.docker.com/r/oliver006/redis_exporter/tags?page=1&ordering=last_updated
Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X ] DCO signed
[X ] Chart Version bumped
[X ] Variables are documented in the README.md
[X ] Title of the PR starts with chart name (e.g. [stable/mychartname])

@smcavallo Sorry for not getting back to you. I need to make sure I'm marked as the reviewer by default or I don't get notifications.
This works without any issues for you on any of these components?

Tested. Looks good, waiting for CI.


Rename APM tracking feature flags to tracing and enable features by default

:scroll: Description
Rename APM tracking feature flags to tracing and enable features by default
:bulb: Motivation and Context
Closes https://github.com/getsentry/sentry-dart/issues/1177
:green_heart: How did you test it?
:pencil: Checklist

[X] I reviewed submitted code
[ ] I added tests to verify changes
[ ] I updated the docs if needed
[X] All tests passing
[ ] No breaking changes

:crystal_ball: Next steps

Codecov Report
Base: 76.87% // Head: 91.15% // Increases project coverage by +14.27% :tada:

Coverage data is based on head (483eb87) compared to base (3b5d22e).
Patch has no changes to coverable lines.

Additional details and impacted files
@@                          Coverage Diff                          @@
##           chore/migrate-to-sentry-cocoa-v8    #1222       +/-   ##
=====================================================================
+ Coverage                             76.87%   91.15%   +14.27%
=====================================================================
  Files                                    11        7        -4
  Lines                                   333      147      -186
=====================================================================
- Hits                                    256      134      -122
+ Misses                                   77       13       -64

Impacted Files
Coverage Δ

file/lib/src/sentry_file.dart

logging/lib/src/extension.dart

file/lib/src/sentry_file_extension.dart

logging/lib/src/logging_integration.dart

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Incorrect indenting for promise

Hi,
Version: VS 2015 RTM/TS 1.5
The formatting for the then callback seems wrong. Towards the end, I am required to hit Cntrl+D to get the document to format. I shouldn't have to do this.

Very much agree with this. Drives me crazy.

This is the kind of bug that one could call minor but is in fact anything but.

This has been fixed in latest bits. thanks to @SaschaNaz.


Clarification on “Messages since start” metric in the dashboard

Hi, I have a question about the “Messages since start” metric displayed in the Broadway Dashboard under the “All time” period.
Is this metric counting messages since the entire application started or since the BroadwayDashboard.Metrics module itself started (I think it's this one)? I’m asking because it seems that some older messages are not appearing in the dashboard, and I’m wondering if I’m misunderstanding the time frame of this metric.
Thanks in advance for your help!

@mustela yeah, you are right. This is since the BroadwayDashboard page first mount (kind of when the BroadwayDashboard.Metrics starts). Can you send a PR to clarify that?

Closed by https://github.com/dashbitco/broadway_dashboard/commit/ea86bc6f2eec0da79d931b182b11a49930749f7b


[Question] When the sql statement in the shell script has a horizontal line comment, the task will always be running

dolphinscheduler version: 1.3.2
This problem can be reproduced....

@enoughwell Could you show me the steps to reproduce the issue? Thanks so much


Issue with New Webhooks Returning HTTP 410 Error

Type of issue
Feature doesn't work (bug)
Feedback
We have encountered an issue with our Microsoft 365 connector that has been operational for several years. Recently, we observed that new webhooks created in the past few weeks are not functioning as expected.
Issue Description:

Existing Webhooks: Webhooks that were created a few months ago continue to work without any issues.
New Webhooks: Any new webhooks we create return an HTTP 410 Error when we attempt to post a card. It is important to note that the same card works perfectly with the older webhooks.

Steps Followed:
We have strictly adhered to the instructions provided in the Microsoft documentation for creating connectors:
Creating and Connecting Webhooks.
Technical Details:

Our Teams SDK is updated to the latest version available.
The HTTP 410 Error occurs exclusively with new webhooks, while existing ones continue to function normally.

Request for Assistance:
We request your assistance in diagnosing and resolving this issue. We would appreciate guidance on any changes that might have been introduced recently which could affect the functionality of newly created webhooks.
Please let us know if any additional information is required from our end.
Thank you for your support.
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-creating
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/webhooks-and-connectors/how-to/connectors-creating.md
Author
@laujan
Document Id
57e368e2-aaed-fa8d-ed49-cc18e594ab1d

@Navega - Thanks for reporting your issue. We are checking this internally, we will update you soon.

@Navega - We have already raised an ICM for this. We will inform you in this thread once we get any updates. Thanks.

Following, as have similar problems with existing webhooks recently stopped working.

@Navega - We have already raised an ICM for this. We will inform you in this thread once we get any updates. Thanks.

Hello @Nivedipa-MSFT any update here?


Bump version

I'm still stuck on a version that's 1.5 years old!

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

It makes it a bit simpler to update if you aren't using MELPA.  Maybe we also need to push a tag to make melpa-stable bump?  See https://github.com/rust-lang/rust-mode/issues/87

So...shall we land it? :)

Could you please tag the branch also =)?

Thanks for shipping!
On Tue, Jun 26, 2018 at 4:21 PM Aleksandr Ivanov<EMAIL_ADDRESS>wrote:

Could you please tag the branch also =)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/rust-mode/pull/267#issuecomment-400493269,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2KlgStIQnCiZRACRuNtDvLxS42cZfUks5uAsHhgaJpZM4Tg0cs
.

sorry for the lack of action here for months; clearly the people with all the power here haven't accepted all the associated responsibility.


Fixes the install error in Python 2.7 and CircleCI error with Python 3.4.8

Signed-off-by: Shubham Kumar Jha<EMAIL_ADDRESS>Fixes #140
Build failures were occurring in Python2 due to rdflib allowing any version of pyparsing (it's dependency) to be installed. It eventually installs the latest version which doesn't work with Python 2.7.
Fix:

Updated setup.py file to install pyparsing <= 1.5.7 when installed with Python 2.7
Since, rdflib allows any version of pyparsing to be installed, the latest version is not installed.

@pombredanne I've fixed the issues with Python 2.7
The build is but failing for Python 3.4.8 (apparently as the error logs say, brew is not able to install it), I've made some changes but I can't get the build started for Circle CI.
@pombredanne can you start the builds.

The CircleCI error happening with Python 3.4.8 is due to the updated version of pyenv (used to install different Python versions) which has a dependency on openssl-1.1. The support for openssl-1.1 is provided by Pyhon 2.7.13 and Python 3.5 +.
Fix: Pinning the version of pyenv (1.2.13) which requires openssl-1.0 fixed the problem.
ping @goneall @rtgdk @pombredanne Please, check this PR and merge.

note that we do not want to support Python 3.4, actually going forward any version under 3.6 should be dropped.

Dropping support for older Python version would be great. I just felt that we may need to use this in spdx-online-tools, which currently uses Python 2.7, so it must be installable with that.

Dropping support for older Python version would be great. I just felt that we may need to use this in spdx-online-tools, which currently uses Python 2.7, so it must be installable with that.

2.7 is obsolete, so spdx-online-tools would have to stick using older versions IMHO.

There's work in progress to upgrade the SPDX online tools to Python3: https://github.com/spdx/spdx-online-tools/pull/178


Sync with old patches

I am not following, what are we trying to accomplish here?

@jimjag Looks like you're on a big mission, if you need a hand with anything shout.


iwifi: init at 1.0.3

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/better-wifi-ux-on-the-non-graphical-installer/23030/1

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

1 package built:

ifwifi


fix: remove storage dir after Sketch was built

Issue #, if available:
Description of changes:
Time to time we faced with issue when directory was removed before images were read. So I moved storage dir removing after sketch file build.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Would really like to see this merged 🚀

:tada: This PR is included in version 1.16.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Closes #92 Add volume controls to editor

Going to wait for Playback Rate to go in first. There are more changes I'd like to make with this


[R] update R/README.md

Does the "it" in "which is also when we'll submit it to CRAN" refer to Feather or the toolchain?

thank you


train_gtp2.c accesses parameters as arrays

Would you be interested in this patch, where I changed many of the functions that receive multidimensional arrays as parameters.  I believe, since the C code seems mainly as an introduction to understand the process, this would make things much easier to read.
So, instead of doing the multiplications like in the original source, I'm declaring pointers to multidimensional arrays from the parameter, so that the source can use C array syntax like:
old:      float* out_bt = out + b * T * C + t * C;

new:      float* out_bt = &outBTC[b][t][0];

or
old:          int ix = inp[b * T + t];

new:          const int ix = inpBT[b][t];

There are a few still missing, but if you are interested, I would complete this.
Markus

I don't super like it :) and I think it might look a bit less educational even because it obfuscates the fact that this is all just simple pointer arithmetic

No worries then, I understand everyone has his/her own style and perception of code.


Right mouse click and copy crashing atom

Hi all,
I am using ubuntu 14.04 my version of atom is 0.168.0
I am running atom from the command line with atom --safe when I right mouse clicking and press copy it crashes atom. The error I get is below
/usr/bin/atom: line 92: 23381 Segmentation fault      (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$DOT_ATOM_DIR/nohup.out" 2>&1
[23381:0109/172536:ERROR:browser_main_loop.cc(163)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[23381:0109/172536:ERROR:browser_main_loop.cc(191)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
App load time: 78ms
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[23416:0109/172536:INFO:renderer_main.cc(207)] Renderer process started
[23381:0109/172537:INFO:CONSOLE(64)] "Window load time: 672ms", source: file:///opt/atom/resources/app/static/index.js (64)
Failed to get crash dump id.
Report Id:

Have you tried Atom 0.169? I think they fixed it in 0.169

See https://github.com/atom/atom/issues/4892 and let us know if you still see this in 0.169.0

The ubuntu repo has just updated me to 0.169 and it has fixed the issue for me thanks


Set capabilities using PFS file directly

At the moment, when I need to set the capabilities (pixel format, image width, image height and acquisition framerate), I need to use a capsfilter. Even though this approach work fines, it's redundant when the provided .pfs file has all of these configurations as well. I don't want to hard-code any of these values so the work-around is to read these values from the .pfs file to set the capsfilter.
Is there currently a way to make plugin uses the provided .pfs file to set pixel format, image width, image height and acquisition framerate instead of having to use a capsfilter?
I suggest that when user provide a .pfs file, it's used to set the capabilities, however, if the user also provide a capsfilter then the capsfilter takes precedence over what is set in the .pfs file.

Hi @mkaivs,
thanks for bringing up this request for a usability enhancement!
This is already in our development pipeline, so it's good to take the chance to collect some comments from you :-)
The plugin will get a new property that limits the caps during negotiation process to only what is given

on pfs file
or the explicitly selected user set via user-set=
or properties set before pipeline construction

Question:
If in this case the camera is configured e.g. to a PixelFormat that is not even supported in the gst-plugin-pylon ( e.g. Mono12p),
what would be your expected behaviour to handle this behaviour.
The case, where the camera is configured to a Pixelformat that is not supported in the pipeline, would simply lead to a negotiation failed error.


Add libcore pass

This adds a first basic pass to compile libcore 1.49.0 + the ability to extend it to other versions down the line. We currently perform no transformations on the library, but this is something we might need to think about

how do we check out the libcore 1.49 is it just a build step and you give it the path?

We already give the path to the rust submodule, so we'll be able to just cd into it and git checkout 1.49.0


Add instructions on running individual test in new provider docs

Fixes

Fixes #2800 by @stacimc
Description

Add a test section in new provider docs. First we will have just catalog/test-session -> pytest -k <provider_name> as the recommended suggestion to test a specific provider. There is an alternative testing that can be ran just catalog/test -k <provider_name>
Testing Instructions

Checklist

[X] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[X] My pull request targets the default branch of the repository (main) or a parent feature branch.
[X] My commit messages follow best practices.
[X] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[X] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.
[ ] I ran the DAG documentation generator (if applicable).

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@obulat @AetherUnbound

That does look to be the correct set of steps that occur, but I don't think that's what would be most beneficial to the documentation here. Do you mind using the notes I wrote up in this comment instead and adding that to the end of the documentation?

That does look to be the correct set of steps that occur, but I don't think that's what would be most beneficial to the documentation here. Do you mind using the notes I wrote up in this comment instead and adding that to the end of the documentation?

The bulletin was to have a better understanding how using just can run docker. I'll will work adding a note section.


does there is a toast widget on desktop as replacement of mobile toast?

does there is a toast widget on desktop as replacement of mobile toast?

You may be looking for Snackbar?
https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/controls/surfaces/snackbar.dart


iontests.js roundTripEventStreams() as implemented today isn't what was intended

The eventTextWriter and eventBinaryWriter logic in iontests.js is redundant with that of the textWriter and binaryWriter logic immediately above them.
The intent for eventTextWriter and eventBinaryWriter was for them to be passed to writeEventIon() (instead of writeIon()).
Another alternative may be to use the new Writer.writeValues() method instead of relying on EventStream as a bridge between readers/writers.

Attempt at this was pushed, then reverted, as it (surprisingly) reduced test coverage.  See https://github.com/amzn/ion-js/pull/438

To clarify:  changes were proposed under #438, reviewed, then completely undone and merged into master.  Thus commit https://github.com/amzn/ion-js/commit/0e0883f681415ce74a4915fc190210d16156a6da shows 0 changed files.
Having now reapplied a very similar set of changes, my best guess as to why the previous set of changes was undone is due to a drop in code coverage (not test coverage, as was noted above) for the IonEventStream class (from 90.78% of statements down to 73.79%).  That drop is explained by the fact that IonEventStream.writeIon() is no longer invoked by this test logic (nor any other).  I believe that method will eventually be helpful when this library is connected to the ion-test-driver, so it remains intact.


Navigation history not fully clearing on user login/logout

Fixed in https://github.com/magley/hci-travel-agent/commit/23c4666308ba19d124193cc13deaead66d2e20c0


docs(checklist): Note automatic travis setup

Not sure this is the right way to put this. Feel free to close and reword :-)

cool, this is good point


go-plus atom package fail with gvm

Hi guys,
I have a problem using GVM with the go-plus package in the atom editor.
The compiler is running on the terminal, but the standard features inside the atom do not work.
When saving a .go file it returns the following error:
main.go: 10: 2: can not find package "github.com/schweigert/mga/libraries/metric" in any of:
/home/marlonhs/.gvm/gos/go1.11/src/github.com/schweigert/mga/libraries/metric (from $ GOROOT)
/home/marlonhs/go/src/github.com/schweigert/mga/libraries/metric (from $ GOPATH)

Envs
In the editor, the envs are:
$ go version
go version go1.11 linux/amd64

$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/marlonhs/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/marlonhs/go"
GOPROXY=""
GORACE=""
GOROOT="/home/marlonhs/.gvm/gos/go1.11"
GOTMPDIR=""
GOTOOLDIR="/home/marlonhs/.gvm/gos/go1.11/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build702861008=/tmp/go-build -gno-record-gcc-switches"

In terminal:
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/marlonhs/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/marlonhs/.gvm/pkgsets/go1.11/global"
GOPROXY=""
GORACE=""
GOROOT="/home/marlonhs/.gvm/gos/go1.11"
GOTMPDIR=""
GOTOOLDIR="/home/marlonhs/.gvm/gos/go1.11/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build881652205=/tmp/go-build -gno-record-gcc-switches"

You may want to open this in an atom issue tracker.

I think this problem is the plugin for the atom, because the editor works normally. The plugin cannot find the compiler and extensions to work.

You may want to open this same issue over at https://github.com/joefitzgerald/go-plus


Custom encoding

Note: You will still need to manually alter tables to support this encoding. See vapor/fluent#74.

These changes look OK, but we usually require at least 2 mods to give a thumbs up before merging something: https://github.com/orgs/vapor/teams/moderators
Make sure to wait for those thumbs up in case there's something that we've missed. We also need to appropriately label PRs with labels, milestones, and who was assigned.

Got it, thanks.


fixed except statements and xrange statements to match python3

This may need to be another version of this code, but this will allow for runs with python 3 instead of python 2.7.  This was not updated when I pulled this down from pip around 2 months ago.
-Paul

Thanks for this, but other PRs seem to have made the same changes in the meantime.


Firebase notifilcation make silent in flutter

Hi,
While receiving a notification using FCM how can I make it silent

This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself. Closing, as this is not an issue report. See https://flutter.dev/community for support options.


Network still available after container removal

I'm submitting a ...

[X] bug report

What is the current behavior?
When container is stopped by the command docker stop <NAME> the AP network (configured within  wificfg.json) remains available untill Raspberry reboot.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Docker installation
txn2/txwifi downloading by docker pull cjimti/iotwifi command
txn2/txwifi container run by respective command -> uap0 interface for AP is created with iot-wifi-cfg-3 network available for connection.
txn2/txwifi container stop/remove by respective commands

What is the expected behavior?
After the container stop/removal, the network interface should be stopped.

What is the motivation / use case for changing the behavior?
Its a logical behavior

Please tell us about your environment:

Device: Rasp 3B+
OS: Stretch

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

The container is intended to set up the wifi network access. If the container is stopped or removed it has no ability to perform any operations.


[BUG] Custom tool is not working

I am trying to call an API. It's giving the same error every time. I have used the test sample in the custom tool but still the same.
Request failed with status code 400 and body {"error":{"message":"'Get the weather' does not match '^[a-zA-Z0-9_-]{1,64}$' - 'functions.0.name'","type":"invalid_request_error","param":null,"code":null}}

Hey @FahadAltaf,
Could you share the export of your flow and the source code of the tool?

Sure
API test v1 Chatflow.txt

Hi @FahadAltaf,
My result below:

ok found the problem name of the tool should be lowercase without spaces.
Its little confusing you have to hover on the information icon to see how the name should be formatted but by just looking at placeholder you can have spaces in the name. Would be great if you can also update placeholder, add name validation or add helper text under the field so that its visible to user


Pseudo classes aren't receiving the props

 const IconComponent = styled.i
&:before {
text-decoration: inherit;
font-weight: normal;
font-style: normal;
font-variant: normal;
text-transform: none;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: inline-block;
vertical-align: top;
text-align: center;
font-size: 1.14286em;
font-family: "AppDirectIcons";
content: ${({ name }) => ICONS_UNICODES[name]};
}
`;
`
Please help

Please submit all the necessary details for me to look into this. Otherwise I'd have to copy this into a CodeSandbox or sth similar myself. Please don't just skip and delete the issue template when opening an issue :wink:
https://raw.githubusercontent.com/styled-components/styled-components/master/.github/ISSUE_TEMPLATE.md

@philpl thank you. I just read it, and will ask my question on the channel. I apologize for skipping it.

It's ok to ask a question here if you're frustrated and are searching for an answer. No worries
A reproduction is needed though. I'll reply on Gitter


Cursor becoms invisible when hovering on any GUI programme.

When my mouse is moved to a window where a GUI programme is displayed, the cursor becomes invisible and stay invisible until i quit the session. programmes tested are firefox, wofi, files, gedit and many others. Thank you in advance.

Might this be relevant?

Disregard, just saw your duplicate issue

dupe


add qrscanner

qrscanner does not comply with Python 2.7.11. Error: 'bytearray' object has no attribute 'hex'. Consider using '{:02X}'.format(b) for each byte to convert into hexstring.
No need to re-define util variables and functions. Use qrcode._finder, or from qrcode import _finder etc.


Add code to ensure Functions/Buckets don't violate GCP's naming rules

Fixes https://github.com/pulumi/pulumi-gcp/issues/126

Preemptively merging in.  Let me know if you want any changes.


MathML output contains backslashes

When using latex2mathml
$ latex2mathml --version
latex2mathml 2.13.0

I'm finding that with inputs like this:
$ latex2mathml -t '\frac{\tan^{2}x}{1+\sec x}'

latex2mathml is producing outputs like this:
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline">
	<mrow>
		<mfrac>
			<mrow>
				<msup>
					<mi>\tan</mi>
					<mrow>
						<mn>2</mn>
					</mrow>
				</msup>
				<mi>x</mi>
			</mrow>
			<mrow>
				<mn>1</mn>
				<mo>+</mo>
				<mi>\sec</mi>
				<mi>x</mi>
			</mrow>
		</mfrac>
	</mrow>
</math>

Now, as you can see, the expressions with trigonometric functions contain backslashes in them. \tan should just be tan. and \sec should just be sec. This happens for every trigonometric operator I've tried, but I can't speak to other operators.
To mitigate this issue, I wrote a script that just pipes latex2mathml's output through sed like this:
#!/usr/bin/env sh
latex2mathml -t "$1" | sed 's|\\||g'

But that's not really the ideal solution.

I also checked the quoting (using " and ') and the output is still the same.

@jordanbancino Kindly update to version 2.14.0

Wow, quick! Awesome, thank you!


Add RISC-V bit manipulation instruction 'slo'.

Slo instruction is similar to left shift-logical operation, instead of shifting in zeros, it shifts in ones.
Opcode:
|  3                   2                   1                    |
|1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0|
|    funct7   |   rs2   |   rs1   | f3  |   rd    |   opcode    |
|  0010000    |   rs2   |   rs1   | 001 |   rd    |   0110011   |

Test corner-cases:

Different register sizes.
Max shift range is 'register size - 1', all rs2 values above are equal to it.

@kkorolev approved


Deploy supavisor for multiple databases

How to deploy supavisor for multiple databases?

Hey @jahnavisana2812,
Thanks for the query. To clarify, are you hoping to have Supavisor in front of multiple databases?
To do so you can probably follow the setup guide and add each database as a tenant.
Let me know if I've misunderstood though