Add global settings for VM migration flags

Description
Provide global settings or vm migration flags for kvm
so that admins can configure the values

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[X] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[X] Minor
[ ] Trivial

Screenshots (if appropriate):

How Has This Been Tested?

@ravening any update on this PR?

Ping @ravening can you address conflicts?

Hi @ravening can you fix the conflicts, thanks!

@blueorangutan package

@davidjumani a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1388

@blueorangutan test

@davidjumani a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2203)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35558 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4646-t2203-kvm-centos7.zip
Smoke tests completed. 89 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Hi @ravening, Can you address the outstanding comments. Thanks.

Hi @ravening, Can you address the outstanding comments. Thanks.

@sureshanaparti done

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_multiplication_x: suse15. SL-JID 1439

@blueorangutan package

@davidjumani a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1443

@blueorangutan test

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2238)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 37783 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4646-t2238-kvm-centos7.zip
Smoke tests completed. 89 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_01_secure_vm_migration
Error
164.71
test_vm_life_cycle.py

test_02_unsecure_vm_migration
Error
274.26
test_vm_life_cycle.py

test_08_migrate_vm
Error
47.85
test_vm_life_cycle.py

@ravening Can you have a look at the test failures? Thanks

@ravening Can you have a look at the test failures? Thanks

@davidjumani one of the test is failing because of Exception during migrate: org.libvirt.LibvirtException: numerical overflow: bandwidth must be less than<PHONE_NUMBER>208 which is totally not related to my change.

@blueorangutan test

@davidjumani a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian Build Failed (tid-2257)

@blueorangutan test

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian Build Failed (tid-2258)

Hi @ravening can you please fix the conflicts?

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 3139


37 CFR 1: empty SECTION at end of Subpart E

The 2013 and 2014 annual editions of 37 CFR 1 include an empty SECTION at the end of Subpart E "Supplemental Examination of Patents".  Code in eregs/regulation-parser doesn't anticipate this usage, specifically at regparser/tree/gpo_cfr/section.py#L120.  This PR removes the empty SECTION objects.

This works, but I'd bet we'll run into this in the future -- does it make sense to add a preprocessing step to strip empty SECTIONs out?

@cmc333333, I think this would make a great preprocessing step.  Do you want to write up an issue for this in eregs/regulations-parser or shall I?


bug: unable to update mason

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.8.0-1210-gd367ed9b2
Operating system/version
Ubuntu 22.04
Describe the bug
lazy update would fail due to mason update error:
error: Your local changes to the following files would be overwritten by checkout:
PACKAGES.md
Please commit your changes or stash them before you switch branches.
Aborting
Steps To Reproduce

start nvim
run :lazy command
press U key to perform an update

Expected Behavior
update all packages successfully.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/LazyVim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

The error clearly tells you that you made changes to a file of mason. You shouldn't do that. Revert the changes and update


RFE Add File-like objects

It looks like right now there is no way to act on files in more than one single operations. If I want to repetitively write to a specific file - I am out of luck. I can only write one using create_file or write_file. In both cases, the previous content will be lost.
It may be beneficial to have a File-like object to allow multiple IO (read or write) to the same file.

I'm definitely open to this, and don't remember why I didn't add it initially.
Do you have strong feelings about what methods it makes available? I'm inclined to start with a basic wrapper for File::open around File::write that implements io::Read and io::Write, but am open to other suggestions.

I don't have anything specific in mind - just think that similarity with std is a benefit.

@imp I'm interested in having this feature as well. Are you working on it or found any other solution?

@imp I'm interested in having this feature as well. Are you working on it or found any other solution?

No, I am neither working on it nor found any workaround. Still need it though ...

Any news on this?  I would love to be able to read/write files a little bit at a time.

#19
Hopefully this will go somewhere.


Option for input text

Hi,
I'm trying to use grafana for a dynamic form.
I've already looked at the data manipulation plugin but I believe that plugin can't have dynamic form elements. For example: On select of a drop down, a new input box should appear in the same form.
So I'm looking into dynamic text but the input tag is not supported. Is there any future plans to support HTML input form elements? Any other recommendations?
Thanks

@ashish-y Input tag maybe sanitized: https://volkovlabs.io/plugins/volkovlabs-dynamictext-panel/content/#sanitizing
Could you please try and let me know.
Data Manipulation can load the options or elements from the data source dynamically, but they are not controlled by selection. We can look into adding it.

Thanks @mikhail-vl ,
Setting up sanitization made the input tags to work. Unfortunately, we won't be able to use this in production so looking for better options.

@ashish-y Sanitizing is the only option to enable input tags in the Dynamic Text.
As I mentioned, we can add form element dependencies in the Data Manipulation panel. Please open an issue if you are interested.


Feature/network

Hi again Alex!
Here is the pull request with the Network component.
In this pull request I:

Created the Network Component
Created an example for using and testing the network
Updated the building to build the network component

Feel free to suggest changes or anything,
Regards,

Im sorry about all the mess with the indentations n_n'
I didnt touch any of your code for Timeline or Graph2d though. Only the indentation and quotes were automatically changed.

Don't worry, is just that I want the package to be with the same style as it helps readability and contribution. Again, thanks a lot for your work.

Now I think I got everything right Alex. All indentations with 2 whitespaces, new line at the end of .js files. Did I miss something?

Thank you @Menighin ;)


Reordering Bug

There's a pretty bad bug in the row reorganizer that occurs when reordering two rows of different heights.

Consider the image above. Let's say I do the following:

Grab the second line "of this can..." and drag it over the top line "Very long text that will..."
Immediately when the mouse crosses onto the top row, the two rows switch places, meaning there is a moment when the mouse is dragging "of this can..." but is hovered over "Very long text..." Illustrated below:

When this happens, a loop occurs. The two lines attempt to switch places constantly, sometimes over 100 times, because the different row sizes give the illusion that the mouse is constantly dragging out of one line and onto another

This isn't great UX and gives the impression that something is wrong on the site. An easy fix here is to make all lines the same height by giving a type of "very long text..." ellipsis at the end of a longer text block. However, that changes the UI a bit.
Still investigating another way to solve this issue, but I'm not positive it can be solved simply with the drag handlers I have in place.

I think that would work. Would they be able to resize the interface to be able to show the whole line of text (if it's not too too long)? It's not the best experience but I agree this is the best fix for this bug.

Resizing the interface does not affect the height of each row, so each row will only show one line of text.

Right, but will it show more of the line of text? Like if the phrase "Very long text that will overflow" gets shortened to "very long text that..." would resizing eventually show more of the words that were cut off?


Replaced chartreuse with an appropriate color

The style is required since the default page uses a gray to transparent gradient, but as we do not dynamically style the rest of the menu, I opted to use a static white that matches the rest of the default look.

LGTM.
Glad you found it!
It occurs to me that we might want some non-color variables to handle the filters for images. Will think about this.


multi-network: use custom IP for NodePort gateway

Describe the feature request
Assuming a multi-primary multi-network mesh, with a network topology as follows:

One might work on baremetal without access to LoadBalancer type services (whether the usual cloud-provider-based ones or alternatives like MetalLB). Thus using NodePort as service type for the east-west gateways.
However there doesn't appear to be a way to override the "remote" IP of the east-west gateways, which in this case other clusters need to be able to route traffic across network boundaries.
I raise this issue after a short exchange with @stevenctl on the Slack's #multi-cluster channel.
There he suggested there is a good chance that even manually setting the Service's ExternalIPs field on the eastwest gateway
service would not necessarily work as Istio might prefer the Node IP in all cases where NodePort service type is used.

I tried this out unsuccessfully, albeit I'm not experienced enough with Istio to be sure the lack of eastwest traffic using the ExternalIPs field isn't due to some other misconfiguration of mine...

That also begs a similar question around which of the node's IPs would even be chosen, in case a node has multiple and the "default" k8s one is not the one remote clusters can access. (which is also one reason I can't "just" expose a node publicly reliably either in this case)
It would seem like a similar problem has been solved with the networking.istio.io/gatewayPort annotation for the announced port (although I was unable to find any documentation about this annotation), and it'd be great if one of:

networking.istio.io/gatewayAddress (ideally supporting multiple IPs or a hostname but a single IP would be a good start)
Service#ExternalIPs

Was supported on the eastwest gateway services as "hard" overrides to what address remote clusters should use to route eastwest traffic.
Describe alternatives you've considered
A few alternatives exist:
Maintaining a precise network topology using the meshNetworks configmap key:

this is somewhat difficult/tedious to use properly and keep in sync
this is also discouraged in the (spare) bits of documentation on the topic, partially from being helm-passthrough dependent (afaik) and somewhat inelegant in comparison of the "self-announcing" way

Using some kind of "manual" LoadBalancer Service faking a cloud provider's:

I'm sure it exists although I'm not aware of any such solution
It seems like a lot of ceremony for the intended end-goal

Using MetalLB:

Requires some level of BGP capacity where deployed
One might also very much not want to directly expose all of the worker nodes ports directly (since a few common things tend to run on host network and firewalling worker nodes is error-prone and generally not really worth it vs isolating the network altogether)

Affected product area (please put an X in all that apply)
[x] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[x] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context
I added "docs" as affected since at the very least the documentation becomes very sparse for any use-case without access to LoadBalancer-type services.

Seems like this should be closed then?


Document new init params in the README

@bradcrawford I'm opening an issue here to document the changes you did. Please, let me know if you would like to do it.

Yip, happy to to do it


Ansible tower refresh

Depends on https://github.com/ManageIQ/manageiq/pull/6093
Initial refresher capturing Host inventory.

@gmcculloug @syncrou  Please review.

@Fryguy Please review

:+1: LGTM minus the one comment on the api_version save.


Fix Go 1.15 support with new test certificates

This PR fixes a recently found issue with TLS tests failing after updating to Go 1.15.
Backstory
We have decided to update Go versions used for testing and accidentally discovered a regression with Go 1.15. Integration tests with TLS started to fail with exceptions like
  File "/home/user/.local/lib/python3.5/site-packages/sqlalchemy/engine/default.py", line 481, in connect
    return self.dbapi.connect(*cargs, **cparams)
  File "/home/user/.local/lib/python3.5/site-packages/psycopg2/__init__.py", line 126, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) SSL SYSCALL error: EOF detected

(Background on this error at: http://sqlalche.me/e/e3q8)

The issue did not reproduce with Go 1.14 and it was weird.
Our initial assessment of the changelog has pointed some updates in crypto/tls which – spoiler alert! – turned out to be a red herring.
What actually went wrong
Well, I've reproduced the issue in CircleCI environment but that did not help very much. So I just started AcraServer built with Go 1.15, configured AcraConnector, a database with TLS, etc., and... here's what I saw in AcraServer's logs when trying to access the database via AcraConnector:
CEF:0|cossacklabs|acra-server-ee|0.85.0|584|Can't initialize tls connection with db|6|client_id=keypair1 decrypt_mode=wholecell error=x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG\=x509ignoreCN\=0 proxy=server unixTime=1600779074.282
CEF:0|cossacklabs|acra-server-ee|0.85.0|584|Can't process SSL request|6|client_id=keypair1 decrypt_mode=wholecell error=x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG\=x509ignoreCN\=0 proxy=server unixTime=1600779074.283

Quick testing has shown that setting GODEBUG=x509ignoreCN=0 makes the issue go away, even for integration tests. Another quick look has shown that the certificates we use indeed do not contain Subject Alternate Names (SAN).
Another look at the patch notes revealed that Go 1.15 drops legacy support for CommonName as host name if there
are no Subject Alternate Names in the certificates.
How to fix this issue
Instead of putting localhost into Common Name, add a Subject Alternate Name with that host name, and use something which does not look like a hostname in Common Name.
Here is how the old certificates look:

Old CA certificate
$ openssl x509 -text -noout -in tests/ssl/ca/ca.crt
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            3c:4b:87:bf:7b:a7:ef:16:25:7f:70:84:a1:e6:bd:d2:8d:8e:f8:73
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C = GB, ST = London, L = London, O = Global Security, OU = IT, CN = ca-localhost
        Validity
            Not Before: Jan 31 12:48:33 2019 GMT
            Not After : Jan 18 12:48:33 2069 GMT
        Subject: C = GB, ST = London, L = London, O = Global Security, OU = IT, CN = ca-localhost
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (2048 bit)
                Modulus:
                    00:ee:97:df:c7:c4:52:e2:79:55:41:c9:b4:8c:e7:
                    bc:34:9f:7f:05:74:67:b6:ea:46:45:17:ba:36:6e:
                    e2:63:b6:65:5b:be:44:60:31:7a:7c:f1:02:96:a0:
                    c9:52:11:1d:c2:36:3b:95:06:8f:18:a4:f0:94:a3:
                    c2:b8:4f:63:c6:f8:f3:c6:2f:c5:7f:ee:dc:0c:24:
                    d7:15:1c:f7:4e:ca:b0:79:96:b6:25:c3:0b:76:1d:
                    d1:ba:9d:a7:df:61:0b:4b:48:f0:4b:b8:4e:45:75:
                    f3:53:d5:f9:23:86:73:9f:b6:a6:6e:22:d6:83:e5:
                    3d:07:b6:8e:9e:f0:77:ef:13:60:e2:4b:6e:c3:2e:
                    6f:15:d9:6c:b6:01:e7:a7:99:e7:f6:2c:a4:e5:68:
                    a2:94:1f:5f:be:18:0d:cb:9c:a8:bb:66:71:e8:45:
                    14:e0:14:bc:87:21:f5:e4:f1:5a:5c:0d:4e:1d:25:
                    3a:02:c5:ff:25:df:b9:21:e6:f9:4b:70:5d:22:ee:
                    81:54:e0:9a:56:19:ae:9e:fd:45:7b:bd:1c:da:a8:
                    fc:97:c8:a5:53:0a:07:f4:74:98:a8:02:ec:ab:5d:
                    5f:f4:ec:5e:5b:1a:08:57:45:de:96:01:63:6d:61:
                    f5:fd:c4:bb:1f:d5:8a:5a:9f:29:8e:2e:4c:fe:e9:
                    fe:ff
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Subject Key Identifier:
                21:74:60:D6:C2:B2:2C:B4:06:D8:05:10:C2:03:7A:A8:35:BC:36:FC
            X509v3 Authority Key Identifier:
                keyid:21:74:60:D6:C2:B2:2C:B4:06:D8:05:10:C2:03:7A:A8:35:BC:36:FC

            X509v3 Basic Constraints: critical
                CA:TRUE
    Signature Algorithm: sha256WithRSAEncryption
         d2:ae:2a:58:b9:18:05:19:07:94:b9:1c:16:1c:d3:cc:99:27:
         80:c0:27:7b:f6:12:3d:cb:0d:0c:fb:da:30:8c:0d:82:c0:d8:
         b2:1f:b2:0e:74:fb:86:08:32:98:32:ac:ed:09:bc:ba:83:9c:
         75:a4:81:83:a5:34:76:4d:80:4c:e8:39:05:47:87:ed:76:a2:
         53:fa:9d:ce:11:91:54:20:50:6e:da:90:35:5f:79:0a:0c:6a:
         bd:c3:43:6e:86:8c:85:d0:09:31:39:7e:66:e6:89:fd:7f:12:
         b7:60:a2:41:20:06:96:2e:b2:e9:8d:ef:e1:55:bf:ba:61:80:
         27:a0:62:f2:3a:16:78:21:89:a0:cf:24:a3:e4:a6:5d:d8:5a:
         2b:9a:31:bc:3a:ed:5c:07:85:0c:8b:c0:88:b9:d6:ee:43:49:
         bb:86:8e:9e:32:c0:c3:ed:80:09:68:e6:e6:35:8e:10:e9:68:
         da:69:bc:c0:a6:8d:e2:ab:fb:26:5e:91:f0:d9:f5:4f:82:24:
         d9:c3:df:51:61:d6:40:3e:fb:c9:4f:5d:d0:8e:07:22:78:93:
         a9:f6:ac:aa:5d:18:f8:e7:fb:88:2d:0d:47:42:9e:dd:87:97:
         dd:71:c8:5c:5c:26:bd:cc:f7:51:6d:3f:94:88:c7:92:c0:6f:
         59:8a:a8:25

Old client certificate
$ openssl x509 -text -noout -in tests/ssl/acra-writer/acra-writer.crt
Certificate:
    Data:
        Version: 1 (0x0)
        Serial Number:
            04:90:aa:e8:b4:38:54:1e:16:3b:7a:9a:c1:70:fb:83:78:f5:cd:0e
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C = GB, ST = London, L = London, O = Global Security, OU = IT, CN = ca-localhost
        Validity
            Not Before: Jan 31 12:48:34 2019 GMT
            Not After : Jan 18 12:48:34 2069 GMT
        Subject: C = GB, ST = London, L = London, O = Global Security, OU = IT, CN = localhost
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (2048 bit)
                Modulus:
                    00:db:c7:c4:cc:eb:fb:e4:27:9f:ca:63:0f:82:1c:
                    26:5b:f2:43:35:e3:5a:be:3f:a4:56:5e:91:48:03:
                    ce:0b:7e:cf:c2:de:ba:f2:ca:25:42:42:71:ca:7b:
                    49:7d:91:04:ff:a3:49:2c:bb:28:aa:61:b5:62:ed:
                    e2:7a:5f:d8:ae:e2:7a:68:66:2c:74:99:95:49:5d:
                    6c:b2:ba:81:0f:0a:ea:a3:e9:97:14:ae:41:98:14:
                    da:19:d3:af:c0:5d:59:dc:9d:9f:2c:7b:52:3e:ef:
                    95:ea:c5:5d:1d:60:54:40:2c:a9:fb:40:5b:17:e2:
                    2e:af:88:75:88:a4:be:65:cc:72:15:2b:0f:b8:ab:
                    81:78:f9:52:ec:9a:d4:9a:ac:12:2c:3a:b3:cd:5d:
                    8f:bc:55:73:63:71:01:f0:f2:b7:f5:83:e3:01:90:
                    c0:d7:10:6a:39:47:89:86:9c:09:79:ab:db:bf:04:
                    d9:eb:ed:da:6f:54:70:86:9e:9b:e2:a0:df:8a:a1:
                    fb:21:7c:3e:bb:52:f6:77:2e:b4:55:21:e3:52:1d:
                    ce:26:7e:2d:32:58:07:6b:71:0b:59:ca:08:30:66:
                    e0:f9:97:79:e6:81:13:07:ed:b2:ff:eb:08:a6:0a:
                    fb:a7:0b:84:09:cf:6e:48:ec:0f:e1:76:72:23:46:
                    6a:33
                Exponent: 65537 (0x10001)
    Signature Algorithm: sha256WithRSAEncryption
         11:97:17:70:34:b0:93:99:f5:c7:2d:f4:8a:61:15:8c:db:b6:
         9a:45:22:f4:e4:a6:09:7d:45:10:99:52:be:a9:f7:9b:94:e6:
         f5:5a:97:63:61:4d:76:48:d6:61:87:e8:dc:9b:b4:e1:ab:68:
         b2:5d:ac:5c:7d:70:40:9b:07:7a:f8:0f:21:5f:7a:9d:94:b2:
         ae:6d:a9:dd:c6:a1:5c:d2:17:c2:70:38:a4:9b:62:a4:66:73:
         3b:ed:46:c7:8b:a4:bd:2c:b9:f8:02:81:4f:f7:34:8c:6a:41:
         31:7d:2e:5a:36:79:17:75:d7:a2:e4:53:a3:58:81:6a:82:e9:
         17:44:d5:e2:85:3c:59:b9:77:21:7d:2c:96:74:7f:2b:de:e9:
         f4:30:a0:d0:59:49:0c:32:47:8b:fe:34:29:5f:fa:0c:bc:67:
         32:89:4e:7d:77:e8:67:e1:af:64:b9:2b:c5:ed:74:5e:99:2f:
         e1:37:b9:75:c4:d2:30:52:d9:16:af:3f:29:6b:b4:12:a0:a9:
         97:03:75:9f:d1:a1:f9:0f:e3:07:5d:8a:75:dd:52:19:6a:ce:
         29:2f:14:fb:30:51:46:2e:8d:10:22:f3:d1:c7:9f:96:18:66:
         58:a4:11:de:c8:31:f1:17:e5:47:d6:a7:78:5c:6b:bf:fb:0b:
         cf:9b:be:ab

And here are the new ones:

New CA certificate
$ openssl x509 -text -noout -in tests/ssl/ca/ca.crt
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            43:6e:0c:5b:e4:aa:df:a0:1f:01:4c:ba:46:ad:61:45:81:c8:ec:28
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C = GB, ST = London, L = London, O = Global Security, OU = IT, CN = Test CA certificate
        Validity
            Not Before: Sep 22 16:05:34 2020 GMT
            Not After : Sep 10 16:05:34 2070 GMT
        Subject: C = GB, ST = London, L = London, O = Global Security, OU = IT, CN = Test CA certificate
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (2048 bit)
                Modulus:
                    00:be:12:60:a8:38:dc:80:be:30:2f:5b:0a:b1:55:
                    36:94:0a:43:c3:03:3a:36:7f:ae:f1:83:e8:69:a4:
                    e2:73:26:e0:4e:5d:e7:79:cc:1b:df:4a:d1:88:4c:
                    85:af:0b:34:ad:ad:22:ba:3d:22:c4:e8:9e:99:33:
                    51:4d:8e:99:49:68:3f:ee:44:e4:51:58:0f:37:48:
                    0a:aa:3a:cc:e3:c8:3c:fe:41:db:3b:a7:fc:ec:a8:
                    4b:bd:99:a0:56:3b:73:0a:d0:52:e5:f5:c1:0d:87:
                    87:07:f9:78:4c:fe:ab:3c:09:7b:06:a4:3c:fa:1c:
                    c0:d4:83:27:5b:44:27:64:76:55:01:b3:e9:30:2b:
                    86:a6:8e:12:9e:de:65:9b:25:22:9d:89:da:98:03:
                    f3:47:cd:84:ee:58:84:98:c9:d2:a2:e3:31:a9:47:
                    1b:a8:dc:08:eb:73:f3:ae:ce:d4:78:66:ba:19:8e:
                    91:4e:40:82:e7:63:6a:bd:17:05:56:45:1f:b7:96:
                    c6:7c:10:95:46:07:64:d3:08:c9:ce:56:70:74:dc:
                    77:46:56:c4:29:c6:0a:27:dd:f3:1e:43:27:7a:bc:
                    36:87:9c:8c:38:f1:75:21:04:f6:95:a1:ab:2b:ee:
                    25:48:9d:1f:71:91:9a:bf:1e:5a:17:48:7a:99:86:
                    98:0b
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Basic Constraints: critical
                CA:TRUE
            X509v3 Subject Alternative Name:
                DNS:localhost
            X509v3 Subject Key Identifier:
                E9:58:50:C8:E6:25:61:E2:D6:B2:51:5B:21:BD:49:BB:83:A0:4A:A8
            X509v3 Authority Key Identifier:
                keyid:E9:58:50:C8:E6:25:61:E2:D6:B2:51:5B:21:BD:49:BB:83:A0:4A:A8

    Signature Algorithm: sha256WithRSAEncryption
         06:a8:86:5b:a3:c0:e0:c1:04:08:59:8a:bb:cd:98:ac:04:2b:
         54:dd:b4:eb:de:a9:9c:86:c9:3d:32:cd:a0:b7:5a:82:3e:2d:
         5c:17:11:5c:ef:3b:83:d7:a7:7e:e2:5f:5c:02:f6:e8:52:47:
         bd:f9:f0:cc:32:24:1e:42:22:d7:4a:01:25:92:e3:43:fe:81:
         43:04:7e:8c:34:84:5d:e4:5f:0d:a8:c0:e8:b8:4e:e6:20:d1:
         a7:d0:bf:0e:f7:f3:72:7a:56:eb:22:0e:13:eb:a0:76:ba:e8:
         08:71:a4:e6:4e:5a:6e:3c:06:21:2b:a8:6c:98:13:73:30:df:
         fa:a5:a9:00:61:29:d4:9a:15:3e:de:10:68:22:a7:17:03:5b:
         5c:96:b7:ed:77:f2:41:a8:cf:ec:45:59:95:41:ca:af:81:56:
         71:a3:5d:d9:98:73:4d:53:2d:42:53:33:bf:90:ea:73:b0:81:
         4f:b6:b5:f9:a2:ed:b8:71:17:d4:17:59:44:17:4d:7f:d3:b0:
         bf:b0:ef:6e:22:4e:dd:d3:2a:db:db:6b:f9:11:b2:8f:c8:c5:
         2e:f8:bb:09:45:bd:bf:0f:d2:d6:b6:0e:b0:6f:ad:81:d4:1c:
         e9:6a:73:8f:79:2e:a5:17:5f:c0:35:93:db:93:58:33:25:9d:
         57:9c:10:e8

New client certificate
$ openssl x509 -text -noout -in tests/ssl/acra-writer/acra-writer.crt
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            3b:84:c1:a2:8a:44:d9:5f:99:ac:0b:d1:ef:19:af:36:6b:cb:b3:51
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C = GB, ST = London, L = London, O = Global Security, OU = IT, CN = Test CA certificate
        Validity
            Not Before: Sep 22 16:05:34 2020 GMT
            Not After : Sep 10 16:05:34 2070 GMT
        Subject: C = GB, ST = London, L = London, O = Global Security, OU = IT, CN = Test leaf certificate
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (2048 bit)
                Modulus:
                    00:de:fa:c7:73:11:6f:6d:3f:67:13:dc:b7:b7:71:
                    ae:28:7b:b3:0c:0e:3a:6a:97:9c:31:87:25:0b:fc:
                    6f:85:45:74:d9:4b:0f:a1:4e:85:b9:3e:94:e5:9f:
                    60:46:39:56:cc:aa:59:b3:f5:e6:51:80:c5:d5:a5:
                    6b:d3:77:f1:67:15:6b:3e:3f:db:41:0e:ba:62:ca:
                    d3:26:9a:50:05:de:9f:a8:45:6c:61:14:d6:87:33:
                    e1:d1:21:9e:61:4c:85:c7:c1:72:50:80:e2:42:70:
                    98:08:e9:19:22:40:bf:11:09:3b:61:ee:7b:52:3a:
                    60:8a:f5:0f:65:87:8d:ec:b4:ef:c4:05:64:25:4e:
                    8b:33:0a:86:6a:f7:41:f1:60:6b:0d:f1:15:98:90:
                    40:d7:10:21:db:3a:b5:cf:70:94:99:7c:bb:37:fa:
                    de:e2:f2:30:f2:82:f2:2a:fe:f0:ab:e5:56:f1:14:
                    99:92:5a:5c:f9:86:e1:cc:39:d2:b4:0f:bc:2d:47:
                    a6:2d:f4:77:52:fa:3e:43:49:96:fa:5a:56:e9:c9:
                    32:78:c8:d3:af:c6:7a:ed:cf:35:a6:26:c7:0f:1f:
                    d8:db:96:b8:5a:23:2a:cc:fe:93:ec:17:46:e2:11:
                    fe:12:81:ab:26:07:2d:fc:77:4d:8d:fb:9b:0c:76:
                    92:23
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Basic Constraints:
                CA:FALSE
            X509v3 Key Usage:
                Digital Signature, Non Repudiation, Key Encipherment
            X509v3 Subject Alternative Name:
                DNS:localhost
    Signature Algorithm: sha256WithRSAEncryption
         a3:78:b0:f4:39:b4:b4:f9:67:69:70:25:55:60:5f:3b:93:97:
         22:67:82:c1:52:a7:56:29:05:d1:d4:fd:44:56:c5:79:7b:8a:
         b2:7b:5d:9f:1c:92:5f:a8:a0:cc:19:a6:4b:66:23:8d:a7:53:
         57:f6:7e:68:95:d0:78:8c:f6:1f:36:aa:ba:3d:74:c8:74:be:
         e4:28:39:0c:9c:27:da:bd:c0:a7:2c:7b:2d:1b:ab:a7:07:6a:
         e2:16:c7:c9:87:da:38:42:95:33:09:ea:f6:e5:a3:1f:00:de:
         40:bc:de:1a:b6:c6:ea:eb:31:e5:68:a8:e6:53:91:12:a7:0c:
         0a:05:72:06:be:8b:5e:f0:ca:fe:e3:54:ba:ba:cf:a0:43:f7:
         ab:02:3c:65:95:e4:c4:9a:b7:ad:d2:ad:0c:d5:14:0f:1e:24:
         d1:ff:e6:ee:c4:ac:ea:3f:a0:da:f1:fc:5f:59:43:88:8c:d3:
         84:d4:07:a6:3e:07:b6:5b:76:11:47:d2:82:b7:67:35:e1:d8:
         32:df:00:35:56:c5:5f:1b:ae:e0:c1:a0:5c:40:94:19:93:19:
         c6:24:11:df:23:38:cd:32:4a:cb:3d:27:29:0d:6f:d0:4d:4f:
         b4:79:aa:da:cd:c7:87:15:ad:99:30:12:a1:48:46:dd:2a:b5:
         26:bc:54:18

The interface for setting these extension variables is not a paragon of usability, but OpenSSL is what it is. We need to provide a configuration file and pass the section names to use. Since those are test certificates, we can use only bare minimum of fields. It took a while to figure out the correct settings.
Test certificates and private key files are updated and committed into the repository. This will trigger recently added GitHub alert about that. You can disregard it.
Updated Docker images
The database images we use contain the certificates and keys generated here, in Acra CE. Switch to updated versions of the images which contain the freshly generated data.

Database
Old tag
New tag

PostgreSQL
cossacklabs/postgresql-ssl:11
cossacklabs/postgresql-ssl:11-1

MySQL
cossacklabs/mysql-ssl:5.7.25
cossacklabs/mysql-ssl:5.7.25-1

MariaDB
cossacklabs/mariadb-ssl:10.3
cossacklabs/mariadb-ssl:10.3-1

Since the images are tied to contents of tests/ssl, new tags are introduced and used. After all branches of CE and EE have migrated to the new certificate files it will be possible to update the base tags. (Or, most likely, we'll leave them as it).
The images have been manually built and uploaded to Docker Hub by me. The Dockerfiles can be found in tests/docker.
Updated Go versions
Finally, update the Go versions that we use:

1.15 – latest stable version
1.14 – the previous one
1.13 – the oldest version we support

(Right now the oldest version is 1.11, but #414 bumps that to 1.13 so I'm using it to avoid conflicts.)

Nice work, @ilammy. You even worried about merge conflicts with https://github.com/cossacklabs/acra/pull/414. Thank you

One question - do we need setting GOROOT and GO111MODULE variables for Go versions higher than 1.11?

Not sure about GO111MODULE, but we need GOROOT, at least one script (.circleci/check_gotest.sh) relies on it.

GODEBUG=x509ignoreCN=0 does it turn off checks at runtime or should be passed at compile time? Just to know what to do if someone will use old certificates in own infra and will use new containers) Is it will help them or not)

@storojs72,

You even worried about merge conflicts with #414.

I just realized that changing the GOROOT values might cause conflicts after all. Well, I'll fix that in your PR if this one is going to be merged earlier.

do we need setting GOROOT

It seems that only .circleci/check_configs.sh is currently relying on it being set directly. Other scripts set it based on VERSION. I guess check_configs.sh can be taught to use VERSION value as well (say, pick the latest version).
However, right now I'd say that we should keep it in the general_validation step. Everywhere else it's not needed, it seems.

and GO111MODULE variables for Go versions higher than 1.11?

Since Acra has go.mod file, we don't really need to set GO111MODULE anymore. It's default value will work in our case.

@Lagovas,

GODEBUG=x509ignoreCN=0 does it turn off checks at runtime or should be passed at compile time?

It's a runtime switch. If anyone uses borked certificates then they can set it for acra-server as a workaround.


placeholder value

Challenge Add Placeholder Text to a Text Field has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

<input type="text">
<input type="text" placeholder="cat photo URL".>

@adriancr7 Your code doesn't pass the tests because you have added a second input element rather than adding the placeholder attribute to the existing input element, but with this corrected the tests would still not pass because of the extra . before the closing > of the element.
I believe this issue report indicates ambiguous language in the first test case message.
The message:

Add a placeholder attribute text input element.

should be amended to read:

Add a placeholder attribute to the existing text input element.

To potential contributors:
This issue can be resolved by opening a pull request that changes line 2307 of this file as detailed above. Please follow the Contributor's Guide and remember to visit the HelpContributors chat room if you need any assistance. We're here to help!

As a first timer on any open source projects, I would like to take a stab at this fix. Thanks @BKinahan for the guidance.


virtual-scroll: mat-select with virtual scroll loses selection state

Reproduction
https://stackblitz.com/edit/angular-2rtvdn
This stackblitz demos 2 mat-selects.
The one on the left is a standard mat-select. This one works fine on every situation (despite the performace issues that may arise when using large dataproviders)
The one on the right is a mat-select using virtual-scroll. This one has several issues. I will just describe one here which I believe it's not been filed yet.
Steps to reproduce:

Select an option from the mat-select on the Right. The option is displayed fine once the selector gets closed.

Now open again the mat-select on the right. The selector shows nothing (#15902) but we let's continue working.

With the "blank" selector opened, scroll down using the mouse wheel. You will see options are displayed again. Scroll to some position where the "selected" value is not longer visible (outside the MatOption instances used by the virtual scroll). Now Press "ESC".

Boom! The selector goes away (expected) but, despite the mat-select has a "value" set, the component shows nothing.

Expected Behavior
If we hit "ESC" o "click outside the mat-select", the control should always display the selected value, no matter if it's using default or virtual scroll.
Actual Behavior
The selected option is no longer displayed (but it's still set).
Obs:

"mat-select" seems to re-calculate its internal "selectionModel" and "empty" states once the selector is closed. It calculates this state using the available MatOptions which, of course, are not the full-set of options when using virtual scroll.

I don't know if this is a "virtual-scroll" bug or a "mat-select" bug but, anyway, the combination of both is crashing (somehow).

Environment

Angular: 8.0.1
CDK/Material: 8.0.1
Browser(s): Chrome 74
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

Duplicate of #10122


Icon picker: Show icon id

Testing #194038
I liked the feature, without it it's hard to know what the word is that's being searched. This will be more useful when it's used in other places/more frequently. I couldn't see a closed issue or PR talking about this decision.

It was removed because it does not look polished based on feedback from @isidorn. I can bring this back with proper design.


Idea - Show tooltip with method parameters when inside parantheses.

Hello
It would be neat if, like atom-ternjs, a tooltip with the parameters of the method the cursor is currently on are displayed in a tooltip (optionally highlighting the parameter the cursor is currently at). This could happen when either the cursor is on the method or in its body. Something like:
/**
 * My method.
 *
 * @param int         $param1 This is parameter 1.
 * @param string|null $param2 This is parameter 2.
 *
 * @return void
 */
protected function foo($param1, $param2 = null)
{
    // ...
}

protected function bar()
{
    // | is where the cursor is and param2 would be highlighted in bold in the tooltip.
    foo(5, |'test');
        /------------------------------------\
        | int $param1[, string|null $param2] |
        |------------------------------------|
        | This is parameter 2.               |
        \------------------------------------/
}

This would majorly complement the current autocompletion list as you get the current list when autocompleting methods and then, when you open the paranthesis of the body or the cursor jumps to the first argument on completion, you get the parameter list.
Just wanted to mention that this is not a required feature for me (I'm already very happy to even have the package at all, thanks for this!), but just to feed you with idea's :-).
Thanks for this great package!

Hello,
That's a great idea. I will not working on a PHP project those last days and I used atom-ternjs, and in fact, that's great !
I'll look on resolve some performance issue before, and after, why not :+1:

+1
This is one of the few remaining features that I sorely miss from PhpStorm.


Add systemd collector

Instead of using endpoint collector to call itself we should use direct
systemd collector to simplify process of getting logs and reduce systems
we touch.
Fixes: https://jira.mesosphere.com/browse/DCOS_OSS-5223

:wave: @drewvanstone @br-lewis @makkes  Can you review, please?

Codecov Report

Merging #113 into master will decrease coverage by 0.26%.
The diff coverage is 75.36%.

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
- Coverage   63.72%   63.46%   -0.27%
==========================================
  Files          23       23
  Lines        2258     2288      +30
==========================================
+ Hits         1439     1452      +13
- Misses        682      692      +10
- Partials      137      144       +7

Impacted Files
Coverage Δ

units/helpers_linux.go
85.71% <100%> (-4.77%)
:arrow_down:

api/diagnostics.go
77.23% <50%> (-0.24%)
:arrow_down:

io/readcloser.go
56.25% <56.25%> (ø)

collector/collector.go
86.95% <73.68%> (-0.19%)
:arrow_down:

api/providers.go
87.03% <89.28%> (-8.15%)
:arrow_down:

Continue to review full report at Codecov.

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


check gofmt with golang 1.4

hmmm, so gofmt 1.4 with -l requires this change, but gofmt from 1.3 in shippable dies.  I have no idea how to handle this.  Just keep ignore people who use 1.4 ?

we could drop the -l check and then gofmt 1.4 would be happy with the old code....

-s is the problem, not -l.  whoops

LGTM, thanks @eparis! Will wait for green for merge


feat: 🎸 Add support for latest SQ

Description
With changes in latest SQ around assetID and settlement related entity changes, this adds support to make LTS version compatible with those changes based on SQ version.
Breaking Changes
NA
JIRA Link
DA-1312, DA-1314
Checklist

[ ] Updated the Readme.md (if required) ?

/fast-forward

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

npm package (@lts dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


chore: TypeScript 2.7 and TypeScript test

I noticed that the greenkeeper PR to https://github.com/google/google-auth-library-nodejs/pull/288 was failing, and it looked like an issue with the generated d.ts.  It turned out the answer in this case was to upgrade that lib to TypeScript 2.7, but it made me realize we should probably have a d.ts test in this lib like the others.

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   97.87%   97.87%
=======================================
  Files           1        1
  Lines          47       47
  Branches        7        7
=======================================
  Hits           46       46
  Misses          1        1

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 c83896d...2122155. Read the comment docs.

I don't see new test fixture being run as part of the test suite.
Intentional?
On Sat, Feb 17, 2018, 8:05 AM Codecov<EMAIL_ADDRESS>wrote:

Codecov
https://codecov.io/gh/stephenplusplus/gcp-metadata/pull/37?src=pr&el=h1
Report
Merging #37
https://codecov.io/gh/stephenplusplus/gcp-metadata/pull/37?src=pr&el=desc
into master
https://codecov.io/gh/stephenplusplus/gcp-metadata/commit/c83896d3f60d48739036f38ddd067f0d71e26e11?src=pr&el=desc
will not change coverage.
The diff coverage is n/a.
[image: Impacted file tree graph]
https://codecov.io/gh/stephenplusplus/gcp-metadata/pull/37?src=pr&el=tree
@@           Coverage Diff           @@##           master      #37   +/-   ##
Coverage   97.87%   97.87%
Files           1        1
Lines          47       47
Branches        7        7
Hits           46       46
Misses          1        1

Continue to review full report at Codecov
https://codecov.io/gh/stephenplusplus/gcp-metadata/pull/37?src=pr&el=continue
.
Legend - Click here to learn more
https://docs.codecov.io/docs/codecov-delta
Δ = absolute  (impact), ø = not affected, ? = missing data
Powered by Codecov
https://codecov.io/gh/stephenplusplus/gcp-metadata/pull/37?src=pr&el=footer.
Last update c83896d...2122155
https://codecov.io/gh/stephenplusplus/gcp-metadata/pull/37?src=pr&el=lastupdated.
Read the comment docs https://docs.codecov.io/docs/pull-request-comments
.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/stephenplusplus/gcp-metadata/pull/37#issuecomment-366414625,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE0qb2pjp_GvpMFg90yJsh86AqUDkSbks5tVlAIgaJpZM4SJLi-
.

Not entirely sure what you mean.  The test is in test.kitchen.ts, which is run as part of nyc ava build/test.  You can see the output of the test run here:
https://circleci.com/gh/stephenplusplus/gcp-metadata/260?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Oh I think I get what you're saying :) The test is all about making sure you can compile against the d.ts.  We don't try to run the actual code in there.  This is very similar to the way DefinitelyTyped does their tests.

@stephenplusplus you cool with merging this?


The installation described in README.md does not enable hipBLAS.

After https://github.com/ggerganov/llama.cpp/commit/f3f65429c44bb195a9195bfdc19a30a79709db7b, the environment variable "LLAMA_HIPBLAS" is no longer valid. Therefore, even if you install as instructed in README.md, hipBLAS is not enabled.
"GGML_HIPBLAS" should be used instead of "LLAMA_HIPBLAS" as described below.
CMAKE_ARGS="-DGGML_HIPBLAS=on" pip install llama-cpp-python

@kfule thank you for point this out, just updated the docs.


Classname not found in any scope for android.jar methods

Actual behavior (Required!)
When I try to complete any method from android.jar file, in class, which extends any from android.jar (other libraries I'm not tested), I'm getting message: JavaComplete: classname 'methodName' not found in any scope (but method avaible in popup menu). And, when I try to complete parameters for this method, I'm getting errors (see below :message).
If typing method using any object (using operator dot), then all OK.
Expected behavior (Required!)
Methods from Android framework should complete correctly, without errors, if not used this. or any object.
The steps to reproduce actual behavior (Required!)

Open java file with class, which extends any from Android library.
Typing any android.jar method, not using for it this. or object.
Select it from popup menu (first error).
Try to complete parameters of this method by pressing <C-X><C-O> (second error).

Environment (Required!)

OS: Kali Linux Rolling, arm7l, chroot
Vim version: 8.0 (2016 Sep 12, compiled Apr 27 2018 02:08:08)
Neovim version: —

Q&A

Yes, I tried minimal .vimrc configuraion.
Yes, I have enabled logs with JCdebugEnableLogs and can put here content of JCdebugGetLogContent command, if you need.
Even, if you wish, I can set g:JavaComplete_JavaviDebug to 1, than set g:JavaComplete_JavaviLogfileDirectory, and put here server logs, too.

The output of :redir and :message (Optional)
:message pastebin
Sorry for my bad English.

Is this issue still relevant for you? Can you try with latest version.

@artur-shaik, not relevant anymore after updating. Thank you!


ORA-00923: FROM keyword not found where expected

I have applications made in .Net461, which use Oracle Database.
I decided to test EFCore, If the tables are created with the EnsureCreated it works, more if I run the migration, I found the error, I followed all the steps. I downloaded the fonts and followed the steps correctly, where I'm failing.
Line meeting the problem is:
at OracleSample.Program.Main(String[] args) na C:\Users\Manfred\Source\MyTestOracle\Programa.cs:linha 17</StackTrace><ExceptionString>Oracle.ManagedDataAccess.Client.OracleException (0x80004005): ORA-00923: FROM keyword not found where expected

In my searches I only found this:
http://www.dba-oracle.com/t_ora_00923_from_keyword_not_found_where_expected.htm
Steps to reproduce
Steps create database:
https://github.com/aspnet/EntityFrameworkCore/tree/dev/samples/OracleProvider
sqlplus / as sysdba
CREATE PLUGGABLE DATABASE oracle_ef_core
ADMIN USER manfred IDENTIFIED BY manfred
ROLES = (DBA)
FILE_NAME_CONVERT = ('\pdbseed', '\pdb_oracle_ef_core');
ALTER PLUGGABLE DATABASE oracle_ef_core OPEN;
My Programs.cs file:
using System;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;

namespace MyTestOracle
{
    class Program
    {
        static void Main(string[] args)
        {
            using (var db = new MyTestOracleContext())
            {
                db.Database.EnsureCreated();
                db.Database.Migrate();
            }
            Console.ReadKey();
        }
    }

    public class MyTestOracleContext : DbContext
    {
        public DbSet<Blog> Blogs { get; set; }
        public DbSet<Post> Posts { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseOracle("DATA SOURCE=<IP_ADDRESS>:1521/oracle_ef_core;USER ID=manfred;PASSWORD=manfred");
        }
    }

    public class Blog
    {
        public int BlogId { get; set; }
        public string Url { get; set; }
        public int Rating { get; set; }
        public List<Post> Posts { get; set; }
    }

    public class Post
    {
        public int PostId { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }

        public int BlogId { get; set; }
        public Blog Blog { get; set; }
    }
}

Create migration:
PM> Add-Migration -name MyFirstMigration -Context MyTestOracleContext
Further technical details
EF Core version: (2.1-sources)
Database Provider: (Microsoft.EntityFrameworkCore.Oracle)
Operating system:
IDE: (Visual Studio 2017)

The exact cause of exception would be seen in SQL logs.
Follow this sample on how to enable logging. https://github.com/smitpatel/EFSampleApp/blob/nightly/EFSampleApp/Program.cs
Regardless,
Using EnsureCreated()  & Migrate() both together is not invalid. See https://github.com/aspnet/EntityFrameworkCore/issues/10197

@smitpatel, in fact, this does not work.
That happened to me.
This error is trying to execute this SqlServer command:
SELECT OBJECT_ID (N '__ EFMigrationsHistory')

Is there a PR of my for this: https://github.com/aspnet/EntityFrameworkCore/pull/10219
As the project came from the base of SqlServer, there were several places still with commands for SQLServer.
Pr corrected this and many other things.

@smitpatel,
I forgot to inform you that you could comment the EnsureCreated() line.
I was testing, as I said when I launch EnsureCreated (), it works.
More migrations do not.

Looks like this will get fixed by the PR from @ralmsdeveloper. Assigning to @bricelam who is handling that PR.

@ajcvickers any news?

Sorry for the delay. I should get to the PR next week 🤞


Better support for field access strategy

Currently we heavily rely on the fact that the property access strategy is used in JPA entities. When using the field access strategy it is not required that getters/setters exists for fields, therefore we should resolve target types depending on the access strategy used instead of simply expecting the property based strategy.

This should be fully supported by now. If something comes up, that would be a bug.


added card for face api

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.yml
:white_check_mark:Succeeded

docs-ref-conceptual/index.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Console logger not using colors on windows

Previously we had the console logger set the color for the label (info, warn, fail, etc). It's not setting the color anymore on windows/powershell.

@BrennanConroy @muratg

Happens on cmd too.

https://github.com/dotnet/cli/issues/1977

Should we close this since it's a CLI issue?

I think we should keep this open until we have verified everything works correctly with new CLI.  We should verify the following scenarios:

Coloring works when using dotnet run
Coloring works when using dotnet app.dll
Coloring is disabled (no control characters) when redirecting the output of dotnet run or dotnet app.dll (e.g. to a file)

@BrennanConroy Please verify when we have the right CLI

Fixed with the CLI we just grabbed.


Implement a version of the "delete identifier" plugin with the Wellcome Storage Service

There are METS files with dangling entries in the mets:structMap, for example:
<mets:div ADMID="AMD" DMDID="DMDLOG_0000" ID="LOG_0000" LABEL="A brief review of the means of preserving the health of European soldiers in India" TYPE="MultipleManifestation">
  <mets:div ID="LOG_0001" LABEL="A brief review of the means of preserving the health of European soldiers in India" ORDER="1" TYPE="Monograph">
    <mets:mptr LOCTYPE="URL" xlink:href="b20415679_001.xml" />
  </mets:div>
  <mets:div ID="LOG_0002" LABEL="A brief review of the means of preserving the health of European soldiers in India" ORDER="1" TYPE="Monograph">
    <mets:mptr LOCTYPE="URL" xlink:href="b20415679_0001.xml" />
  </mets:div>
  <mets:div ID="LOG_0003" LABEL="A brief review of the means of preserving the health of European soldiers in India" ORDER="2" TYPE="Monograph">
    <mets:mptr LOCTYPE="URL" xlink:href="b20415679_002.xml" />
  </mets:div>
  <mets:div ID="LOG_0004" LABEL="A brief review of the means of preserving the health of European soldiers in India" ORDER="2" TYPE="Monograph">
    <mets:mptr LOCTYPE="URL" xlink:href="b20415679_0002.xml" />
  </mets:div>
</mets:div>

We'd like to be able to delete the unwanted identifiers – in this case, _001 and _002.
There used to be a plugin to do this – "delete identifier" – which would open the METS file directly in the file share and delete the parts from the struct map. We need a version of this plugin that works with the Wellcome storage.
The procedure for editing a file in the Wellcome storage has a few more steps:

Read the existing METS file from the storage service
Make any edits
Construct a new bag that contains the edited METS file, and a fetch.txt pointing to the remaining files in the previous version(s) of the bag
Upload the new version of the bag to the storage service

@alexwlchan what shall happen when we try to delete the only/last identifier? Is there a way to delete the complete bag or shall we create an update with zero files?


fails to download Bottles

Please fill out the issue checklist below and provide all the requested information.

[x] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Linuxbrew/homebrew-core: https://github.com/Linuxbrew/homebrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

brew config
HOMEBREW_VERSION: 1.7.1
ORIGIN: https://github.com/Linuxbrew/brew
HEAD: 468d869022ebe725d7b7745adfa872db3e6c16c9
Last commit: 13 days ago
Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: aa25e19bd132847fb1fecdd9db5de4444d750019
Core tap last commit: 6 hours ago
HOMEBREW_PREFIX: /home/nao20010128/.brew
HOMEBREW_REPOSITORY: /home/nao20010128/.brew
HOMEBREW_CELLAR: /home/nao20010128/.brew/Cellar
HOMEBREW_CACHE: /home/nao20010128/.cache/Homebrew
HOMEBREW_BOTTLE_DEFAULT_DOMAIN_LINUX: https://linuxbrew.bintray.com
HOMEBREW_BOTTLE_DEFAULT_DOMAIN_MACOS: https://homebrew.bintray.com
CPU: single-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /home/nao20010128/.brew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 6.0 build 600
Git: 2.17.1 => /usr/bin/git
Curl: 7.58.0 => /usr/bin/curl
Java: N/A
Kernel: Linux 4.15.0-20-generic x86_64 GNU/Linux
OS: Ubuntu 18.04.1 LTS (bionic)
Host glibc: 2.27
/usr/bin/gcc: 7.3.0
glibc: N/A
gcc: N/A
xorg: N/A

brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

To help us debug your issue please explain:

What you were trying to do (and why)
Upgrade Formulaes with Bottles
What happened (include command output)

brew upgrade
==> Upgrading icu4c
==> Downloading /bottles/icu4c-62.1.x86_64_linux.bottle.tar.gz
curl: (3) <url> malformed
Error: Failed to download resource "icu4c"
Download failed: /bottles/icu4c-62.1.x86_64_linux.bottle.tar.gz

What you expected to happen
Bottles are downloaded and used.
Step-by-step reproduction instructions (by running brew commands)
brew upgrade
Conditions: You need old Formulae installed which has Bottle.

That's pretty weird. I haven't seen that error before, and I'm not able to reproduce it. Here's the expected output:
$ brew fetch icu4c
==> Downloading https://linuxbrew.bintray.com/bottles/icu4c-62.1.x86_64_linux.bo
######################################################################## 100.0%
Downloaded to: /gsc/btl/linuxbrew/var/cache/homebrew/icu4c--62.1.x86_64_linux.bottle.tar.gz
SHA256: d13472ec966b71ee9c4acbb961d37f64eeb729657f6c51233ecc3670624a1c53

Please report env | grep HOMEBREW

Please also report the output of brew irb <<<HOMEBREW_BOTTLE_DEFAULT_DOMAIN

brew fetch icu4c worked as expected.
env | grep HOMEBREW
Empty.
brew irb <<<HOMEBREW_BOTTLE_DEFAULT_DOMAIN
==> Interactive Homebrew Shell
Example commands available with: brew irb --examples
Switch to inspect mode.
HOMEBREW_BOTTLE_DEFAULT_DOMAIN
"https://linuxbrew.bintray.com"

Downloading worked well.


Keep content in the top-left corner

I'm trying to use this library for a huge component and if I use the button that calls the zoomOut() function, all of my content jumps to the center to which I have to scroll. Is there a way or a setting that would always keep my content in the top left? Tried playing around with the options but haven't found anything yet.

Can you describe a bit more in details what you are experiencing, perhaps with a step-by-step description? I cannot reproduce the issue. Does it only happen with a big component?

I'll close this issues @myrorr since I haven't heard back. Please open it again once you have more info.


Updated DirectX support (Xbox Series X|S) section to include DirectX 12 in the Apps subsection

This change matches the additional capabilities exposed to UWP when running on Xbox Series X|S mentioned in @walbourn's blog: https://walbourn.github.io/directx-and-uwp-on-xbox-series-x-s/

Learn Build status updates of commit 3c2e061:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

uwp/xbox-apps/system-resource-allocation.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Integrated AlexFlipnote Image API in the Selfbot

Except for trash and supreme commands which are not in the open-sourced api

quite an inefficient way to implement it, im going to do this my self.


fix: make isTypeParameter no longer a typeguard

PR Checklist

[x] Addresses an existing open issue: fixes #382
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
Changes return type, adds tests, including type tests. These (intentionally) will break as a TS typechecking error if ts.TypeParameter becomes distinguishable from ts.Type in the future.

Note to self - consider proposing typescript-eslint rule (or TS error?) for type guards whose asserted type is effectively equal to their asserted parameter's type


Azure AI Inference SDK: Add support for automatically generating Chat Completions function definitions

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-inference


Add basic SwiftPM manifest file

This adds support for SwiftPM manifest based dependency managers. Specifically this adds support for installing via Accio but will probably also work with SwiftPM once it's integrated into Xcode.
Please note that this project is part of Accio's official integration tests within the Demo project.

@MengTo Anything holding you off from merging this?

Anyone merging this? Btw PR for same stuff here https://github.com/MengTo/Spring/pull/335 which was opened later...


Feature/fix getms overflow

Greetings!
At IRNAS we are building a product with Notecards and we have decided to build our Zephyr driver on top of you note-c library.
During code review of my Notecard driver code one of my colleague commented that I should check, if the note-c library correctly handles overflow that would happen every ~49 days in below code:
/* zephyr_millis is passed to note-c as a implementation of NoteGetMs() */
static uint32_t zephyr_millis(void)
{
	return (uint32_t)k_uptime_get();
}

static int notecard_init(const struct device *dev)
{
	k_heap_init(&notecard_heap, notecard_heap_memory, CONFIG_NOTECARD_HEAP_SIZE);
	k_mutex_init(&notecard_mutex);

	NoteSetFnDebugOutput(zephyr_log_print);

	/* Set platform specific hooks. */
	NoteSetFn(zephyr_malloc, zephyr_free, zephyr_delay, zephyr_millis);
	return 0;
}

I checked the note-c code and I saw that this is not correctly handled in (almost) all uses of NoteGetMs() (defined as _GetMs()).
When using timing functions that can rollover to measure elapsed time, the difference approach should be used; that way overflows are ignored and elapsed duration is correctly calculated.
I went ahead and fixed the uses of _GetMs(). I used scripts/run_unit_tests.sh to run the unit tests.
I made several commit pairs in the following convention:

first commit in a pair introduces a new unit test that trigger overflow condition, because of it the unit tests hangs.
second commit fixes the overflow.

Three things to note:

I am not sure that I covered all possible execution paths in the tests, I learned about one hour ago how Catch2 SECTION macro works and I am sure that added tests could be written differently to cover more possible paths due to other SECTIONs.
I did not change logic in NoteTimeST() which uses _GetMs(). It looks like it handles the wraparound, but I would suggest that someone looks over it again.
I ran the the scripts/run_astyle.sh before commiting, but it did nothing, I am not sure if it works or maybe I followed your style in the code that well that no changes are needed.

Thanks for the fixes @MarkoSagadin! I made some changes, mostly to the testing code, and since I can't add commits to your branch, I opened a new PR with all your commits here + my changes: https://github.com/blues/note-c/pull/46.

Thanks for merging this! If I open some other PR in the future, should I change something in the process to make the review, merging, etc. smoother?

The process we used here is ok with me. :)

@haydenroche5 Thanks, this was a starting point for my driver :)


Feat/subitles none option

Show 'None' option for subtitles in settings.

Also, make sure the profile page menu item shows "None" when the value is null


Proxies for learning purposes

We should figure out how to have a proxy which would work for learning purposes and could be used in hands-on tutorials, but which wouldn't be prone to malfunctioning or abuse. Any ideas? 😄
I think this is quite important, as I don't see much value in tutorials which are broken and a reader cannot easily follow the steps to learn. I don't think that figuring out how to have a "didactic" proxy will be easy, but I think it's worth to figure out.

I'll mention @mtrunkat by random, as I'm not really sure with who to discuss this.

Yeah, this is a good point. What we did recently with SDK is skip proxy usage when use is not a paid plan and does not have external access. Once you deploy it to Apify, it will use the proxy.
Let's discuss this when we meet on Tuesday. I really don't see a ~simple~ safe solution at this point.

For a long time we did not offer residential proxies on the free plan and proxies in general were limited to 30 days trial. But now we offer both for free up to $5/m. So perhaps this is a nice and honest opportunity to turn learners into signups, because we can offer them free proxies and they will be able to complete the tutorials with them.

For a long time we did not offer residential proxies on the free plan and proxies in general were limited to 30 days trial. But now we offer both for free up to $5/m. So perhaps this is a nice and honest opportunity to turn learners into signups, because we can offer them free proxies and they will be able to complete the tutorials with them.
But it's true what Mara says, that even though they have access to the proxies on Apify, they can't use them locally, which is a bummer. Showing them how to run the scrapers on Apify instead of locally is a bit of a stretch, I guess.

I think that the free tier could be a satisfactory answer, but as you point out, they can't get hold of a specific address easily and can't use them locally, which is a problem. We can turn them to full Apify platform users later in their journey, but I see it the same way, that a tutorial for basic proxies manipulation and explanation is not the right time and place to do that.
To get hold of a specific address ain't such a problem, we can instruct the student to "run this to get the address", but not being able to use the address from their computer is a big limitation for teaching and learning.
What about a scraper which would find some fresh addresses somewhere on the internet? Even low quality ones, we're not gonna do rocket science with them. I don't plan to send people to scrape LinkedIn (final level boss 👾 🎮 👾) as part of their early learning. I could instruct students to run certain scraper to get hold of a few fresh and mostly working addresses they could use for their learning. They'd also understand why it's so annoying to do that on your own, better understanding the value of the platform 😄

Maybe try the free proxy scraper Actor? https://github.com/apify/apify-docs/issues/959#issuecomment-2120087433
https://blog.apify.com/automatically-scrape-free-proxy-lists-to-check-for-working-proxies/


feat: store account metadata in portfolioSlice

Description
depends on https://github.com/shapeshift/lib/pull/992

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #2546
Risk

Testing

Screenshots (if applicable)

lookin hot locally linked to the lib PR


chore: add comment to avoid others misunderstanding the code

In Go, nil is not always equal to nil.
One friend asked me that alice has a redundant nil check. So I add the comment to avoid others misunderstanding the code.
For the "nil is not nil" issue, please check https://yourbasic.org/golang/gotcha-why-nil-error-not-equal-nil/

Thank you!


started up home page

Description
This PR establishes the homepage for our app with critical components
What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] ✅ Test
[ ] ⏩ Revert

Approved!


feat(spark): bitwise functions

Adds support in the spark module for 8-bit and 16-bit integer types and for some bitwise functions. The catalyst optimizer generates expressions using these for certain query types.
Note that shift_right (and other bit shifting functions) might want to be considered for the core substrait function catalog, but it has been added here (temporarily?) as spark extension pending a longer term discussion/decision on their wider utility.

I'll fixup the conflict :)


Android benchmarking app

Android counterpart to bench.py. Only RFComm Server, RFComm Client, L2CAP Server and L2CAP Client are supported in this version.
Also, BT addresses must be entered manually, scanning isn't built-in.

I've noticed that the app can be suspended when throughput data transmission takes a few seconds:
11-07 16:14:04.508  5080  5242 I btbench.socket-server: got connection
11-07 16:14:14.252  1310  1750 D ActivityManager: freezing 5080 com.github.google.bumble.btbench

Is it possible to keep this app from being frozen by the Activity Manager? https://source.android.com/docs/core/perf/cached-apps-freezer Maybe keep the display on to keep the app in the foreground?

I usually have a developer setting that keeps the screen on while on USB adb. That does help prevent freezing the app. The other method is to do to the Developer settings and changing "Suspend execution for cached apps" to "disabled".
A cleaner long term solution would be to create a background service in this app, so that it can continue working without beeing frozen, even if you switch to a different app, but that's a task for another PR :-)

@barbibulle when going from phone (RFCOMM client) to USB dongle (RFCOMM server) I've noticed that even though we're calling create insecure RFCOMM socket, I get a pairing request popup on Android. This makes a test hard to automate using the ADB shell launcher commands.
Do you know what maybe causing the bonding attempt?

@barbibulle when going from phone (RFCOMM client) to USB dongle (RFCOMM server) I've noticed that even though we're calling create insecure RFCOMM socket, I get a pairing request popup on Android. This makes a test hard to automate using the ADB shell launcher commands.
Do you know what maybe causing the bonding attempt?

The "insecure" part of setting up an RFComm socket is a bit misleading. It's just about whether you want MITM protection or not, but not whether you want any form of security or not. Android will always require the devices to have a pairing and to encrypt the channel. If you don't bond, it will re-pair every time you setup the socket. To avoid the dialog coming up everytime, what you need to do is to bond the devices. You can do that from either side. From the Bumble side, you can use the pair app to initiate pairing and bonding. Or you can use the nrfConnect app on the phone to do that as well.


Avoid null ExpansionFactor in type1 fonts (follow-up of #15289)

/botio test

/botio-windows test


Improve DB Checker

Is your feature request related to a problem? Please describe.
The DB checker doesn't check that the achieved total matches up with the best snatch & clean & jerk made.
Describe the solution you'd like
Add additional check to the python/check_db.py script. It's used in the GitHub Actions workflow so should throw the necessary flag in the event of a bad result along with printing the filepath, and line.
Additional context
Example of a lift that was missed by the DB checker:
Event: IWF GRAND PRIX 5th RUSSIAN FEDERATION PRESIDENT'S CUP
Date: 2015-12-12
Gender: 94 kg Men
Name: VARDANIAN Norik
Bodyweight: 93.85
Sn1: 163
Sn2: 168
Sn3: 171
CJ1: 197
CJ2: -202
CJ3: 202
BestSn: 0
BestCJ: 0
Total: 0
Sinclair: 0
Federation: IWF
Instagram:

Hey Euan! I'm interested in this one


Target period table: Number (#) indicator target configuration options and display

End user story: When I am required to make a choice between cumulative- and non-cumulative display of Number (#) indicator targets and results, I do not accidentally choose the opposite of what I need, nor do I collapse into a sobbing heap of confusion. I am gently steered towards the correct choice for the situation.
Affects: Target period tables for indicators with all Target frequencies except for Life of Program only.
Precondition:

I have selected Number (#) under the Unit of measure field.
I have completed all required fields and clicked the "Create targets" button.

ACCEPTANCE CRITERIA

Two toggle options appear below the table. They are:
1.1. NON-CUMULATIVE (NC): Target period results are automatically calculated from data collected during the period. The Life of Program result is the sum of target period values.
1.2. CUMULATIVE (C): Target period results automatically include data from previous periods. The Life of Program result mirrors the latest period value.
The first option (NON-CUMULATIVE) is the default selection.
It is not possible to select both options or neither option.
When NON-CUMULATIVE is selected, there are no additional impacts to the targets table. This is today's default selection.
When CUMULATIVE is selected, the following are true:
5.1. There is no "Sum of targets" row in between the final target period row and the Life of Program target row.
5.2. As is the case today, the LoP target value continues to be taken directly from the LoP target field. We don't force it to match the final period target value.*

*If we aren't going to validate or enforce consistency, we should consider, at the very least, introducing warning messages when there is a discrepancy. I'll file a separate story for it, if we go that route.

Need to fix "NaN" thing:

and

Validated.


Instantiating a new URLLoader causes a segmentation fault

Describe the bug
When instantiating a new URLLoader with a new URLRequest, like this:
var request = new URLLoader(new URLRequest('https://spacebubble.io/apps/ezworksheet/program/Windows/alpha-0.0.0.zip'));

I'm getting an Access violation (segfault):
Uncaught exception: Access violation
Called from lime.net.curl.CURLMulti.perform(lime/net/curl/CURLMulti.hx:67)
Called from lime._internal.backend.native.$NativeHTTPRequest.multiThreadPool_doWork(lime/_internal/backend/native/NativeHTTPRequest.hx:508)
Called from lime.app._Event_Dynamic_Void.dispatch(lime/_internal/macros/EventMacro.hx:91)
Called from lime.system.ThreadPool.runWork(lime/system/ThreadPool.hx:150)
Called from lime.system.ThreadPool.queue(lime/system/ThreadPool.hx:95)
Called from lime._internal.backend.native.NativeHTTPRequest.loadData(lime/_internal/backend/native/NativeHTTPRequest.hx:327)
Called from lime._internal.backend.native.NativeHTTPRequest.loadText(lime/_internal/backend/native/NativeHTTPRequest.hx:345)
Called from lime.net._HTTPRequest_String.load(lime/net/HTTPRequest.hx:140)
Called from openfl.net.URLLoader.load(openfl/net/URLLoader.hx:313)
Called from openfl.net.$URLLoader.__constructor__(openfl/net/URLLoader.hx:169)
Called from _Config.$Config_Fields_.startDownloadWithSaveAndBar(Config.hx:27)
Called from fun$4091(AutoUpdater.hx:59)
Called from haxe.$Timer.~delay.0(haxe/Timer.hx:244)
Called from lime._internal.backend.native.NativeApplication.updateTimer(lime/_internal/backend/native/NativeApplication.hx:586)
Called from lime._internal.backend.native.NativeApplication.handleApplicationEvent(lime/_internal/backend/native/NativeApplication.hx:173)
Called from lime._internal.backend.native.NativeApplication.exec(lime/_internal/backend/native/NativeApplication.hx:146)
Called from lime.app.Application.exec(lime/app/Application.hx:150)
Called from $ApplicationMain.create(ApplicationMain.hx:135)
Called from $ApplicationMain.main(ApplicationMain.hx:26)
Called from .init(?:1)

I tested again in a separate project, and still, the same error.
To Reproduce
Create a new project, and place this line in Main:
var request = new URLLoader(new URLRequest('https://spacebubble.io/apps/ezworksheet/program/Windows/alpha-0.0.0.zip'));

Expected behavior
OpenFL should download the zip file the domain points to.
You can check that domain, and see for yourself that it does exist
Screenshots

OpenFL Targets
Effects:

hl/debug
hl/final
Doesnt Effect:
hl

Update
In Hashlink, the app doesnt crash, but the request doesnt load anything/throw any error

Another Update
Running the same thing in neko & neko/debug does install the file, but crashes right before it finishes downloading:
Called from sys.thread.Lock::$statics line 1
Called from ApplicationMain::main line 26
Called from ApplicationMain::create line 135
Called from lime.app.Application::exec line 150
Called from lime._internal.backend.native.NativeApplication::exec line 146
Called from a C function
Called from lime._internal.backend.native.NativeApplication::handleApplicationEvent line 175
Called from lime.app._Event_Int_Void::dispatch line 91
Called from lime.system.ThreadPool::__update line 185
Called from lime.app._Event_Dynamic_Void::dispatch line 91
Called from lime._internal.backend.native.NativeHTTPRequest::multiThreadPool_onProgress line 574
Called from lime.app.Promise_haxe_io_Bytes::complete line 108
Called from lime._internal.backend.native.NativeHTTPRequest::loadText line 352
Called from lime._internal.backend.native.NativeHTTPRequest::buildBuffer line 367
Called from haxe.io.BytesBuffer::getBytes line 204
Uncaught exception - std@buffer_string

Try this:
var request = new URLLoader();
request.dataFormat = URLLoaderDataFormat.BINARY;
request.addEventListener(Event.COMPLETE, event -> {
	trace("Complete");
});
request.load(new URLRequest('https://spacebubble.io/apps/ezworksheet/program/Windows/alpha-0.0.0.zip'));

By default, dataFormat is URLLoaderDataFormat.TEXT, so it tries to interpret your .zip file as a text file.

Yeah, didn't update the issue but I spoke about that issue with @Dimensionscape and he told me to do that. we came to the conclusion that simply doesn't work on HL, but does work on neko

So the issue should remain open

Hl/debug
Hl just doesn't start downloading data

I was able to reproduce on HL initially, but not after I changed the code. Did you switch to calling load(), or do you still pass the URLRequest to the URLLoader constructor? It works for me using load(). I think that using load() is necessary because you need to configure the appropriate dataFormat before it tries to start loading anything.

Actually, I figured out how to reproduce.  Without -debug, it works correctly.

I deleted my lime.hdll and lime-debug.hdll files and ran lime rebuild hl -release, and now it works for openfl test hl -debug.

The question is - does it download anything, or just not crash?

The Event.COMPLETE listener is called, and the value of bytesAvailable is 9192260.
var request = new URLLoader();
request.dataFormat = URLLoaderDataFormat.BINARY;
request.addEventListener(Event.COMPLETE, event -> {
	trace("Complete: " + cast(request.data, ByteArray).bytesAvailable);
});
request.load(new URLRequest('https://spacebubble.io/apps/ezworksheet/program/Windows/alpha-0.0.0.zip'));

Nice! I'll document this error when i have the time, and I'm closing this issue

Reopening because Event.PROGRESS isnt called, and its a pretty big part that makes URLLoader more useful than haxe's Http

actually closing cause its confusing, oops😂


App Analytics

Add basic analytics to determine how to improve the app
Options

GoogleAnalyticsBridge
react-native-mixpanel
meh-> react-native-segment-analytics
Wrap a different native library :?

#36 Actually gives some nice analytics with firebase


Python 3.5 and beautifulSoup 4

The beautifulSoup 4.4.0 and before versions does not support py 3.5, and this project requires beautifulSoup 4.3.2.

requests is broken down with error "SyntaxError: invalid syntax" on python3.2.5

well I mean 3.5, but not 3.2.5...:)

current requirement.txt manually tested working on MacOS 10.11, python 3.5. I think you can just push to pypi and I can enjoy it :)

Yeah I know it. But tests were failed as requests broke down on
python3.2.5, when I modified the requests' version in the requirement.txt.
Luke Lazurite<EMAIL_ADDRESS>周一下午5:19写道：

well I mean 3.5, but not 3.2.5...:)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RicterZ/BGmi/issues/3#issuecomment-244699541, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFCbxyN_WEPZ4iXKWoZfhx2RopBRYJd3ks5qm96ygaJpZM4J00NQ
.

OK, just a moment.
Ricter Zheng<EMAIL_ADDRESS>周一下午5:33写道：

Yeah I know it. But tests were failed as requests broke down on
python3.2.5, when I modified the requests' version in the requirement.txt.
Luke Lazurite<EMAIL_ADDRESS>周一下午5:19写道：

well I mean 3.5, but not 3.2.5...:)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RicterZ/BGmi/issues/3#issuecomment-244699541, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFCbxyN_WEPZ4iXKWoZfhx2RopBRYJd3ks5qm96ygaJpZM4J00NQ
.

Well, it seems strange. no python 3.2 environment :(

It seems that python 3.2 deleted u string literal and 3.3 re-introduce it. That's the problem.

_(:3」∠)_oh
Luke Lazurite<EMAIL_ADDRESS>周一下午5:38写道：

It seems that python 3.2 deleted u string literal and 3.3 re-introduce
it. That's the problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RicterZ/BGmi/issues/3#issuecomment-244703778, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFCbx1NU9PhtMeeQ-BhMO9TjqVexSByGks5qm-L5gaJpZM4J00NQ
.

BGmi has been pushed to pypi :D


The callendar on the right has order issues

Sometimes the 'Nhs' indicator is not on top.

Solved in 7fe0a0713e2a1a26ec62788f663b8e567c06fbf7


fix maintenance-mode favicon

Iiiiiiiit's currently an HTML file. :flushed:

Discovered via ack css from https://github.com/CenterForOpenScience/osf.io/pull/4799/files#r49213086.

Hm, interesting. Good catch and thanks for the PR!


beta-develop DefaultAgentDecideKilledOrUnconsciousModel

Hello.
DefaultAgentDecideKilledOrUnconsciousModel no longer working.
Currently working: SandboxAgentDecideKilledOrUnconsciousModel
PartyOnlyKnockOut, EnemyOnlyKnockOut, FriendlyLordCombatDeathPercentageBattle, EnemyLordCombatDeathChanceMultiplier, EnemyLordCombatDeathPercentageBattle
Thanks.

Fixed by update


Update KPI from PXP to pipeline runs

Closes https://github.com/meltano/internal-data/issues/10

@pnadolny13 will you take an iteration on the implementation details?

@tayloramurphy theres a definition of pipelines in https://handbook.meltano.com/data-team/metrics-and-definitions#pipeline that reflects the current state. Should I just put a cross reference there? Or were you looking for a different implementation using the active users definition we used in PxP i.e. >=7days old, 28 rolling window, etc.

@pnadolny13 I'm actually fine to cross-link if the logic is accurate. I can make that change and then get Douwe to approve and merge.

@DouweM accepted your change and I think it's good as is. Please merge if you agree.

@tayloramurphy Merged! Can you please share this in internal-announcements since it's a Data topic?

Inviting discussion from the team in https://github.com/meltano/internal-data/discussions/21


Rest v2 "Get a Table" endpoint does not correctly report defaultTimeToLive

Overview
When retrieving the table properties with the Rest v2 endpoint GET /v2/schemas/keyspaces/{keyspace-id}/tables/{table-id}, the returned value for tableOptions.defaultTimeToLive (which should correspond to the underlying default_time_to_live in CQL language) is always returned as 0, regardless of the actual table settings as seen in CQL.
This is observed using Astra DB and the currently-running (as of 2022-05-20) version of Stargate on top of it.
Motivation
Users would expect a faithful mapping between table features as seen with CQL describe table queries and using the Rest v2 API.
Reproduce

Create a table in Astra DB with a nonzero default_time_to_live;
check with describe table and notice the nonzero setting being reported (also can check by watching an inserted row evaporate away!);
query the same table with the Rest v2 API endpoint above: there'll be "defaultTimeToLive": 0.

(See attachments based on Astra DB)
Incidentally, the opposite works fine, i.e. a table created with the PUT [...] endpoint will have the intended default time to live properly set.

See images.
Suggested fix
Alas, I am not familiar enough with the codebase to venture into this.

@hemidactylus Thanks for reporting :+1:
@tatu-at-datastax Wanna have a look?

@ivansenic thanks, will have a quick look. Pretty safe to assume there's no testing for accessing that option.

Ok so the code in question does indeed not fetch anything:
class TablesResource {
  // ...
  private TableResponse getTable(AbstractTable tableMetadata) {
    // ...
    final int ttl =
        0; // TODO: [doug] 2020-09-1, Tue, 0:08 get this from schema (select default_time_to_live
    // from tables;)
    final TableOptions tableOptions = new TableOptions(ttl, clusteringExpression);

Looks like SGv2 has same challenges, Table resource has:
    // !!! TODO: figure out where to find TTL?
    List<Sgv2Table.ClusteringExpression> clustering =
        clustering2clustering(grpcTable.getClusteringOrdersMap());
    final Sgv2Table.TableOptions tableOptions = new Sgv2Table.TableOptions(null, clustering);

So as things are, support for accessing ttl is unfortunately unsupported.

Note: fix would require first doing #1881.


feat: add git-town

#6889 git-town/git-town: Generic, high-level Git workflow support for reducing toil with teams. Simplifies branching, rebasing, and other actions related to git workflows.
$ aqua g -i git-town

How to confirm if this package works well
Example that this tool is working well, running this to sync from main, create a new branch after that update.
$ git town hack feat/foo

No configuration is required, through the tool can be customized by running config actions configuration commands
Reference

Git-Town Docs

Thank you for your contribution!

Please read the document.

https://github.com/aquaproj/aqua-registry/blob/main/CONTRIBUTING.md

We provide the useful CLI to develop aqua registry.
Let me fix this pull request.

I generated code by the following command.
$ rm -R pkgs/git-town
$ aqua-registry scaffold git-town/git-town

I did use those tools, which was great! I think i got stuck in the middle as I already created a branch and then it didn't finish. Not sure what piece I missed afterwards, but will try to make sure it's done correctly after this. cheers!

Also I'm a huge fan of renovate, and find your custom renovate inspiring! I'll be looking at that for better knowledge on renovate going forward. thank you for this.

Oh I thought that was an error. It nested git-town twice under itself when I did that locally. I figured I'd been in the wrong directory or something. Now I know :-)

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.71.0


Weird python package layout

In the current form, the package is installed such that its subpackages are imported like this:
from demo import config
(which might very well clash with other local packages)
or unintuitive paths like this:
import projects.YOSO..yoso
whereas you would usually suspect only a import yoso or something like this

Thanks for your suggestion. We will revise the code for better package layout. Can you provide the link of code lines for these problems? since we cannot locate where the problems raise in the code.


Add the capability to have many window sensor per VTherm

The "open window feature" should be able to deal with many window sensor. Some rooms have many windows/door and if one is open, the VTherm should be turned off.

Duplicate #105


Fix ld error with TBB_LIB on macos

Summary
While helping a user specify the Homebrew TBB for use with CmdStan, I discovered that the linker on macos doesn't support the -Wl,--disable-new-dtags argument:
andrew@Andrews-MacBook-Air ~ % clang -v
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
andrew@Andrews-MacBook-Air ~ % touch foo.cpp
andrew@Andrews-MacBook-Air ~ % clang++ foo.cpp -Wl,--disable-new-dtags
ld: unknown options: --disable-new-dtags
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It's not an issue with the Linux clang though (checked in a Debian Sid docker image)
Tests
N/A
Side Effects
N/A
Release notes
Fix linker error when using external TBB on MacOS
Checklist

[x] Copyright holder: Andrew Johnson
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

And we still get the right TBB being linked in on macOS? The flag was introduced on Linux to enforce that no system defaults lead to link against a system TBB rather than the supplied TBB by Stan.

And we still get the right TBB being linked in on macOS? The flag was introduced on Linux to enforce that no system defaults lead to link against a system TBB rather than the supplied TBB by Stan.

The flag is only used when the TBB_LIB variable is set - and a system TBB is being linked against

Great!
We've actually been patching this out in the conda build for some time, I've just continuously forgotten to upstream it: https://github.com/conda-forge/cmdstan-feedstock/blob/main/recipe/no-dtag-flag.patch

Peak downstream behaviour

This change broke a build I had that was manually setting LDFLAGS_TBB, since now the dtags flag is +='d it doesn't respect previous settings the way ?= does.
The build in question is not on a Mac, but does use clang's lld. We don't really have a good way of detecting this automatically.
I also noticed this flag is only actually being passed if you are using a custom TBB, not one vendored by Stan, so I wonder why we even need it at all?

This change broke a build I had that was manually setting LDFLAGS_TBB, since now the dtags flag is +='d it doesn't respect previous settings the way ?= does.

A that makes sense, we could just wrap the += in an ifeq ($(LDFLAGS_TBB),)?

I also noticed this flag is only actually being passed if you are using a custom TBB, not one vendored by Stan, so I wonder why we even need it at all?

Because if you try to use a custom TBB with Stan on Macos then you can't build the math library/cmdstan at all - because macos doesn't support the flag

Because if you try to use a custom TBB with Stan on Macos then you can't build the math library/cmdstan at all - because macos doesn't support the flag

I meant "why do we need --disable-new-dtags on any platform". Like what about our vendored TBB means we don't need it on linux etc, but a user-supplied ones means we do?

I think we can get nice, customizable behavior with

# MacOS ld does not support --disable-new-dtags
ifneq ($(OS),Darwin)
  LDFLAGS_TBB_DTAGS ?= -Wl,--disable-new-dtags
endif

# Windows LLVM/Clang does not support -rpath, but is not needed on Windows anyway
ifneq ($(OS), Windows_NT)
  LDFLAGS_TBB_RPATH ?= -Wl,-rpath,"$(TBB_LIB)"
endif

LDFLAGS_TBB ?= -Wl,-L,"$(TBB_LIB)" $(LDFLAGS_TBB_DTAGS) $(LDFLAGS_TBB_RPATH)


Multi-arch docker build

Hello,
First, thank you for your work.
I was wondering if it would be possible to add multi-arch support in those images?
I want to run them on ARM64 architecture.
Kind regards,

I won't be against.

I won't be against.

Cool!
I've looked at the GitHub workflows you already have, but I don't think I have experience with what you have setup there. I'd be willing to have a look, is there a documentation I could read to help you?

The GitHub Action is only there to trigger builds on Docker Hub. Last time I checked it didn't support building for aarch64/arm64.
The only solution I see is to build image in a GitHub Action, then push to Docker Hub. It is rather inconvenient.

I'd be willing to create an updated GitHub workflow for this, can I submit a PR when I have some time for it?

You can. However, pushing to the docker registry won't work obviously (you will have to comment the line).

@j8r PR created :)


fix med, local pref and as path prepend test

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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 54.382%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1843

Relevant Lines:
3389

💛  - Coveralls

Pull Request Functional Test Report for #2876 / 42fce0df40dc5f9c1ecc99274df5e32b70cf7a84
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control
87f4ddfa
Log

Cisco 8000E

RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control
1a865f97
Log

Cisco XRd

RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control
60f27be2
Log

Juniper ncPTX

RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control
40ece9e5
Log

Nokia SR Linux

RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control
474e516d
Log

Openconfig Lemming

RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control
485a56f4
Log

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control

Cisco 8808

RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control

Juniper PTX10008

RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control

Nokia 7250 IXR-10e

RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control

Help


Figma style for Dimension background-blur token

Describe the issue:
users can apply the dimension background-blur token but can't create a style in Figma, hence not having the token and style linked

Wondering how we should make it possible without introducing a custom type 🤔

This request has been moved to our new feedback tool. Go check out https://tokensstudio.featurebase.app/ to create a free account. You can upvote and comment on existing posts, make a new request, and subscribe to be notified when requests move into our roadmap.

Here's the URL to the featurebase post that is linked to this ticket:https://tokensstudio.featurebase.app/p/enhanced-functionality-for-boxshadow-tokens-greater-effects-in-figma


Script Broken?

Was working fine, monitoring every 30m until early this AM...See Attached.
Scraper-Log.txt
Anyone else having this issue?

Just to follow up...it appears SW didn’t like my 30m intervals across about 8 different dates and thus blocked my public IP.  Not sure if they mistook the traffic as DoS attack or something but thought I’d share to see if A.) anyone else has experienced this and B.) if 3 hours is generally safe- as I know that is recommended- albeit not sure if it would have even helped in this case as I was looking at a variety of dates. Thx.