On windows

Hello happy holidays,
When I start using the api on windows I was clicking on api main.exe and was working fine on the newest update the system told me it's cmd tool and I have to do it every time manual is there a fix on this to work when I just click api main.exe?

This is because you use PowerShell to start Windows by default, and you can first create a start.bat file and put it in the project directory, as follows:
@echo off
cmd /c "%~dp0apimain.exe"

You can start it by double-clicking on it(start.bat).
And i will add the start.bat in next version.
Thanks for the feedback.

start.bat has added in new version


Impossible to write a derivation for a stack application

I have a haskell application that uses stack as its build system. Building this application is as simple as it gets - just cd into the source directory and stack build. It doesn't seem possible to write a Nix package for this application.
Using buildStackProject fails due to #32005, ie. it can't find /etc/protocol inside the nix build sandbox. If try to just stdenv.mkDerivation with buildPhase = "mkdir $TMP/build; stack build --stack-root=$TMP/build it fails the same way. Adding the iana-etc package which supplies /etc/protocols to my package's buildInputs doesn't fix the problem unless I also use libredirect to direct open calls to /etc/protocols to the correct location. After that though stack is still unable to download the files it needs, this time due to DNS resolution not working.  I gather this is by design since Nix derivations aren't supposed to download arbitrary files off the internet without specifying a content hash, so at this point I abandoned the idea of calling stack directly.
I then discovered stack2nix which supposedly generates a nix package from a stack.yaml. It works, except that the default.nix it generates is 49194 lines long and seems to include build instructions for every haskell package in existence, so I can't really include it in nixpkgs. I also tried stack2cabal thinking I could make a package that converts the application's build system to cabal and builds from there, but the package for stack2cabal is broken and won't install.
At this point I'm out of ideas. I'm surprised that this is so difficult given that Nix and stack have such a large intersection of users and that stack even has some built-in support for Nix. At any rate, I think it should be considered a bug that there's no simple way to do this.

Incidentally had the same issues few days ago and I stumbled upon https://input-output-hk.github.io/haskell.nix/ which seems to be better designed than the current Haskell nix infrastructure but is currently a separate project from Nixpkgs. It did build my stack project successfully though.

Also, if buildStackProject doesn't even build without sandboxing perhaps it shouldn't be in nixpkgs and we should instead point people to better alternatives in the docs.

Nix does not support building packages with Stack. There are several hard problems that would need to be fixed and I am not sure whether anyone is actually working on that. At the moment, the build system of choice is Cabal.

buildFromStackProject is in the official documentation so it seems like a bit of rude to just close this issue with "this is unsupported".  Why is is documented in the first place than?
Especially after me suggesting to fix this situation by updating the documentation and removing the code from Nixpkgs.  Please reopen this.

Re-opening to get a closure on the buildFromStackProject issue. (And as asked by @arianvp)

Reading the docs a bit more closely it technically only mentions that it should be used to create nix-shells but perhaps  we should  revert https://github.com/NixOS/nixpkgs/pull/30072 such that the derivation can't be used with nix-build if we don't plan on maintaining that usecase

buildFromStackProject is intended to be used in interactive development environments, i.e. in nix-shell. It's not intended to be used to build stack packages within Nixpkgs.

Could we rename the thing to shellForStackProject at least? Such that people stop running into this?

Personally, I wouldn't mind, but others might feel strongly about this. Feel free to propose a PR, though, to trigger some kind of discussion.

I'll think about it a bit more. Maybe it causes too much breakage to change the name. I'll definitely PR something to improve the docs a bit sometime this week.

To anyone reading this: I was having a similar problem, and I found the instructions at the bottom of this page:
https://nixos.wiki/wiki/Packaging/Quirks_and_Caveats
and set these environment variables in my derivation:
NIX_REDIRECTS = "/etc/protocols=${self.iana-etc}/etc/protocols";
LD_PRELOAD = "${self.libredirect}/lib/libredirect.so";

and that worked for me.


septentrio_gnss_driver: 1.4.0-3 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository septentrio_gnss_driver to 1.4.0-3:

upstream repository: https://github.com/septentrio-gnss/septentrio_gnss_driver
release repository: https://github.com/ros2-gbp/septentrio_gnss_driver_ros2-release.git
distro file: rolling/distribution.yaml
bloom version: 0.11.2
previous version for package: null

septentrio_gnss_driver
* New features
  * Send custom commands via ASCII file on startup
  * Save config to boot after setup
  * NTP and PTP server options (BREAKING: NTP is not setup automatically for use_gnss_time: true anymore)
  * Receiver status on /diagnostics
  * Option to publish only valid SBF block messages
  * Option to auto publish available messages for configure_rx: false
* Changes
  * Change floating point do-not-use-values to NaN (BREAKING in case these values ae used for validity checks downstream)
  * VSM now uses separate TCP device specified IP server
* Improvements
  * Rework some sections of the README
  * Combine ROS 1 and ROS 2 in one branch
  * Change GPSFix publishing policy to allow for high update rates

This is failing because your source entry is still pointing to the ros2 branch.

Friendly ping @septentrio-users

Thanks for the ping Michael, let us know if something is needed from our side.
tx
Gustavo
From: Michael Carroll @.>
Sent: Monday, 3 June 2024 22:16
To: ros/rosdistro @.>
Cc: githubuser @.>; Mention @.>
Subject: Re: [ros/rosdistro] septentrio_gnss_driver: 1.4.0-3 in 'rolling/distribution.yaml' [bloom] (PR #41286)
Friendly ping @septentrio-usershttps://github.com/septentrio-users
—
Reply to this email directly, view it on GitHubhttps://github.com/ros/rosdistro/pull/41286#issuecomment-2146041959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AREDY55JLMIZRWZ6FTX4TO3ZFTFGTAVCNFSM6AAAAABIBSD5ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWGA2DCOJVHE.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This e-mail communication contains information that is confidential and may also be privileged. It is intended for the exclusive use of the addressees. If you are not the person or organization to whom it is addressed, you must not copy, distribute or take any action in reliance upon it. If you received this communication in error, please notify Septentrio nv immediately [ telephone +32 [0] 16 300800 ]. Septentrio nv will not accept liability for contractual commitments made by individuals employed by this company outside the scope of our business.

@septentrio-users This PR is still failing CI.  I think it's because your source branch is set incorrectly.

@mjcarroll thank you for letting us know of the issues in this PR. I think another PR https://github.com/ros/rosdistro/pull/41342 was successful, so if you could close this one that would be great


DropdownMenu default width does not take label into account.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

import 'package:flutter/material.dart';

/// Flutter code sample for [DropdownMenu]s. The first dropdown menu has an outlined border.

void main() => runApp(const DropdownMenuExample());

class DropdownMenuExample extends StatefulWidget {
  const DropdownMenuExample({super.key});

  @override
  State<DropdownMenuExample> createState() => _DropdownMenuExampleState();
}

class _DropdownMenuExampleState extends State<DropdownMenuExample> {
  final TextEditingController colorController = TextEditingController();
  ColorLabel? selectedColor;

  @override
  Widget build(BuildContext context) {
    final List<DropdownMenuEntry<ColorLabel>> colorEntries =
        <DropdownMenuEntry<ColorLabel>>[];
    for (final ColorLabel color in ColorLabel.values) {
      colorEntries.add(
        DropdownMenuEntry<ColorLabel>(
            value: color, label: color.label, enabled: color.label != 'Grey'),
      );
    }

    final List<DropdownMenuEntry<IconLabel>> iconEntries =
        <DropdownMenuEntry<IconLabel>>[];
    for (final IconLabel icon in IconLabel.values) {
      iconEntries
          .add(DropdownMenuEntry<IconLabel>(value: icon, label: icon.label));
    }

    return MaterialApp(
      theme: ThemeData(
        useMaterial3: true,
        colorSchemeSeed: Colors.green,
      ),
      home: Scaffold(
        body: SafeArea(
          child: Column(
            children: <Widget>[
              Padding(
                padding: const EdgeInsets.symmetric(vertical: 20),
                child: Row(
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: <Widget>[
                    DropdownMenu<ColorLabel>(
                      controller: colorController,
                      label: const Text('A long label'),
                      dropdownMenuEntries: colorEntries,
                      onSelected: (ColorLabel? color) {
                        setState(() {
                          selectedColor = color;
                        });
                      },
                    ),
                  ],
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

enum ColorLabel {
  blue('Blue', Colors.blue),
  pink('Pink', Colors.pink),
  green('Green', Colors.green),
  yellow('Yellow', Colors.yellow),
  grey('Grey', Colors.grey);

  const ColorLabel(this.label, this.color);
  final String label;
  final Color color;
}

enum IconLabel {
  smile('Smile', Icons.sentiment_satisfied_outlined),
  cloud(
    'Cloud',
    Icons.cloud_outlined,
  ),
  brush('Brush', Icons.brush_outlined),
  heart('Heart', Icons.favorite);

  const IconLabel(this.label, this.icon);
  final String label;
  final IconData icon;
}

run the app and the label gets split into two lines which is by default a bit ugly.

Not sure if this is by design or should the default width calculate by not only the longest item but also take label into account
Actual results
The dropdown should have the same length as the label.
Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output

Doctor output

<!-- Paste your output here -->

Not sure if this is by design or should the default width calculate by not only the longest item but also take label into account

DropdownMenu uses a TextField inside which adds ellipsis when a long label is provided.

But I have tested in Jetpack Compose, it expands  the text field  width when a long label is provided


Document extraRoleBindings

Signed-off-by: Agustin Ramiro Diaz<EMAIL_ADDRESS>

I'm a bit confused with this change, so let's see if I make sense:

We already have a setting to assign a single clusterRoleBinding to every account
With this change, you can now bind a series of roleBindings to every account we create.
Why do we call one 'clusterRole' (where we ask the role's name) and call this 'roleBindings'? -> shouldn't we be calling this extraRoles, since we are the ones that create the roleBinding? or extraClusterRoles?
Why do we allow only one clusterRole but multiple roleBindings?
Could we simplify the model by having a single setting called 'extraRoles', where the user can add a list of cluster and namespace bindings to be applied to the users we create?
How will this work when we have multiple clusters?
What happens is the role (or namespace) provided in the config doesn't exist?
Are these applied to the SA the installer uses, or only to the one used during 'okteto up'? (or is it the same?)

1. We already have a setting to assign a single clusterRoleBinding to every account

Yes

2. With this change, you can now bind a series of roleBindings to every account we create.

Yes. More particularly, roleBindings to clusterRoles in particular namespaces

3. Why do we call one 'clusterRole' (where we ask the role's name) and call this 'roleBindings'? -> shouldn't we be calling this extraRoles, since we are the ones that create the roleBinding? or extraClusterRoles?

Makes sense. We can discuss the naming that we find more intuitive for this configurations.
I think that this wouldn't be the crystal clear though, since then the configuration map relates namespace to clusterRoles.
Obviously, when we go for short names we are omitting details, which can lead to confusion and that's why we then have the docs explaining how to use the setting.

4. Why do we allow only one clusterRole but multiple roleBindings?

I don't know why is that. Checking out our code it doesn't seem like a tech limitation, so we could have many clusterRoles

5. Could we simplify the model by having a single setting called 'extraRoles', where the user can add a list of cluster and namespace bindings to be applied to the users we create?

I think we could. I think that if we make it right, it would be a change in existing configuration and would need to be a minor bump.  2 things come to my mind for this setting: common usage and how to distinguish cluster-wide from namespaced
One idea could be to flatten these and assume that if there's no namespace, then it's a clusterRoleBinding
extraRoles:
  enabled: true
  roles:
    - namespace: my-ns
      clusterRole: my-cr
    - namespace: my-other-ns
      clusterRole: my-cr
    - clusterRole: this-will-create-clusterRoleBindings

6. How will this work when we have multiple clusters?

I'm not so sure about this. Maybe @pchico83 or @maroshii have an idea. I know that given how kubernetes works, we won't be able to connect this across clusters with kubectl. I'm thinking that we'd need the identity for the user in each cluster so that we are able to asociate this rolebindings in the cluster where the namespace and clusterRole are

7. What happens if the role (or namespace) provided in the config doesn't exist?

If the namepsace doesn't exist we fail. I haven't tested the role yet, but I think we don't fail in that case

8. Are these applied to the SA the installer uses, or only to the one used during 'okteto up'? (or is it the same?)

Not sure yet. I should research a bit more

@rberrelleza
3. shouldn't we be calling this extraRoles, since we are the ones that create the roleBinding? or extraClusterRoles?

I think extraRoleBindings is the right term. The user defines new role bindings for each developer. The role binding is created in a given namespace for a given cluster role(s)
4. Why do we allow only one clusterRole but multiple roleBindings?

We could, but that's a different feature. I wouldn't tight it to this PR
5. Could we simplify the model by having a single setting called 'extraRoles', where the user can add a list of cluster and namespace bindings to be applied to the users we create?

The behavior and use cases are quite different, having them in a single section will make things harder to explain.
8. Are these applied to the SA the installer uses, or only to the one used during 'okteto up'? (or is it the same?)

They are the same. Installers run with the user service account

I think extraRoleBindings is the right term. The user defines new role bindings for each developer. The role binding is created in a given namespace for a given cluster role(s)

The behavior and use cases are quite different, having them in a single section will make things harder to explain.

@pchico83 @AgustinRamiroDiaz ok, let's not change the scope of this feature and let's leave it just to specify cluster role/namespace combinations . Can we specify clearly that this requires clusterRole and the namespace to already exist?

If this is for cluster-roles, I think the key should be named extraClusterRoles to make it clear that this is to assign extra cluster roles to the users that okteto creates and manages.

Member

@rberrelleza it's different. globalClusterRole creates a clusterrolebinding between each user and the globalClusterRole. This gives you access to cluster-wide resources.
This feature creates a rolebinding between each user, a cluster role, but only in an specific namespace, instead of giving access at the cluster level.
I agree that the three different roles could be combined in a single section (or in a better way) but those features are already shipped and used by several customers. I would focus on the feature here, and refactor the old ones as part fo the work we have to improve the helm chart installation and the structure of the different sections

Member

@rberrelleza it's different. globalClusterRole creates a clusterrolebinding between each user and the globalClusterRole. This gives you access to cluster-wide resources. This feature creates a rolebinding between each user, a cluster role, but only in an specific namespace, instead of giving access at the cluster level. I agree that the three different roles could be combined in a single section (or in a better way) but those features are already shipped and used by several customers. I would focus on the feature here, and refactor the old ones as part fo the work we have to improve the helm chart installation and the structure of the different sections

Can you file an issue to fix this in the chart later? right now we only have a handful of users it's easier to deal with this sooner than later. The chart configuration is already super complex, anything we can do to simplify helps :(

If the namespace doesn't exist we fail. I haven't tested the role yet, but I think we don't fail in that case

@AgustinRamiroDiaz where does it fail? Can we make sure that we document cleary that we expect the roles to already exist on the cluster?

We access the namespace first and there we create the rolebindings, that's where we fail.
I'll make sure to document that we expect the namespaces and clusterRoles to exist before hand


DCOS-54458 feat(chart): add chart component

This adds a minimal chart component which is using react-chartist to create a chart from provided
data. Provided data needs to be in the format {%label%: %data%}.
Is part of DCOS-54458

Looks good, but the last year doesn't fit on the screen.

I used chartist since it was the easiest way to create a chart component, we are only providing a very thin wrapper so that we can exchange chartist for something else or even create something ourself at a later point in time. So chartist is not here to stay and we only provide the abstraction which is as universal as possible.


interlock host mode: word agreement

technical:

none

style:

fix word agreement

testedon: n/a

Deploy preview for docsdocker ready!
Built with commit f167a179546592d8ee95069cb37f1de2e33578d5
https://deploy-preview-7341--docsdocker.netlify.com


Prevent machine explosion for Universal fluid engine

Currently this machine takes in fluids and then outputs power based  on the current input. When the world is loading in this machine will take in fluids then consume all of it and exploding due to over amping.
Therefore this PR will remove the function of the dynamo exploding and instead the engine will just void all excessive power generation while also consuming the fuel.

@Reflex18 any news here ?

I asked help within the discord and Steelux took up the ticket. Thanks to Steelux with the following ticket.
https://github.com/GTNewHorizons/GoodGenerator/pull/256


Missing validation to check embedded KDM data is consistent with RKE data

Steps to reproduce

Rancher image: rancher/rancher:v2.6-da382a88600d0272d48537c5de88b3ce0ede6dd3-head
Provision RKE1 cluster using any of the following k8s versions:

v1.21.8-rancher2-2
v1.20.14-rancher2-2
v1.19.16-rancher1-3

Cluster comes up active. nginx ingress controller in system project will show errors in logs like,
E0913 18:50:22.898485 8 leaderelection.go:361] Failed to update lock: configmaps "ingress-controller-leader" is forbidden: User "system:serviceaccount:ingress-nginx:ingress-nginx" cannot update resource "configmaps" in API group "" in the namespace "ingress-nginx"

Analysis
The issue is RKE1 doesn't have the latest data Rancher is using, so there's inconsistency between embedded data and data vendored in RKE.

k8s version is using the correct nginx ingress image nginx-1.1.0-rancher1 but with the wrong template. View yaml on the nginx ingress controller daemonset - shows that it's using the old template.

  labels:
    app.kubernetes.io/component: controller
    app.kubernetes.io/instance: ingress-nginx
    app.kubernetes.io/name: ingress-nginx
    app.kubernetes.io/version: 0.49.3

RKE1 is using the old template, because Rancher thinks it doesn't need to send the new template v3/rkeAddons/cattle-global-data:nginxingress-v1.1.0-rancher2

  "io.cattle.rke_store": "false"

Solution

[ ] Vendor latest dev-v2.6 in RKE1 and vendor RKE1 to Rancher, this would have eventually happened anyway but we ran into this while validating KDM for out of band release.

[ ] Add a validation step so this step becomes a part of our workflow.

Workaround

remove  "io.cattle.rke_store" label on v3/rkeAddons/cattle-global-data:nginxingress-v1.1.0-rancher2.


Refresh repository and profile by pulling down

It would be nice to be able to refresh a repository or a profile by pulling down. Would be useful for updating new issues on repos or updating followers on profiles.

Ooh this would definitely be nice to have. There's a RefreshControl method we can attach to the scrollview (http://facebook.github.io/react-native/releases/0.46/docs/scrollview.html#refreshcontrol) and when the screen is pulled we can just call the getRepository call again.

I can try this out if no one else is already on this

Awesome, thanks @SammyIsra!!


GLTF: Organize structures and extensions into subfolders

This PR organizes the GLTF module by moving structures into their own subfolder, and moving extensions into their own subfolder. Structures refers to the building blocks in GLTF, represented in Godot using C++ classes. Extensions build on top of the base GLTF spec to provide additional features. I also added a README with a short explanation:

Godot GLTF import and export module
In a nutshell, the GLTF module works like this:

The structures/ folder contains GLTF structures, the
small pieces that make up a GLTF file, represented as C++ classes.
The extensions/ folder contains GLTF extensions, which
are optional features that build on top of the base GLTF spec.
GLTFState holds collections of structures and extensions.
GLTFDocument operates on GLTFState and its elements.
The editor/ folder uses GLTFDocument to import and export 3D models.

Thanks!


[INLONG-1492] Bumped version to 0.11.0-incubating-SNAPSHOT

Title Name: [INLONG-1492] Bumped version to 0.11.0-incubating-SNAPSHOT
where XYZ should be replaced by the actual issue number.
Fixes #1492
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Codecov Report

Merging #1504 (63ed2ba) into master (da56d1a) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1504      +/-   ##
============================================
- Coverage     12.21%   12.20%   -0.01%
- Complexity     1048     1049       +1
============================================
  Files           392      392
  Lines         32736    32736
  Branches       5157     5157
============================================
- Hits           3999     3997       -2
- Misses        27972    27975       +3
+ Partials        765      764       -1

Impacted Files
Coverage Δ

...long/tubemq/server/common/utils/SerialIdUtils.java
40.00% <0.00%> (-40.00%)
:arrow_down:

.../producer/qltystats/DefaultBrokerRcvQltyStats.java
46.09% <0.00%> (+0.78%)
:arrow_up:

Continue to review full report at Codecov.

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


Add support for IPv6 in connectivity tests

As of today, values specified in options --external-ip and --external-other-ip are assumed to be IPv4 addresses in several places in the code. This cause some tests to fail even when a proper IPv6 configuration is specified with options --external-cidr, --external-ip, --external-other-ip and --external-target. This pull request remove the assumptions that these options holds IPv4 addresses.

Hello @christarazi and @doniacld, thanks for your review and sorry for the delay.
I'd like to write some tests to cover the new code paths but I'm unsure how to proceed. Do you have some pointers to put me on the right track?


Use RobotFramework FileReader to avoid encoding issues

Fixes #455
Also refactored our e2e tests a bit.

Codecov Report

Merging #458 (e075638) into master (d9c9ed0) will increase coverage by 0.05%.
The diff coverage is 95.23%.

@@            Coverage Diff             @@
##           master     #458      +/-   ##
==========================================
+ Coverage   97.94%   97.99%   +0.05%
==========================================
  Files          22       22
  Lines        2333     2343      +10
==========================================
+ Hits         2285     2296      +11
+ Misses         48       47       -1

Impacted Files
Coverage Δ

robocop/utils/disablers.py
95.00% <83.33%> (+0.10%)
:arrow_up:

robocop/checkers/__init__.py
91.30% <100.00%> (-1.96%)
:arrow_down:

robocop/checkers/comments.py
97.81% <100.00%> (-2.19%)
:arrow_down:

robocop/checkers/naming.py
99.59% <0.00%> (+0.40%)
:arrow_up:

robocop/checkers/duplications.py
99.16% <0.00%> (+0.83%)
:arrow_up:

robocop/run.py
97.02% <0.00%> (+0.99%)
:arrow_up:

robocop/checkers/misc.py
99.27% <0.00%> (+1.44%)
:arrow_up:

Continue to review full report at Codecov.

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


Update youtube.js

sleep time will be added in the next release as config from a file that can be easily updated


Warmwood-Scrubs-slot-updates

Description

Motivation and Context

Types of changes

[ ] 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 change)
[x] Prison details update (e.g. slot updates)

Checklist:

[x] My commit message follows the GDS git style standards we have adopted.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have updated the deployment repo accordingly.
[ ] I have added tests to cover my changes.

losing pull request because of file mistake.


[Feature Request] The show-overflow-tooltip attribute can set multiple lines.

Existing Component
是
Component Name
table
Description
I hope that the show-overflow-tooltip attribute can be set to multiple lines. By forcibly changing the css, it cannot be achieved. After the line break, the tooltip does not take effect.

Duplicate of #13919


SQL Server: Source tab is empty in the index properties

System information:

Operating system (distribution) and version Win10
DBeaver version 21.1.5 EA

Connection specification:

Database name and version: SQL Server Azure

Steps to reproduce, if exist:
Open a table clustered index in Metadata Editor
Expected: Source tab has Index DDL
Actual result: the Source tab is empty.

@LonwoLonwo thanks for updating the one I opened, I looked around and did not find this one, but yes this is the same behavior.

Also want to point out it does work for non-clustered indexes so perhaps is just a filter issue when extracting.

Also want to point out it does work for non-clustered indexes so perhaps is just a filter issue when extracting.

Thanks, I fixed the name of this issue.

is this issue still open?

Hello @Nrj27
Yes, it is.
The problem here is in the SQLServerTableIndex#readIndexDefinition
The query there is not for unique/primary indexes.

@LonwoLonwo can you please share complete problem query along with complete screenshot.
please share the system requirements.

You can find the query in SQLServerTableIndex#readIndexDefinition. No special system requirements

Is this issue still available for fix?

I added PR with fix. Would need couple of eyes on it.


Seems like the script isn't working

It always returns that it has found 0 results for some reason

Tha same for me. It also returns a strange output:
Search query "python" returned only 0 images.
Search query "landscape" returned only 0 images.

But actually the query is only "landscape".


Failed to add device

Description of the bug
I am able to connect my LG webos tv with the CLI SDK but the webOS Dev Manager give me the error of "Failed to add device" "Access denied. (os error 5)".
I tried also the Authentication method "Password" and "Local Private Key" but nothing changed.
I also disabled my windows defender but there is no way to connect to the tv with the dev-manager-desktop.
I attached some screenshot. I censored the passphrase with the "X".
Screenshots

Add any other context about the problem here.

Hi, "Access denied" sounds like it failed to write file to the computer. I'll check what was failed.

I had some news. With the "webos-dev-manager.1.8.2" I don't have this problem. What can be?

I'm not 100% sure yet. It looks like some files are marked as read-only. I'll make some more tests.

It's not read-only but now after an uninstall and a re-install the "webos-dev-manager version 1.9.5" is working too like the 1.8.2 version.

Thanks for your support


util: fix encounter start bug in make/test timeline scripts

This PR should address the encounter sync drift referenced in quisquous/cactbot#5635 and quisquous/cactbot#6048, as well as the missing zone-seal sync referenced in quisquous/cactbot#5716.
There were a couple of separate but related issues that I found:

encounter_tools had not (yet) been updated to use InCombat lines to start encounters, even though make_timeline is inserting an InCombat sync at the start of a new timeline.
For fights that do not have zone seals, encounter_tools would fall back on using playerAttackingMob or mobAttackingPlayer regex.  While this mostly still worked (with minor drift issues), it was also counting faerie healing actions as the start of the fight.  I confirmed this was the case with the log in quisquous/cactbot#6048.  I don't have logs for the original report from quisquous/cactbot#5635, but I suspect a similar cause there, as I was unable to repro in e6n when on non-pet classes.
I think there was a minor logic bug in encounter_tools re: pushing the fight-starting log line into logLines.  When encountering certain log lines that should trigger a new fight encounter, onStartFight() would reinitialize this.currentFight and set the .startTime property; and when storeStartLine() was subsequently called, it would not push the starting log line into .logLines[] because the fight already had a start time set.  This was causing make/test_timeline to sometimes not have access to (and not be able to sync on) the log line that started the encounter.

I'm wary about unintentional breakage, given the various different events that should (or should not) start a timeline.  cc: @xiashtra and @JLGarber, would appreciate an extra set of eyes.

git borked, user error.  going to close and resubmit.


Create Jobs with API

Hi,
It would be great to register/modify Jobs of the CI project via API. Or is there already such feature?
Regards
Dmitry

There is MR (https://gitlab.com/gitlab-org/gitlab-ci/merge_requests/37) for this but it has been reverted. I hope author of this will fix everything and we will merge it. Thank you.

@kittools Someone is already working on this at https://gitlab.com/gitlab-org/gitlab-ci/merge_requests/39. I'll close this issue for now.


Where is the spread directive or what is the status of it?

Hi there,
I came across this blog post where a spread directive is discussed. This directive is exactly what I need in my project. Unfortunately the code (most likely deprecated) is still in feature branch westbrook/lit-next. Therefore it is not part of npm module @open-wc/lit-helpers and I cannot use it. The blog post also links to a live example which is usable with some minor changes with<EMAIL_ADDRESS>I currently just copied the live example with minor tweaks and it works but it would be nice to have this in the npm package.
@Westbrook Is this feasible?

Lit team has expressed some interest in implementing a spread directive

In fact, they have this PR: https://github.com/lit/lit/pull/1960

We had difficulty implementing the spread semantics that we want within our code budget. One of the big issues is how to deal with key collisions within spread objects, especially when a colliding key is removed from one of the spreads.
The naive approach of just removing attributes and properties when they're key is removed from the spread works fine in the case where there are no collisions, but with collisions you'll get different results depending on the order of applying new values to each binding. We want determinism with this feature or users will encounter hard-to-debug bugs.
So, it's probably on hold right now. I may have time to revisit in the new year.


[ITEM] - Bone

Block name:
Bone.
Current method of obtaining:
Killing skeletons for bones.
Link to wiki:
https://minecraft.fandom.com/wiki/Bone

Possible recipe: 1x Stick + 1-2x Nether Quartz


Sometimes  I want to have the control of turning on hyphenation on the last word, but still have the nice dewidowing feature on. So I just added this parameter to the twig function to allow that.
Would it be a good idea to bring this feature in to your main plugin?

Yeah I probably wouldn't do it this way personally... because then it's a slippery slope of how many additional parameters are we going to be adding?
I think it makes a little more sense to have it more generalized. You can already do this by toggling the settings before/after the call by doing something like:
{% do phpTypographySettings. set_dewidow(false) %}
{{ someText |typogrify }}
{% do phpTypographySettings. set_dewidow(true) %}

Something that might make sense, though is an additional config array you can pass to the typogrify filter/function that lets you change any setting inline, something like:
{{ someText |typogrify({'dewidow': false}) }}

Because that would be a bit more generic, and potentially useful imo.

Of course, passing in an object like that is a whole lot cleaner 👍
I actually tried to exact that do phpTypographySettings method  for me it only gave me this Twig Runtime Error;
Variable "phpTypographySettings" does not exist.
Is there something I need to do to get it working?
Typogrify 1.1.7
Craft CMS 3.0.0-RC14
PHP version | 7.1.12
Twig version | 2.4.6


[1.0.1] not all blocks are replaced with Chisel worldgen

replacement works, but some blocks are still old blocks.
My config is here.
# Configuration file

general {
    # This is the Dimension Black/Whitelist. If it contains *, it is a blacklist. Otherwise, it is a whitelist.
    S:dimension_list <
        *
     >

    # Multiplies the block removal chance by the block's y-value.
    B:multiplychance=false

    # The block id to replace.
    S:replaceblock=chisel:basalt2

    # The block meta to replace. Use -1 for the block's default state.
    I:replaceblockmeta=7

    # What percentage of the blocks get replaced. 0.0D = 0%, 1.0D = 100%
    # Min: 0.0
    # Max: 1.0
    D:replacepercent=1.0

    # The block id to replace the block with.
    S:replacewith=quark:basalt

    # The block meta for the replacement block. Use -1 for the block's default state.
    I:replacewithmeta=0

    # Enables using blocks that might crash/lag the game if used to replace other blocks. Enable at your own risk.
    B:riskyblocks=false
}

maybe because Chisel himself works as block replacer 'stone->basalt' around lava, and them works simultaneously, and need to make the replacement a little later than the other mods.

The replacement is already done as late as possible. If anyone else wants to figure out a fix and make a PR, I'll accept it.

This should be possible now with version 2.2.0


Adding a Graphical Coding Environment for the DIY Robot

I really like the work that was done in the project and would like to further contribute to it. I would like to create a graphical coding environment for the robot so that kids, as well as educators, could easily code simple programs. This would help in improving the learning environment for the kids of a slightly younger age.
I was thinking of creating a GUI using Python and PyQt which would look something like this: https://i.stack.imgur.com/DLHS9.png

Ok, my email is<EMAIL_ADDRESS>
Dear Christos,
I had sent you an email regarding the updates to the project. Please check it out as and when time permits.

Hi,
I went through the list of organisations that were selected for GSOC and apparently GFOSS wasn't on that list. Would the list be updated or is it so that GFOSS wasn't selected this year?


[Feature Request] Filter el-table-column tree data

Existing Component
Yes
Component Name
el-table-column
Description
When filtering tree data in a table using the filter-method, filter-method is only triggered for the root element and not its children making it impossible to filter children rows.
It would be great if the filter-method was triggered for children, thus allowing for filtering tree data.

select-all is also only triggered for the root element.

I have met the same problem, have you resolved the problem?

no I didn't look into it further.


Visual Enhancements

[ ] Move to a single row naviagational bar insted of the current style one.
[ ] Relocate the Title of website into the LHS of the navigational bar
[ ] Drop Greadient and move towards soild colour(nav bar and font awsome icons)
[ ] horizondal rule to be relocated below heading insted of end-of section (across all pages)

Issue closed as the website will be undergoing a complete redesign.


Shared can interact badly with futures that don't always poll their subfutures

(I'm opening this issue to continue the discussion from https://github.com/alexcrichton/futures-rs/pull/305.)
The problem is that Shared, as it is currently designed, can interact poorly with certain futures, such as the ModedFuture sketched below. We should either formalize some reason why ModedFuture is an invalid implementation of Future, or we should redesign Shared to accommodate this kind of situation.
extern crate futures;
extern crate tokio_core;

use futures::{Future, Poll};
use futures::sync::oneshot;
use std::rc::Rc;
use std::cell::RefCell;

enum Mode { Left, Right }

struct ModedFutureInner<F> where F: Future {
    mode: Mode,
    left: F,
    right: F,
    task: Option<::futures::task::Task>,
}

struct ModedFuture<F> where F: Future {
    inner: Rc<RefCell<ModedFutureInner<F>>>,
}

struct ModedFutureHandle<F> where F: Future {
    inner: Rc<RefCell<ModedFutureInner<F>>>,
}

impl <F> ModedFuture<F> where F: Future {
    pub fn new(left: F, right: F, mode: Mode) -> (ModedFutureHandle<F>, ModedFuture<F>) {
        let inner = Rc::new(RefCell::new(ModedFutureInner {
            left: left, right: right, mode: mode, task: None,
         }));
        (ModedFutureHandle { inner: inner.clone() }, ModedFuture { inner: inner })
    }
}

impl <F> ModedFutureHandle<F> where F: Future {
    pub fn switch_mode(&mut self, mode: Mode) {
        self.inner.borrow_mut().mode = mode;
        if let Some(t) = self.inner.borrow_mut().task.take() {
            // The other future may have become ready while we were ignoring it.
            t.unpark();
        }
    }
}

impl <F> Future for ModedFuture<F> where F: Future {
    type Item = F::Item;
    type Error = F::Error;
    fn poll(&mut self) -> Poll<Self::Item, Self::Error> {
        let ModedFutureInner { ref mut mode, ref mut left, ref mut right, ref mut task } =
            *self.inner.borrow_mut();
        *task = Some(::futures::task::park());
        match *mode {
            Mode::Left => left.poll(),
            Mode::Right => right.poll(),
        }
    }
}

pub fn main() {
    let mut core = ::tokio_core::reactor::Core::new().unwrap();
    let handle = core.handle();

    let (tx, rx) = oneshot::channel::<u32>();
    let f1 = rx.shared();
    let f2 = f1.clone();

    let (mut mfh, mf) = ModedFuture::new(
        Box::new(f1.map_err(|_| ()).map(|v| *v)) as Box<Future<Item=u32, Error=()>>,
        Box::new(::futures::future::empty()) as Box<Future<Item=u32, Error=()>>,
        Mode::Left);

    let (tx3, rx3) = oneshot::channel::<u32>();
    handle.spawn(f2.map(|x| tx3.complete(*x)).map_err(|_| ()));

    core.turn(Some(::std::time::Duration::from_millis(1)));

    handle.spawn(mf.map(|_| ()));

    core.turn(Some(::std::time::Duration::from_millis(1)));

    mfh.switch_mode(Mode::Right);

    tx.complete(11); // It seems like this ought to cause f2 and then rx3 to get resolved.

    // This hangs forever.
    core.run(rx3).unwrap();
}

My current inclination is to say that ModedFuture is an invalid Future implementation.
I propose that the following invariant must be upheld by any valid implementation of Future:
When Future::poll() runs, it must be propagate poll() calls to any objects that might have triggered the unparking of the current task.
I have changed heart on this topic since last week, largely because some of my code in capnp-rpc-rust now depends on the above invariant.

This is one of the complications that we are facing because of the current asynchronous model of futures-rs (which will probably won't happen in callbacks model).
I cannot see how it will be enforced by the type system, so if your proposal will be accepted, it has to be well documented.

@dwrensha given that https://github.com/alexcrichton/futures-rs/pull/305 landed which tweaked the semantics of Shared, could you spell out again what the problem is here with Shared? Rereading your previous comment I'm having difficulty reconstructing the scenario in which things go wrong.

@alexcrichton I've updated my code above so that it's now a complete program that you can compile and run to see the behavior I'm worried about.
Shared was designed to make it possible for multiple waiters to get notified when a future is ready. Currently it also grants each of those waiters the ability to halt the execution of the original future. This seems wrong to me.

And to be clear, I think Shared is a much more useful thing than ModedFuture, so if I had to choose between them (and I am in fact arguing that we do need to choose between them), I would choose to keep Shared.

@alexcrichton This is indeed interesting. I'll note that it's basically the exact same issue we hit with mutexes for futures -- and if we followed @dwrensha's guarantee, it'd solve that problem as well.
This is definitely food for thought in 0.2.

Labeling as 0.2 just to make sure it's part of the general discussion...

I'm curious whether there exist any non-contrived examples of futures which don't maintain that guarantee.

Select is one example.
Sent from my phone

On Jan 6, 2017, at 5:11 PM, David Renshaw<EMAIL_ADDRESS>wrote:
I'm curious whether there exist any non-contrived examples of futures which don't maintain that guarantee.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

My gut reaction is that I am pretty against this guarantee. It just doesn't make sense in any non-trivial implementation of a future (of which tokio-proto is full of). It basically means that every call of poll you have to call poll on every sub future every time.. that doesn't seem reasonable.

There are a number of problems w/ changing the behavior of futures in this direction.
First, it either requires always polling all futures or allocating by using with_unpark_event, increasing the amount of work that has to be done each "tick".
A worse outcome is that it forces a top level future to call poll on a sub future even if it isn't ready to handle the value returned by the sub future. This means that the top level future now needs to add additional logic to manage temporarily storing the value until it is ready to process it. Even worse, is that it is a huge wrench in the back pressure story. Imagine the sub future is a stream... now the top level future is required to call poll on it, potentially receiving an unbounded stream of values that are ready and having to buffer them.
This sounds similar to the mutex problem, and I believe that the correct strategy is to look into adding a hook in the task system to enable "mutex" like futures to notify a task and then get signaled when the notified task got polled. This would enable a "mutex" to grant access to a task for a single poll even if the task in question doesn't touch the mutex during that poll.
Of course, this would be a non trivial change and should be punted to 0.2.

That being said, IMO the best 0.1 strategy is to use message passing based coordination.

Ah, I had only considered future::Select. I'm not sure how, if at all, my notion of "faithfulness" could be adapted to apply to stream::Select.

We could also perhaps consider this a bug in Shared and leverage with_unpark_event somehow to fix the bug there.

This idea sounds promising.
I've gone ahead and tried it out in my implementation of ForkedPromise, which is essentially a single-threaded future::Shared.
One somewhat sad part is that it requires a Mutex so that the EventSet can be Sync + Send. Moreover, the linear-time clone of Events needed on each call to with_unpark_event() is a bit worrying if we start using it too much.

@dwrensha yeah the futures library is not currently optimized for heavy usage of with_unpark_event. The initial intention was that it'd be used once or twice for a task so we'd get by just fine with a small vector to avoid allocations and such.
Also as a side note I'd love to add single-threaded versions to the futures crate of various sync primitives. E.g. a futures-aware channel/queue, RefCell/Mutex equivalent, etc. I think it'd make a great module in futures itself and we could ensure that the API of sync mirrors it at least (or is a subset I guess)

My current thinking is that it would not work out well to require that all impls of Future satisfy some notion of "faithfulness", and therefore the current implementation of Shared is buggy because it assumes that all futures will faithfully propagate poll() calls.
It helps to consider the case of streams. If we require futures to be faithful, then we probably also need to require streams to be faithful, because it's easy to convert back and forth between streams and futures. But what would that mean for stream::Select? Currently stream::Select is not faithful because if the first substream is ready then it does not bother to call poll() on the second substream. You could imagine trying to fix that by always polling both substreams and by adding a field to hold onto an item in the case that both are ready. However, if the first substream is ready and the second is not, then poll() would return Ok(Ready(..)) and would also register the current task to be unparked when the second substream becomes ready. Now if this Select is itself the substream of another stream s0, say an alternating stream that takes turns pulling an element from some number of substreams, then s0.poll() needs to always call poll() on the Select in order to faithfully propagate events that could have been triggered by it. If doing so returns a Ok(Ready(..)), then s0 needs to hold onto that value somewhere. Indeed, it seems that s0 would need to be able to hold onto an unbounded number of values produced by its substreams!
The only plausible way I can see around such problems would be to make heavy use of with_unpark_event().
The alternative is simply to not require faithfulness, and instead fix the bug in Shared. Perhaps the fix will involve with_unpark_event(), but that will be a much more confined use of with_unpark_event().

The only plausible way I can see around such problems would be to make heavy use of with_unpark_event().

Actually, I'm not so sure that with_unpark_event() even helps much at all. A substream triggering an unpark does not imply that it will produce an item on its next poll().

@dwrensha would you be interested in prototyping a version of Shared that leverages with_unpark_event? That should at least resolve that bug for now I think.

I believe that I'm still seeing bad behaviour here as of 74700604fae154bbef176973285d0a8013e21d53. Notably, "Shared can interact badly with futures that don't always poll their subfutures" applies to nested Shared instances (as Shared won't actually poll unless it has been correctly marked with original_future_needs_poll).
Periodically, for a join_all that joins both a root Shared future A and its dependency Shared C (in a chain A -> B -> C), C will complete, and will unpark the Task underlying the join_all, but will not set the original_future_needs_poll flag of B or A, which causes the wakeup to be missed.
It seems like what needs to happen is actually a recursive unpark/marking of the transitive dependents of the completing Shared. In other systems I've worked with (primarily com.twitter.util.Future), this is accomplished by "Linking" a dependency Future to its dependents. Is it possible that the Shared clones could use the waiter/unparker lists to mark their dependents original_future_needs_poll recursively?

@stuhood could you post some code that demonstrates the problem?

@dwrensha : I will try to get a repro this week. I have trace logs from the failure to wake up, and while they don't point directly to the culprit, I have a hypothesis.
The Event::insert calls triggered after with_unpark_event occur in the order that they were added to the EventSet (ie, from the root downward toward leaves). If a task is already busy polling when Event::insert is called, it seems possible that they might that they might clear the original_future_needs_poll for a parent future before the child has also been marked original_future_needs_poll.

Sorry guys, thought I'd have time to work on a repro during my vacation, but have been too busy. Next week.

I still haven't managed to reproduce this outside of our repo, but I did find a much smaller workaround that might point to the cause.
When our main thread executes (approximately) the following:
join_all(
  [root1.shared().then(|_| ()), root2.shared().then(|_| ())]
).wait()?

it will miss a wakeup about one in ten times (afaict from thread stacks, it is not a deadlock: all threads are thread::parked outside of any locks).
On the other hand, the following succeeds reliably:
for root in [root1.shared().then(|_| ()), root2.shared().then(|_| ())] {
  root.wait()?
}

I still haven't managed to reproduce this outside of our repo ...

Any way for us to reproduce the problem would be helpful. I guess that by "repo" you are referring to some not-publicly-available components that are necessary to trigger the problem?


added PreferMapEmpty rule

I suggest to add PreferMapEmpty rule that is a copy of PreferSetEmpty but with Set replaced with Map.

:+1:


feat: Add a way to see all permissions required to run a given Command

Summary
This adds the ability to view the permissions required to run a command.
As an implementation detail, this method also ensures the immutability of the decorator, ensuring the permissions output stays in line with the required permissions despite runtime changes.
It would have been nice to avoid setting the attribute each time the check runs, however, due to how the checks work internally it appears you cannot triple nest decorator functions to get that functionality. If you are aware of a way to do this, please comment with a worked nextcord example.
Closes #511
Checklist

[x] If code changes were made then they have been tested.

[x] I have updated the documentation to reflect the changes.

[x] This PR fixes an issue.
[x] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

Testing
These tests show both the usage and the built-in immutability of this approach. Such that even after 'removing' the permissions, they are still set correctly on the next invocation.
import os

from nextcord.ext import commands
from nextcord.ext.commands import Context

bot = commands.Bot(command_prefix="$")

@bot.command()
@commands.has_permissions(manage_guild=True)
async def ping(ctx: Context):
    await ctx.send(str(ctx.command.required_permissions))
    ctx.command.callback.required_permissions = {}
    await ctx.send(str(ctx.command.required_permissions))

@bot.command()
@commands.has_guild_permissions(manage_guild=True)
async def ping_2(ctx: Context):
    await ctx.send(str(ctx.command.required_guild_permissions))
    ctx.command.callback.required_guild_permissions = {}
    await ctx.send(str(ctx.command.required_guild_permissions))

@bot.command()
@commands.bot_has_permissions(manage_guild=True)
async def ping_3(ctx: Context):
    await ctx.send(str(ctx.command.required_bot_permissions))
    ctx.command.callback.required_bot_permissions = {}
    await ctx.send(str(ctx.command.required_bot_permissions))

@bot.command()
@commands.bot_has_guild_permissions(manage_guild=True)
async def ping_4(ctx: Context):
    await ctx.send(str(ctx.command.required_bot_guild_permissions))
    ctx.command.callback.required_bot_guild_permissions = {}
    await ctx.send(str(ctx.command.required_bot_guild_permissions))

bot.run(os.environ["TOKEN"])

and ^ for all 4 of course

there seems to be some conflicts, im getting  ! [rejected]          refs/pull/618/head -> fix/511  (non-fast-forward) and unable to edit in github so I assume you did not enable allow maintainers to make modifications, either enable that or resolve conflicts

That darn black pr haha, however you have access now. I will resolve it regardless

Not sure what you want me to do about pyright, outside of just type ignoring them

TODO: Also add this to application checks

Not sure what you want me to do about pyright, outside of just type ignoring them

you could just conditionally set if ctx.command is not None

Why was this closed?


WoW Warnings/Errors

As of late on 08/15 the "Prevent UI Errors", "Prevent Sound Errors", and "Require Target to use" options are no longer being honored when selected in the Options GUI.  Was clipping along quite well on my hunter yesterday morning with no errors/warnings like "You need to target something first" warnings, etc. but then I believe Bliz push an update yesterday and now all the errors, warnings, etc. are back.

Edit:  A reboot seemed to fix it - strange

In your WoW - System menu, go to Sound and untick Error Speech.  GSE cant override that setting.
All the others are working for me so far.


Publish & Evangelize Introduce BoxArt blog post

The blog post described in #57 should be published and promoted (e.g. twitter, facebook) by the end of Sprint 5

Post scheduled for Noon, Friday 5/20

Rescheduled for noon Monday 5/23; contingent on site status


Script stops randomly

Description
Script stops randomly and just sits there no error or log
Possible solution
Have it record the last whatever number of steps taken before the script is stopped so we can trace it

This has been brought up by at least 3 people in discord, may be more widespread.

Yeah this is hard to reproduce... I haven't had this problem and been running for about 24+ hours. Update this issue if it happens again and take a screenshot.
What OS are you running?

I think I saw this happen too. When it happened, I tried closing powershell. It showed it timing out on one listing then resumed business as usual. I restarted it anyway.

Saw this happen again.
I'm on commit ccc781b8ddd30fbdd5a3a8daae4303e6b6c15ae8.
Here's a recording that has the timestamps:
https://imgur.com/a/4cuqP1T

Oh, so the problem has to do with what #73 is trying to accomplish? Doesn't look like it's crashing (closing the problem), but just restarting the loop?

I think this was fixed with https://github.com/jef/nvidia-snatcher/pull/75. Let me know if you continue to have issues with latest.

yup, I'll come back to this issue if I notice it getting stuck again, thanks

It got stuck again after two hours. When I went to close it I caught a glimpse of an uncaught exception but powershell shut down too fast for me to get anything specific. Writing the log to disk might be a good idea?

Yeah. Perhaps I should do that too. That's interesting though, not many have faced your problem. I'll be sure to add it in as a configuration.

Most recent update is no longer crashing for me.
On Sat, Sep 19, 2020 at 10:27 PM Jef LeCompte<EMAIL_ADDRESS>wrote:

Yeah. Perhaps I should do that too. That's interesting though, not many
have faced your problem. I'll be sure to add it in as a configuration.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jef/nvidia-snatcher/issues/60#issuecomment-695527116,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEBRRM5X4JDM266PLAGKUGDSGVSCDANCNFSM4RS4GMAQ
.

I've had this as well, if i notice it and press ctrl + c it'll update and possibly continue on, or it might stay stuck until I stop it and start it up again.

So I updated to latest, and left it running all night and that did seem to fix the problem for me.

Closing for now. Will open again if problem continues. Thanks all for the help.

Was running into this, fixed it disabling quick edit in Powershell/Command prompt in Windows.
https://stackoverflow.com/questions/27230255/cmd-prompt-freezes-until-i-hit-ctrlc-then-continues-as-normal


Add LatestBuildReason to ImageStatus

Related issue for more context: https://github.com/pivotal/kpack/issues/399
Authored-by: Piyali Banerjee<EMAIL_ADDRESS>

Codecov Report

Merging #435 into master will increase coverage by 0.05%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #435      +/-   ##
==========================================
+ Coverage   67.33%   67.38%   +0.05%
==========================================
  Files          85       85
  Lines        3612     3618       +6
==========================================
+ Hits         2432     2438       +6
  Misses        894      894
  Partials      286      286

Impacted Files
Coverage Δ

pkg/apis/build/v1alpha1/image_types.go
50.00% <ø> (ø)

pkg/apis/build/v1alpha1/build.go
23.75% <50.00%> (+1.38%)
:arrow_up:

pkg/reconciler/image/reconcile_build.go
90.80% <100.00%> (+0.21%)
:arrow_up:

pkg/reconciler/image/build_needed.go
90.24% <0.00%> (+4.87%)
:arrow_up:

Continue to review full report at Codecov.

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

@piyalibanerjee This is great! Thanks!


Not all available providers documented

There are a bunch of references to the built-in providers on this page, (twitter,GitHub and Azure Active Directory)
However, there are no references to Facebook and Google providers which are also available. There may be others as well?!
Please update with all available providers.

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

ID: 6355b9cc-780a-c5e9-e24a-aa6593b37ae1
Version Independent ID: aa20c4a6-3243-d7b5-8e12-54e044b99cc2
Content: Authentication and authorization for Azure Static Web Apps
Content Source: articles/static-web-apps/authentication-authorization.md
Service: static-web-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@olitomlinson
Thanks for your feedback! We will investigate and update as appropriate.

@olitomlinson Thanks again for the feedback! As mentioned in the doc that Azure Static Web Apps provides a streamlined authentication experience and by default, you have access to a series of pre-configured providers which includes Azure Active Directory, GitHub, Twitter. But there is also an option to register a custom provider which includes facebook, google.
Check this document link https://docs.microsoft.com/en-gb/azure/static-web-apps/authentication-custom?tabs=aad

@SnehaAgrawal-MSFT You need to update the table with the available providers. It is missing google and Facebook.
This table :

Hi @olitomlinson - the listed providers are all that are available as for the Azure Static Web Apps generally available (GA) release. This list is different from what was available in Preview. We'll update the doc as the list of pre-configured providers change.
#please-close


(Fix) Rename repository

Problem:
Repository has ambiguous name test and templates

it contains not only test branches
templates, it's more like scripts

Solution:

rename repository to deployment-azure

deployment means this repo is used to deploy stuff
azure means this repo is used to deploy to Azure

create an empty repository with test-template with README with a link to a new repository
update wiki and instructions

Repository renamed, links updated


[EventRequest] Codeunit 90- Purch.-Post - ReverseAmount Function

AL Language : 0.12.17091
Dynamics Nav : 11.0.22292.0
We need a new event in the Codeunit 90, for our customer, we added new fields in the Purchase Line, some of these fields are amounts, and they should be reversed in the ReverseAmount function, so we need an event (OnAfterReverseAmount) :
LOCAL ReverseAmount(VAR PurchLine : Record "Purchase Line")
WITH PurchLine DO BEGIN
  "Qty. to Receive" := -"Qty. to Receive";
  "Qty. to Receive (Base)" := -"Qty. to Receive (Base)";
  .
  .
  .
  "Tax To Be Expensed" := -"Tax To Be Expensed";

  // New event request >>
  OnAfterReverseAmount(PurchLine);
  // New event request <<
END;

Signature :
LOCAL [IntegrationEvent] OnAfterReverseAmount(VAR PurchaseLine : Record "Purchase Line")
Thank you
Kind Regards

The event already exists in a newer version.

thank you


Bad Current value

Hi, your knob implementation is very useful.
I've a problem when I try to read the "Current" value from the "KnobControl.cs". The value returned is always the first that you've set when create the object (in your example, for the first knob, it's always 25) even after the rotation of the knob.
Is it possibly a problem of "BindableProperty" inside the Knob class?
Thank you very much in advance
KnobControl.txt
.

Hi @danielemereu,
I have fixed the issue. Let me know if it works and if I can close this.
Thank you for reporting it.
BR // Corneliu

Hi @corneliu-serediuc
yes the issue has been fixed. You can change also the Android version of KnobRenderer.cs in the same way if you want.
Thanks a lot
Daniele


Laravel #9 Support

Hi, can you please add Laravel #9 Support?
Because of this package, I cannot upgrade to L9 version.
Adding ^9.0 in illuminate/support should be enough.
"illuminate/support": "^5.3|^6.0|^7.0|^8.0|^9.0"
Thanks

Done


Please implement the support of Vaadin 8

or at least support of Vaadin 8 compatibility library.
Thank you in advance!

Unfortunately I currently don't have time to maintain this add-on. But if someone wants to work on this, I'm happy to review a pull request. 😉

That was my plan. Fix is ready, but what version number should I use? 1.1.2 is not very wise, maybe 8.0.0?

Cool! 👍  Don't worry about the version number. I'll come up with a new version tag after I have merged the pull request. 😄


/pre-payment page - design and functionality.

Please try to display this more like the Argleton prototype. Tables can cause accessibility issues.
If possible, introduce the functionality for users to change the vehicle reg number and start date. I assume the permit will not be issued for 12 months due to the timings when the scheme runs, is that correct? In that case, we would need to provide appropriate advice in the 'Permit length' row and 'Expiry date' row.

tagging @joannesouthern to this


Need --enabled-shared (aka python-dev) for Python feature

AFAICT no way to --enable-shared for Python feature.
I ran into this with:
    "image": "mcr.microsoft.com/devcontainers/universal:2",
    "features": {
        "ghcr.io/devcontainers/features/python:1": {
            "version": "3.11.4"
        },

And tried to use pyinstaller, but fails with:
OSError: Python library not found: libpython3.11m.so.1.0, libpython3.11.so.1.0, libpython3.11.so, libpython3.11mu.so.1.0, libpython3.11m.so
    This means your Python installation does not come with proper shared library files.
    This usually happens due to missing development package, or unsuitable build parameters of the Python installation.

    * On Debian/Ubuntu, you need to install Python development packages:
      * apt-get install python3-dev
      * apt-get install python-dev
    * If you are building Python by yourself, rebuild with `--enable-shared` (or, `--enable-framework` on macOS).

Somewhat confusingly apt-get install gives:
python3-dev is already the newest version (3.8.2-0ubuntu2).

But I'm guessing that's no use because ghcr.io/devcontainers/features/python has built / installed its own Python, and that's what pyinstaller is using.
Other option is  --enable-shared, but I'm not sure how to do that since the Python feature handles building Python.

Note that if requested version is available in Oryx then I think you get --enable-shared by default because this, so perhaps is should be on by default when building from source too?
Otherwise, for example, a Python could be added to Oryx and now suddenly you'd get --enabled-shared behavior when you previously didn't. I don't know if Oryx prunes older versions, but I can also envisage it suddenly not being --enable-shared if that does happen.

Got close here https://github.com/JEFuller/features/commit/92c72dee3c8beb611f6a28cf33f2a0e4dd1010dc,
But get stuck with error while loading shared libraries: ... when trying python 😞
Hoped LD_RUN_PATH="${INSTALL_PATH}/lib" before ./configure would resolve per here. But no.

Hi 👋
Can you try with the following dev container?
{
	"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
	"features": {
		"ghcr.io/devcontainers/features/python:1": {
			"version": "3.11.4"
		}
	}
}

To me, it looks like enabled-shared is configured, and I was able to install pyinstaller. See 👇

The universal image already installs two versions of Python versions, and it does not use Oryx (for python installation) which might explain why the enbaled shared is missing. See https://github.com/devcontainers/images/blob/main/src/universal/.devcontainer/devcontainer.json#L25-L31
Feel free to let me know if I have misunderstood your question.


coc-toml: migrate from nodePackages

Migrate coc-toml from nodePackages to pkgs/by-name.
See #229475.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[x] 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/)
25.05 Release Notes (or backporting 24.11 and 25.05 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

3 packages built:

coc-toml
vimPlugins.coc-toml
vimPluginsUpdater


Vibrant Mode is not available on ubuntu

Vibrant Mode is not available on ubuntu 16.04!
I installed tusk has snap!

Unfortunately no, more on issue #19.


Convolutional encoder output length

Hello and thanks to the autors for this library.
I am new to convolutional codes and I tried to understand the mechanism behind in order to use this library. So far, after reading the basics of encoding, I understood that the output should be twice the length of the input (in case of rate 1/2).
My questions is related to this function in encoder.c:
size_t correct_convolutional_encode_len(correct_convolutional *conv, size_t msg_len) {
    size_t msgbits = 8 * msg_len;
    size_t encodedbits = conv->rate * (msgbits + conv->order + 1);
    return encodedbits;
}

I don't understand the formula to calculate the encodedbits. Shouldn't it be something like msgbits*conv->rate ? Why do we send so many bits?
Could you please explain? It would be very helpful for me.
Thank you in advance,
Daria

Hi Daria,
It might be helpful to look at the encoder implementation to see what's happening here. Basically, we need the extra bits because of a flush op sent after the message to return the shift register state to all 0s. Most of the length is indeed given by msgbits * rate, and the flushed bits are given by (order + 1) * rate.
The relevant loops are here
https://github.com/quiet/libcorrect/blob/master/src/convolutional/encode.c#L47
Cheers

Thank you, now it makes sense after reading those lines.
And one more question: firstly I've tried to do some tests in Matlab and then to use libcorrect but I can't figure out why the outputs are different. I would like to use libcorrect in a project which requires the output to be exactly like in theory (to double or triple the number of bits depending on the rate). Is this possible with the current API and implementation?
I've tried to inspect this line here  unsigned int out = conv->table[shiftregister]; and go deeper on how the table is made. I suppose that the table is related to the shift register states and calculate the output based on the polynom and history but I'm a little lost.
Thank you again for helping me :)

Hmm, I'm actually not sure how the number of output bits ever could be just m * r rather than (m + k) * r for m message bits, r rate and k conv shift register size. In the most extreme case of m = 1, r = 2, k = 7, we only ever get the shift register state from the one bit's contributions in one location. One of the aspects of these convolutional codes that makes them good at error recovery is that one message bit's contribution is sort of smeared out over multiple output bits. Without running this bit through all 7 states, we'd have no maximum-likelihood calculation we could make based on the received bits. At best we can only really say that the 2 r bits either agree on a message bit or disagree.
I don't have access to Matlab so I'm not familiar with its implementation so my best guess is that maybe it's omitting either the first k bits or the last k bits. This reduces the level of correction at either the beginning or the end of the message, but I believe it will still work if the decoder expects it.
The line in question is fetching precomputed, concatenated polynomial outputs from a shift register value. The table is filled by https://github.com/quiet/libcorrect/blob/master/src/convolutional/lookup.c#L14 . It simulates each possible shift register value into i, bitwise ands it with each polynomial pattern, and then calculates the parity of this bitwise and with popcnt() % 2. For k = 3, poly = b011 and shift register state b101, this would be 011 & 101 -> 001, parity(001) = 1. If the second poly was b101 then 101 & 101 -> 101, parity(101) = 0. These two parity values are then concatenated. So the value of conv->table at b101 would be 01. This allows us to skip needing to recompute the polynomial and parity bits during encoding, we can just generate output bits directly from the shift register state.


[Question] How to ignore path with specific HTTP method?

Let's say the path GET /posts is public and should work without token but the POST, PUT, DELETE /posts path should be authorised; how can I do that?
Does it even make sense to want that?

You could create a custom rule which is mixture of RequestMethodRule and RequestPathRule.
$app = new Slim\App;
$app->add(new JwtAuthentication([
    "rules" => [
        new YourCustomRule([
            ...
        ])
]));

I will try to thank you


Increase minimum space between Tooltip Title and Table Name in Stats Summary Pop Up

When hovering over a tab name on a Hierarchical Table, the name of the tab squishes up against the tooltip title.
import io.deephaven.util.QueryConstants
import io.deephaven.engine.table.impl.util.PerformanceQueries
import  io.deephaven.engine.table.impl.util.TableLoggers

qpl = TableLoggers.queryPerformanceLog()
qopl = TableLoggers.queryOperationPerformanceLog()
qpl_tt = PerformanceQueries.queryPerformanceAsTreeTable()
qopl_tt = PerformanceQueries.queryOperationPerformanceAsTreeTable()

I would expect a small amount of space to be reserved between the two to improve readability.
Note that Table widgets don't seem to have this issue:

Looks like there's no spa

cing in the grid:


Added AdvancedCriteria filter support

Added support to specify advanced criteria filters.
Sample snippet to Add/Create Metadata
// Create metata object
metadata = {'k1': 'k1', 'k2': 'v2'}
// Pass it to the create/update method as follows:
volumeObj = client.volumes.create(volname1, size="5", description="SDK demo volume1", metadata=metadata)
volumeObj.update(size=10, description="Updated volume1 size to 10Gi", metadata=metadata)
Sample snippet using advanced criteria filter
// Define Advanced Criteria filter using 'and_' and 'or_' operators.
advCriteriaFilter = and_(
VolumeFields.name.contains('pvc-1f'),
VolumeFields.online == True,
or_(
VolumeFields.size >= '4096',
VolumeFields.limit_iops >= 500,
and_(
VolumeFields.encryption_cipher == None,
VolumeFields.app_uuid == None
)
)
)
// Specify filter in the list API
vols = client.volumes.list(
detail=True,
filter=advCriteriaFilter,
fields="name,size,online,metadata,limit_iops",
)

so are we handling the below use case:

let's say there are some 100000 records in table and user wants all of them and hence provides pagesize of 1000.
2.now as our server atmost can handle 8 requests at same time. sdk client will get an error , i hope the error code will be something which suggests as "server busy" .

My question is . are we ahndling this .. as per the code
if response.status_code >= 400:
if 'SM_http_unauthorized' in str(response.content):
self._refresh_connection()
else:
raise NimOSAPIError(response.json())
it looks like we throw exception.. shouldnt we have a fallback logic to retry ??

with the latest sdk 1.0.6 i see that the call to below api is getting stuck in infinite loop..
resp = nimosclientbase.get_nimos_client().controllers.get()
The problem is that we don't check the totalrow and endrow. If totalRow == endRow then why do we need to make the call again.. in get()
with the above call any array has 2 controller and hence controller.get() first call return the
json data with below details
startRow: 0
endRow=2
totalRow=2
but since we never check for endrow==totalRow.. we go in while loop again and keep making the get call again and again..
pLease confirm if this is expected ??

with the latest sdk 1.0.6 i see that the call to below api is getting stuck in infinite loop..
resp = nimosclientbase.get_nimos_client().controllers.get()
The problem is that we don't check the totalrow and endrow. If totalRow == endRow then why do we need to make the call again.. in get()
with the above call any array has 2 controller and hence controller.get() first call return the
json data with below details
startRow: 0
endRow=2
totalRow=2
but since we never check for endrow==totalRow.. we go in while loop again and keep making the get call again and again..
pLease confirm if this is expected ??

With the recent changes, we added pagination support and decided not to support startRow and endRow as its not useful for the end-user. You may need to update the tests to remove the validation for startRow/endRow.

But we are not using startriw or end row. Please see the api call I have posted in the comment. It’s a very genuine call and customers can use the api in the same way in production env. I think we need to handle this. If we don’t want to rely on start row or end row. Then how about putting an additional check to se if there is any data Being returned from array
If response.json()[data] is empty then we should break
The while loop.
Sent from my iPhone

On 25-May-2020, at 11:29 PM, suneeth<EMAIL_ADDRESS>wrote:

with the latest sdk 1.0.6 i see that the call to below api is getting stuck in infinite loop..

resp = nimosclientbase.get_nimos_client().controllers.get()
The problem is that we don't check the totalrow and endrow. If totalRow == endRow then why do we need to make the call again.. in get()
with the above call any array has 2 controller and hence controller.get() first call return the
json data with below details
startRow: 0
endRow=2
totalRow=2
but since we never check for endrow==totalRow.. we go in while loop again and keep making the get call again and again..
pLease confirm if this is expected ??
With the recent changes, we added pagination support and decided not to support startRow and endRow as its not useful for the end-user. You may need to update the tests to remove the validation for startRow/endRow.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or unsubscribe.


Add a pytest based testing framework and tests for build

Changes

[x] Add a pytest based testing framework
[x] Add tests for

[x] --version
[x] build

Notes

part of https://github.com/scientific-python/spin/issues/154
I'll club the relevant commands and raise PRs to not bloat one single big bang PR.
Additionally, the faster this goes in, we need not maintain tests in two places, i.e. spin/tests and .github/workflows/test.sh

Thanks, this is a great start! After merging #159 tomorrow, I'll get this in, and then spend some time porting the tests (unless someone beats me to it!).

Thanks @stefanv! No worries :) I'll try to port all the tests, just wanted to ensure I'm on the right track.

@ganesh-k13 @jarrodmillman Can you take a look? I think this is ready now.

Thanks @stefanv ! I was away for a few weeks.

Thanks for getting this started, @ganesh-k13!


Update notification?

Awesome work on this. Does this support updating a notification's message? I'm thinking of a scenario where I have a long running operation.

Hi, thanks. Currently its doesnt but it should be pretty easy to add. Just need to create a new action in https://github.com/deep-c/react-redux-notify/blob/master/src/modules/Notifications.js for updateNotification and have it take the id, and new configuration for the notification.


caching handlers to avoid heap fregamentation

recreate the pull request with some small changes

Why did you recreate it rather than pushing over your old one? Either force push this branch onto your other pull request or close your old pull request.

I had to adopt the macroRebase of previous PR got totally messed. As there were lots of changes merged, I just to rethink about my change instead of fixing the rebase issue, e.g., I had to adopt the macro and changed it. You can treat it as a new PR.

It seems there are couple rebate issue.  Will fix them tonight


KAFKA-16407: Fix foreign key INNER join on change of FK from/to a null value

This fixes both KAFKA-16407 and KAFKA-16434.
Summary of existing issues:

We were ignoring new left record when its previous FK value is null
We do not unset foreign key join result when FK becomes null

Note: This branch is based on branch KAFKA-16343. It would be rebased after merging PR #15564 .
For review, only last commit concerns this bug fix.

@AyoubOm -- Thanks for the PR! I did not forget about it. Just did not find time yet to take a look. Still plan to get this merged for 3.8 release... Sorry for the long wait, and thanks for being patient!

@AyoubOm -- Thanks for the PR! I did not forget about it. Just did not find time yet to take a look. Still plan to get this merged for 3.8 release... Sorry for the long wait, and thanks for being patient!

Thanks @mjsax, no rush. Just to note that there is a second PR (but this time about LEFT join) in #15607

@mjsax According to the release plan code freeze nis on 12th June: any chance this one and https://github.com/apache/kafka/pull/15607 will be merged for 3.8.0?


Disable automatic language detection in *.md

On https://docs.docker.com/engine/tutorials/usingdocker/, the output of docker version has some words written normally, some are bold and numbers are colored. This is confusing, since this should be just plain text.
Therefore, each code block in the documentation should have its proper programming language declared, to allow for accurate syntax highlighting.

The best way is to have it default to none, I think.

Page has been taken down.


Flying Axolotls

Is your feature request related to a problem?

No, I want it added because we have flying squids and i feel like if axolotls were the same it would be cool
Describe the solution you'd like.

Add flying axolotls, like how we have flying squids
Describe alternatives you've considered.

Tried making a plugin, but it was too hard and would most likely end up having to use NMS
Agreements
Please agree to the following.

[x] I have searched for and ensured there isn't already an open issue regarding this.
[x] I have ensured the feature I'm requesting isn't already in the latest supported Purpur build.

Other

maybe instead of specifically axolotl all aquatic animals like fish too

As funny as this would be to have, I'm going to have to pass. Squids only got in on it because they are the original flying mob before flying was cool.


Customizable status

🧐 Rationale
I think it would be great to be able to tell the bot what it should have in the status.
Now it has LISTENING TO /PLAY, but something like WATCHING /PLAY would be great too.
📝 Description
Customizable Discord status by setting an environment variable
➕ Additional Information & References

This is something that we do not plan to do for the time being.


Added Floyd Warshall And Knight Walk

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
YES
Description
(Write your answer here.)
Checklist

[ Y ] I've read the contribution guidelines.
[ Y ] I've checked the issue list before deciding what to submit.
[ Y ] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

@iamrajiv Please Check

@iamrajiv Please do check now

@HarshCasper Please check


core.d.ts:105:58 - error TS7051

tsc fails with:
node_modules/sift/lib/core.d.ts:105:58 - error TS7051: Parameter has a name but no type. Did you mean 'arg0: any'?

105 export declare const numericalOperation: (createTester: (any) => Tester) => (params: any, owneryQuery: any, options: Options, name: string) => Operation<any>;
                                                             ~~~
Found 1 error in node_modules/sift/lib/core.d.ts:105

error Command failed with exit code 2.

Thanks for the catch. Should be fixed and published as 17.1.3


Add Gandi DNS provider

Description
Checklist/ToDo's

[x] Added documentation? Yes, the same as for other providers
[x] Added release note entry? (  docs/release-notes.md )
[x] Tested?

@debovema Can you be so kind and update to the latest devel tree version?

@debovema Can you be so kind and update (rebase) to the latest devel tree version?

Done

/test

/retest

/test

/test
@debovema Mh I have to improve the /test /retest is allowed as long as an Owner / Me approved it ones.

/ok-to-test

/test


unable to fetch metrics from external metrics

We are currently trying to integrate Keda on existing projects in order to scale up/down (from and to 0) pods according to number of messages in pubsub .
The following metrics are already in use in our GCP-Projects :
v1beta1.custom.metrics.k8s.io          monitoring/prom-adapter-1030759040                  True        28d
v1beta1.extensions                     Local                                               True        53d
v1beta1.external.metrics.k8s.io        custom-metrics/custom-metrics-stackdriver-adapter   True        53d
v1beta1.metrics.k8s.io                 kube-system/metrics-server                          True        53d
We would like to figure out a way to integrate keda (despite existing metrics) and the existing issue https://github.com/kedacore/keda/issues/20
In order to do so we  have removed external.metrics.k8s.io from our keda project
Uploading keda.zip…
Uploading keda-scaledobject.zip…
while executing kubectl describe hpa keda-hpa-xdr-st-3008200-pipeline -n xdr-st the following error appears:
ch metrics from external metrics API: the server could not find the descriptor for metric gcppubsubsubscriptionsize: googleapi: Error 404: Could not find descriptor for metric 'gcppubsubsubscriptionsize'., notFound
Warning  FailedComputeMetricsReplicas  9s (x4 over 54s)  horizontal-pod-autoscaler  failed to get GCPPubSubSubscriptionSize external metric: unable to get external metric xdr-st/GCPPubSubSubscriptionSize/&LabelSelector{MatchLabels:map[string]string{deploymentName: xdr-st-3008200-pipeline,},MatchExpressions:[],}: unable to fetch metrics from external metrics API: the server could not find the descriptor for metric gcppubsubsubscriptionsize: googleapi: Error 404: Could not find descriptor for metric 'gcppubsubsubscriptionsize'., notFound
I would like to know if is possible to integrate keda with our current setup ?
Moreover we need keda to perform scale up / down based on 2 metrics and folloowing bug is currently preventing us to do so - https://github.com/kedacore/keda/issues/550
Any estimation on how/when we would be able to integrate multiple metrics to Keda ?

Issue was caused because google_credentials were not from secret

@yaronworldwide sorry for reaching to you that late. Could you please confirm to me, that you were able to run KEDA with your own metrics-adapter?

@zroubalik I was able to run Keda using existing metrics-adapter (external.metrics.k8s.io) by removing yaml files which were creating keda-metrics (such as metrics-api_service.yaml ...)
Would you like me to share my setup ?

@yaronworldwide that would be great once you have a time :) just out of curiosity

@zroubali https://github.com/zroubalikk in order to deploy Keda in our
environment we are running Helm from Terraform thus implying
some of the parameters to be passed from terraform to Helm .
Moreover a dependency was created in order to ensure keda is first
installed then keda-scaledobject
resource "kubernetes_namespace" "keda" {
count = "${var.enable_keda ? 1 : 0}"
metadata {
name = "keda"
}
}
resource "helm_release" "keda" {
count = "${var.enable_keda ? 1 : 0}"
name = "keda"
namespace = "${kubernetes_namespace.keda.metadata.0.name}"
chart = "/xdr/terraform/tf/modules/xdr_pods/helm/keda"
}
resource "helm_release" "keda-scaledobject" {
count = "${var.enable_keda ? 1 : 0}"
depends_on = ["helm_release.keda"]
name = "keda-scaledobject"
namespace = "${kubernetes_namespace.keda.metadata.0.name}"
chart = "/xdr/terraform/tf/modules/xdr_pods/helm/keda-scaledobject"
set_string {
name = "lcaasId"
value = "${var.lcaas}"
}
}
On Thu, Feb 6, 2020 at 2:48 PM Zbynek Roubalik<EMAIL_ADDRESS>wrote:

@yaronworldwide https://github.com/yaronworldwide that would be great
once you have a time :) just out of curiosity
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kedacore/keda/issues/609?email_source=notifications&email_token=AOONWFOADNBSZ2MC6X7JWADRBQBLVA5CNFSM4KQKL6QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK7DK4I#issuecomment-582890865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOONWFNYPQQGG2GCVOTVVFTRBQBLVANCNFSM4KQKL6QA
.

@yaronworldwide thanks! I think you should be able to attach the zip files directly to the comment on this issue. see: https://help.github.com/en/github/managing-your-work-on-github/file-attachments-on-issues-and-pull-requests

@zroubalik exactly what I have tried to do but it was stuck at uploading because of corporate firewall
keda-scaledobject.zip
keda.zip
Let me know if additional information is required

@yaronworldwide thanks!


chore: update dependencies

Updated Astro 1.0.0 beta
Updated all the other dependencies except for React (it throws a warning about hooks - may be related to the Docsearch component)

A little scared about this one, but if tests are passing and it's looking good... LGTM! I'll give the docs site one last one through post-release to make sure that we didn't break anything


Private Input circuit

Related to marked of TODOs here
https://github.com/scroll-tech/ceno/blob/master/ceno_zkvm/src/tables/ram/ram_impl.rs#L402-L417
In the end it seems to support {Dyn, Fix} x {Volatile, Non Volatile}, in totally 4 combination


Unexpected token '<' Evaluating ...

Hi, as i would like to add some stats from a json into grafana i tried to load this plugin
grafana version is Open Source v7.3.7 (1e261642f4) running in a docker
when i try to add datasource it drops directly this error
Unexpected token '<' Evaluating http://<IP_ADDRESS>:3006/public/app/plugins/datasource/dist/module Loading app/plugins/datasource/dist/module
Data Source Error

from the dev console in browser
actions.ts:70 Failed to import plugin module SyntaxError: Unexpected token '<'
at eval ()
at le (system.js:4)
at system.js:4
at system.js:4
at S (system.js:4)
at x (system.js:4)
at system.js:4
also not possible to remove the failed entries anymore

way i installed, downloaded the zip, moved to the proper directory where the plugins are located, restarted server, datasource was available, but as soon i hit "add" ...
i also tried then to compile in the docker
installed yarn
but compiling is ... not very well documented howto use yarn, yarn build drops also a error
root@e654c4951362:/usr/share/grafana/public/app/plugins/datasource/grafana-json-datasource-main# yarn build
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'build'
root@e654c4951362:/usr/share/grafana/public/app/plugins/datasource/grafana-json-datasource-main# yarn package.json
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
root@e654c4951362:/usr/share/grafana/public/app/plugins/datasource/grafana-json-datasource-main# yarn build package.json
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'build'
root@e654c4951362:/usr/share/grafana/public/app/plugins/datasource/grafana-json-datasource-main#
for any Tipps, thanks ahead

Hm. This usually means that Grafana found a plugin that only has the source code, but is missing the compiled assets. Where did you download the ZIP from?
If you'd like to use the plugin, I recommend that you install it using grafana-cli:
grafana-cli plugins install marcusolsson-json-datasource

If you want to download a release from GitHub, make sure that you're downloading the release asset called marcusolsson-json-datasource-0.9.2.zip.

thanks for the info, well, i did install it from your release section, but actually i did it again now and removed the source folder from the plugins section (tried to compile yarn) and looks it works now ... whyever ;)
thanks for pointing again, my fault
now i just have to figure how to use the respond

No worries! If you run into any more trouble, let me know! If you have any questions on how to use the plugin, feel free to start a Discussion.

Hi @marcusolsson, could you please also help me with a similar issue?

Grafana is deployed by helm v7.3.6 (ea06633c34).

I know the version is old but it is deployed from our local repository & totally enough for the scopes we are using it. Resolving the plugin issue without needing to upgrade the Grafana version would be much appreciated.

The plugin is mentioned in the helm .Values.plugins

plugins:
  - marcusolsson-json-datasource

Here is the version checking from within the pod: grafana-cli plugins ls : marcusolsson-json-datasource @ 1.3.4

What is interesting is that I didn't find such a version in the GitHub releases

It was working properly until today noticed the following error, nothing was changed/updated in Grafana (as much as I checked).
Both on attempting to create a new datasource and on opening the existing datasources of this kind we got the following:
Unexpected token '<' Evaluating https://prod.grafana.<MY_DOMAIN>.net/public/@emotion/css Loading plugins/marcusolsson-json-datasource/module
Data Source Error

Accordingly, dashboards using marcusolsson-json-datasource datasource also not working as well.
What I have tried:

Restarted the Grafana pod.
Uninstalled the plugin by grafana-cli & redeployed the pod - the /var/lib/grafana/plugins/marcusolsson-json-datasource directory has been created but still getting the same error.

PS. Please let me know if any further info was needed. Thank you in advance.


how to proxy in apache

Please add how to proxy in apache because I failed many times
in http://gogs.io/docs/intro/faqs.html tell us about how to proxy in nginx，but no apache……

Close for inactive status, feel free to reopen and continue discussion!

hy @qyh214 , I've tried this #1202 with success.
regards

I had an issue with the releases as my proxy settings were incomplete, Adding the ProxyPreserveHost  and ProxyRequests fixed this, thank you!