Install fails with KeyError: 'processor_architecture'

Started after yesterdays update
Downloading https://pypi.io/packages/source/s/setuptools/setuptools-24.0.0.zip
Extracting in /tmp/tmpmNBMZ1
Now working in /tmp/tmpmNBMZ1/setuptools-24.0.0
Installing Setuptools
Traceback (most recent call last):
  File "setup.py", line 21, in <module>
    exec(init_file.read(), command_ns)
  File "<string>", line 11, in <module>
  File "/tmp/tmpmNBMZ1/setuptools-24.0.0/setuptools/__init__.py", line 14, in <module>
    from setuptools.extension import Extension
  File "/tmp/tmpmNBMZ1/setuptools-24.0.0/setuptools/extension.py", line 11, in <module>
    from . import msvc
  File "/tmp/tmpmNBMZ1/setuptools-24.0.0/setuptools/msvc.py", line 244, in <module>
    class PlatformInfo:
  File "/tmp/tmpmNBMZ1/setuptools-24.0.0/setuptools/msvc.py", line 253, in PlatformInfo
    current_cpu = safe_env['processor_architecture'].lower()
  File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'processor_architecture'
Something went wrong during the installation.
See the error message above.

I am hitting this as well. I'm pinning to 23.1.0 for now as a workaround. Of interest, it seems to only affect python 2 (we were doing installs of python packages in an ubuntu 14.04 docker container and the python 3 ones worked fine).

yep. 24.0.0 also getting this

Could it be related to this? https://github.com/pypa/setuptools/pull/624

our workaround was to:
Change L11 of "/usr/local/lib/python2.7/dist-packages/setuptools/extension.py
< from . import msvc9

from . import msvc9_support

@anthrotype  -  I'd vote for - it's related  ;)

I hope fixed this.
I anyone with this error want to check it now with the updated version for the PR #627 and report here if fix work. Thanks.

@boazin I don't manage this project, I am only a contributor.

@JGoutin - I checked your Fix on Linux 14.04.1-Ubuntu with python 2.76.
I'm not getting the exception "KeyError: 'processor_architecture'" but I get the following exception:
Traceback (most recent call last):
File "/usr/local/bin/easy_install", line 7, in
from setuptools.command.easy_install import main
File "/usr/local/lib/python2.7/dist-packages/setuptools/init.py", line 14, in
from setuptools.extension import Extension
File "/usr/local/lib/python2.7/dist-packages/setuptools/extension.py", line 11, in
from . import msvc
File "/usr/local/lib/python2.7/dist-packages/setuptools/msvc.py", line 334, in
class RegistryInfo:
File "/usr/local/lib/python2.7/dist-packages/setuptools/msvc.py", line 343, in RegistryInfo
HKEYS = (winreg.HKEY_USERS,
File "/usr/lib/python2.7/dist-packages/six.py", line 116, in getattr
_module = self._resolve()
File "/usr/lib/python2.7/dist-packages/six.py", line 105, in _resolve
return _import_module(self.mod)
File "/usr/lib/python2.7/dist-packages/six.py", line 76, in _import_module
import(name)
ImportError: No module named _winreg

Thanks for reporting.
six seem to not raise correctly Import error on from setuptools.extern.six.moves import winreg.
Tried another strategy: disabling this module if not on Windows.
If you want to test.

A simpler workaround (while waiting for pypi to be updated) could be to:
export processor_architecture=‘'
prior to attempting to install.
tested on python 2.7.6 (but with somewhat dated get-pip.py)

@beckmani Thanks for reporting.
Six seem to not correctly raise Import error when importing winreg. I tried another strategy : disabling this module if not on Windows.
Patch updated.

@JGoutin - There is still exception. See line #336
Traceback (most recent call last):   File "/usr/local/bin/easy_install", line 7, in <module>     from setuptools.command.easy_install import main   File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 14, in <module>     from setuptools.extension import Extension   File "/usr/local/lib/python2.7/dist-packages/setuptools/extension.py", line 11, in <module>     from . import msvc   File "/usr/local/lib/python2.7/dist-packages/setuptools/msvc.py", line 327, in <module>     class RegistryInfo:   File "/usr/local/lib/python2.7/dist-packages/setuptools/msvc.py", line 336, in RegistryInfo     HKEYS = (winreg.HKEY_USERS,   File "/usr/lib/python2.7/dist-packages/six.py", line 116, in __getattr__     _module = self._resolve()   File "/usr/lib/python2.7/dist-packages/six.py", line 105, in _resolve     return _import_module(self.mod)   File "/usr/lib/python2.7/dist-packages/six.py", line 76, in _import_module     __import__(name) ImportError: No module named _winreg

@beckmani Thanks
I updated.

@beckmani Nice ! Thanks for your tests !

Fixed in #627 and release pending for 24.0.1 release.


Upload to BApp store

Can you upload this app to BurpSuite's store?

Hey @CaledoniaProject,
I've been in touch with Paul Johnston from Portswigger requesting that AutoRepeater be uploaded to the BApp store. Hopefully it'll be up there soonish.

Thanks


Picture downloading not progressively after setting to download progressively

In the published Example(ProgressiveViewController) I changed the picture address(https://s-media-cache-ak0.pinimg.com/1200x/2e/0c/c5/2e0cc5d86e7b7cd42af225c29f21c37f.jpg) to another one(http://38ccda.medialib.glogster.com/media/7c744f06bf559a9be5fcb84f6b9e6f887e92ed0f74fe4b2e4192727fb0f943f1/grassland-summer.jpg) to download it progressively, but the it turned out not loading picture progressively. So I am wondering why? any format requirement for the downloaded picture?

Hi @Johnkui there are two conditions that need to be met for an jpeg to be rendered progressively.

The image must be encoded progressively. As you mention, this is a different format. You can learn about progressive encoding of jpegs pretty easily by Googling.
PINRemoteImage will only render a progressive scan of an image if it thinks that it will take a little while longer to download the image – essentially, it doesn't waste the CPU time to render the progressive image if the rest of the image will be done downloading momentarily. This is why the sample project suggests you turn on the Network Link Conditioner to simulate a slow internet connection.

In summary, the image needs to be progressively encoded and you need to be on a slow internet connection. Hope this helps!

Thank you, @garrettmoon!  So PINRemoteImage does not support progressively downloading for the baseline and interlace encoded image, right?

I'm no expert by any means, but interlacing is not supported by jpeg though progressive is sometimes referred to as interlacing.
You're correct that progressive rendering is not supported on baseline images, but it wouldn't betook difficult to add support for it.


fix(payment_methods): fix merchant payment method list to retain a mca based on connector_name and mca_id

Type of Change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description
Earlier a connector was occurring twice while doing a session token call for wallets. This PR fixes merchant payment method list to retain a mca based on connector_name and mca_id. So that with every distinct mca_id the connector is listed just once for wallets.
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Create a MA and an MCA(with wallets enabled)
Create an payment_intent

Intent Response
{
    "payment_id": "pay_NHWegNguTfDH9hxuVj1m",
    "merchant_id": "merchant_1729514766",
    "status": "requires_payment_method",
    "amount": 8500,
    "net_amount": 8500,
    "shipping_cost": null,
    "amount_capturable": 0,
    "amount_received": null,
    "connector": null,
    "client_secret": "pay_NHWegNguTfDH9hxuVj1m_secret_YgCdjC1ZMbdqGBmOOoTP",
    "created": "2024-10-21T13:11:49.384Z",
    "currency": "USD",
    "customer_id": "CustomerX777",
    "customer": {
        "id": "CustomerX777",
        "name": "Joseph Doe",
        "email"<EMAIL_ADDRESS>        "phone": "999999999",
        "phone_country_code": "+65"
    },
    "description": "Its my first payment request",
    "refunds": null,
    "disputes": null,
    "mandate_id": null,
    "mandate_data": null,
    "setup_future_usage": "off_session",
    "off_session": null,
    "capture_on": null,
    "capture_method": "automatic",
    "payment_method": null,
    "payment_method_data": null,
    "payment_token": null,
    "shipping": {
        "address": {
            "city": "San Fransico",
            "country": "US",
            "line1": "1467",
            "line2": "Harrison Street",
            "line3": "Harrison Street",
            "zip": "94122",
            "state": "California",
            "first_name": "joseph",
            "last_name": "Doe"
        },
        "phone": {
            "number": "8056594427",
            "country_code": "+91"
        },
        "email": null
    },
    "billing": {
        "address": {
            "city": "San Fransico",
            "country": "US",
            "line1": "1467",
            "line2": "Harrison Street",
            "line3": "Harrison Street",
            "zip": "94122",
            "state": "California",
            "first_name": "joseph",
            "last_name": "Doe"
        },
        "phone": {
            "number": "8056594427",
            "country_code": "+91"
        },
        "email": null
    },
    "order_details": null,
    "email"<EMAIL_ADDRESS>    "name": "Joseph Doe",
    "phone": "999999999",
    "return_url": "https://google.com/",
    "authentication_type": "three_ds",
    "statement_descriptor_name": null,
    "statement_descriptor_suffix": null,
    "next_action": null,
    "cancellation_reason": null,
    "error_code": null,
    "error_message": null,
    "unified_code": null,
    "unified_message": null,
    "payment_experience": null,
    "payment_method_type": null,
    "connector_label": null,
    "business_country": null,
    "business_label": "default",
    "business_sub_label": null,
    "allowed_payment_method_types": null,
    "ephemeral_key": {
        "customer_id": "CustomerX777",
        "created_at":<PHONE_NUMBER>,
        "expires":<PHONE_NUMBER>,
        "secret": "epk_f7a7e71ac7b246b490d5cc31cb55e5d4"
    },
    "manual_retry_allowed": null,
    "connector_transaction_id": null,
    "frm_message": null,
    "metadata": null,
    "connector_metadata": {
        "apple_pay": null,
        "airwallex": null,
        "noon": {
            "order_category": "pay"
        }
    },
    "feature_metadata": null,
    "reference_id": null,
    "payment_link": null,
    "profile_id": "pro_M3DqjrGVffJASyys4npr",
    "surcharge_details": null,
    "attempt_count": 1,
    "merchant_decision": null,
    "merchant_connector_id": null,
    "incremental_authorization_allowed": null,
    "authorization_count": null,
    "incremental_authorizations": null,
    "external_authentication_details": null,
    "external_3ds_authentication_attempted": false,
    "expires_on": "2024-10-21T13:26:49.384Z",
    "fingerprint": null,
    "browser_info": null,
    "payment_method_id": null,
    "payment_method_status": null,
    "updated": "2024-10-21T13:11:49.418Z",
    "charges": null,
    "frm_metadata": null,
    "merchant_order_reference_id": null,
    "order_tax_amount": null,
    "connector_mandate_id": null
}

Do a PML call, for the wallets the mca should be listed once for the wallets that support session token flow

Merchant PML response
{
    "redirect_url": "https://google.com/success",
    "currency": "USD",
    "payment_methods": [
        {
            "payment_method": "wallet",
            "payment_method_types": [
                {
                    "payment_method_type": "paypal",
                    "payment_experience": [
                        {
                            "payment_experience_type": "redirect_to_url",
                            "eligible_connectors": [
                                "stripe"
                            ]
                        }
                    ],
                    "card_networks": null,
                    "bank_names": null,
                    "bank_debits": null,
                    "bank_transfers": null,
                    "required_fields": null,
                    "surcharge_details": null,
                    "pm_auth_connector": null
                },
                {
                    "payment_method_type": "google_pay",
                    "payment_experience": [
                        {
                            "payment_experience_type": "invoke_sdk_client",
                            "eligible_connectors": [
                                "stripe"
                            ]
                        }
                    ],
                    "card_networks": null,
                    "bank_names": null,
                    "bank_debits": null,
                    "bank_transfers": null,
                    "required_fields": {},
                    "surcharge_details": null,
                    "pm_auth_connector": null
                },
                {
                    "payment_method_type": "samsung_pay",
                    "payment_experience": [
                        {
                            "payment_experience_type": "invoke_sdk_client",
                            "eligible_connectors": [
                                "stripe",
                                "stripe"
                            ]
                        }
                    ],
                    "card_networks": null,
                    "bank_names": null,
                    "bank_debits": null,
                    "bank_transfers": null,
                    "required_fields": null,
                    "surcharge_details": null,
                    "pm_auth_connector": null
                },
                {
                    "payment_method_type": "apple_pay",
                    "payment_experience": [
                        {
                            "payment_experience_type": "invoke_sdk_client",
                            "eligible_connectors": [
                                "stripe"
                            ]
                        }
                    ],
                    "card_networks": null,
                    "bank_names": null,
                    "bank_debits": null,
                    "bank_transfers": null,
                    "required_fields": {},
                    "surcharge_details": null,
                    "pm_auth_connector": null
                }
            ]
        }
    ],
    "mandate_payment": null,
    "merchant_name": "NewAge Retailer",
    "show_surcharge_breakup_screen": false,
    "payment_type": "new_mandate",
    "request_external_three_ds_authentication": false,
    "collect_shipping_details_from_wallets": false,
    "collect_billing_details_from_wallets": false,
    "is_tax_calculation_enabled": false
}

Checklist

[ ] I formatted the code cargo +nightly fmt --all
[ ] I addressed lints thrown by cargo clippy
[ ] I reviewed the submitted code
[ ] I added unit tests for my changes where possible

@Aprabhat19 ,Can you add the session call response


nk3: Remove pre from Version.hash

If __eq__ returns True for two objects, their hash must be the same. Version instances can be equal even if their pre field is different if at least one of the versions is incomplete.  Therefore the current hash implementation for Version is incorrect.
This patch simplifies the hash function by only considering the major, minor and patch components.  This leads to more hash collissions, but this is not a concern for us.
This patch also adds simple doctests to __hash__ based on the doctests for __eq__.
Changes

Remove pre from Version.__hash__.

Checklist

[x] tested with Python3.9
[x] run make check or make fix for the formatting check
[x] signed commits
[ ] updated documentation (e.g. parameter description, inline doc, docs.nitrokey)
[x] added labels

I was also not sure how to do this for the implementation. I am not entirely sure how e.g. dict implements it, does removing pre mean that Version(1, 2, 3, "pre") will overwrite Version(1, 2, 3) in a dict ?

In fact it does, look at this (with removed self.pre from __hash__):
>>> d = {Version(1,2,3): 123}
>>> d
{Version(major=1, minor=2, patch=3, pre=None): 123}
>>> d[Version(1,2,3)]
123
>>> d[Version(1,2,3, "pre")]
123
>>> d[Version(1,2,3, "pre")] = 999
>>> d
{Version(major=1, minor=2, patch=3, pre=None): 999}
>>>

do we want this like that ?

Something like this?  https://github.com/Nitrokey/pynitrokey/compare/master...robin-nitrokey:pynitrokey:no-version-hash

I think this is not related to __hash__, only to __eq__. Or is the behavior different if you don’t remove pre?

Nope, here the counterexample with using self.pre as the 4th component in the tuple for hashing:
>>> d = {Version(1,2,3): 123}
>>> d
{Version(major=1, minor=2, patch=3, pre=None): 123}
>>> d[Version(1,2,3)]
123
>>> d[Version(1,2,3, "pre")]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyError: Version(major=1, minor=2, patch=3, pre='pre')
>>>

dict and set are essentially hashmap implementations in python without collision handling... although you are perfectly right it really depends on the context... if we just drop __hash__ and don't use Version for keys in a dict or set we simply don't have to care...

Replaced by https://github.com/Nitrokey/pynitrokey/pull/350.


UAP 10.0 and Microsoft.AspNet.Mvc

Any way to run Asp.net 6 on Windows IoT ? Actually i'm trying to integrate on a Universal Windows project a simple controller but no way, no package compatible with UAP, do i have to move to adapt different solution like netmf web servers?
is it related to:
https://github.com/NuGet/NuGet.Client/pull/105
https://github.com/aspnet/dnx/issues/2302
?

Nobody has tried it so I doubt it works. It's not a priority at the moment but we're OSS so if you'd like to try that would be a good first step.

Just to know....will be possible in the future to embed a Owin VNext asp application into a UAP project?
What do you think?

@meriturva it would depend on there being a proper HTTP listener / server for UAP, and I don't know if that's the case. Ultimately, something has to listen on some port. The rest of MVC would then possibly work.

I'm really confused actually.....on one hand we have the possibility to create a Windows IoT project (Universal Windows) but not to use ASP.NETvNext because is not compatible with UAP 10.0
On the other hand we have a way to run ASP.NETvNext on ARM with DNX as for example: https://github.com/DamianEdwards/PiDnx
Do you think that the only solution here to have a modern WebServer and a simple XAML UI on Windows IoT is to deploy two different projects (DNX for WebApi + UAP for UI) running together but based on different .net frameworks? What about the future?

@DamianEdwards

Hi @danroth27 ... any news?
So thanks.

@meriturva it's simply not a scenario we've spent any time investigating. ASP.NET is primarily a technology for web servers and not UAP apps. If you want to experiment in this area we can certainly chat, but we are not planning to do any work here ourselves at this time.

Thanks for the answer @Eilon ,
actually i'm making few sample projects to find a way to use vNext on IoT device.
I'm deployed a web project on Raspberry but it dosen't work because of: https://github.com/aspnet/KestrelHttpServer/issues/216
On the other hand i sure have to use GPIO inside "web api controllers" (we are on a Raspberry to use serials ports and I/O) so i try to include the package: Microsoft.NETCore.UniversalWindowsPlatform into the vNext project without success.
So now new question:

How do i have to use GPIO inside a vNext project?

I don't see any concrete way to develop a system that has vNext Self Hosted Web Api controllers acting on GPIO interface. Do i have to move to a different rest/web socket solution and still on a simple UWP project? But why? We are on the same ARM platform architecture! No?

Closing because we are not planning to make any changes in MVC related to this.
cc @davidfowl @DamianEdwards does anything here resonate w/ stuff we're doing for non-HTTP based servers?


Improve PR template with details from CONTRIBUTING

Following discussion from https://github.com/FreeCodeCamp/FreeCodeCamp/pull/7170, this adds some details regarding:

Branch naming
Target branch staging

@firstdoit updated the pull request.

@firstdoit updated the pull request.

@bugron @SaintPeter care to have a second look? :) Fixed all the details you pointed out.

Looks good. 2.3 says squash your commits into one, please ;)

Hehehe nice catch.

The shoemaker's son always goes barefoot
:joy:

@firstdoit updated the pull request.

@bugron fixed btw :)

:+1:


Swagger v2

It only works with Swagger v1 JSON. Not with v2. Is it possible for you to add v2 support?
Also it will be nice if apport from a URL the user can spacify the content of the JSON. Like
.. swaggerdoc::
 // here it comes the JSON file

Thanks! Great work

Thank you for your feedback. We are migrating some projects to use Swagger v2, so I will update the extension once we start to generate our new documentation.

Hi, is there any progress on this? Thanks.

Hi! Any updates?

Apparently @unaguil is working on this. Thanks!

Yes, I need to solve some issues with the new Swagger data.

I have pushed a new version that works with the Swagger 2.0 specification obtained from a remote URL


Problem Installing Gradle

i am putting the above dependencies
compile 'com.msopentech.thali:ThaliOnionProxyJava:0.0.2'
compile 'com.msopentech.thali:BriarJtorctl:0.0.2'
in the gradle file but i get this error can you help me please to fix this
Could not resolve all dependencies for configuration ':compile'.

Could not find com.msopentech.thali:ThaliOnionProxyJava:0.0.2.
Searched in the following locations:
file:/C:/Users/User/.m2/repository/com/msopentech/thali/ThaliOnionProxyJava/0.0.2/ThaliOnionProxyJava-0.0.2.pom
file:/C:/Users/User/.m2/repository/com/msopentech/thali/ThaliOnionProxyJava/0.0.2/ThaliOnionProxyJava-0.0.2.jar
Required by:
:Project_Name:unspecified

AFAIK this project is not really maintained anymore. You are Welcome to try this fork which includes some fixes.

thank very much !!!

i am stil having the same problem with dependencies is there  any possibility to fix this

Have you installed everything into your local maven repository?
In case you are using the forked version: Did you adapt the dependency names? (They changed)
At least, that's what the original error points to...
You not only have to mvn compile and/or mvn package, but also mvn install everything in order for it to be discoverable as a dependency in other projects.


Vagrantfile could not sync feed metadata from service

Hi,
When cloning the Anchore repo and spinning up the vagrant VM, the installation fails systematically. Actually it fails also when I try to reproduce the installation manually.
The error looks really close to https://github.com/anchore/anchore/issues/57 except I am pretty sure it was working last week.
/tmp » git clone https://github.com/anchore/anchore.git && cd anchore && vagrant up                                                                       11:20:40 ninroot@arnauds-mbp
Cloning into 'anchore'...
remote: Enumerating objects: 3443, done.
remote: Total 3443 (delta 0), reused 0 (delta 0), pack-reused 3443
Receiving objects: 100% (3443/3443), 936.64 KiB | 2.09 MiB/s, done.
Resolving deltas: 100% (2604/2604), done.
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/xenial64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/xenial64' version '20190605.0.0' is up to date...
    [...]
==> default: Setting hostname...
==> default: Running provisioner: shell...
    default: Running: inline script
    default: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
    [...]
    default: Get:24 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [4,184 B]
    default: Fetched 16.5 MB in 3s (5,204 kB/s)
    default: Reading package lists...
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: ca-certificates is already the newest version (20170717~16.04.2).
    default: curl is already the newest version (7.47.0-1ubuntu2.13).
    default: software-properties-common is already the newest version (<IP_ADDRESS>).
    default: The following packages will be upgraded:
    default:   apt-transport-https
    default: 1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
    default: Need to get 26.5 kB of archives.
    default: After this operation, 0 B of additional disk space will be used.
    default: Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-transport-https amd64 1.2.32 [26.5 kB]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 26.5 kB in 0s (77.5 kB/s)
    default: (Reading database ...
    default: (Reading database ... 5%
    default: (Reading database ... 10%
    default: (Reading database ... 15%
    default: (Reading database ... 20%
    default: (Reading database ... 25%
    default: (Reading database ... 30%
    default: (Reading database ... 35%
    default: (Reading database ... 40%
    default: (Reading database ... 45%
    default: (Reading database ... 50%
    default: (Reading database ... 55%
    default: (Reading database ... 60%
    default: (Reading database ... 65%
    default: (Reading database ... 70%
    default: (Reading database ... 75%
    default: (Reading database ... 80%
    default: (Reading database ... 85%
    default: (Reading database ... 90%
    default: (Reading database ... 95%
    default: (Reading database ... 100%
    default: (Reading database ...
    default: 54233 files and directories currently installed.)
    default: Preparing to unpack .../apt-transport-https_1.2.32_amd64.deb ...
    default: Unpacking apt-transport-https (1.2.32) over (1.2.31) ...
    default: Setting up apt-transport-https (1.2.32) ...
    default: OK
    default: Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
    default: Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
    default: Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
    default: Get:4 https://download.docker.com/linux/ubuntu xenial InRelease [66.2 kB]
    default: Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
    default: Get:6 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages [8,482 B]
    default: Fetched 74.7 kB in 0s (87.8 kB/s)
    default: Reading package lists...
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: The following additional packages will be installed:
    default:   aufs-tools cgroupfs-mount containerd.io docker-ce-cli libltdl7 pigz
    default: Suggested packages:
    default:   mountall
    default: The following NEW packages will be installed:
    default:   aufs-tools cgroupfs-mount containerd.io docker-ce docker-ce-cli libltdl7
    default:   pigz
    default: 0 upgraded, 7 newly installed, 0 to remove and 11 not upgraded.
    default: Need to get 50.5 MB of archives.
    default: After this operation, 243 MB of additional disk space will be used.
    default: Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 pigz amd64 2.3.1-2 [61.1 kB]
    default: Get:2 https://download.docker.com/linux/ubuntu xenial/stable amd64 containerd.io amd64 1.2.5-1 [19.9 MB]
    default: Get:3 http://archive.ubuntu.com/ubuntu xenial/universe amd64 aufs-tools amd64 1:3.2+20130722-1.1ubuntu1 [92.9 kB]
    default: Get:4 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4,970 B]
    default: Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libltdl7 amd64 2.4.6-0.1 [38.3 kB]
    default: Get:6 https://download.docker.com/linux/ubuntu xenial/stable amd64 docker-ce-cli amd64 5:18.09.6~3-0~ubuntu-xenial [13.0 MB]
    default: Get:7 https://download.docker.com/linux/ubuntu xenial/stable amd64 docker-ce amd64 5:18.09.6~3-0~ubuntu-xenial [17.4 MB]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 50.5 MB in 20s (2,501 kB/s)
    default: Selecting previously unselected package pigz.
    default: (Reading database ...
    default: (Reading database ... 5%
    [...]
    default: (Reading database ... 100%
    default: (Reading database ...
    default: 54233 files and directories currently installed.)
    [...]
    default: Setting up python-rpm (<IP_ADDRESS>+dfsg1-3build3) ...
    default: Setting up yum (3.4.3-3) ...
    default: Processing triggers for libc-bin (2.23-0ubuntu11) ...
    default: latest:
    default: Pulling from library/nginx
    default: fc7181108d40:
    default: Pulling fs layer
    default: c4277fc40ec2:
    default: Pulling fs layer
    default: 780053e98559:
    default: Pulling fs layer
    default: 780053e98559:
    default: Verifying Checksum
    default: 780053e98559:
    default: Download complete
    default: c4277fc40ec2: Verifying Checksum
    default: c4277fc40ec2: Download complete
    default: fc7181108d40:
    default: Verifying Checksum
    default: fc7181108d40:
    default: Download complete
    default: fc7181108d40:
    default: Pull complete
    default: c4277fc40ec2:
    default: Pull complete
    default: 780053e98559:
    default: Pull complete
    default: Digest: sha256:bdbf36b7f1f77ffe7bd2a32e59235dff6ecf131e3b6b5b96061c652f30685f3a
    default: Status: Downloaded newer image for nginx:latest
    default: Cloning into 'anchore'...
    default: Processing /home/vagrant/anchore
    default: Collecting docker-py (from anchore===1.1.9.dev0)
    default:   Downloading https://files.pythonhosted.org/packages/23/c7/1fd6d4d620809fe2f323869d719e2dd0086c939b67021303a9ec40f5a05b/docker_py-1.10.6-py2.py3-none-any.whl (50kB)
    default: Collecting prettytable (from anchore===1.1.9.dev0)
    default:   Downloading
     [...]
    default:   Downloading https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
    default: Collecting setuptools (from jsonschema->anchore===1.1.9.dev0)
    default:   Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
    default: Collecting pyrsistent>=0.14.0 (from jsonschema->anchore===1.1.9.dev0)
    default:   Downloading https://files.pythonhosted.org/packages/68/0b/f514e76b4e074386b60cfc6c8c2d75ca615b81e415417ccf3fac80ae0bf6/pyrsistent-0.15.2.tar.gz (106kB)
    default: Building wheels for collected packages: prettytable, pyyaml, clint, backports.ssl-match-hostname, args, functools32, pyrsistent
    default:   Running setup.py bdist_wheel for prettytable: started
    default:   Running setup.py bdist_wheel for prettytable: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/80/34/1c/3967380d9676d162cb59513bd9dc862d0584e045a162095606
    default:   Running setup.py bdist_wheel for pyyaml: started
    default:   Running setup.py bdist_wheel for pyyaml: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/16/27/a1/775c62ddea7bfa62324fd1f65847ed31c55dadb6051481ba3f
    default:   Running setup.py bdist_wheel for clint: started
    default:   Running setup.py bdist_wheel for clint: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/4f/e9/45/223565e5b1a4b09e12c6de6f8ba7c2c0e9127dec17cf830f83
    default:   Running setup.py bdist_wheel for backports.ssl-match-hostname: started
    default:   Running setup.py bdist_wheel for backports.ssl-match-hostname: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/f1/ad/d7/c184cf1ef67b07f98565dc52f91ed4f9a759b7b46674b2fd76
    default:   Running setup.py bdist_wheel for args: started
    default:   Running setup.py bdist_wheel for args: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/58/54/ea/d995d18af68c057eb76b87b02c92bc66ac34d360ef141780f4
    default:   Running setup.py bdist_wheel for functools32: started
    default:   Running setup.py bdist_wheel for functools32: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/b5/18/32/77a1030457155606ba5e3ec3a8a57132b1a04b1c4f765177b2
    default:   Running setup.py bdist_wheel for pyrsistent: started
    default:   Running setup.py bdist_wheel for pyrsistent: finished with status 'done'
    default:   Stored in directory: /root/.cache/pip/wheels/6b/b9/15/c8c6a1e095a370e8c3273e65a5c982e5cf355dde16d77502f5
    default: Successfully built prettytable pyyaml clint backports.ssl-match-hostname args functools32 pyrsistent
    default: Installing collected packages: urllib3, certifi, chardet, idna, requests, backports.ssl-match-hostname, six, docker-pycreds, ipaddress, websocket-client, docker-py, prettytable, click, pyyaml, args, clint, attrs, functools32, setuptools, pyrsistent, jsonschema, enum34, anchore
    default:   Running setup.py install for anchore: started
    default:     Running setup.py install for anchore: finished with status 'done'
    default: Successfully installed anchore args attrs backports.ssl-match-hostname certifi chardet click clint docker-py docker-pycreds enum34 functools32 idna ipaddress jsonschema prettytable pyrsistent pyyaml requests setuptools-20.7.0 six urllib3 websocket-client
    default: You are using pip version 8.1.1, however version 19.1.1 is available.
    default: You should consider upgrading via the 'pip install --upgrade pip' command.
    default: initializing feed metadata: ...
    default: ERROR could not sync feed metadata from service: cannot get list of feeds from service
    default: Message from server: "connection timed out: increase anchore_auth_conn_timeout higher or try again"
    default: initializing feed metadata: ...
    default: ERROR could not sync feed metadata from service: cannot get list of feeds from service
    default: Message from server: "connection timed out: increase anchore_auth_conn_timeout higher or try again"

I cannot access http://ancho.re/ which probably explains the issue.
Web Page Blocked
Access to the web page you were trying to visit has been blocked in accordance with company policy. Please contact your system administrator if you believe this is in error.

hi @Ninroot - the anchore project hosted here has been deprecated, as we've moved all anchore image scanning work to the newer project called 'anchore-engine' - please see https://github.com/anchore/anchore-engine for details on anchore projects!


Start: header tags and landing page link positions

#652 including the increment of athene2-assets version because of breaking change

<EMAIL_ADDRESS>deployed. So this is ready to merge and deploy @arekkas


stateSliceSelector function example

Could you add an example on how to use a stateSliceSelector function to the docs.
Thank you

I like the suggestion - thanks. That was a great contribution by @mickeypuri so let me see if he has anything he can share here. I'll also look at getting something in the docs on that eventually.
In a nutshell though, you'll be passed the state to the stateSliceSelector function that you define and then it'd be up to you to decide what gets returned. Doing that allows for control over what components see as the globalStateChanged event fires.
Here's some psuedo-code (off the top of my head :-)):
this.storeSub = this.customersService.globalStateChanged.subscribe(state => {
        this.customers = state.customers;
});

In this case you'd get all of the store state since globalStateChanged was used. But, if in the store you supply a stateSliceSelector you can filter that down. For example, if CustomersService has access to quite a bit in the store but you only want a "slice" of that date you can filter it down and only return the specific data you need state subscribers to that service to get:
export class CustomersService extends ObservableStore<StoreState> {
  constructor() {
    super({ stateSliceSelector: (state) => state.selectedCustomer });
 }
}

But, I'll see if we can formalize this a bit more in the docs in the near future. Thanks for mentioning it.

Thank you for a very detailed answer. I will try that.

Added this into the readme


Route Transitions

How would I transition from one route to another after an action is performed? I have seen transitionTo() being used when a RouterContainer is created, but what is the equivalent in preact? I am also looking at securing a route until someone logs in. I have seen the following for React, is there also an equivalent for the following?
static willTransitionTo(transition, params, query, callback) {
        if (!AuthStore.loggedIn()) {
            // go over to login page
            transition.redirect('/login', null, {
                redirect: transition.path
            });

To redirect, you can use the route() method.  The static willTransitionTo method from react-router is a little awkward (I believe they are looking at alternative ways to implement such things).  My suggestion would be to use a high-order component that does the session check and conditionally renders the actual route component only if there is a valid session.
Here's a simple example:
import { route } from 'preact-router';

const AuthenticatedRoute = ({ route }) => {
  if (!AuthStore.loggedIn()) {
    // redirect to login:
    setTimeout( () => route('/login'), 1);
    // don't render the route:
    return null;
  }
  // we're logged in, so render the route:
  return route;
}

You could also do the loggedIn() check asynchronously by firing it from componentDidMount() and setting the returned Boolean as a property in a stateful component.

Here's a more complete example, using a generalized <AuthenticatedRoute /> high order component to wrap a given route in an auth check like you described:
import { Router, route } from 'preact-router';

class AuthenticatedRoute extends Component {
  componentWillMount() {
    let { check, login } = this.props;
    this.allowed = check();
    if (!this.allowed) route(login || '/');
  }
  render({ check, login, route:Route, ...props }) {
    return
{ this.allowed && <Route {...props} /> }
;
  }
}

const LoginRoute = () => <form>login form here</form>;

const AccountRoute = () =>
secret account page
;

const Demo = () => (
  <Router>
    <LoginRoute path="/login" default />
    <AuthenticatedRoute
      path="/account"
      login="/login"
      check={AuthStore.loggedIn}
      route={AccountRoute} />
  </Router>
);

I am using Browserify to embed this application into a overlaying application. When I used the route method the url root changes to /account. So http://www.domain.com to /account. The default tag works here when the application first loads but how can I navigate to /account or any other component?

@donadley I can't believe I forgot to reply to this, sorry!  I actually did end up finding and fixing a bug relating to your /account only working the first time.  It had to do with High Order Components (the router is one) being incorrectly unmounted in some scenarios, which had the effect of disabling URL handling.  Try the latest beta (5.0.0-beta6): npm install --save preact@beta, which should fix the issue.

Hey, thanks for fixing the issue.

@developit Thanks for this example. What's the recommended pattern for redirecting back to the protected path once login completes? Currently just using history.back() but that seems rather hacky.

@developit Thanks for the example. What's the recommended pattern for redirecting back to the authorized component after login? Right now I'm just using history.back(), but that seems pretty hacky.

I'd recommend using route('/login', true), or store the previous route using a <Router onChange={..}> handler.


warrior 4t10 support

Warrior 4T10 sets will trigger two stacks of slam, needs to modify the warrior profile to include that logic for slam.

Hi and thank you for your feedback.
This has been reported here #145 and implemented here #146.
A beta version is available for testing

here on GitHub https://github.com/ennvina/spellactivationoverlay/releases/tag/v0.9.5-beta
on CurseForge https://curseforge.com/wow/addons/spellactivationoverlay/files/4838736

Thanks!

Hi, closing this issue as it was implemented in #146 and released in v0.9.5. Thanks for the feedback!


Log proxy request latency

Motivation
Logging some metrics from our list. Proxy latency will be an important one
Proposal
Implementing proxy latency Histogram metric
Test Plan

Ran validator locally with ./build_and_redeploy.sh --port-forward --clean
Built the binaries with cargo build --features benchmark
Ran a benchmark against it with ./linera benchmark
Port forwarded the Prometheus UI kubectl port-forward prometheus-linera-core-kube-prometheu-prometheus-0 9090
Went to http://<IP_ADDRESS>:9090/graph to see the metric properly logged:

Current dependencies on/for this PR:

main

PR #1166

PR #1169   👈

PR #1170

PR #1171

PR #1172

This comment was auto-generated by Graphite.

Merge activity

Oct 30, 3:05 PM: @andresilva91 started a stack merge that includes this pull request via Graphite.


add DeleteDateColumn

Pull Request Test Coverage Report for Build 494019340

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

Totals

Change from base Build 347356939:
0.0%

Covered Lines:
51

Relevant Lines:
51

💛  - Coveralls

Pull Request Test Coverage Report for Build 494019340

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

Totals

Change from base Build 347356939:
0.0%

Covered Lines:
51

Relevant Lines:
51

💛  - Coveralls


Banner and Sync with AXIS button enabled even though there is nothing to Sync

Describe the bug in current situation
Banner and Sync with AXIS button enabled even though there is nothing to Sync. This issue exists only if there is extensions linked to the request.
Link bug to the User Story
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
Chance of Occurring (high/medium/low/very low)
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:

Go to Add Request
Enter AXIS Number which has extension(s) linked to it
Save the request
Open the request
Banner shows
Click on Sync with AXIS
Extensions shows in the request

Actual/ observed behaviour/ results
Banner and Sync with AXIS button enabled
Expected behaviour
Since there is nothing to sync, the Banner and Sync with AXIS should not show/enabled
Screenshots/ Visual Reference/ Source
below AXIS number is from DEV

@lmullane - we were able to reproduce the banner issue. @aparna-aot  is working to fix this issue.

This appears to be working now - the banner no longer shows when there is nothing to sync and the sync button is disabled as expected.


MultiprocessParallelUpdater hangs at the end of training

Examples using MultiprocessParallelUpdater do not complete the execution.
How to reproduce:
chainer/examples/imagenet/train_imagenet_data_parallel.py /data/ILSVRC/train10k.txt /data/ILSVRC/val1k.txt -E 1

Seems that thread joining in the MultiprocessIterator is causing issues

#7511 Fixes this behavior.
The iterators were never finalized until the python runtime cleanup. This left the internal threads in an inconsistent state where the iterator destructor was trying to join them.


Add Android SDK installation to prerequisites of Install in Wiki

Avoid duplicates

[x] This enhancement request has not already been raised before
[x] Enhancement request is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in CWA-Wishlist
[ ] If you are proposing a new feature, please do so in CWA-Wishlist

Current Implementation

https://github.com/corona-warn-app/cwa-app-android/wiki/1-Setup
Suggested Enhancement

Write some text about installing Android SDK in conjunction with Android studio in the requisites section
Write some hints for users not too familiar with Adroid studio (How to build)
Expected Benefits

New contributors, critical citizens or journalists can build the app more easy

Internal Tracking ID: EXPOSUREAPP-2524

I created a Jira ticket EXPOSUREAPP-2524 and assigned it to the Android development team.
Best regards,
SG
Corona-Warn-App Open Source Team

@dsarkar
Earlier versions of Android Studio may have been different, but at least now in the current Android Studio Version 4.1.2 the Setup Wizard automatically guides the user to install the SDK. See https://developer.android.com/studio/install. The instructions are a little different depending on the target operating system.
Maybe @SchwertAs would like to comment?
I think this issue can be closed.
If there are any specific questions about the instructions in https://github.com/corona-warn-app/cwa-app-android/wiki/1-Setup they could be handled separately.
(The main point anyway about attempting to build and run CWA in Android Studio is that the Google Exposure Notifications System API is non-functional without the user's Google account being whitelisted (mentioned in https://github.com/corona-warn-app/cwa-app-android/blob/main/README.md). It is however possible to ignore the error messages and look at other functions which do not rely on ENS.)

@dsarkar
Earlier versions of Android Studio may have been different, but at least now in the current Android Studio Version 4.1.2 the Setup Wizard automatically guides the user to install the SDK. See https://developer.android.com/studio/install. The instructions are a little different depending on the target operating system.
Maybe @SchwertAs would like to comment?
I think this issue can be closed.
If there are any specific questions about the instructions in https://github.com/corona-warn-app/cwa-app-android/wiki/1-Setup they could be handled separately.
(The main point anyway about attempting to build and run CWA in Android Studio is that the Google Exposure Notifications System API is non-functional without the user's Google account being whitelisted (mentioned in https://github.com/corona-warn-app/cwa-app-android/blob/main/README.md). It is however possible to ignore the error messages and look at other functions which do not rely on ENS.)

What i miss: If you installed your development system a few month ago you have installed a certain SDK with it. And also the released Versions in the app store will contain this software parts.
If another one is trying to build the app with a later installed development system he will get another executable. This is bad because then there is no way to check binary compatibiltiy between the published App and the sources. And therefore also the trust in open source is void.
So it is essential to give very exact installing instructions including the used versions of SDK and Android Studio, as well as build details like additional scrips and so forth.

What i miss: If you installed your development system a few month ago you have installed a certain SDK with it. And also the released Versions in the app store will contain this software parts.
If another one is trying to build the app with a later installed development system he will get another executable. This is bad because then there is no way to check binary compatibiltiy between the published App and the sources. And therefore also the trust in open source is void.
So it is essential to give very exact installing instructions including the used versions of SDK and Android Studio, as well as build details like additional scrips and so forth.

@SchwertAs
I didn't notice previously, but there is also a specific topic in the wishlist
"Allow for Reproducible Builds" https://github.com/corona-warn-app/cwa-wishlist/issues/275, so if reproducible builds is your only outstanding concern then you might consider closing this issue and subscribing to:

https://github.com/corona-warn-app/cwa-wishlist/issues/275 and
#1483

instead.

This issue is related to https://github.com/corona-warn-app/cwa-app-android/issues/2542 where a new user tried to build CWA with Android Studio, which failed due to the missing API 29 SDK.

@MikeMcC399 Updated internal ticket with your comments.

@dsarkar

Updated internal ticket with your comments.

Thank you! https://github.com/corona-warn-app/cwa-app-android/wiki/1-Setup does not mention installing an SDK and it is based on an older version of Android Studio (3.6.3). The current version is 4.1.2.
CWA Android main branch fails to build in Android Studio 4.1.2
The significant errors are:
License for package Android SDK Build-Tools 29.0.3 not accepted.
License for package Android SDK Platform 29 not accepted.

The solution is to install Android SDK Platform 29.
Detailed instructions for this are probably out-of-scope for a Wiki, since Android Studio is a complex product and it requires training to use it reliably and successfully. (Android Developer Fundamentals is a good free course.)

@dsarkar
Since https://github.com/corona-warn-app/cwa-app-android/wiki has been empty now for months, this issue is no longer applicable.

@MikeMcC399 I added a page to the wiki, that explains the necessary steps to get the android app running on an emulator with Android Studio: https://github.com/corona-warn-app/cwa-app-android/wiki/1-Setup
I guess this can help users that are not familiar with Android Studio or programming in general. Maybe you want to take a look at it?

@thorbenkuro
Thank you for the surprise! It's a good summary of what to do.
Perhaps you would like to recommend using Build Variant deviceForTestersDebug?
The Release builds can't be used because they need to be signed.

@MikeMcC399 Thank you! I will look into adding a section about the Build Variant.


How do I attach a volume so that I can edit the files with sublime

How do I attach a volume so that I can edit the files with sublime text?
I tried docker run -v local_absolute_path:/usr/share/nginx/www/ -d -p 8000:80 --name=wp eugeneware/docker-wordpress-nginx

I think it's better via terminal with docker exec -it  bash

@hsingh23  have you found solution yet? I also looking for it.
I try with
sudo docker run -v /usr/share/nginx:/usr/share/nginx -p 80:80 --name docker-wordpress-nginx -d eugeneware/docker-wordpress-nginx but it still not work with what I expected.

oh you can do that pretty easily:
cd this-is-my-very-theme
docker run -v $(pwd):/usr/share/nginx/www/wp-content/themes/my-very-theme -p 80:80 -d eugeneware/docker-wordpress-nginx`

Go to Appearance -> Themes: my-very-theme will be there.

Thanks


Restrict access to candidate and provider interfaces with basic auth

Context
As the API for providers/vendors is part of the web app for apply, deploying a test API environment for providers/vendors requires cloaking the web/interactive parts of the app, while allowing API requests through. Basic auth is currently used by the support interface generating API tokens (SUPPORT_USERNAME/SUPPORT_PASSWORD) and API requests are authenticated via HTTP header API tokens.
Changes proposed in this pull request
Considering this blanket basic auth cloaking is a temporary measure (until we go live), we propose:

To require basic auth for all controller actions except those related to API requests
To disable this blanket basic auth in development mode
To disable this blanket basic auth in test mode
To enable this blanket basic auth in production environments

Once we go live, this requirement will be dropped with a minimal code change
Until then, basic auth credentials will be set through environment variables
The app will raise an error if the relevant environment variables are blank when any candidate or provider interface request comes in (NOTE: new deployment requirement)
Blanket basic auth can be forced in development mode with an environment variable.
SUPPORT_USERNAME and SUPPORT_PASSWORD will also be accepted as basic auth credentials.

Guidance to review
To manually test in development mode, please set the appropriate environment variables.
$ BASIC_AUTH_ENABLE=true bundle exec rails s
With no user/pass set, the app will raise an error.
$ BASIC_AUTH_ENABLE=true BASIC_AUTH_USERNAME=basic BASIC_AUTH_PASSWORD=test bundle exec rails s
All web actions will now require basic auth. For example:
$ curl http://localhost:3000/candidate
HTTP Basic: Access denied.

You can now test API calls still succeed with valid API tokens without needing basic auth.
$ curl-H 'Authorization: Bearer your_token' http://localhost:3000/api/v1/applications?since=2019-10-21T18:02:47+01:00
You can also test that SUPPORT_USERNAME and SUPPORT_PASSWORD still work for support/tokens.
$ curl http://test:test@localhost:3000/support/tokens
There is also an automated test for all this here: spec/system/basic_auth_spec.rb
Link to Trello card
1124 - Basic auth for everything except API

Great first PR  — comments inline. Do we need two sets of credentials?

Depends :-). I think restricting support access (api key management) will not be handled by basic auth forever, and move on to something devise-based instead. Considering this is neither candidate or provider-facing, however, we may rely on basic auth for api key management for a while. Having two sets of passwords allows us to share a test environment with third parties beyond API requests (e.g. experimenting with the candidate flow) without letting them change or add API keys.

Great stuff. A couple of nits inline — good to go otherwise, I think.
Non-blocking q: did you find having BasicAuth defined in the initializer made it harder to work on (restarts required)?

weirdly no -- but I guess this is because by the time BasicAuth came to be I was just running rspec with each change :) For manual testing I'd imagine you'd have to restart rails.


construct version string automatically

Unfortunately the autoformatter makes this look ugly (I'd rather vertically align) but anyways.
We have it set up this way on the middleware since it creates one source of truth. This way the separate values can't get out of sync with the string.

Totally makes sense to me. Interested in what C99 team thinks.

Seems the CMake is doing version checking and regex matching. Does this seem worthwhile considering that?

CMake is used to build the documentation IIRC,  at least that's what we do in C++.  It expect specific format from the version.  If we are updating the version format, we need @danieljurek to tell all the eng-sys changes we need for the pipelines and release-scripts that depends on the version file.
I like the change, btw.  We just need to fix the engSys components with it.  @danieljurek  @ahsonkhan  this is a good idea also for C++ versions.
Thank you @danewalton

If you look at the history of this file, it is typically modified by tooling automatically rather than manually as part of the release (except at the GA boundary), so having a single source of truth isn't that important. E.g.: https://github.com/Azure/azure-sdk-for-c/pull/1341
The complete string is also used in a few engsys places, so such a fix needs updates elsewhere. I am not saying we shouldn't do this, but it does create some other work and hence I question the benefit vs. cost of the change, for this particular repo.


feat(chat): add organization section to file manager (Issue #1801)

Description:
add organization section to file manager
Issues:

#1801

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review


ripgrep not working due to signing and group policies

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

VS Code Version: 1.83.1
OS Version: Windows 10, 10.0.19045

Global search functionality is not working

The reason is that ripgrep<EMAIL_ADDRESS>is not signed by Microsoft and hence may be blocked by group policies in enterprise environments.
Steps to Reproduce:

Do a global search

Would it be possible to sign rg.exe as well?

I believe that we do sign rg.exe. Are you not seeing it?

I just checked and you are right, it is signed. I will check with my administrator why Code.exe works but rg.exe is blocked by the group policy. Sorry for the inconvenience.


[PR] See if this Fixes Favicon

by definition this issue can't be addressed until it hits prod.
For some reason the favicon shows up on vercel deployment but not github pages version.
seeing if this is true - https://stackoverflow.com/questions/46163065/github-pages-website-favicon-not-showing

Fixed!


[edn,doc] Fix typo in README.md

Hi @h-filali! This is failing CI because of a check about "signed-off lines". There are some notes about how to sort this out cleanly here: https://opentitan.org/book/doc/contributing/github_notes.html.


LaunchGIN.bat opens but instantly closes

When trying to launch launchgin.bat, it leads me to instant closing. The program stays for a bit more when launched as admin though

Do you have JRE/JDK 11 installed?
11 or higher.

Do you have JRE/JDK 11 installed? 11 or higher.
yes, i have

Make sure you have it in your PATH
https://www.java.com/en/download/help/path.html

Make sure you have it in your PATH https://www.java.com/en/download/help/path.html

i edited the path but it still does not run even via cmd. what should the exact path be?

<JRE/JDK installation path>\bin

<JRE/JDK installation path>\bin

did exactly like this, but still it fails to work

What's the output of the program?

What's the output of the program?

not inner or outer command executed and so on

Run the bat file through the command prompt. It will show you the output without closing.

Run the bat file through the command prompt. It will show you the output without closing.

ok, it helped me to open. but one more problem appeared: when launching through cmd it still says that not inner or outer command

That means you did not set up the PATH variable correctly.


Memory Leak suspicion

I have a geofencing app which create Waypoint at about every second.
I that case memory usage continuously grow till the OOM. Checked on the emulator and real devices.
(Geometry.deinit is called by the system)

Hi, I have never seen anything like this in the library. Can you create a sample project to reproduce the issue? Have you tried to debug your app with Instruments?

I'll try to gather more information. There is a big chance I'll still
missing something in the app
On Friday, 4 March 2016, Andrea Cremaschi<EMAIL_ADDRESS>wrote:

Hi, I have never seen anything like this in the library. Can you create a
sample project to reproduce the issue? Have you tried to debug your app
with Instruments?
—
Reply to this email directly or view it on GitHub
https://github.com/andreacremaschi/GEOSwift/issues/19#issuecomment-192234784
.

--
S.P.Q.R.

Hey @alsidor, any news on this? I'll close the issue if not.

Oh. Forgot about the issue.
It was no GeoSwift leak.
Sorry for inconvenience
On Sunday, 3 April 2016, Andrea Cremaschi<EMAIL_ADDRESS>wrote:

Hey @alsidor https://github.com/alsidor, any news on this? I'll close
the issue if not.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/andreacremaschi/GEOSwift/issues/19#issuecomment-204867608

--
S.P.Q.R.

No worries. Closing!


Unresolvable requirements file

Tests are currently failing because the dependencies in requirements.txt cannot be resolved. e.g. see: https://github.com/chorus-ai/chorus_waveform/actions/runs/11406512755/job/31740432168
 1 warning found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
Dockerfile:23
--------------------
  21 |                     flake8 \
  22 |                     pytest
  23 | >>> RUN pip install --no-cache-dir -r requirements.txt
  24 |     RUN pip install --no-cache-dir --no-deps -e .
  25 |
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1

Most likely the cause is that wfdb-python is currently incompatible with Numpy V2 (see: https://github.com/MIT-LCP/wfdb-python/issues/493).

I think I'm unfairly blaming WFDB. According to the error here, we are requiring a version of AtriumDB that doesn't exist:
https://github.com/chorus-ai/chorus_waveform/blob/426cbc82eae35270ab103f4efab6fee91c2803aa/requirements.txt#L1
> pip index versions atriumdb

atriumdb (2.3.0)
Available versions: 2.3.0, 2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.1.1, 2.1.0, 2.0.0

@tompollard , yes, this is expected. @WilliamDixon provided an early version of 2.4 and the code that depends on that has been merged. I believe the new package should be released publicly very soon.

I see, in this case the requirements should be updated to use the new version (e.g. to pip install from pip install git+https://github.com/LaussenLabs/atriumdb.git@e860b30cfb93a2a290ac120c1c09a2af7806fb2b).

@tompollard @briangow I have a new PR up that works with the newly release atriumdb 2.4.0 and have updated the requirements.txt to reflect that.

I see, in this case the requirements should be updated to use the new version (e.g. to pip install from pip install git+https://github.com/LaussenLabs/atriumdb.git@e860b30cfb93a2a290ac120c1c09a2af7806fb2b).

In the future if I use a PR that depends on pre-released features, I'll be sure to use syntax like this so its available for everyone automatically.


tab expansion shortcut does not expand

Hello, my issue is that the tab expansion shortcut does not expand.  Searching for tab, expand, and expansion revealed no issues with these words in the title.
I just installed ATOM on Windows 10.  The only installed packages are emmet 2.4.3 and browser-plus 0.0.98
ATOM is  1.47.0 electron 5.0.13 chrome 73.0.3683.121 node v12.0.0
How should meow proceed with troubleshooting this?
Thanks!

I have the same problem :(. I tried to reinstal emmet and ATOM, but it's not helped.
Best regards,
Darek

Have you tried this one? https://github.com/emmetio/emmet-atom#tab-key

Hi Sergeche, thanks for your reply.
Yes I did see the readme file but I was not able to understand it.  But I understand it better now that I have some more experience with ATOM. (I am a new user.)
Can I please suggestion some clarification for the readme?
Features:
Expand abbreviations by Tab key
...will be more clear if be changed to:
Features:
Expand abbreviations by Tab key or by ctrl-e
...
Tab key
Currently, Emmet expands abbreviations by Tab key only for HTML, CSS, Sass/SCSS and LESS syntaxes.
... will be more clear if changed to:
Tab key
Currently, Emmet expands abbreviations by ctrl-e for all syntaxes, but expands by Tab key only for HTML, CSS, Sass/SCSS and LESS syntaxes.  Please note your document is not considered to be in one of these syntaxes until saved with the appropriate file extension.
Thanks!
-AIU


Hint index does not seem to guarantee past-the-index return value

http://www.osronline.com/article.cfm?id=36
While the article indicates this was pre-Win2K behaviour, we have observed that on Windows 7, the API is not guaranteed to return an index that is greater or equal to the passed in hint index.
If this is the case, documentation should indicate that the API can return such index, and RtlFindNextForwardRunClear should be used instead of hint index must be observed (i.e. if we want an index greater than or equal to some value).

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f16f9289-7c82-dd49-8680-b0d59ff01ca8
Version Independent ID: 05585a87-8080-b259-a2c7-30fe321ea2b9
Content: RtlFindClearBits function (wdm.h) - Windows drivers
Content Source: wdk-ddi-src/content/wdm/nf-wdm-rtlfindclearbits.md
Product: windows-hardware
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

Thanks @alfaunits you are exactly right.  I have confirmed this in the source code.  I updated the doc with a Note in the Remarks section, should be live within ~30 min.
Apologies for the delay getting to this.


Go to definition broken in insiders for Python notebooks

To validate, ensure you are on the latest Python extension (will be published tonight) in VS Code Insiders, and ensure go to def works in a Jupyter notebook with Python code. Remember to select a Python interpreter first so that the language server works.

Validated.
Tested Goto within file:

Tested Goto jumping to library code:


Add buy specific card and skins

Please add new ability to upgrade specific card and auto buy skins

why do u need to upgrade specific cards? the bot normally is doing that based on you interest. why do u  wanna do something that is less beneficial to you?

For unlock archivment level 25 card

how to stop buying card?


Test tab settings: checking "show checkpoint ids" has no effect

See picture below of the settings dialog of the Test tab:

I do not see whether this option has impact. More information is needed about the meaning of this setting.

This setting has been there for a really long time, but now that you mention it. I don't even know how it should show checkpoint ids, since you only see reports in the test tab.

This feature seems to be accidentally broken at some point in the old GUI. I found an older version of the Ladybug (in F!F 7.6) where it is still working when you open a report from the Test tab:

This option in the Test tab seems to enable it for the Debug tab also:


removed a dep used for troubleshooting and improved test coverage

Coverage increased (+0.1%) to 98.824% when pulling da7ff2026436b6170f1d59b58e95d9c799bfc09c on debt/remove-unused-deps-bump-coverage into 9d04e67522f52c71cab942a6410ffaf19d52df7c on Grand-Prix-Cycliste-de-Québec-3.3.x.

Coverage increased (+0.1%) to 98.824% when pulling da7ff2026436b6170f1d59b58e95d9c799bfc09c on debt/remove-unused-deps-bump-coverage into 9d04e67522f52c71cab942a6410ffaf19d52df7c on Grand-Prix-Cycliste-de-Québec-3.3.x.


About the operation problem of _pydemo/torch/torch.go

After correctly configuring the runtime environment, use llgo/run -v . No error is reported, but the command cannot return the result correctly.

More details needed. For example, what does echo $? output right after running llgo run .?

This problem seems to be solved, the reason is the problem of linking library.


making .nnet a method of plot instead of plotnet

As you point out in your article:

https://beckmw.wordpress.com/2013/11/14/visualizing-neural-networks-in-r-update/

the default plotting method for the neuralnet package is not ideal.
Wouldn't it be easier to just name the method
plot.nnet

so that it overrides the included neuralnet plotting method. that way we could just:
plot( neuralnet(...) )

I'm not sure if it's possible to override an existing method for a generic function once all the packages are loaded.  The order of loading the packages can override generic functions but this doesn't seem to be true for methods.  I found a post on
StackOverflow (http://stackoverflow.com/questions/13997122/override-s3-methods-in-base-r) that suggests creating a different class to override an existing method, which is kind of relevant to the problem here.  It seems simpler from a programming perspective just to create a new generic function that has methods that don't conflict with methods for the same class with another generic.
Method dispatch and namespaces confuse the hell out of me so I'm open to suggestions.

Hi Marcus,
Hope all is well.
Just a quick questions hopefully regarding the NeuralNetTools - does it work all right to plot simple input-output no hidden layer networks? Tried with nnet output, got the following error message:
Error in seq.default(0.5 * (diff(y_range) + spacing * (lyr - 1)), 0.5 *  :
'from' cannot be NA, NaN or infinite
In addition: Warning message:
In plotnet.nnet(results.NN1h0, nid = TRUE, all_out = TRUE, all_in = TRUE,  :
Skip layer used, results may be inaccurate because input and output connections are removed
Regards,
Max Greene

From: Marcus W Beck<EMAIL_ADDRESS>Sent: 01 August 2015 23:00
To: fawda123/NeuralNetTools
Subject: Re: [NeuralNetTools] making .nnet a method of plot instead of plotnet (#10)
I'm not sure if it's possible to override an existing method for a generic function once all the packages are loaded. The order of loading the packages can override generic functions but this doesn't seem to be true for methods. I found a post on
StackOverflow (http://stackoverflow.com/questions/13997122/override-s3-methods-in-base-r) that suggests creating a different class to override an existing method, which is kind of relevant to the problem here. It seems simpler from a programming perspective just to create a new generic function that has methods that don't conflict with methods for the same class with another generic.
Method dispatch and namespaces confuse the hell out of me so I'm open to suggestions.

Reply to this email directly or view it on GitHubhttps://github.com/fawda123/NeuralNetTools/issues/10#issuecomment-126957206.

Hi Max,
I made some changes a while back so the functions would work with models that use skip layer connections.  Basically, the plots should work but they would only show the connections from I-H-O network.  So I'm concerned you're getting an error... could you post some code so that I can reproduce/fix the problem?  As is, the package does not allow plotting of only I-O layers - this would only make sense for skip layer models, and only part of the model.  I can try to sort this out if you're interested.  You can post an 'issue' on the issues tab if you'd like this feature added.
-Marcus

Hi Marcus,
With the code below, if you set the size = 1+, plotting works fine. But if you change it to 0 with skip connections enabled, I get the error instead:
Error in data.frame(wts, row_nms) :
arguments imply differing number of rows: 3, 13)

require(nnet)
ird <- data.frame(rbind(iris3[,,1], iris3[,,2], iris3[,,3]),
              species = factor(c(rep("s",50), rep("c", 50), rep("v", 50))))

ir.nn2 <- nnet(species ~ ., data = ird, subset = samp, size = 0, rang = 0.1,
           decay = 5e-4, maxit = 200, skip = TRUE)

summary(ir.nn2)
require(NeuralNetTools)
plotnet(ir.nn2, nid = TRUE, all_out = TRUE, all_in = TRUE,
    wts_only = FALSE, rel_rsc = 5, circle_cex = 5, node_labs = TRUE,

    var_labs = TRUE, x_lab = NULL, y_lab = NULL, line_stag = NULL,

    cex_val = 1, alpha_val = 1, circle_col = "lightblue",

    pos_col = "black", neg_col = "lightgrey", bord_col = "black",

    max_sp = TRUE)

Hope this helps.
Regards,
Max

From: Marcus W Beck<EMAIL_ADDRESS>Sent: 19 August 2015 13:45
To: fawda123/NeuralNetTools
Cc: Max Greene
Subject: Re: [NeuralNetTools] making .nnet a method of plot instead of plotnet (#10)
Hi Max,
I made some changes a while back so the functions would work with models that use skip layer connections. Basically, the plots should work but they would only show the connections from I-H-O network. So I'm concerned you're getting an error... could you post some code so that I can reproduce/fix the problem? As is, the package does not allow plotting of only I-O layers - this would only make sense for skip layer models, and only part of the model. I can try to sort this out if you're interested. You can post an 'issue' on the issues tab if you'd like this feature added.
-Marcus

Reply to this email directly or view it on GitHubhttps://github.com/fawda123/NeuralNetTools/issues/10#issuecomment-132578097.


fix semver rule

Following introduction of semver in #42, this PR is to fix couple of issues in the rule used to detect if desired java version is installed or not
Hopefully fixes nvuillam/npm-groovy-lint#321

Proposed Changes

Handle case where minimumJavaVersion and maximumJavaversion are set with same values (like npm-groovy-lint)
Fix regression as maximumJavaVersion is supposed to be included not excluded

Readiness Checklist
Author/Contributor

[ ] Add entry to the CHANGELOG.md listing the change and linking to the corresponding issue (if appropriate)
[ ] If documentation is needed for this change, has that been included in this pull request

Reviewing Maintainer

[ ] Label as breaking if this is a large fundamental change
[ ] Label as either automation, bug, documentation, enhancement, infrastructure, or performance

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

Comparison is base (7780910) 90.27% compared to head (8311fbd) 90.41%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
+ Coverage   90.27%   90.41%   +0.13%
==========================================
  Files           3        3
  Lines         216      219       +3
==========================================
+ Hits          195      198       +3
  Misses         21       21

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


Complaint Submission

Issue belongs to Issue #28

To do:

[ ]  Create models for complaints (fields: VIN, description, photos, etc.).

[ ]  Implement submission forms with validation for mandatory fields.


After installation according to https://github.com/carrier-io/carrier-io/wiki/Quick-Start, jmeter demo fails due to get_influx_host function issue

After going through the installation steps, I am running into an error in Jenkins when triggering Jmeter standalone demo job (see stacktrace below).
It looks like following function creates a problem:
def get_influx_host(String env_var) {
def match = env_var =~ 'http://(.+)/jenkins'
return match[0][1]
}
I mean to say regex is not found, maybe env_var variable doesn't contain http://, but it would really help debug problem further if exception was caught and env_var was printed out with meaningful comment.
Started by user unknown or anonymous
Obtained demo_jenkins/Jenkinsfile_perui_demo from git https://github.com/carrier-io/carrier-io.git
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/demo_perfui
[Pipeline] {
[Pipeline] stage
[Pipeline] { (configure)
[Pipeline] deleteDir
[Pipeline] sh

mkdir reports
[Pipeline] sh
mkdir tests
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
java.lang.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
at org.codehaus.groovy.runtime.StringGroovyMethods.getAt(StringGroovyMethods.java:1384)
at org.codehaus.groovy.runtime.dgm$1081.doMethodInvoke(Unknown Source)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:47)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at org.kohsuke.groovy.sandbox.impl.Checker$10.call(Checker.java:425)
at org.kohsuke.groovy.sandbox.GroovyInterceptor.onGetArray(GroovyInterceptor.java:124)
at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetArray(SandboxInterceptor.java:473)
at org.kohsuke.groovy.sandbox.impl.Checker$10.call(Checker.java:422)
at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetArray(Checker.java:427)
at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.getArray(SandboxInvoker.java:45)
at com.cloudbees.groovy.cps.impl.ArrayAccessBlock.rawGet(ArrayAccessBlock.java:21)
at WorkflowScript.get_influx_host(WorkflowScript:3)
at WorkflowScript.run(WorkflowScript:12)
at cps.transform(Native Method)
at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:74)
at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30)
at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:66)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
at com.cloudbees.groovy.cps.Next.step(Next.java:83)
at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)
at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129)
at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268)
at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)
at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51)
at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:186)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:370)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:93)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:282)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:270)
at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:66)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Finished: FAILURE

@dzavalei have you fixed an errors after jenkins installation?
You suppose to have ~4 red errors in jenkins, one of them due to miss-configured JENKINS_URL
You need to open settings and save it. Jenkins URL is there, but not applied - Jenkins glitch :)

Thanks, @arozumenko !
It helped, however when using this web app listening on 9999 port for installation I still didn't get grafana dashboards created (I tried Amazon Linux 2 and Ubuntu 18.04 on AWS - no luck at all).
Only when I used https://github.com/carrier-io/carrier-io/blob/master/ubuntu/install.sh minimal functionality (Jenkins, Jmeter, InfluxDB, grafana) worked out of the box.
And still even after doing all this I had to follow your advice.

Also, @arozumenko , do you think including Jenkins restart as part of deployment eliminate the need for opening System configuration and saving it?

@dzavalei we have improvement of installation process (with a huge bunch of work) in out backlog for next month, stay tuned


Add shard command

Sends a message "[BetterShards] You are currently in the shard 'ShardName'"

@rourke750

The functionality this was needed for was picked up by WorldInfo, so closing this.


Crash with Frostiful and/or Scorchful

Mod Name
Frostiful and/or Scorchful
Mod Homepage
https://modrinth.com/mod/scorchful & https://modrinth.com/mod/frostiful
Minecraft version
1.21
Describe the bug
When I try to open minecraft with this/these mod/s game crash.
Steps to reproduce
1.Download this/these mods
2.Download dependencies
3.Open the game
Logs
Frostiful:
Log: https://gist.github.com/digi2303/22ca79fec4f45e54cad7ee5bacddf0bc
Debug: https://gist.github.com/digi2303/a4ca51b2277218a47128fd254f433eba
Crash Report: https://gist.github.com/digi2303/aee30ba2aec8fda82828ddddaafbc1fc
Scorchful:
Log: https://gist.github.com/digi2303/9316be8dd9026e68f9e16b7b9294ca84
Debug: https://gist.github.com/digi2303/7b9e0e82e6bcae4febb5f020156fac14
Crash Report: https://gist.github.com/digi2303/39c68f541a5de7f3b07156466b01cd90
Additional context
No response

can confirm, still crashes in 1.21.1


Improve error handling in ssh NativeClient

Add 1min timeout for connection, like the ssh command (it was 0)
Check errors and close connections where needed
Remove retry loop for connection. It is already done at the upper level most of the time. CRC might need to adapt some timeouts.

My objective: use the same ssh implementation for Linux, macOS and Windows, use the NativeClient.

My objective: use the same ssh implementation for Linux, macOS and Windows, use the NativeClient.

For what it's worth, if we were not using it on Windows already, I'd be against this (less code to maintain ourselves if we just use the OS client). Since we use it on Windows, I dunno what's best :) In a way it's good to use (in particular for testing reasons) the same code everywhere, but this means we'll most likely diverge from the behaviour of standard clients.
For example, see https://lwn.net/Articles/832857/ :

we will be disabling the "ssh-rsa" public key signature algorithm by default in a near-future release.
I doubt we'd get this for free with our golang ssh implementation?

the native client has to be used on Windows as the different SSH implementations that exist are very unreliable; some do not support psuedo-tty or miss other options. unfortunately, we weren't actually able to standardize the use across all platforms due to issues on Linux and MacOS that were unexpected. We do not need full SSH support, so perhaps our goal would be to see if a native implementation is possible accross ALL targets?

Waiting for next sprint.


Refactor towards composition of pages

Shared understanding:

pages are composed by vertical views with their own data sources
views define their own types on the consumer side
adapters implement the consumer types inside these vertical sections
Iterable Repositories are exposed to all adapters

Checklist
Homepage

[x] Extract redirect from home page form in a separate handler
[ ] Rename article-redirect module to a more abstract name
[x] Extract EditorialCommunities component
[x] Extract MostRecentReviews component
[x] Inline lookup-most-recent-review-references middleware
[x] Inline fetch-articles middleware
[x] Inline populate-editorial-communities middleware
[x] Remove construct-view-model middleware
[x] Refactor MostRecentReviews component
[x] Extract FindArticle component
[x] Extract Header component
[ ] Test coverage of discover (view model generation)
[ ] Test coverage of template

Article page
Editorial community page

[x] Inline construct-view-model middleware
[x] Inline lookup-editorial-community middleware
[ ] Simplify header template not to take ViewModel
[ ] Extract PageHeader component
[ ] Inline remaining middlewares
[ ] Simplify header template not to take ViewModel
[ ] Extract GiveANameToThisListOfArticles component
[ ] Test coverage of discover (view model generation)
[ ] Test coverage of template

Closing as architecture has been agreed, and will be implemented as part of other features being added.


ruby_requirement: Fix new_enough_ruby

new_enough_ruby was not returning anything from its detect block.
Signed-off-by: Bob W. Hogg<EMAIL_ADDRESS>
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

Test Case to demonstrate this problem:

brew install ruby if not already done
brew info libprelude should show the ruby requirement as satisfied, but it does not.

If you do a brew irb run, you see:
==> Interactive Homebrew Shell
Example commands available with: brew irb --examples
irb(main):001:0> RubyRequirement.new(["2.4.0"])
=> #<RubyRequirement: "ruby" [] version="2.4.0">
irb(main):002:0> RubyRequirement.new(["2.4.0"]).send(:new_enough_ruby)
=> nil
irb(main):003:0>

Codecov Report

Merging #373 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #373      +/-   ##
==========================================
+ Coverage   61.85%   61.86%   +<.01%
==========================================
  Files         366      366
  Lines       20309    20310       +1
==========================================
+ Hits        12562    12564       +2
+ Misses       7747     7746       -1

Impacted Files
Coverage Δ

requirements/ruby_requirement.rb
35.89% <0%> (-0.95%)
:arrow_down:

extend/io.rb
100% <0%> (+28.57%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks, Bob!


Licence missing in the rubygems version and in the gemspec

The "capistrano-rbenv" gem seems not to have a license at all. Unless a license that specifies otherwise is included, nobody else can use, copy, distribute, or modify that library without being at risk of take-downs, shake-downs, or litigation.
I know, that this gem has a license on github, however it's missing one at rubygems and in a gemspec.

The fix will take effect the next time the gem is released. I'll do that within a week.

2.1.4 released: https://rubygems.org/gems/capistrano-rbenv/versions/2.1.4


Need help

Is it to deal with Intel wireless carder unable driver on OS X?

Unfortunately this project is no longer supported by me personally, it is quite old and put here for archival purposes.


Can't Login

Hello, I am receiving the following error message:
[0] [2017-04-16T07:59:46.145Z] DEBUG: server.pokemonRoutes/14316 on Windows-10-Pro: POST request to /api/pokemon/get (username=redacted)
[0] [2017-04-16T07:59:55.891Z] TRACE: server.pokemonUtils/14316 on Windows-10-Pro: client.init() failed, rejecting from getClient
[0] [2017-04-16T07:59:55.891Z] ERROR: server.pokemonRoutes/14316 on Windows-10-Pro: pokemonUtils.getClient() failed
[0]     err: operation timed out after 8019 ms, 5 tries with error: Fetching RPC endpoint failed, received status code 100
[0] [2017-04-16T07:59:55.891Z] DEBUG: server.expressUtils/14316 on Windows-10-Pro: Sending response from /api/pokemon/get (status=500, username=redacted)

I've git pulled and npm update, using a working hash key, and still receiving this login error. Also tried installing fresh on a Mac and received the same error.
Thanks in advance @Eric-Carlton

@eq2kazial Sorry for taking too long to get back to you! Is this still an issue?

@Eric-Carlton Yes, although today I get this error message:
[0] [2017-05-15T03:13:40.918Z] ERROR: server.pokemonRoutes/2620 on Windows-10-Pro: pokemonUtils.getClient() failed (err="Status code 403 received from HTTPS request")

Interesting, 403 would likely indicate an authorization issue. I know, for sure, that none of the code that I wrote would send a 403 back.  Given that information:

Are you sure you have the right login information ( username, password, etc ). In addition to having the right login information, are you using a Google account with 2FA turned on? If so, you'll need to create an app password and log in with that.

If 2FA is not the problem, is your hashing key up to date? They are only valid for 30 days ( last I checked ), so you may need to get a new one if yours is expired.

Login is through PTC and information is correct (triple checked), hashing key is in private.json and active.

Now receiving this error:
[0] [2017-05-15T03:55:49.035Z] ERROR: server.pokemonRoutes/2428 on Windows-10-Pro: pokemonUtils.getClient() failed (err="Status code 100 received from RPC")

Okay, great! It is possible that I need to update the API version that the application requests. If the current API version has been deprecated by Niantic, I'd expect these sorts of errors.
Unfortunately, it's getting late in my timezone and I've got work in the morning. I'd like to take some time to investigate this and give you an update when I learn something. I haven't actually used the application in ~2 months.
If you don't hear from me in 48 hours, feel free to spam this thread with mentions to me. I don't foresee anything eating up my free time tomorrow, but it doesn't hurt to let you know that you can hold me accountable for further delays in triaging this issue.

Looking into this now. Had to re-up my hashing key and create a PTC account to test with

@eq2kazial I updated the pogobuf dependency to the latest version and updated the API version to 0.61.0. That resolved the login issue with Google accounts. Unfortunately, I'm having trouble creating a PTC account to test with.
Can you pull, run npm update and try logging in? Let me know if this needs to be re-opened.


Use the utils from MetaDrive to update object summaries; update ScenarioDescription doc

What changes do you make in this PR?

Please describe why you create this PR

Checklist

[x] I have merged the latest main branch into current branch.
[x] I have run bash scripts/format.sh before merging.
[x] I updated documentation, if there are related change
[x] I add tests if there are new functions or bug-fixing
Please use "squash and merge" mode.

@QuanyiLi Any idea on why this PR will break test?


bluetooth: make beacon samples more usable

As noted on slack the beacon examples currently appear to transmit using an NRPA that can't be retrieved, which makes confirming that the beacons work difficult.  Add an advertising configuration that uses the identity address, which is appropriate for sensor beacons, and display the address that will be used on the console output.

Looks good to me. Just common bluetooth style changes.

I'd appreciate another review and merge soon, if possible.  I've currently got this within #28891 and would like to rebase that on this if this is merged soon.  If that doesn't happen I'll remove the example refactoring that's based on this PR from that PR, to reduce complexity of that review.


hr tag inside section tag is not visible (version 1.7.1)

Use of style above is just to increase contrast of line from background.
What to do?

Thanks, I think this was a bug related to the fix for #57
It should be fixed in the latest release: v1.7.2: https://github.com/andybrewer/mvp/releases/tag/v1.7.2

Sorry but your fix didn't. :-)
Here is a sample page:
<!DOCTYPE html>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/css/mvp-1.7.2.css" />

It's showing up for me when I copy/paste your HTML and view it locally. If you're still not seeing it, can you send me a link to a codepen.io code sample or similar so I can see exactly what you're seeing? Thanks.

Apologies for what appears to be an error on my local server. It works on a remote server:
https://www.breksta.com/test-hr-in-section.html
I do all my development on my local machine and then move it to the remote server. My failed testing was on my local machine only.
Sorry for the noise.

No worries! Thanks for clarifying.
On Sun, Apr 25, 2021 at 12:43 PM ctp52 @.***> wrote:

Apologies for what appears to be an error on my local server. It works on
a remote server:
https://www.breksta.com/test-hr-in-section.html
I do all my development on my local machine and then move it to the remote
server. My failed testing was on my local machine only.
Sorry for the noise.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/andybrewer/mvp/issues/60#issuecomment-826379070, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABXNJIAOPACRL236IUST3TKRWG7ANCNFSM43QOP2BA
.

--
Andy Brewer

I wrote too soon. When I copied the test-hr-in-section.html file, I forgot to include css/mvp-1.7.2.css and that is now also on the site with:
https://www.breksta.com/test-hr-in-sction.html
which does repeat the failure.

That URL gives me a 404 error
On Sun, Apr 25, 2021 at 12:54 PM ctp52 @.***> wrote:

I wrote too soon. When I copied the test-hr-in-section.html file, I forgot
to include css/mvp-1.7.2.css and that is now also on the site with:
https://www.breksta.com/test-hr-in-sction.html
which does repeat the failure.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/andybrewer/mvp/issues/60#issuecomment-826380529, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABXNNIFGV3VFGHTYDTDUTTKRXPVANCNFSM43QOP2BA
.

--
Andy Brewer

Github is too quick to send notification emails. Thirty seconds after I hit the comment button, I saw the typo and corrected it. The correct url is:
https://www.breksta.com/test-hr-in-section.html
as was given in my message
https://github.com/andybrewer/mvp/issues/60#issuecomment-826379070
and which shows in the corrected message
https://github.com/andybrewer/mvp/issues/60#issuecomment-826380529
Chris

OK, I see. Try https://github.com/andybrewer/mvp/releases/tag/v1.7.3, I set the width to 100% and it seems to be working for me now.

No problem! Glad it’s working now. Thanks for catching it.
On Mon, Apr 26, 2021 at 5:46 AM ctp52 @.***> wrote:

Yes, that fixes the problem for me. Thanks and sorry for the pair of
sloppy actions.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/andybrewer/mvp/issues/60#issuecomment-826806099, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABXNNZKW4IO4L6U747CI3TKVOA3ANCNFSM43QOP2BA
.

--
Andy Brewer


readf doesn't work with arrays

code (@MartinNowak) reported this on 2013-05-10T13:37:58Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=10060
CC List

alex.jercaianu

Description
import std.stdio;

void main()
{
    int[] s1;
    readf("%(%d,%)", &s1);
}

----

Even though unformatRange works, this code fails to compile, because it can't instantiate std.conv.parse!(int[]) with a LockingTextWriter.

https://github.com/D-Programming-Language/phobos/blob/2613bc8c3a7ad527ccdf58028765555392706ac9/std/format.d#L4043

code (@MartinNowak) commented on 2013-05-10T22:50:33Z
http://stackoverflow.com/questions/15987313/reading-an-array-of-elements-with-readf-in-d/16490650#16490650

No wonder I can't find any real examples of compound specifier use.


The OCR results on the local machine are not the same as your demo website.

I try to read the image on my local machine, but the result is bad:

But it is perfect on your demo website:

I don't know why, did you use any trained model for that?

I guess that's because they are using different tesseract version. let me check later

@leowilbur
is it possible to give me that image to test?

and tell me how you did setup your local server.

Manually? go get github.com/otiai10/ocrserver && PORT=xxxxx ocrserver
Docker image? docker run otiai10/ocrserver
Docker compose? docker-compose up

Hi @otiai10
I just run directly with the docker
docker run -p 8080:8080 otiai10/ocrserver

and this is the image

Thanks. I'll be able to take time for this

Fixed auto-build & deploy connection with both Docker hub and Heroku, which means docker image on your local and ocr-example on Heroku will be synced hereafter.


Touch/click event is not propagated on devices

I've searched through issues and it was marked as solved
However, on iOS 12 & 13 (safari & chrome) the first tap causes a hover event (the scrollbar appears and the child has the :hover css applied to it) and a second one fires the actual click handler on a child

Hi, same here 😁
Any plan on fixing this ?

+1

+1

+1

+1

+1

+1

+1

+1

Hi, @mattonit Any update on this? If you can provide me whats causing this I would like to find solution.
Regards ~

Running into the same issue, happens on mobile chrome, firefox, safari.
If view area is enough for the content then it is fine, if it is not then the first touch shows the scrollbar and then the second touch triggers the click event.

I am also having this issue, if anyone has figured out a work-around for this that would be amazing. I am thinking about trying simulate a first click to make nav bar active. Any thoughts? @zecar @Exocomp @jd-0001


patch request: Edge lock

Hi, I loved the sowm, it works perfectly for my old notebook. I would like to know if it is possible to make a patch that will lock the edges of the screen so that no window can disappear when placed in the corner of the screen (I think 2bwm has something similar). Unfortunately I'm not a programmer and I don't have any technical knowledge so that I can do something like that by myself.
Thanks!!

I'm not a good developer but i try my best. I won't release a patch if it works because I maintain a fork of sowm and don't work with the real sowm. I cannot promise something but I'll try


.find('[href="https://example.com"]') isn't working

Hello!
When i'm trying to find selector with set attribute like .y-link[href="https://example.com"], it doesn't find it. But finds .y-link[href].

This is a duplicate of #283