InkToolbar Style updates

Description
InkToolbar style updates
Motivation and Context
This change is needed to make inkToolbar to look like other winui controls
How Has This Been Tested?
Verified the changes visually
Screenshots (if appropriate):

/azp run

Looks like we need platform checks for BackgroundTransition and BrushTransition

Can you please also include some screenshots?

I would like to see a screen shot of the toolbar and flyout. it would be usefull since i have inking apps and would like to know hwo the toolbar would look like

        <StaticResource x:Key="InkToolbarFlyoutItemBorderPressedThemeBrush" ResourceKey="InkToolbarFlyoutItemBorderSelectedThemeBrush" />

nit:stray spaces

Refers to: dev/CommonStyles/InkToolbar_themeresources.xaml:52 in ded9926. [](commit_id = ded99262844b9af223cf25661137f8a9eb061674, deletion_comment = False)

                    CornerRadius="{TemplateBinding CornerRadius}" >

follow the same pattern as everywhere with Contract7Present/NotPresent for CornerRadius

Refers to: dev/CommonStyles/InkToolbar_themeresources.xaml:284 in ded9926. [](commit_id = ded99262844b9af223cf25661137f8a9eb061674, deletion_comment = False)

                            CornerRadius="{TemplateBinding CornerRadius}"/>

Contract7Present/NotPresent needs to be added for CornerRadius.

Refers to: dev/CommonStyles/InkToolbar_themeresources.xaml:504 in ded9926. [](commit_id = ded99262844b9af223cf25661137f8a9eb061674, deletion_comment = False)

                    CornerRadius="{TemplateBinding CornerRadius}">

Contract7Present/NotPresent needs to be added for CornerRadius. Control.CornerRadius was added in contract 7. Grid/Border had it from before so dont need for those.

Refers to: dev/CommonStyles/InkToolbar_themeresources.xaml:783 in ded9926. [](commit_id = ded99262844b9af223cf25661137f8a9eb061674, deletion_comment = False)

                    CornerRadius="{TemplateBinding CornerRadius}">

Contract7Present/NotPresent needs to be added for CornerRadius.

Refers to: dev/CommonStyles/InkToolbar_themeresources.xaml:534 in ded9926. [](commit_id = ded99262844b9af223cf25661137f8a9eb061674, deletion_comment = False)

I would like to see a screen shot of the toolbar and flyout. it would be usefull since i have inking apps and would like to know hwo the toolbar would look like

                    CornerRadius="{TemplateBinding CornerRadius}">

Contract7Present/NotPresent needs to be added for CornerRadius.
Refers to: dev/CommonStyles/InkToolbar_themeresources.xaml:534 in ded9926. [](commit_id = ded9926, deletion_comment = False)

Addressed the above issues.

                    CornerRadius="{TemplateBinding CornerRadius}">

Contract7Present/NotPresent needs to be added for CornerRadius.
Refers to: dev/CommonStyles/InkToolbar_themeresources.xaml:534 in ded9926. [](commit_id = ded9926, deletion_comment = False)

Addressed the above issues

        <StaticResource x:Key="InkToolbarFlyoutItemBorderPressedThemeBrush" ResourceKey="InkToolbarFlyoutItemBorderSelectedThemeBrush" />

nit:stray spaces
Refers to: dev/CommonStyles/InkToolbar_themeresources.xaml:52 in ded9926. [](commit_id = ded9926, deletion_comment = False)

Addressed the above issue

                                    <Setter Target="ExtensionGlyph.Opacity" Value="0" />

Please add some comments here.

Refers to: dev/CommonStyles/InkToolbar_themeresources.xaml:1054 in d4a633d. [](commit_id = d4a633d74f3c01ddd8b31b05512ad992a9935c16, deletion_comment = False)

                                    <Setter Target="CurrentSelectionIcon.Opacity" Value="1" />

THis should be 0, please help me change it.

Refers to: dev/CommonStyles/InkToolbar_themeresources.xaml:1181 in d4a633d. [](commit_id = d4a633d74f3c01ddd8b31b05512ad992a9935c16, deletion_comment = False)

Now my concern have two parts: 1. vertical support. 2. From the screenshot, we just need SelectionAccent, but we still keep a mount of ExtensionGlyph in the code. I believe we should remove it.

Added vertical test and removed SelectionAccent, still need ExtensionGlyph, so keeping it as ususal

/azp run

Error log:
[Error]: * InkToolbarButtonSelectedBackgroundPointerOver
[Error]: * InkToolbarSeelctedButtonBackgroundPointerOver
[Error]: * InkToolbarButtonSelectedBackgroundPointerOver
[Error]: * InkToolbarSeelctedButtonBackgroundPointerOver
[Error]: IsTrue - Resource Keys you have added are missing in one of the theme dictionaries. This is trouble since we might end up crashing when trying to resolve the key in that Theme. [File C:\a\1\s\dev\CommonStyles\APITests\CommonStylesTests.cs Line: 70]

/azp run


Flanneld doesn't reconnect to the apiserver

When flanneld 0.12 on Windows worker node lost the connection with the apiserver, it doesn't retry to connect but continues to log:
reflector.go:201] github.com/coreos/flannel/subnet/kube/kube.go:307: Failed to list *v1.Node: Get https://<IP_ADDRESS>:6443/api/v1/nodes?resourceVersion=0: http2: no cached connection was available`
Expected Behavior
Flanneld should reconnect to the apiserver
Steps to Reproduce (for bugs)
In our environment the easiest way to reproduce the issue is to move the floating IP to a different master node.
Your Environment

Flannel version: 0.12.0
Startup Option: --kube-subnet-mgr --kubeconfig-file=<kubelet-file.conf>
Backend used: vxlan
Kubernetes version (if used): 1.16.3 on premise, 3 master nodes and we're using a floating IP (managed by keepalived) that is used by flanneld as backend
Operating System and version:

Master: Redhat Linux 7
Worker: Windows 2019 <IP_ADDRESS>63.934

I have reproduced this as well in 0.12.0. When rolling updating master nodes, it will cause this to go into panic

Any update on this issue? It's bad enough so 0.12.0 it's not production ready in a windows env. Thanks

@DerrickMartinez you have any logs you can post? i have to look into something i think is related.

I keep seeing this when flannel starts after the host has been restarted.
Not a windows/flannel expert, but from what I understand the HCN network is lost on reboots and this starts happening only if flannel recreates the HCN.
I0617 10:20:41.195352    5580 main.go:518] Determining IP address of default interface
I0617 10:20:41.804639    5580 main.go:531] Using interface with name Ethernet0 and address <IP_ADDRESS>
I0617 10:20:41.804639    5580 main.go:548] Defaulting external address to interface address (<IP_ADDRESS>)
I0617 10:20:41.840550    5580 kube.go:119] Waiting 10m0s for node controller to sync
I0617 10:20:41.840550    5580 kube.go:306] Starting kube subnet manager
I0617 10:20:42.849946    5580 kube.go:126] Node controller sync successful
I0617 10:20:42.850188    5580 main.go:246] Created subnet manager: Kubernetes Subnet Manager - windows-worker-08
I0617 10:20:42.850188    5580 main.go:249] Installing signal handlers
I0617 10:20:42.850188    5580 main.go:390] Found network config - Backend type: vxlan
I0617 10:20:42.850188    5580 vxlan_windows.go:127] VXLAN config: Name=flannel.4096 MacPrefix=0E-2A VNI=4096 Port=4789 GBP=false DirectRouting=false
I0617 10:20:42.920661    5580 device_windows.go:116] Attempting to create HostComputeNetwork &{ flannel.4096 Overlay [] {[]} { [] [] []} [{Static [{<IP_ADDRESS>/24 [[123 34 84 121 112 101 34 58 34 86 83 73 68 34 44 34 83 101 116 116 105 110 103 115 34 58 123 34 73 115 111 108 97 116 105 111 110 73 100 34 58 52 48 57 54 125 125]] [{<IP_ADDRESS> <IP_ADDRESS>/0 0}]}]}] 8 {2 0}}
E0617 10:20:43.940915    5580 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:57186-><IP_ADDRESS>:6443: wsarecv: An established connection was aborted by the software in your host machine.

I0617 10:20:49.587538    5580 main.go:343] Waiting for all goroutines to exit
I0617 10:20:49.587538    5580 vxlan_network_windows.go:63] Watching for new subnet leases
E0617 10:20:49.954382    5580 reflector.go:201] github.com/coreos/flannel/subnet/kube/kube.go:307: Failed to list *v1.Node: Get https://<IP_ADDRESS>:6443/api/v1/nodes?resourceVersion=0: http2: no cached connection was available
E0617 10:20:50.957178    5580 reflector.go:201] github.com/coreos/flannel/subnet/kube/kube.go:307: Failed to list *v1.Node: Get https://<IP_ADDRESS>:6443/api/v1/nodes?resourceVersion=0: http2: no cached connection was available
........
........

If the flannel pod is removed, then on the second run it will find the HCN there and everything seems to work fine
I0617 10:26:30.296010    2876 main.go:518] Determining IP address of default interface
I0617 10:26:30.796195    2876 main.go:531] Using interface with name vEthernet (Ethernet0) and address <IP_ADDRESS>
I0617 10:26:30.796195    2876 main.go:548] Defaulting external address to interface address (<IP_ADDRESS>)
I0617 10:26:30.822208    2876 kube.go:119] Waiting 10m0s for node controller to sync
I0617 10:26:30.822208    2876 kube.go:306] Starting kube subnet manager
I0617 10:26:31.823168    2876 kube.go:126] Node controller sync successful
I0617 10:26:31.823168    2876 main.go:246] Created subnet manager: Kubernetes Subnet Manager - windows-worker-08
I0617 10:26:31.823168    2876 main.go:249] Installing signal handlers
I0617 10:26:31.823168    2876 main.go:390] Found network config - Backend type: vxlan
I0617 10:26:31.823168    2876 vxlan_windows.go:127] VXLAN config: Name=flannel.4096 MacPrefix=0E-2A VNI=4096 Port=4789 GBP=false DirectRouting=false
I0617 10:26:31.872028    2876 device_windows.go:102] Found existing HostComputeNetwork flannel.4096
I0617 10:26:31.907033    2876 main.go:313] Changing default FORWARD chain policy to ACCEPT
I0617 10:26:31.909029    2876 main.go:321] Wrote subnet file to /run/flannel/subnet.env
I0617 10:26:31.909029    2876 main.go:325] Running backend.
I0617 10:26:31.909029    2876 vxlan_network_windows.go:63] Watching for new subnet leases
I0617 10:26:31.909029    2876 main.go:343] Waiting for all goroutines to exit

Windows Update KB4551853 screws up my flannel connections. Could be related. Is not only related to flannel but also affects other CNI (ex Docker swarm).

I have a workaround for this issue, see https://github.com/KnicKnic/flannel/commit/023f21b2ef2b1fa9204aae0fe63ba9ab82e3aa64

This looks to be an open standing issue with the golang client: https://github.com/kubernetes/client-go/issues/374
It looks like this type of failure is handled directly in kubelet as a workaround: https://github.com/kubernetes/kubernetes/pull/78016 and other CNI's handle it as well: https://github.com/AliyunContainerService/terway/pull/87

With https://github.com/kubernetes/kubernetes/pull/95981 merged, I believe all that needs to be done to resolve this is bumping k8s.io/go-client to 1.20 after release or the 1.19 backport.

And the cherrypick PR for 1.19 is now open - https://github.com/kubernetes/kubernetes/pull/96778
1.19.5 is slated for release on 12/9 per https://github.com/kubernetes/sig-release/blob/master/releases/patch-releases.md.


PCI id base scheduling

Expose PCI id resources from compute nodes (eg: for specific interesting hardware accelerators).
Schedule workload requesting the resource to a node which satisfies the demand.

NOTE: from what I understand this should cover FPGA accelerators.


[#97789974] Refactor Goship

Extract types and functions to their own packages and files to reduce dependency

:+1: :point_up: :+1:

broken test have been fixed. PTAL.

looks great. :)

LGTM


Associate posts with routes

Note:
I think this is a design decision we've talked about before. The intention is to be able to view all the posts tied to a route somewhere in the detailed view of the route. Did we decide not to go with this? Worth implementing?

[ ] A post can be associated with a route (as an optional field)
[ ] get all posts for this route

post -> forum -> route is an existing link
route -> forum -> get all posts is a thing

I forgor about the forum connection, thank you


Attribute observer callbacks are called with heartbeat until disabled - after first called

This seems odd to me, particularly because they are labeled "__on_change".
eg:  if I do a
vehicle.add_attribute_observer('mode', mode_callback)
mode_callback is called every heartbeat, regardless of mode change.

https://github.com/diydrones/dronekit-python/blob/master/droneapi/module/api.py#L440
        elif typ == "HEARTBEAT":
            self.__on_change('mode', 'armed')

not sure why we did this, @geeksville do you remember this?

Using heartbeat to detect mode changes is a good thing.  But yep, it would be much better to also keep a cache of mode and armed inside of the vehicle object and only publish mode and armed if the corresponding boolean changes state.

perfect, I think this is what @eliao is calling odd here, I'll submit a PR with some caching, if the mode is still the same we won't publish __on_change('mode') same with armed

@mrpollo Perhaps the cache should be done for all other properties as well, since there is no check for evaluating if they have changed or not.

@mrpollo @mhct Yes. The bug shows up on all properties not just mode.

@mrpollo FYI, it appears that the callback is called more often than the heartbeat -  when testing #184 I was  getting "lots" of records a second and the heartbeat only comes in once a second. I suspect this means that it is updated whenever a relevant message containing the attribute comes from the vehicle. That would certainly make more sense than updating on heartbeat. Can you confirm? (Note, I assumed this to be correct so that is what #184 states)
In  #184 I explain how you might cache the value and provide notification only when the value changes. I still think this caching should be done by our API.
When do you think we might get some resource on this?

@hamishwillee I'll take over this issue. Since it's a significant departure from how callbacks are called so far in 1.x I think I'll reserve it for the next minor release, meaning I will focus effort on #184 first.

@tcr3dr Just to be precise:

The way I think this works is that we publish observed values whenever messages come in with those values. The documentation delivered by #184 assumes this. Can you confirm?
It could be that you are saying instead of the above we already cache the incoming values, and what is reported is the last received value, which is reported at some other schedule. If this is the case I'd say it is a bug

Irrespective of which of the above is happening, arguably we should be publishing the observed value just on change. I think you're saying that we're not going to do that, but stick with the way it is documented in #184.
Can you confirm please the above points (particularly which of the three options presented here we are aiming for)

@hamishwillee Your first point is correct. We do no caching yet, so we are erroneously sending "change" updates when a change may not have occurred.
So, I can prepare a patch to this, but I do not have enough test cases yet to confirm it will work well. In the meantime, I propose we go ahead, document this behavior (as a bug) via #184, and for the release that fixes this issue we update the documentation accordingly.
We will still want the documentation to read "Note: Versions before 1.x.x exhibited a bug where..." for the short term, so having it in the docs now is a good start.

@tcr3dr Thanks very much. Completely agree.

Should be aided by #446. Other attribute callbacks called "too frequently" should be submitted as new bugs so we can make a judgement call on them.


Error "AdminShutdown": get db session in background celery task

Small api service with background task which use db session:
main.py
import celery
from fastapi import FastAPI
from sqlalchemy import Column, Integer, create_engine
from sqlalchemy.ext.declarative import as_declarative
from sqlalchemy.orm import sessionmaker

### model

@as_declarative()
class Model:
    pass

class Entity(Model):
    __tablename__ = 'entity'

    id = Column(Integer, primary_key=True, index=True)

### connection

main_engine = create_engine('postgresql://postgres:@<IP_ADDRESS>:5432/test', pool_pre_ping=True)
MainSession = sessionmaker(autocommit=False, autoflush=False, bind=main_engine)

def get_main_db():
    db = MainSession()
    try:
        yield db
    finally:
        db.close()

### celery

celery_ = celery.Celery('tasks', broker='redis://<IP_ADDRESS>:6379/1')
celery_.conf.update(task_always_eager=True)

@celery_.task
def background_task():
    session = next(get_main_db())
    session.add(obj := Entity())
    session.commit()
    print(obj.id)

### app

app = FastAPI()

@app.get('/')
def read_root():
    result = {'Hello': 'World'}
    background_task.delay()
    return result

There is a simple test:
test.py

import pytest
from fastapi.testclient import TestClient
from sqlalchemy import create_engine
from sqlalchemy_utils import create_database, database_exists, drop_database

from main import app, Model

@pytest.fixture(scope='session')
def web_client():
    return TestClient(app=app)

@pytest.fixture(scope='session')
def main_db_uri():
    return 'postgresql://postgres:@<IP_ADDRESS>:5432/test'

@pytest.fixture(scope='session')
def main_engine(main_db_uri):
    return create_engine(main_db_uri, client_encoding='utf8', connect_args={'client_encoding': 'utf8'})

@pytest.fixture(scope='session', autouse=True)
def database(main_engine, main_db_uri):
    if database_exists(main_db_uri):
        drop_database(main_db_uri)

    create_database(main_db_uri)
    Model.metadata.create_all(bind=main_engine)

    yield

    drop_database(main_db_uri)

def test_get(web_client):
    assert web_client.get('/').status_code == 200

Run pytest:
Test session starts (platform: linux, Python 3.8.5, pytest 6.2.2, pytest-sugar 0.9.4)
rootdir: /home/test/test_2, configfile: pyproject.toml, testpaths: tests
plugins: sugar-0.9.4
collecting ... 1

 tests/test_.py ✓                                                                     100% ██████████

Results (0.54s):
       1 passed
Exception during reset or similar
Traceback (most recent call last):
  File "/home/test/test_2/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 697, in _finalize_fairy
    fairy._reset(pool)
  File "/home/test/test_2/venv/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 893, in _reset
    pool._dialect.do_rollback(self)
  File "/home/test/test_2/venv/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 558, in do_rollback
    dbapi_connection.rollback()
psycopg2.errors.AdminShutdown: terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

So, the test is has passed successful, but there is the psycopg2 error.
Is the way for get db session wrong?  What is the reason that server closed the connection unexpectedly?
Python 3.8.5
celery==5.0.5
fastapi==0.63.0
psycopg2-binary==2.8.6
pydantic==1.7.3
pytest==6.2.2
redis==3.5.3
requests==2.25.1
SQLAlchemy==1.3.23
SQLAlchemy-Utils==0.36.8
starlette==0.13.6
uvicorn==0.13.3
uvloop==0.14.0

You're mixing quite a few things here (Postgres, Redis, SQLAlchemy, Celery). Can you negate away unnecessary bits and pieces from it, ie. try without Redis/Celery, even without SQLAlchemy?
The error you're seeing would indeed indicate that the server side closed the connection, not your application.
I would say your test works, because the endpoint returns before the background task completes. And when the background task completes (or fails), the error is thrown, maybe because DB connection is no longer available in the context.

Thanks for the help here @tuukkamustonen ! 👏  🙇
It seems your error is on Celery, right @elsimqoz? In that case that wouldn't really be FastAPI.
Also, you should probably put the Celery worker stuff in a different file and run that independently of your FastAPI app.

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


Error with Single Step Intro

Is single step intro supported by intro.js-react?
My code:
renderSliderTooltip() {
    const { showFirstTooltip } = this.state
    let component = null

    const steps = [
      {
        element: '.start-step1',
        intro: 'Toque aqui para completar esse pack TOP!',
        position: 'top',
        tooltipClass: 'promo-pack-btn-tooltip promo-pack-tooltip',
        highlightClass: 'promo-pack-highlight'
      },
      {
        element: '.end-step1',
        intro: 'end',
      }
    ];

    const opt = {
      showButtons: false,
      showStepNumbers: false,
      showBullets: false,
    };

    if (showFirstTooltip) {
      component = (
        <Steps
          enabled={true}
          initialStep={0}
          steps={steps}
          onExit={e => this._exitSliderTooltip()}
          options={opt}
        />
      )
    }

    return component
  }

Without the 'end-step1' class put in the same element, the component breaks
Console error:

Am I missing something?
Thanks

Looks like this might be a duplicate of #20.
In this comment, I describe what might be a part of the issue if there is still no PR for it.


Unable to access accounts and API keys as a standard user

Setup
Rancher version: 2.6-head 76d89bd
Browser type & version: Chrome
Describe the bug
Once we log into rancher server, if we try to access cluster management page or Account the page is stuck in loading and never loads.
To Reproduce

Create a rancher server on v2.6-head
Create a standard user as an admin from Users and auth >> users with standard user permissions
logout as admin and log in as the standard user.
From user profile >> Accounts & Api keys

Result
Page is stuck in loading and  never loads. following console logs are seen:
tls.vue?230f:26 TypeError: Cannot read properties of null (reading 'indexOf')
    at f.apiUrlBase (66a1009873864594806e.js:1:39360)
    at Tn.get (vue.runtime.esm.js:4495:25)
    at Tn.evaluate (vue.runtime.esm.js:4597:21)
    at f.apiUrlBase (vue.runtime.esm.js:4851:17)
    at f.apiUrl (66a1009873864594806e.js:1:39519)
    at Tn.get (vue.runtime.esm.js:4495:25)
    at Tn.evaluate (vue.runtime.esm.js:4597:21)
    at f.apiUrl (vue.runtime.esm.js:4851:17)
    at f.<anonymous> (PromptChangePassword.vue:1:1367)
    at t._render (vue.runtime.esm.js:3569:22)

Expected Result
Expected the page to be accessible as a standard user
Screenshots

Additional context
Works fine for admin users.

I was able to somewhat repro this issue with the following steps:

Run rancher/rancher:v2.8-head 5b42ca5
Create a new user with user-base permissions
Remove the globalRoleBinding created from the user to user-base (must be done through the public api)
In a new window, login to Rancher as the new user. Click the Account & API Keys button.
Observe that the UI stays loading permanently, with an error in the console.

This part of the issue needs to be turned back over to the UI team for further investigation, given that users can be created without a GlobalRole in the current team.
The RBAC team should attempt to repro the issue where a user was created with no GlobalRoleBindings, and investigate if that is still an active issue.


Fix runtime exception and add Teams

This PR fixes a bug where line #450 causes a runtime exception, and adds reporting for the Teams Client SDK.

@RMacfarlane can you review the fix for the dependencies? I'm hitting an exception when I try to debug.


Allow only admins to see match / scrimmage logs

Also, should change unit-tests of serialization. Don't del data["logs"], and actually put logs into the one test of admin exposure.
(Would be cool to expose them in backend admin panel, if not done already)
Also, then, change frontend to not include the columns for logs in scrimmages

Already available on backend panel. Not exposed at all via API and frontend. Good to close?


Enhance UG

Description
Enhance UG for better UX
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Code quality improvements

How to test

Checklist

[ ] I have written testcases to cover all new methods
[ ] I have built and manually tested this code
[x] I have updated the User Guide
[ ] I have updated the Developer Guide
[ ] I have updated my individual project portfolio
[ ] I have included a preview deployment link to the updated project documentation

Codecov Report

Merging #241 (87b895c) into master (6c19d94) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #241   +/-   ##
=========================================
  Coverage     70.98%   70.98%
  Complexity      574      574
=========================================
  Files            97       97
  Lines          1889     1889
  Branches        211      211
=========================================
  Hits           1341     1341
  Misses          490      490
  Partials         58       58

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 6c19d94...87b895c. Read the comment docs.


"superset db upgrade" hang up when I setup the superset

I first use the superset, and don't know what happened when I run the command "superset db upgrade".  the command hang up!
the console log show:
......
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade  -> 4e6a06bad7a8, Init
-->       # hangs here ~

And,  I found the database table behave something incorrect.  when I run this sql, also hang up
select * from ab_user;     # also hang up

how can I solve this situation ?

Dup of #1260


Add --reindex option

Expected Behavior

Sometimes it is necessary to start dashd with the --reindex option (e.g. if the chain is corrupt or new addresses were added). It should be possible to add a flag to the dashmate start command to achieve this.
Current Behavior

Currently this can be achieved with a workaround by editing templates/core/dash.conf.dot and adding reindex=1 there, then removing it again.
Possible Solution

Use a flag and add conditional login in the dash.conf.dot template.
Alternatives Considered

Additional Context

https://github.com/dashevo/platform/pull/533


Caching layer broken

The caching layer does not seem to be adapted to the new short function definition.
The new definition uses vectors projected to read and may-write slots.
The previous definition used dependencies for both in and out vectors.
$ ./dve2lts-sym ../telephony.1.dve2C
Initializing Lace, 4 workers.
Lace startup, creating 4 worker threads with program stack 524288 bytes.
dve2lts-sym: Exploration order is bfs-prev
dve2lts-sym: Saturation strategy is none
dve2lts-sym: Guided search strategy is unguided
dve2lts-sym: Attractor strategy is default
dve2lts-sym: Precompiled divine module initialized
dve2lts-sym: opening ../telephony.1.dve2C
dve2lts-sym: state vector length is 14; there are 62 groups and 66 guards
dve2lts-sym: Creating a native ListDD 64-bit domain.
dve2lts-sym: initial node table has 832040 entries
dve2lts-sym: initial uniq table has 1346269 entries
dve2lts-sym: initial op cache has 1346269 entries
dve2lts-sym: initial stack size 17711
dve2lts-sym: Using GBgetTransitionsShort as next-state function
dve2lts-sym: got initial state
dve2lts-sym: level 0 is finished
dve2lts-sym: vrel_add_act not supported; falling back to vrel_add_cpy
.........
dve2lts-sym: Exploration took 2108 group checks and 2108 next state calls
dve2lts-sym: reachability took 0.040 real 0.040 user 0.000 sys
dve2lts-sym: counting visited states...
dve2lts-sym: counting took 0.000 real 0.000 user 0.000 sys
dve2lts-sym: state space has 1280 (~1.28e+03) states, 827 BDD nodes
$ ./dve2lts-sym ../telephony.1.dve2C --cache
Initializing Lace, 4 workers.
Lace startup, creating 4 worker threads with program stack 524288 bytes.
dve2lts-sym: Exploration order is bfs-prev
dve2lts-sym: Saturation strategy is none
dve2lts-sym: Guided search strategy is unguided
dve2lts-sym: Attractor strategy is default
dve2lts-sym: Precompiled divine module initialized
dve2lts-sym: opening ../telephony.1.dve2C
dve2lts-sym: state vector length is 14; there are 62 groups and 66 guards
dve2lts-sym: Creating a native ListDD 64-bit domain.
dve2lts-sym: initial node table has 832040 entries
dve2lts-sym: initial uniq table has 1346269 entries
dve2lts-sym: initial op cache has 1346269 entries
dve2lts-sym: initial stack size 17711
dve2lts-sym: Using GBgetTransitionsShort as next-state function
dve2lts-sym: got initial state
dve2lts-sym: level 0 is finished
dve2lts-sym: vrel_add_act not supported; falling back to vrel_add_cpy
......
dve2lts-sym: Exploration took 1798 group checks and 1798 next state calls
dve2lts-sym: reachability took 0.020 real 0.020 user 0.000 sys
dve2lts-sym: counting visited states...
dve2lts-sym: counting took 0.000 real 0.000 user 0.000 sys
dve2lts-sym: state space has 780 (~7.80e+02) states, 757 BDD nodes
same for other language modules

The fact that the documentation in the PINS header is also out of date, already gives a clue.

Some fixes for SpinS in b477ac87871d7e0ef1b6b3164ab108aba5a9d3f0
problem still persists.

problem does go away when turning off read/write matrices: -rr2+,w2W,W2+

While trying to fix, I boiled it down to this code which still gives wrong results for the above examples.
I cannot explain this.
pins2pins-cache.c.txt

Fixed in 1fff384e716bec148c0392a030bfbc53ce0a5e63 by @Meijuh


ng-change event doesn't get triggered when using the single deselect ??? how can i do it???

ng-change event doesn't get triggered when using the single deselect ??? how can i do it???

Can you use $scope.$watch?
Like so:
$scope.state = ['California', 'Arizona'];
  $scope.states = [
    'Alaska',
    'Arizona',
    'Arkansas',
    'California'
  ];

  $scope.$watch('state', function(changed) {
    console.log('state changed to ', changed);
  });

Example on Plunkr: http://plnkr.co/edit/DuFbSh?p=preview

I believe ng-changed has been fixed in a later version.
Check my example http://plnkr.co/edit/Zejg6f?p=preview
Even though, you could always use $scope.$watch with ngModel.


Problem initialising Superset with Clickhouse

Hi
I am trying to integrate superset with Clickhouse using the latest amancevice/superset image ([0.26.3])
I am mounting the following superset_config.py  in /etc/superset as expected:
SUPERSET_WEBSERVER_PORT = 8088
SECRET_KEY = 'blabla'
SQLALCHEMY_DATABASE_URI = 'clickhouse://USER:PASSWORD@whateverurl.com:8081/default'
WTF_CSRF_ENABLED = True
WTF_CSRF_EXEMPT_LIST = []
WTF_CSRF_TIME_LIMIT = 60 * 60 * 24 * 365
MAPBOX_API_KEY = ''
I get the following log and the corresponding error:
2018-07-27 08:53:09,503:DEBUG:urllib3.connectionpool:http:/whateverurl.com:8081 "POST /?database=default&query_id=7c503aee-917a-11e8-80d1-0242ac110002&password=PASSWORD&user=USER HTTP/1.1" 200 None
2018-07-27 08:53:09,509:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): whateverurl.com
2018-07-27 08:53:09,672:DEBUG:urllib3.connectionpool:http://whateverurl.com:8081 "POST /?database=default&query_id=7c63a52a-917a-11e8-9013-0242ac110002&password=PASSWORD&user=USER HTTP/1.1" 500 None
2018-07-27 08:53:09,674:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: Code: 62, e.displayText() = DB::Exception: Syntax error: failed at position 42 (line 3, col 13): NOT NULL,
name VARCHAR(100) NOT NULL,
PRIMARY KEY (id),
UNIQUE (name)
)
FORMAT TabSeparatedWithNamesAndTypes. Expected one of: DEFAULT, token, ClosingRoundBracket, Comma, MATERIALIZED, ALIAS, e.what() = DB::Exception

I think this is more related to Superset than to the image, so I close this issue and open a new one


cawbird: 1.0.5 -> 1.1.0

Motivation for this change

regular version bump

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build cawbird

backport: #89260

changes: https://github.com/IBBoard/cawbird/releases/tag/v1.1.0

Oh, I guess I should include a changelog link in future version bumps, sorry.


[macOS] I would like there to be an option to hide the dock icon

I know that this used to be a feature and that it's been removed because someone made issue #207. So obviously some people like to keep the dock icon and some people (like me) like to be able to hide the dock icon. I'm a programmer myself and for my work I use the app-switcher every few seconds and so I prefer my app-switcher to not be polluted with apps that I rarely need to switch to.
So uh, could that feature maybe come back, but as a separate check-mark in the preferences window?

@Evertt That issue you linked wasn't the removal of a feature, it' was a legitimate bug.  The macOS design guidelines do not allow an application to have an active window and not have a dock icon.  (It's technically possible but goes against their guidelines).
I agree with those guidelines that this shouldn't be a thing and I think it will annoy more people than it will help when they enable it to see what it does.  For now, I'm going to close this issue out as a wontfix.

@MarshallOfSound

The macOS design guidelines do not allow an application to have an active window and not have a dock icon.

Okay I'm totally fine with that. But that means that once the window is closed (and so there is not active window open) then the dock icon should be okay to remove right? I would still very much appreciate that. Because the window could still easily be opened using the menubar icon.

@Evertt Afaik there is no way for GPMDP to be active but not have an open window somewhere, the window might be hidden or minimized, but it definitely exists somewhere

@MarshallOfSound Wavebox does it though. Why can't this app do it then?

@Evertt I'm not saying we can't do it, it's 100% possible, I just agree with the design guidelines here and say it shouldn't be done

Okay :-(

I'm heavily annoyed by that, as the music player goes in the way when i'm working. The music player constantly gets focus on cmd-tabs instead of my editor/browser window. It's annoying to the point that i'm often closing it and opening a background tab in chrome instead.
There are other apps (iTerm, Harvest for example) that allow excluding the app from the dock and that options proves to be very helpful.
Treat the guidelines as a helpful defaults when you would have no preference otherwise, but there are valid cases when it should be OK to break them. At least allow the user to decide, especially when it's so easy to do technically.

@Frizi I think nobody is watching this issue anymore. :-(

@MarshallOfSound Could you take a look? 😄

Thanks @angelo! This should be built into GPMDP!

Came here to request this. I'll go with the terminal fix. Thank you @angelo!


Mldb 1404 cls train dupe cols

@guyd please take a look at this in the context of our conversation earlier today :)

+1 as long as regression test coverage is sufficient.


Misalignment in footer

🐞 Bug Report
Describe the bug
Contributors' button is not aligned, whether u r placing at footer or sidebar, also it should look different from others
Expected behavior
It should look unique and well aligned
Screenshots or Video

Environment
Please provide the following details:

OS: e.g., iOS, Windows, Linux, macOS
Browser/Software: e.g., Chrome, Firefox, Node.js
Version: e.g., 22.0

Kindly assign this issue to me under hactoberfest, gssoc-ext and relevant tags.

assignedd @Bhum-ika please check in responsivness also go ahead . you can connect if you need any help

Sure, thanks

Hi, could you please add level 2?
I would really appreciate it


amaranth: add patch

Description of changes
ZHF: #172160
@NixOS/nixos-release-managers
Trying to fix the broken glasgow package I realized it was trigerring a call to the deprecated function jinja2.contextfunction.
The call originated from an amaranth file.
As mentioned here https://jinja.palletsprojects.com/en/3.0.x/api/#jinja2.contextfunction jinja2.contextfunction was removed in jinja2 v3.1.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Patches as simple as this are usually done better with a substituteInPlace call in a postPatch phase - it's far less fragile.

nixpkgs-review happy, nixos x86_64 & macos 10.15 though

Suggested commit message now: amaranth: patch out use of deprecated jinja2 function

(nixpkgs-review also successful for me on nixos aarch64)


Compiler loops with commonjs modules

I wanted to use cc for optimizing javascript code written using commonjs modules. But when invoking cc, the compiler just loops and outputs nothing.
I then created a very simple test, it' only one file, with no requires and only one export:
$ cat cc-test.js
function genTs(date) {
    var d = date || new Date();
    var pad = function (n) {
        return (n < 10 ? '0' + n : n.toString());
    };
    return d.getUTCFullYear() + '-' + pad(d.getUTCMonth() + 1) + '-' + pad(d.getUTCDate()) + 'T' +
        pad(d.getUTCHours()) + ':' + pad(d.getUTCMinutes()) + ':' + pad(d.getUTCSeconds()) + 'Z';
}
exports.genTs = genTs;

But the compiler still runs forever, without producing any output (and without consuming much CPU time):
$ java -jar ./compiler.jar --compilation_level=WHITESPACE_ONLY --logging_level=FINEST --process_common_js_modules --common_js_entry_module cc-test.js

I guess I'm using the latest stable build:
$ java -jar compiler.jar --version
Closure Compiler (http://github.com/google/closure-compiler)
Version: v20150609
Built on: 2015/06/09 16:35

Your common_js_entry_module flag is missing a value. The compiler is assuming that cc-test.js is the entry point name and then is waiting forever for actual input from standard in.
$ java -jar ./compiler.jar --compilation_level=WHITESPACE_ONLY --logging_level=FINEST --process_common_js_modules --common_js_entry_module MY.MODULE.NAME --js cc-test.js

@ChadKillingsworth In this case, can the compiler show a message that it's waiting for input from stdin? Then the users won't be confused that it's stuck in an infinite loop.

That would interfere with the case where the output is being redirected - unless we displayed the message using standard error.
cat myfile.js > java -jar compiler.jar -W=VERBOSE -O=ADVANCED > out.js

stderr for the message sounds good to me.

Yeah I've made that mistake before too. Would be very helpful for it to just print "Reading JS from stdin" if it doesn't get any input within a second or so (or maybe just print it unconditionally).


[Bug] Hide VAC Ban option not working correctly

Before Reporting

[X] I found no existing issues matching my bug
[X] I found no existing issues matching my bug on the Millennium Repo
[X] I completely restarted Steam and checked if the bug is still there
[X] I have checked if I use the latest version

Describe the Bug!

SpaceTheme hides my game-ban, despite the option for VAC-ban visibility being selected as "show".
(This might be an issue with https://github.com/shdwmtr/millennium/issues/148, but i spammed the show option, restarted steam and it still didn't work.)
Expected Behavior
I can see my game-ban
Steps To Reproduce

Select "show" option in VAC-ban visibility
Open a profile with a game or VAC ban (ex. https://steamcommunity.com/id/Czekoloczek/)

Operating System
Windows

If this is an issue with https://github.com/shdwmtr/millennium/issues/148, then you can close this issue

Yes, it has something to do with https://github.com/shdwmtr/millennium/issues/148 because if you look here https://github.com/SpaceTheme/Steam/blob/main/skin.json#L143-L151 the theme itself does not patch CSS when the option is set to Show.


Improves kubernetes provider examples documentation

Solves #850

@ADustyOldMuffin Do you mind checking if the new redact helped with k8s provider understanding?

Looks excellent!

/approve

/merge

thanks @rodrmartinez for the update :rocket:


[Feature] Tracking all existing names and categories

Is your feature request related to a problem? Please describe.
Consider the following situation: a developer, despite all recommendations and warnings, typed their own category strings in ItemCategoriesAttribute: [ItemCategories("Stealth", "Usalbe")], and they can't figure out why some feature, related to "Usable" category, isn't working.
Describe the solution you'd like
RogueLibs will track all existing categories and log a warning, if it encounters a name or a category, that it doesn't know about. You can add your own strings and INameValidators in RogueFramework. Custom names will be automatically added to an instance of the default INameValidator implementation.
It might be heavy on the performance, but, I guess, it can be helpful sometimes.
Describe alternatives you've considered
Don't make typos.

RogueLibs v3 will no longer be updated. Reopen the issue if the issue persists in v4+.


assessSpatialCov > unused argument in example

The Rpub vignette, and the assessSpatialCov documentation suggests periods is required for the function, however, when testing I get the following response:
Error in assessSpatialCov(dat = new_spatial_data, periods = ten_periods,  :    unused argument (periods = ten_periods)
The function works if periods = ten_periods is removed from the call.

Sorry @GPowney the vignette is now behind the code. Will publish a new one today

Okay, nice one!


s/v1/v2 for metrics proto.

Updated package for metrics.proto from v1 to v2 and re-ran proto compiler on the directory, which updated some of the generated code for other protos as well.

Note: we now have https://github.com/quantumlib/Cirq/blob/master/dev_tools/build-protos.sh for generating protobuf code. That script uses the version of protoc defined in the dev dependencies in the repo, so doesn't depend on protoc being installed on the user's machine, and also updates the mypy stubs. We should probably add a CI check that runs the build script and checks that there are no diffs.

Created #1801 for this


Datepicker dropdown - added parameter for empty default value

Hi, in our project we need datepicker with blank default value (it's common in forms for example).
First I tried to give to component empty model, but that didn't work for me, so I tried it this way.
(I'm clojure rookie, so any proposals and advices are welcomed.)

Thanks for the PR @czlang We have decided to implement this without the need for an extra parameter. See this commit Feel free to try and let me know if this addresses your use case. I will mark this as closed. We will include this in a future release.

Very nice, thank you.
Works fine in a datepicker (no date selected), but I don't see how to use datepicker-dropdown same way (empty label). Is it possible? If not now, do you plan to add this feature to a datepicker-dropdown?


[cairo] Fix static cairo builds

Makes cairo buildable in x64-windows-static.
For some reason cario is skipped in CI. Probably due to some port depending on gobject feature?

Should also fix https://github.com/microsoft/vcpkg/issues/18082 ?

Can you also fix https://github.com/microsoft/vcpkg/issues/18102 in this PR?
Thanks.

@JackBoosY I am not going to add unofficial CMake targets. The way to consume Cairo is via the supplied pc files and FindPkgConf.
The real problem is that Io2d is still referencing that target in the portfile while generating a config for Io2d.

Ah yeah I wanted to CI to build this first in x64-windows-static before marking it as ready to review

The regression should be fixed by https://github.com/microsoft/vcpkg/pull/18116, can you please merge to master?

@JackBoosY I am not concerned about the regression in libtasn1 because i know it has been fixed. I want  cairo:x64-windows-static:    cascade: 95900d64bc91f32160b6dfd64fa2affa92fb3fde to be solved or a way to remove the cascade failure. It happens because glib does not build statically and something (GTK) is requesting the glib feature from cairo

@Neumann-A Because:
.\vcpkg depend-info cairo:x64-windows-static
cairo[fontconfig, freetype, gobject, x11]: dirent, expat, fontconfig, freetype, glib, libpng, lzo, pixman, pthread, zlib

glib:x64-windows-static:       skip: c903b3210ebbf1f98d344a620ddc948f9d384853

@JackBoosY: For me it returns:
./vcpkg.exe depend-info cairo:x64-windows-static
...
cairo[fontconfig, freetype]: dirent, expat, fontconfig, freetype, libpng, lzo, pixman, pthread, zlib

@Neumann-A use ./vcpkg depend-info cairo[*]:x64-windows-static.

@JackBoosY I know that * depends on glib. CI should not test this configuration since the dependencies requiring the gobject feature are marked as skipped. This is really a CI pitfall since it can greatly reduce the number of tested ports in CI by simply addding a feature to another port with an unsupported configuration for certain triplets. This is really annoying and should be reworked. I mean cairo with default features work fine in x64-windows-static but it is simply not tested because another port like gtk depends on the gobject feature which is marked as skiped but CI still tries to build the feature rich version of cairo.

I perfer to let @BillyONeal tell why we do that.

Thanks for your contribution!


Option names must not be translated

In the German translation of this page, e.g. the option "-PreRelease" is incorrectly translated as "-Vorab", and "-IncludeDelisted" as "-Incluentdelisted". Option names must not be translated.

Dokumentdetails
⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

ID: 7387ab78-ea68-638b-37fa-e3e0b567bd34
Version Independent ID: 2050c175-26f2-bd31-174d-84661f7ab845
Content: Befehl
Content Source: docs/reference/cli-reference/cli-ref-list.md
Product: nuget
GitHub Login: @karann-msft
Microsoft Alias: karann

Hello, @KGuetter
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

Hello, @KGuetter

Thank you for your feedback.

Our linguistic team reviewed your linguist suggestions and accepted them. We implemented your feedback and published to the updated articles on the Docs site to the following pages https://docs.microsoft.com/de-de/nuget/reference/cli-reference/cli-ref-list#feedback
We truly appreciate your contribution to our articles and we encourage you to continue providing your valuable feedback.
Kind regards,
Microsoft DOCS International Team


Idea for some improvements of the IconPack-Browser

Is your feature request related to a problem? Please describe.
IMO the current implementation of the IconPacksBrowser is great, but has some limitations:

The more IconPacks are added the more space is needed by the TabHeader. Searching for a specific IconPack gets "harder"
The "All"-tab does not optically separate form the other tabs
There is not much space left for new features, such as

Displaying the Hyperlink #228
Add more Export options #57 #12

Describe the solution you'd like
Maybe using a HamburgerMenu instead of TabControl needs less space and the All-Items can be shown after a Separator. The new free space can be used to have an advanced Preview Pane with additional export options, such as

Selecting a Color
Setting the Size
Export the icon e.g. as *.png, *.bmp, *.ico and *.svg
Optional: Create a Settings-Page

Describe alternatives you've considered
Leave it as it is now
Additional context
I have an idea in my mind and will show it soon. If the idea is accepted, it can be adjusted in detail

I am working on a similar project.
https://github.com/MahApps/MahApps.Metro.IconPacks/issues/238#issuecomment-707828444


Option to only scale the chatbox

Currently with the new update scaling the game UI without scaling the game is amazing but can it be possible to add an option for chatbox scaling only? I'm fine with the default size of the rest of the UI elements so it'd be nice to only scale the chatbox with another option. Thanks

We cant scale just chatbox, that is not how the stretching works


Detection

We need a way to detect and ultimately stop boopkit :)

We can (in theory) detect if boopkit is running by some form of RCE. We do not currently have a "status" command because of the nature of the project.


Connecting Rider to TFVC on TFS, via direct access

Hi! Currently I am working from home and I am trying to use Rider to connect to TFS. While I was in the office everything works fine, but know, because I use Direct access to connect to TFS I cannot use Rider anymore, because the extension doesn't work.
I took a look in the logs and I see this exception:
java.lang.RuntimeException: An error occurred: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 	at com.microsoft.alm.plugin.external.commands.Command.throwIfError(Command.java:423) 	at com.microsoft.alm.plugin.external.commands.FindWorkspaceCommand.throwIfError(FindWorkspaceCommand.java:132) 	at com.microsoft.alm.plugin.external.commands.FindWorkspaceCommand.parseOutput(FindWorkspaceCommand.java:88) 	at com.microsoft.alm.plugin.external.commands.FindWorkspaceCommand.parseOutput(FindWorkspaceCommand.java:24) 	at com.microsoft.alm.plugin.external.commands.Command$1.completed(Command.java:178) 	at com.microsoft.alm.plugin.external.ToolRunner$ListenerProxy.completed(ToolRunner.java:295) 	at com.microsoft.alm.plugin.external.ToolRunner$ProcessWaiter.run(ToolRunner.java:333)

Hello. First of all, what's "direct access"?
From the error message, it looks like you should set up a certificate for the external TFVC client to use (which process, unfortunately, is documented very poorly; we have plans to enhance it). To do it, you could follow this comment.
Please let us know how it goes.

I'm getting this same error now in 2022 and I'm not sure what is going on...

here aswell

Since OP isn't chiming in, I'll hijack a bit... @ForNeVeR , this is what I am seeing. Can you make sense of it?

In that case, it's clear you need to do something about the certificates the TFS client is using. Take a look at #50.

I follow all the tips in #50 to no avail... Particularly here:

You can find it in the IntelliJ IDEA install folder, which in my case is C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2016.3.1\jre\jre\bin.
Once there you will then execute the following command
keytool -keystore "C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2016.3.1\jre\jre\lib\security\cacerts" -importcert -alias TFS -file "C:\temp\tfs.cer"

I've installed through Jetbrains Toolbox, and so that path doesn't exist... I found my cacerts here:

C:\Users\XX\AppData\Local\JetBrains\Toolbox\bin\jre\lib\security

And then I'm assuming that the correct JRE is here, but I may be wrong:

C:\Users\XX\AppData\Local\JetBrains\jdk8\jre\bin

Actually, hang on, There is also a Rider-specific set here:

C:\Users\XX\AppData\Local\JetBrains\Toolbox\apps\Rider\ch-0\223.6646.116\jbr\bin
C:\Users\XX\AppData\Local\JetBrains\Toolbox\apps\Rider\ch-0\223.6646.116\jbr\lib\security\cacerts

Running the -importcert with these made the difference... Now it works...!
Thanks for being my Rubber Duck, @ForNeVeR

Hi, here it is I solved on Mac M1 based on the https://github.com/microsoft/azure-devops-intellij/issues/50 answer:

I connected to Azure Devops Sever and exported the certificate .cer from the browser
I downloaded and installed Java 8 to be able to use keytool https://www.java.com/en/download/
opened /Applications/Rider.app/Contents/jbr/Contents/Home/lib/security
ran: keytool -keystore cacerts -importcert -alias TFS -file "path_for_your_certificate.cer"
typed password: changeit
checked out the repo using TFVC


Warn: RegisterIssueDataProvider error everywhere

WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'registerIssueDataProvider' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
Seeing this warning in stable atm - I see that the PR hasn't gone in yet, so I'm not sure why we see this warning?

I also had this problem, how did you solve it?

Related on Stack Overflow: I am unable to install any extensions or code spaces on visual studio code
Related on Reddit: https://old.reddit.com/r/VisualStudioCode/comments/18h6fz5/help/

OkI'm running late.Do you want to meet for lunch this afternoon?

From: starball @.>
Sent: Tuesday, December 26, 2023 9:28 PM
To: microsoft/vscode-python @.>
Cc: Subscribed @.***>
Subject: Re: [microsoft/vscode-python] Warn: RegisterIssueDataProvider error everywhere (Issue #22636)
Related on Stack Overflow: I am unable to install any extensions or code spaces on visual studio codehttps://stackoverflow.com/q/77715097/11107541
Related on Reddit: https://old.reddit.com/r/VisualStudioCode/comments/18h6fz5/help/
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-python/issues/22636#issuecomment-1869962206, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2Z4GXNTWVGDMWCYO4SMABTYLOWYJAVCNFSM6AAAAABASAA6A2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZHE3DEMRQGY.
You are receiving this because you are subscribed to this thread.

@paulacamargo25 completed by what? how?

I'm also seeing this issue, using latest version of the extension.
Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'registerIssueDataProvider' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.

2024-01-26 19:29:02.915 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'registerIssueDataProvider' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.

2024-01-26 19:29:02.915 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'registerIssueDataProvider' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.

how to hell can I fix this, even if I am switching to previous version it's giving me different API errors. Is this a joke?

2024-01-26 19:58:35.080 [error] Extension 'ms-python.python' wants API proposal 'envShellEvent' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2024-01-26 19:58:35.080 [error] Extension 'ms-python.python' wants API proposal 'envCollectionWorkspace' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2024-01-26 19:58:35.080 [error] Extension 'ms-python.python' wants API proposal 'envCollectionOptions' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.


python: remove the TRAINABLE_RESOURCE_VARIABLES graph key

The graph key TRAINABLE_RESOURCE_VARIABLES seems to have been removed, drop the lines in this PR.

Can one of the admins verify this patch?

We can't make this change because it'd mean breaking an API which existed in tf 1.0.

@alextp and it would be deprecated later?

If you want to mark it as deprecated I'm fine with that.
On Tue, Jul 18, 2017 at 11:49 PM, Yazhong Liu<EMAIL_ADDRESS>wrote:

@alextp https://github.com/alextp and it would be deprecated later?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/11580#issuecomment-316289117,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAATxScfyp1hav2Y3VIV8axH-az3c2GJks5sPacKgaJpZM4ObX3D
.

--

Alex

@alextp By the way, could you show which API would be broken on tf 1.0? Any why this PR applied would effect on a released version? The latest version seems 1.2?

If someone out there has code which uses
tf.GraphKeys.TRAINABLE_RESOURCE_VARIABLES their code would break. What I
meant to say is that removing tensorflow APIs since version 1.0 is not done
(until 2.0).
On Wed, Jul 19, 2017 at 9:36 AM, Yazhong Liu<EMAIL_ADDRESS>wrote:

@alextp https://github.com/alextp By the way, could you show which API
would be broken on tf 1.0? Any why this PR applied would effect on a
released version? The latest version seems 1.2?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/11580#issuecomment-316444049,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAATxZS39wApFAluE-i51jtm82WvT5BXks5sPjCkgaJpZM4ObX3D
.

--

Alex

This line is not safe to remove as someone could theoretically depend on
it. Core tf itself does not.
On Wed, Jul 19, 2017 at 10:16 AM, Yazhong Liu<EMAIL_ADDRESS>wrote:

@yorkie commented on this pull request.
In tensorflow/python/training/optimizer.py
https://github.com/tensorflow/tensorflow/pull/11580#discussion_r128309230
:

@@ -367,9 +367,7 @@ def compute_gradients(self, loss, var_list=None,
if grad_loss is not None:
self._assert_valid_dtypes([grad_loss])
if var_list is None:

 var_list = (

     variables.trainable_variables() +

     ops.get_collection(ops.GraphKeys.TRAINABLE_RESOURCE_VARIABLES))

 var_list = variables.trainable_variables()

@alextp https://github.com/alextp So this line is safe to remove as
your consideration is from community not the core?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/11580#pullrequestreview-50976953,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAATxSJvI61gdvFIm9Izfls2xcQCCI4fks5sPjnngaJpZM4ObX3D
.

--

Alex


testutil: add a new testutil package with fake identity service

This new package will container helper functions that allow an
individual component to simulate other components in the cluster
during unit testing.
Add a fake identity service which will hand out fake tokens for
a single tenant with an admin role.
Signed-off-by: Kristen Carlson Accardi<EMAIL_ADDRESS>

Coverage decreased (-0.07%) to 42.88% when pulling 9d7c9e973158b672921126ee81acfbc581da68c5 on kaccardi/topic/ciao-test into 2af99f2980f466d7fb39028333913794f30a9029 on master.

rebased on origin/mcastelino/topic/singlemachine

Coverage decreased (-0.01%) to 54.644% when pulling 914db8f6beb75c73eb018ad04e4e974e4d8a714e on kaccardi/topic/ciao-test into 670027d46f14f1deb75167ee686ab0b519c9cb35 on master.

@mcastelino let me know if this works for you.

closing this to make a new one against the right branch.


STORM-697: Support for Emitting Kafka Message Offset and Partition

Allow kafkaSpout to emit message offset and partition so that user are able to track tuple using this information.

STORM-697 is covered by https://github.com/apache/storm/pull/454


Disable mailchimp on dev an test environments

Maybe it's a good idea to add option disabled_environmetns: [dev, test] and disable API Calls somehow?

definitely, it's a good idea, will implement it once I have time for it, in the meantime, you can always use different config in config_test and config_dev to different list or different account


Can't sort by columns other than appid/name

Sort and filter options are only present on columns AppId, Name. No other column can be sorted. This is on both Firefox and Chromium. I couldn't find any reason why this is like this since the sorting behavior should be on the client side, but I don't know anything about razor templates to notice.

Thanks for opening the issue. This is now fixed in the latest deployment.


The babel package shouldn't be a dependency

Currently this plugin has the babel package as a dependency and it shouldn't. Plugin packages may declare the packages they need to work in peerDependencies or not declare at all since it's important that all plugins use the same package and not their own copies.
Other Babel plugins don't include babel as a dependency.

That looks correct.  I'll fix this in the next release (feel free to submit a PR).

Thanks! Sorry I didn't get to it.


Retrieve character count for toggling message 'on-charCounter-exceeded'

I'm currently able to show a message below the editor 'on-charCounter-exceeded', however, I would like to remove the message when the character count is less than the charCounterMax.
I tried retrieving the character count  on the action so I could add some logic to the controller action:
Controller
charCountExceeded(component) {
      let controller = this;
      let count = component.get('editor.charCounter.count.length');  // always equals 0 ??

      //if 'count' is less than 'charCounterMax' set boolean property equal to 'true' else 'false (show/hide on template)
}

I'm getting 0 as a result for 'editor.charCounter.count.length' no matter how many characters are typed in.  Would like to achieve without using jquery if possible. Any guidance on this is much appreciated.

I think you'll want to use the editor method for that: https://www.froala.com/wysiwyg-editor/docs/methods#charCounter.count and using the {{froala-editor}} way to call a method: http://www.emberwysiwygeditor.com/#/components/froala-editor?section=methods
charCountExceeded(component) {
    let count = await component.method('charCounter.count');
}

Note, await is needed because the method call will return a promise due to the unknown state of the editor.

Humm... is there a reason the charCounter.exceeded event doesn't work for your case?
{{froala-editor on-charCounter-exceeded=(action "openExceededWarning")}}

actions: {
    openExceededWarning(component) {
        // Do something here.?.
    }
}

Or, using that same event, change the maxCharactersReached directly. Ex:
{{froala-editor on-charCounter-exceeded=(action (mut maxCharactersReached true))}}

The trick with that approach would be getting it back to false once the user deletes some characters. But I'm wondering if you need to track that directly, which is why I'm wondering what else you're doing when that happens.

I'm using the first approach, but when the user removes characters, 'on-charCounter-exceeded' is no longer called (unaware of count) so I was watching the char count with  on-charCounter-update=(action 'charCountExceeded').
Tried using the second approach (action (mut maxCharactersReached true)), but I'm getting the same results.  maxCharactersReached property stays true once the max char count is reached.

Yeah, there isn't really an event for the other way. I'd suggest starting a feature request over on the "real" froala-editor repo: https://github.com/froala/wysiwyg-editor/issues
As for a better way with the ember integration, I don't think there really is. Any way you go about it, calling a function to grab the count and put it in an "ember land" property is required. I can think of a couple other ways of achieving it, but it would basically do the same thing.

Closing this for now, can re-open for further discussion if needed, but I think a new event from the actual editor would be best here (something opposite to charCounter.exceeded). They really are open to new feature requests so it would be worth starting a case over there.


Arbitrary key to be power button

Hey,
The keyboard of my macbook pro 13" 2011 is not working 100%. In particular only specific keys work (Letter W for instance). The power button does not work.
Thus, I would like to set this key to power on/of button. Isn't there anyway to set an arbitrary key to the power button?
Thanks

Hello, this functionality isn't in PowerKey by default. The app remaps your PowerKey, it doesn't remap other keys to function as Power.
However, you could write an Apple Script that servers to reboot or shut down your Mac. You could then trigger this script via PowerKey app (or a different key via a different hotkey mechanism).
That will not work to turn the computer on, however. Other than pressing the power button, the only solution I can think of is a schedule as described here: https://www.techwalls.com/power-on-macbook-closed-lid-clamshell-mode/


Incorrectly macro call

Hello
I defined macro in my layout.njk
{% macro button(text, href) %}
<button href="{{href}}">{{text}}</button>
{% endmacro %}

If I call macro in the same layout like this
{{ button("text", "#") }}

It's works fine.
But if I call macro in document
---
layout: layout
subject: Subject
preheader: Preheader text
---

{{ button("text", "#") }}

It throws an error: (unknown path) [Line 9, Column 35] parseSignature: expected comma after expression

Seems strange to me. I just tested the example you provided and it works fine with almost every version of plugin.

Node version? I use v8

I too have node v8 installed.

Please check out my clean project with the same problem https://github.com/dudeonthehorse/nunjucks-md
If you remove macro from example.md — gulp will running normally

Thank you for for your project. I was able to reproduce the problem. Initially, I wasn't able to reproduce the issue as I was using html instead of markdown.  This issue was caused by marked which escapes quotes by default. This plugin now uses a modified version of marked. This issue should be fixed now in the latest version of the plugin. 🎉

Okay. I've reinstalled dependencies. But now we have a new problem
default.njk
{% macro link(text, href) %}
{{text}}
{% endmacro %}

{% block content %}{% endblock %}

example.md
---
layout: default
subject: subject
preheader: preheader text
---

{{ link('First link', 'http://example.com/') }}

{{ link("Second link", "http://example.com/") }}

output
First link

Error: (unknown path) [Line 3, Column 33] parseSignature: expected comma after expression

In my previous project I used this method.
input.html
{% extends "extends/newsletter.html" %}
{% include "macro/macro.html" %}
{% block content %}
{% markdown %}

# Heading

Lorem ipsum text

{{ link('Hooray', 'http://example.com/') }}

{% endmarkdown %}
{% endblock %}

It worked great. But code looks shitty.
I used these packages:

https://www.npmjs.com/package/gulp-nunjucks-render
https://www.npmjs.com/package/nunjucks-markdown

This is the expected behavior. In GFM ( Github Flavored Markdown ) links and emails are automatically converted into html. The problem here is that this plugin uses marked and by default marked have GFM enabled. You can disable gfm by passing an option like this –
gulp.task('default', function() {
    return gulp.src('src/*.{html,njk,md}')
        .pipe(nunjucksMd({
            path: ['src/templates/'],
            marked: {
              gfm: false
            }
        }))
        .pipe(gulp.dest('dist'))
})

Another solution is to avoid such links in macros and use relative links instead.

Thanks

Good news. Now it works fine in gfm mode


data processing

Hi，
i want to know how to process my own data.  i mean that when i use  your embedding loss layer and trian the net   ,can i use the LMDB that generated for the SoftmaxLoss net before?
Thank you very much！

No you need to follow the instructions in the README.md and generate new LMDB.


A null value cannot be used as the collection in a 'for' expression

Describe the bug
After installing steampipe-mod-aws-well-architected, steampipe cannot be started with a dashboard.
Steampipe version (steampipe -v)
$ steampipe --version
Steampipe v0.20.2

Plugin version (steampipe plugin list)
$ steampipe plugin list
+---------------------------------------------+---------+-------------+
| Installed Plugin                            | Version | Connections |
+---------------------------------------------+---------+-------------+
|<EMAIL_ADDRESS>| 0.103.0 | aws         |
+---------------------------------------------+---------+-------------+

To reproduce
$ steampipe mod install github.com/turbot/steampipe-mod-aws-well-architected

Installed 2 mods:

local
└──<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>
$ steampipe service start --foreground --dashboard
Error: failed to load workspace: Failed to decode all mod hcl files:
Invalid function argument: Invalid value for "list" parameter: argument must not be null.
(/workspace/.steampipe/mods/github.com/turbot/steampipe-mod-aws-compliance@v0.65.0/mod.sp:35,18-39)
Iteration over null value: A null value cannot be used as the collection in a 'for' expression.
(/workspace/.steampipe/mods/github.com/turbot/steampipe-mod-aws-compliance@v0.65.0/mod.sp:48,17-35)

Expected behavior
Steampipe should start
Additional context
From looking at the mod list and the error above, it seems that steampipe loads steampipe-mod-aws-compliance version 0.65.0 (which is already installed) rather than 0.63.0 (the version installed by the module).
$ steampipe mod list

local
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>

@foolioo Thanks for using Steampipe & raising this issue
While I am checking, whether the mod install is supported directly with the WellArchited mod, I would suggest you proceed with git clone approach as mentioned here
git clone https://github.com/turbot/steampipe-mod-aws-well-architected.git
cd steampipe-mod-aws-well-architected
steampipe service start --foreground --dashboard

It may ask you to install it if it does not find the dependent AWS mod i.e.
Error: failed to load workspace: not all dependencies are installed - run 'steampipe mod install'
In the same steampipe-mod-aws-well-architected, execute
steampipe mod install >> This will install the required AWS compliance mod inside the same directory
Now you can execute > steampipe service start --foreground --dashboard
Access the dashboard with http://localhost:9194/
Let us know if this helps you to unblock.

@foolioo, I apologize if the above was not enough to unblock you, and I provided an alternative for the time being
I am unable to reproduce the issue; I tried with
CLI v0.20.2
$ steampipe plugin list
+---------------------------------------------+---------+-------------+
| Installed Plugin                            | Version | Connections |
+---------------------------------------------+---------+-------------+
|<EMAIL_ADDRESS>| 0.103.0 | aws         |
+---------------------------------------------+---------+-------------+

Installed the following mods in a folder called test-wta
test-wta$ steampipe mod install [github.com/turbot/steampipe-mod-aws-perimeter<EMAIL_ADDRESS>Installed 1 mod:
local
└── [github.com/turbot/steampipe-mod-aws-perimeter<EMAIL_ADDRESS>test-wta$ steampipe mod install [github.com/turbot/steampipe-mod-aws-tags<EMAIL_ADDRESS>Installed 1 mod:
local
└── [github.com/turbot/steampipe-mod-aws-tags<EMAIL_ADDRESS>test-wta$ steampipe mod install [github.com/turbot/steampipe-mod-aws-insights<EMAIL_ADDRESS>Installed 1 mod:
local
└── [github.com/turbot/steampipe-mod-aws-insights<EMAIL_ADDRESS>**Note**: I didn;t install AWS compliance specifically, considering it will be part of WellArchitected

Listing the mod
test-wta$ steampipe mod list
**local**
├── [github.com/turbot/steampipe-mod-aws-insights<EMAIL_ADDRESS>├── [github.com/turbot/steampipe-mod-aws-perimeter<EMAIL_ADDRESS>├── [github.com/turbot/steampipe-mod-aws-tags<EMAIL_ADDRESS>
Installed WellArchitected
test-wta$ steampipe mod install [github.com/turbot/steampipe-mod-aws-well-architected](http://github.com/turbot/steampipe-mod-aws-well-architected)
Installed 2 mods:
local
└──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>Listing the  mod
turbot-macpro-raj:test-wta raj$ steampipe mod list
local
├── [github.com/turbot/steampipe-mod-aws-insights<EMAIL_ADDRESS>├── [github.com/turbot/steampipe-mod-aws-perimeter<EMAIL_ADDRESS>├── [github.com/turbot/steampipe-mod-aws-tags<EMAIL_ADDRESS>└── [github.com/turbot/steampipe-mod-aws-well-architected<EMAIL_ADDRESS>    └── [github.com/turbot/steampipe-mod-aws-compliance<EMAIL_ADDRESS>
Executing the mod
test-wta$ steampipe service start --foreground --dashboard
It loads up all the required mods. Are there any steps I missed out on reproducing?
cc: @cbruno10 @rajlearner17

Hi @foolioo , thanks for raising this issue! As we were trying to reproduce behaviour you were seeing, we noticed that in Steampipe v0.20.0, there was a fix for mod dependency version resolution. In mod.sp, we previously had:
  require {
    mod "github.com/turbot/steampipe-mod-aws-compliance" {
      version = "^0.63.0"
      args = {
        common_dimensions = var.common_dimensions,
        tag_dimensions    = var.tag_dimensions
      }
    }
  }

In Steampipe v0.19.5, running steampipe mod install github.com/turbot/steampipe-mod-aws-well-architected or cloning the mod repo and running steampipe mod install would result in AWS Compliance v0.65.0 (the latest version) being installed.
However, running the same commands in v0.20.2 would result in AWS Compliance v0.63.0 being installed, not v0.65.0.
This is actually a good fix in Steampipe v0.20.2, and semver matching is now working correctly (even though we're using the carat, in v0.y.x of semver, each minor version can have breaking changes, so the caret only matches the latest minor version of pre-v1.0.0 versions).
So can you please try:

Creating a new directory and starting fresh
Run steampipe mod install github.com/turbot/steampipe-mod-aws-well-architected in that directory
Run steampipe service start --foreground --dashboard

And let us know if this fixes your issue?
Also, please note that in the same directory, if you run steampipe mod install github.com/turbot/steampipe-mod-aws-compliance in the same directory and then try to run steampipe dashboard, you will get an error:
cbruno@M1P testinstall % steampipe dashboard
[ Wait    ] Loading Workspace
Error: failed to load workspace: more than one mod found which satisfies dependency github.com/turbot/steampipe-mod-aws-compliance@*

This error is expected since Steampipe isn't sure how to resolve the AWS Compliance mod dependency for the AWS Well-Architected mod, so if you want to install the AWS Compliance mod at top level, you will need to do so in another directory.

@foolioo If you're interested in using the AWS Compliance and AWS Well-Architected mod, you can now install them both in the same directory, as the AWS Well-Architected mod will pull the latest version of the AWS Compliance mod as part of installation/update, e.g.,
cbruno@M1P testinstall % steampipe mod install github.com/turbot/steampipe-mod-aws-compliance

Installed 1 mod:

local
└──<EMAIL_ADDRESS>

cbruno@M1P testinstall % steampipe mod install github.com/turbot/steampipe-mod-aws-well-architected

Installed 2 mods:

local
└──<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>

cbruno@M1P testinstall % steampipe service start --foreground --dashboard
Steampipe service is running:

Database:

  Host(s):            localhost, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
  Port:               9193
  Database:           steampipe
  User:               steampipe
  Password:           ********* [use --show-password to reveal]
  Connection string:  postgres://steampipe@localhost:9193/steampipe

Dashboard:

  Host(s):  localhost, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
  Port:     9194
  URL:      http://localhost:9194/

Managing the Steampipe service:

  # Get status of the service
  steampipe service status

  # View database password for connecting from another machine
  steampipe service status --show-password

  # Restart the service
  steampipe service restart

  # Stop the service
  steampipe service stop

Hit Ctrl+C to stop the service
Stopping Steampipe service.
Steampipe service stopped.
cbruno@M1P testinstall % steampipe mod list

local
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>
If you want to work in your current directory, you can run steampipe mod update, which will update the mod dependencies.


fix [microbadger] examples

Closes #3437

Warnings

:warning:
This PR modified service code for microbadger but not its test code. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS against c6767e1fd89c714678c0c214ed8af6e7ca28db5b


Developer docs out of date

I've posted to #dev in the Ghost slack but no reply yet.  I'm fairly new to node, but have installed v6.9.4 with nvm on OSX 10.12 with latest Xcode + command line tools.
I'm following the developer-environment setup instructions here
The initial npm install installs tons of stuff, complains about various things being deprecated, but the only failure I see is the Native code compilation failed!! shown below:
[22:19:30]bpro:~/projects/Ghost-Desktop $ npm install
npm WARN deprecated<EMAIL_ADDRESS>use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>This package is discontinued. Use<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>Use the globby package instead
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

><EMAIL_ADDRESS>install /Users/thomas/projects/Ghost-Desktop/node_modules/execSync
> node install.js

[execsync v1.0.2] Attempting to compile native extensions.
[execSync v1.0.2]
    Native code compile failed!!

<snip> (lots more stuff follows, deprecated warnings etc, none appears to be fatal)

After this I bower install and also install grunt-cli without issue, but the final setup command npm run build-native-deps-64 fails with the following:
 [22:25:45]bpro:~/projects/Ghost-Desktop $ npm run build-native-deps-64
npm ERR! Darwin 16.3.0
npm ERR! argv "/Users/thomas/.nvm/versions/node/v6.9.4/bin/node" "/Users/thomas/.nvm/versions/node/v6.9.4/bin/npm" "run" "build-native-deps-64"
npm ERR! node v6.9.4
npm ERR! npm  v3.10.10

npm ERR! missing script: build-native-deps-64
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/thomas/projects/Ghost-Desktop/npm-debug.log

I routinely build software using the Xcode toolchain on this machine, so I know the c++ compiler works etc.

Hey! Thank you so much for giving us a go - I apologize for the docs being out of date, I'll get to that right away. The right sequence of commands is:
npm install
bower install
npm run rebuild:x64
npm run build:macos
npm start

Hi, this doesn't seem to help.  I get exactly the same error as before, only now referencing the new rebuild:x64 argument you've given:
~/projects/Ghost-Desktop $ npm run rebuild:x64

npm ERR! Darwin 16.3.0
npm ERR! argv "/Users/thomas/.nvm/versions/node/v6.9.4/bin/node" "/Users/thomas/.nvm/versions/node/v6.9.4/bin/npm" "run" "rebuild:x64"
npm ERR! node v6.9.4
npm ERR! npm  v3.10.10

npm ERR! missing script: rebuild:x64

facepalm it's rebuild:64.

This should now be fixed 😆

Thanks.  This works, and the doc https://github.com/TryGhost/Ghost-Desktop/blob/master/docs/developer-workflow.md should be updated also.


Port 9345 still in docs but not clearly documented

Rancher 1.6 still has ports referencing 9345 in the following 2 docs although they are not clearly documented:
http://rancher.com/docs/rancher/v1.6/en/installing-rancher/installing-server/
http://rancher.com/installing-rancher-single-container-high-availability/
Ticket #1246 says these were supposed to be removed.
Either docs should state explicitly what these ports are required for or remove them as per #1246?

There have been major design changes since the issue you pointed out (which applies to pre 1.0). The current docs are what you want to use, and they point out that 9345 is needed between the hosts running rancher/server container.
Let me know if you have any other questions

@superseb
Thanks for the reply.
Could someone update the doc with a description of why that port is needed?


Fix compilation of unicode-containing BuiltinStrings

Fix compilation of "BuiltinString"s containing unicode chars:
GHC Core to PLC plugin: Error: Unexpected error during compilation,
please report this to the Plutus team:
Use of fromString with inscrutable content: unpackCStringUtf8#

Nice


ROS Sharp in Melodic

[v ] I am at the right place and my issue is directly related to ROS#. General technical questions I would post e.g. at ROS Answers or Stack Overflow. For library-specific questions I would look for help in the corresponding library forums.
[v ] I have thoroughly read the Contributing Guideline and writing this issue is the right thing to do in my case.

I have a question!

[v ] I searched the Wiki, open and closed issues for an answer. I tried my best to find the answer by myself without success. I believe that the discussion we will have in this issue, and the solutions we might find, will help me, and likely other community members who have a similar problem.

Here is my question:
I searched everywhere and I couldn't find the answer to this question:
Does Ros Sharp support Melodic? Does it need a specific version of ROS Bridge?
I have been using Ros Sharp (in Unity) in Kinetic successfully for the past year. But now I am moving my code to Ubuntu 18.04 and ROS Melodic, but unfortunately, my code does not has stopped working. I can see the terminal output that "1 client has connected" but the next message that says "[client 0] Subscribed to /mytopic" is not showing up and I suspect it is because the protocol has changed from Kinetic to Melodic and ROS sharp is using the previous protocol (maybe).

@hojjatabdollahi , we only need not check whether rosbridge_suite works with ROS melodic and that the interface, i.e. rosbridge protocol V.2 did not change.
I have not tried ROS# with ROS melodic yet, but at first glance on the ROS Wiki it looks like this package is fully implemented for melodicand all commands and specifications are identical to kinetic.
I'd suggest to ask here whether anything has changed between kinetic and melodic for the user.
Maybe other users who are already working with ROS melodic can provide better support?

@MartinBischoff , thanks for your reply. We narrowed down the problem to the RosBridge installation. We were able to use RosSharp on a different ubuntu 18.04 and Melodic setup. However, uninstalling and purging ROS and RosBridge didn't help. We reinstalled Ubuntu and now everything is working. Thanks for your help.

Happy to hear that. We are also upgrading to meldoic these days.
Closing.


fix #733, add :freeze operator

Adds :freeze operator to allow freezing a portion
of the stack so it is isolated from further modification.
This is useful for query overlay and some other use-cases
where we essentially need to combine multiple expressions
and still be able to use operations like :clear or :list
without worrying about exactly how far back to go on the
stack.

Can you provide please some documentation about query overlaying using Atlas?

There are some docs on the page for the operator:
https://github.com/Netflix/atlas/wiki/std-freeze


Add delegation event in superfluid staking

Closes: #XXX
What is the purpose of the change
Adds delegation event which was originally happening upon delegation to superfluid staking msg.
This would not be appropriate to track the exact amount of delegation via events, but should suffice for any other cases wanting to track superfluid delegation.
Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[ ] N/A

Im confused, why can't we just call the event emission at the SuperfluidDelegate method level so we don't need to change the return API?

@czarcas7ic Given that we already have events being emitted in the msg server layer for all superfluid msgs, I thought it would be adding complexity if had some events being emitted in the msg server layer, some in the keeper layer.
I'm down to refactor to make all events in the keeper method if you think it would be a better decision. Wdyt?

Yeah I think either do that or, leave a comment in the msg server saying that X event is emitted at the keeper level. I think these two options are more preferential to changing the actual method API, but it could just be me, so I don't want you to do all this extra work if I am the only one that feels this way.

Yeah I think either do that or, leave a comment in the msg server saying that X event is emitted at the keeper level. I think these two options are more preferential to changing the actual method API, but it could just be me, so I don't want you to do all this extra work if I am the only one that feels this way.

I agree here

Whats the plan on this one?

@mattverse are we reviving this?


[Bug]: Unable to Configure Max File Size for FilePicker Widget

Is there an existing issue for this?

[X] I have searched the existing issues

Description
It is not possible to increase the maximum file size for files uploaded via the FilePicker widget.
This should be possible by setting the environment variable APPSMITH_CODEC_SIZE; however, the max_size 150MB is hardcoded in Caddy's configuration.
Steps To Reproduce

Set the environment variable APPSMITH_CODEC_SIZE = 300.
Attempt to upload a file larger than 150 MB.

Public Sample App
No response
Environment
Production
Severity
Low (Inconsistent UI/UX)
Issue video log
No response
Version
v1.15

I need this changed ASAP - it's blocking work on uploading 200Mb files.
Ideally this config would use a new environment variable instead of a hardcoded value.  Or you can use APPSMITH_CODEC_SIZE * 1.5 to account for 64-bit encoding.
In my case, to upload a 200Mb binary file (new Filepicker limit), we'd need ~300Mb for this setting.


Errors running resting state data w/cifti output ds002372

I'm trying to process the Yale single-subject dataset with the latest version of fmriprep and with cifti output but running into some errors. I think some of these errors might stem from missing and corrupted files in the dataset, but can't figure out which files in particular if that is the case.
What version of fMRIPrep are you using?
20.2.0rc0
What kind of installation are you using? Containers (Singularity, Docker), or "bare-metal"?

It is valid but there are a number of warnings. See here: https://openneuro.org/datasets/ds002372/versions/1.0.0. I've corrected warning 1, echo timing.
Did fMRIPrep generate the visual report for this particular subject? If yes, could you share it?

sub-RTC01.html.gz
Can you find some traces of the error reported in the visual report (at the bottom) or in crashfiles?
There were 10 errors, of three different types. One is that 3 of the resting state run 1 nifti files are corrupted or damaged which I will contact the dataset uploader about. Here are examples of the other two types of errors which come from sessions with seemingly valid nifti files and I can't figure out:
Node Name: fmriprep_wf.single_subject_RTC01_wf.func_preproc_ses_func12_task_rest_run_01_wf.initial_boldref_wf.gen_ref

File: /om2/user/jsmentch/data/datalad/ds002372/derivatives/fmriprep/sub-RTC01/log/20200911-130644_c271ec54-d88f-44c8-a583-8d2656fef202/crash-20200911-132728-jsmentch-gen_ref-65812abd-b85e-45ba-a788-d37ff03097f2.txt
Working Directory: /scratch/Fri/jsmentch/cache/fmriprep_wf/single_subject_RTC01_wf/func_preproc_ses_func12_task_rest_run_01_wf/initial_boldref_wf/gen_ref
Inputs:
in_file:
mc_method: AFNI
multiecho: False
sbref_file:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 516, in run
    result = self._run_interface(execute=True)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
    return self._run_command(execute)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 741, in _run_command
    result = self._interface.run(cwd=outdir)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py", line 419, in run
    runtime = self._run_interface(runtime)
  File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/interfaces/registration.py", line 491, in _run_interface
    ref_im += nb.four_to_three(nib_i)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nibabel/funcs.py", line 172, in four_to_three
    arr = np.asanyarray(img.dataobj)
  File "/usr/local/miniconda/lib/python3.7/site-packages/numpy/core/numeric.py", line 553, in asanyarray
    return array(a, dtype, copy=False, order=order, subok=True)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nibabel/arrayproxy.py", line 391, in __array__
    arr = self._get_scaled(dtype=dtype, slicer=())
  File "/usr/local/miniconda/lib/python3.7/site-packages/nibabel/arrayproxy.py", line 358, in _get_scaled
    scaled = apply_read_scaling(self._get_unscaled(slicer=slicer), scl_slope, scl_inter)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nibabel/arrayproxy.py", line 337, in _get_unscaled
    mmap=self._mmap)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nibabel/volumeutils.py", line 534, in array_from_file
    getattr(infile, 'name', 'object')))
OSError: Expected<PHONE_NUMBER> bytes, got<PHONE_NUMBER> bytes from object
 - could the file be damaged?

File: /om2/user/jsmentch/data/datalad/ds002372/derivatives/fmriprep/sub-RTC01/log/20200911-130644_c271ec54-d88f-44c8-a583-8d2656fef202/crash-20200911-134421-jsmentch-_n4_correct26-07e82f25-25ed-4894-bed1-9fbf139db777.txt
Working Directory: /scratch/Fri/jsmentch/cache/fmriprep_wf/single_subject_RTC01_wf/anat_preproc_wf/anat_template_wf/n4_correct/mapflow/_n4_correct26
Inputs:
args:
bias_image:
bspline_fitting_distance:
bspline_order:
convergence_threshold:
copy_header: True
dimension: 3
environ: {'NSLOTS': '1'}
histogram_sharpening:
input_image: /scratch/Fri/jsmentch/cache/fmriprep_wf/single_subject_RTC01_wf/anat_preproc_wf/anat_template_wf/t1w_conform/mapflow/_t1w_conform26/sub-RTC01_ses-func27_T1w_ras.nii.gz
mask_image:
n_iterations:
num_threads: 1
output_image:
rescale_intensities: False
save_bias: False
shrink_factor:
weight_image:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/shutil.py", line 557, in move
    os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: '/scratch/Fri/jsmentch/cache/fmriprep_wf/single_subject_RTC01_wf/anat_preproc_wf/anat_template_wf/n4_correct/mapflow/_n4_correct26/_0x3b871ea37d37983c4c154bbc0f2c04ed_unfinished.json' -> '/scratch/Fri/jsmentch/cache/fmriprep_wf/single_subject_RTC01_wf/anat_preproc_wf/anat_template_wf/n4_correct/mapflow/_n4_correct26/_0x3b871ea37d37983c4c154bbc0f2c04ed.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 531, in run
    shutil.move(hashfile_unfinished, hashfile_unfinished.replace("_unfinished", ""))
  File "/usr/local/miniconda/lib/python3.7/shutil.py", line 571, in move
    copy_function(src, real_dst)
  File "/usr/local/miniconda/lib/python3.7/shutil.py", line 257, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/local/miniconda/lib/python3.7/shutil.py", line 120, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/scratch/Fri/jsmentch/cache/fmriprep_wf/single_subject_RTC01_wf/anat_preproc_wf/anat_template_wf/n4_correct/mapflow/_n4_correct26/_0x3b871ea37d37983c4c154bbc0f2c04ed_unfinished.json'

Are you reusing previously computed results (e.g., FreeSurfer, Anatomical derivatives, work directory of previous run)?
no

I'm thinking these other errors must be due to other corrupt files and not an issue with fmriprep. I'm going to try to ensure all of the files are readable and try to run again after, will close this for now

I was actually pulling the dataset down to check your hypothesis. Will report back when done.

@oesteban I'm curious if you found anything out? I'm having a similar issue to @jsmentch 🙂


add fsharp sample plugin project

Adds an fsharp sample plugin project.
It doesn't work actually right now. @mhmd-azeez, do you have any tips on how to debug this interop? It looks like you've seen this error before.
Extism.Sdk.Native.ExtismException: 'Call failed

Caused by:
    0: error while executing at wasm backtrace:
           0: 0xbf84f - <unknown>!<wasm function 447>
           1: 0xbbf5d - <unknown>!<wasm function 394>
           2: 0x65c1b - <unknown>!<wasm function 322>
           3: 0x61cdf - <unknown>!<wasm function 321>
           4: 0x36596a - <unknown>!<wasm function 6275>
           5: 0x20ee33 - <unknown>!<wasm function 3061>
           6: 0x210b1c - <unknown>!<wasm function 3077>
           7: 0x20f857 - <unknown>!<wasm function 3067>
           8: 0x40afb - <unknown>!<wasm function 145>
           9: 0xba9f5 - <unknown>!<wasm function 383>
          10: 0xb25e7 - <unknown>!<wasm function 322>
          11: 0x61cdf - <unknown>!<wasm function 321>
          12: 0x36596a - <unknown>!<wasm function 6275>
          13: 0x20ee33 - <unknown>!<wasm function 3061>
          14: 0x210b1c - <unknown>!<wasm function 3077>
          15: 0x20f857 - <unknown>!<wasm function 3067>
          16: 0x40afb - <unknown>!<wasm function 145>
          17: 0xba9f5 - <unknown>!<wasm function 383>
          18: 0xb25e7 - <unknown>!<wasm function 322>
          19: 0x61cdf - <unknown>!<wasm function 321>
          20: 0x36596a - <unknown>!<wasm function 6275>
          21: 0x20ee33 - <unknown>!<wasm function 3061>
          22: 0x210b1c - <unknown>!<wasm function 3077>
          23: 0x21a184 - <unknown>!<wasm function 3163>
          24: 0xe1d73 - <unknown>!<wasm function 703>
          25: 0xe1f98 - <unknown>!<wasm function 704>
          26: 0x35de - <unknown>!<wasm function 37>
          27: 0x41638d - <unknown>!<wasm function 7797>
    1: wasm trap: indirect call type mismatch'

@NickDarvey thank you very much! If I add an explicit entrypoint in Library.fs with a printf, it seems to work:
[<EntryPoint>]
let main args =
    printfn "Arguments passed to function : %A" args
    // Return 0. This indicates success.
    0

This is a temporary fix, I'll have to investigate what's going on exactly

@NickDarvey very cool, I didn't know that! If we couldn't find the root cause of the wasm trap, I think that's a very good workaround.
If you're done with it, I think we can merge this PR. Then we can discuss how we are going to fix the wasm trap. Are you a member of the discord server? We have a C# PDK channel there. And maybe we should rename it to dotnet PDK :D

If you're done with it, I think we can merge this PR

I'm done, please merge.

Are you a member of the discord server? We have a C# PDK channel there.

I am not, but I'll join!

And maybe we should rename it to dotnet PDK :D

<3


ORDER BY query quantifies given order by string (which might be an alias) with a table name

Example
ORDER BY query using the alias without a join:
str(Query.from_(a).select(a.b, fn.Sum(a.c).as_('alias')).groupby(a.c).orderby('alias') )
=> 'SELECT "b",SUM("c") "alias" FROM "a" GROUP BY "c" ORDER BY "alias"'

ORDER BY query using the alias with a join:
str(Query.from_(a).join(b).on(a.b_id == b.id).select(a.foo, fn.Sum(a.int_column).as_('alias')).groupby(a.foo).orderby('alias') )
=> 'SELECT "a"."foo",SUM("a"."int_column") "alias" FROM "a" JOIN "b" ON "a"."b_id"="b"."id" GROUP BY "a"."foo" ORDER BY "a"."alias"'

Issue
The second example shows that when using a string in the orderby which might be an alias, is quantified with the FROM-table.
Suggestion
Don't quantify with the FROM-table in case of a string.
I think it's the coders responsibility to properly quantify, if necessary. The databases would complain for invalid SQL in case of ambiguous column names.
Let me know if there's a reason to quantify it that I don't see.

(this would also apply to the orderby for UnionQuery)

this can be solved by extracting the alias alias = fn.Sum(a.int_column).as_('alias') and reusing that in the select and order by clause.
thanks @twheys

In both examples, pypika is converting the string argument in orderby(...) to a field of table 'a' because you used it in from_(...). It's not intended to reference an alias, and I'm not sure how the database handles aliases that shadow column names.  In the second example, you've added a joined table so pypika prefixes all fields with the table name in the query string.
I think in this case it would be best to remove the behaviour of assuming strings are references to columns in the FROM table and treat them as raw strings in the SQL query instead.

the intended usage of this would be to pass in same value for orderby that you select, instead of a string with a matching alias, otherwise it's tricky for pypika to align.
The following query will give you the correct result.
c = fn.Sum(a.c).as_('alias')
str(Query.from_(a).select(a.b, c).groupby(c).orderby(c))