JsonWidgetData.build() fails to rebuild when widget state changes

First of all, I want to say great job creating this library. The library is really amazing.
I encountered a bug while trying out this package in my app. When I update the state of my application everything updates correctly with the latest data found in the widget state except for those widgets built by JsonWidgetData.
This is a simple example

class DynamicWidget extends StatefulWidget {
  final renderState;

  DynamicWidget({
    @required this.jsonData,
    this.registry,
    this.renderState,
    Key key,
  })  : assert(jsonData != null),
        super(key: key);

  final Map<String, dynamic> jsonData;
  final JsonWidgetRegistry registry;

  @override
  _DynamicWidgetState createState() {
    return _DynamicWidgetState();
  }
}

class _DynamicWidgetState extends State<DynamicWidget> {
  var _data;

  @override
  void initState() {
    super.initState();
    _data = JsonWidgetData.fromDynamic(
      widget.jsonData,
      registry: widget.registry ?? JsonWidgetRegistry.instance,
    );
  }

  @override
  void dispose() {
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: [
        _data.build(context: context),
        Opacity(
          opacity: 1,
          child: InlineInputDotsWidgets(
            dotRenderState: widget.renderState,
            dotColor: Colors.red,
          ),
        ),
      ],
    );
  }
}

InlineInputDotsWidgets receives a dotRenderState array that updates the user interface, so does the UI that is being built by JsonWidgetData. To update the UI dynamically, I registered a function in my main.dart file to the JsonWidgetRegistry like so:
    var registry = JsonWidgetRegistry.instance;

    registry.registerFunctions({
      'getDotRenderState': ({args, registry}) => () {
            final uiPainterData = UiPainter.instance.uiPainterData;
            final eventModel =
                uiPainterData.eventModel as ActionEventModel;
            if (eventModel != null) {
              print("Event Model: ${eventModel.dotsState}");
              return eventModel.dotsState;
            }
          },
    });

The task of this function is to provide the dynamic UI built by JsonWidgetData with the latest data found in the widget state. While I can see that this function is triggered correctly whenever the state changes, nothing seems to happen to the UI built by JsonWidgetData
I think it is worth noting that I created a custom builder for InlineInputDotsWidgets which allows me to dynamically render this widget using this package. You can find this builder below:

class InlineInputDotsBuilder extends JsonWidgetBuilder {
  final width;

  final height;

  final dotColor;

  final dotRenderState;

  InlineInputDotsBuilder(
      {this.width, this.height, this.dotColor, this.dotRenderState});

  static const type = 'inline_input_dots';

  static InlineInputDotsBuilder fromDynamic(
    dynamic map, {
    JsonWidgetRegistry registry,
  }) {
    InlineInputDotsBuilder result;

    if (map != null) {
      result = InlineInputDotsBuilder(
          width: map['width'] ?? 10.0,
          height: map["height"] ?? 10.0,
          dotColor: ThemeDecoder.decodeColor(
                map['dotColor'],
                validate: false,
              ) ??
              Colors.black,
          dotRenderState: map['dotRenderState']() ?? []);
    }

    return result;
  }

  @override
  Widget buildCustom(
      {childBuilder, BuildContext context, JsonWidgetData data, Key key}) {
    return InlineInputDotsWidgets(
        width: width,
        height: height,
        dotRenderState: dotRenderState,
        dotColor: dotColor);
  }
}

Please could you help me resolve this issue?

Once again great job guys for putting this package out there. I have been able to solve the issue. To get Flutter to resolve this rendering issue all that was required was to pass in a UniqueKey() as a property to DynamicWidget.
I hope this helps someone out there.


What and When to send on the GPU?

I'm new to pytorch and am having a hard time getting used to handling the variables properly on cpu and gpu. As we are calculating our own losses here, I am having trouble understanding what and when to send to the device (gpu). Would really appreciate an explanation of how to go about this. The code is quite well written and easy to understand btw.

Actually figured it out after some time. Thanks again for the implementation.


[vscode-graphql-syntax] The types of a union that has a directive are coloured like a directive

The types of union1a and union2a are coloured the same as the directive in the union. Instead, I would expect them to remain coloured as they are in union1b and union2b.
union union1a @deprecated = Int
union union1b = Int
union union2a @deprecated = Int | Float
union union2b = Int | Float

Interestingly Github is syntax highlighting these unions in the same way. Perhaps I'm misunderstanding the allowed syntax here?

GitHub uses the same grammars from this repo
as I said https://github.com/graphql/graphiql/issues/3217#issuecomment-1585002248 I would prefer setup image snapshots before fixing some issues

@B2o5T there are two open PRs by @AaronMoat regarding this, I would love to have more feedback from you, he presents many excellent options for snapshot testing the grammars


Add vendor and allow offline builds

In order to be able to build the project in offline environment (no internet) we can't do the dep ensure step. This means the vendor directory has to be present and we only need to call go build. This required also changes to the spec file, hece the two commits in the PR.

@jsafrane PTAL. The spec file is a bit hackish but the assumptions that cloud-provider-openstack makes about its environment make it somewhat more complicated to package.

@jsafrane I updated the spec file: it works with much less fuss: I build the gofile directly because that's what the Makefile target would do and I don't want to diverge from the upstream.

/lgtm

/assign


[Hacktoberfest]: Add "Apple WWDC" to the Conferences Section

🆕🐥☝ Beginners Only:
This issue is reserved for people who are new to Open Source. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝
To do:

Add Apple WWDC to the Conferences Section
See below for link to step-by-step tutorial
Go down to Conferences section - it starts at around line 173
Using the following template, put in the correct info for that conference (Search for it on the internet to find the correct details) underneath the last row in the table, ensuring there is still an empty row before the next table.

| [Conference Name](Website Address) | Conference Name or Organising Org | 10 | Description of the Conferences, found on their website |

Add your details in the contributors section at the bottom of the page using the same formatting as the last one

📋 Step by Step
Step-By-Step Tutorial
Remember to observe the Code of Conduct - by which we mean, in short - Be Kind, Be Positive, Be Helpful

I'll take it

reslved PR167


Operation object facet tags has an array of Tag Object and operation trait object facet tags has an instance of Tags Object.

Issue part of #397
They must be the same type.
https://github.com/asyncapi/asyncapi/blob/master/versions/2.0.0/asyncapi.md#operation-trait-object
https://github.com/asyncapi/asyncapi/blob/master/versions/2.0.0/asyncapi.md#operation-object

Hey. Good 👁 . Would you mind filling in a PR to fix the description of Operation Trait? Schema is fine so just the markdown fine has to be updated


improve $item handling in display arrays

Fix externalLink as we have a talk on the daily.
Changes proposal:

remove textFormula,
change linkFormula to link,
add icon to externalLinks,
align docs.

/retest

/retest

/test pre-busola-integration-test-k3s-namespace


Update swagger->sdk PRs with installation instructions

The swagger->sdk auto-PRs should include instructions for installing the build along with a link to the archive containing the changes.
See https://github.com/Azure/azure-sdk-for-python/pull/2293 for an example of what it looks like for Python.

Part of the swagger->sdk work.


Create symbol for phototransistor

I'd like to work on this issue!

Please close this issue as the PR is merged

#107 has added the SVG for this issue but we still need to create the .ts files for rendering it.


AWSE coordinator log collection fails if the node appears in the executor log directory

Because of the nature of AWSE a coordinator node might see itself appearing as an executor too.
Currently we treat the presence of a node in the executor directory as evidence that is it only an executor. Therefore this can mean a genuine coordinator node may not have its logs, job profiles, system tables, wlm info etc collected.
We also need to remove appending the coordinator to the logs directory since all AWSE nodes soft link /var/log/dremio to the correct directory under the /var/dremio_efs/log path, for example:

Added some initial changes - check for coordinator not executor


Typescript support

Added type declaration file.

@rebeccahughes this looks good

there are conflicts with master

@GantMan, done

👍


fix DEVMODEA/W struct error.

Fixes: DEVMODEA/W  from VS SDK " C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\wingdi.h"
example code:
  let mut dev_mode = DEVMODEA::default();
    dev_mode.dmSize = mem::size_of::<DEVMODEA>() as u16;

    unsafe {
        if !EnumDisplaySettingsA(None, ENUM_CURRENT_SETTINGS, &mut dev_mode).as_bool() {
            return Err(Error::from_win32());
        }
    }

    println!(
        "now {} {}x{} change to {}x{}",
        dev_mode.dmSize, dev_mode.dmPelsWidth, dev_mode.dmPelsHeight, width, height
    );

@microsoft-github-policy-service agree [company="Guangdong Yizhisec Technology Co., Ltd"]

@microsoft-github-policy-service agree company="Guangdong Yizhisec Technology Co., Ltd"

This PR attempts to modify generated code. This won't persist into the next release.
If there is an issue with the code generator, please file an issue here. If the issue is rather due to incorrect metadata, please file an issue here. Either way, analyzing the root cause should be the first step in solving this issue.


ScottPlot 5: OHLC

Purpose:
Adds OHLC plots
int n = 100;
WpfPlot.Plot.Add.OHLC(Generate.Consecutive(n), Generate.RandomWalkOHLC(n).ToArray());

@bclehmann this PR is looking really good, thank you so much for implementing this!
Currently OHLC just stores price information (OHLC.cs)
I recognize the OHLCSourceXsYs pairs double[] times and OHLC[] prices together into a single object, but I suspect it would be useful to store position information in the OHLC itself. That way it's easier to generate OHLCs and not have to keep track of times and timespans in a separate array.
// maybe this
public DateTime Start { get; }
public TimeSpan Duration { get; }
public DateTime End => Start + Duration;

// or maybe this
public double StartTime { get; }
public double Duration { get; }
public double EndTime => StartTime + Duration;

What do you think? I'm happy to implement this myself before merging if I'm able to get to this before you are.
PS: One could argue that the word "OHLC" only describes price movement so it's fine as it is, but a counter-argument is that OHLCs actually describe price movement over a specific period of time so it should be aware of the time range 🤔

a counter-argument is that OHLCs actually describe price movement over a specific period of time so it should be aware of the time range 🤔

In principle I agree, but considering that the user has to convert the datetime to a double through methods which return double[], I think it's a lot more convenient to keep it as a a separate parameter. Otherwise they have to get that double[] and do something like ohlcs.Zip(dates, (ohlc, date) => new OHLC(ohlc.Open, ohlc.High, ohlc.Low, ohlc.Close) { X = date } ) to glue them back together

I'm still nooding the idea of not using OADate in this library in the future.
I think there are no references to OADate except in a single extension method.
Maybe we can use DateTime and TimeSpan, then just call that extension method to convert it to coordinate space in the render loop 🤔

Maybe we can use DateTime and TimeSpan, then just call that extension method to convert it to coordinate space in the render loop 🤔

I'm ok with this, assuming performance is ok, but I don't want to use the extension method, I think IDateAxis has a conversion method? This way people can specify their own mapping, and this is what lets them use a date axis that skips dates without needing to have gaps. Which is especially relevant as we're talking about financial charts right now.
It also might be the case that someone wants a financial chart without a date axis? This was sometimes necessary in SP4 due to limitations in our date axes, but it may be desirable even in SP5, whether it be because some limitations persist or because numeric axes are simply just preferred.
Consider an analyst comparing companies 2 quarters after a major event (IPO, bankruptcy, acquisition, etc). It would be a lot easier to just say "day 0" or "day 7" rather than needing a different x axis for each company so that they can line up the dates how they want to.

We could perhaps add an IOHLCDataSource to do both

I think this would be the best way to go. It makes sense in my head, but I'll try coding it up and seeing if it feels natural to use.
I think this is the trend I'd like to pursue for most plot types in ScottPlot 5. That "data source" approach lets users make their own data sources if they want to do something custom or support some data type that we haven't thought to code into our numerical optimization library or add generic support for

This is landing in a great place!


perf(cheatcodes): don't recover verify signature after signing

No point since an invalid signature would mean the underlying cryptography is broken, and we would panic anyway.
This signature recovery accounts for 70% of the time spent in vm.sign.

Keeping it as a debug_assert instead


Unable to rename business units

When I attempt to edit the name of an business unit, the UI doesn't do anything. The javascript console shows the following:
index.php?/admin/show/business_units:1271 Uncaught TypeError: Cannot read property 'length' of undefined
at HTMLButtonElement.save (index.php?/admin/show/business_units:1271)
at HTMLButtonElement.dispatch (jquery.js:3)
at HTMLButtonElement.r.handle (jquery.js:3)
save @ index.php?/admin/show/business_units:1271
dispatch @ jquery.js:3
r.handle @ jquery.js:3

Should be fixed with 1d57f11f39d8d8cd27c765a32b585c012ce69b10

Fixed the reported issue, however, I'm getting the same issue when trying to edit managers/users inside business units.


support for dumped process from volatility

PS C:\Users\xxx\Documents\GitHub\ChromeKatz\Debug> .\CookieKatzMinidump.exe .\6784.msedge.exe.0x7ff6cffb0000.dmp
 _____             _    _      _   __      _
/  __ \           | |  (_)    | | / /     | |
| /  \/ ___   ___ | | ___  ___| |/ /  __ _| |_ ____
| |    / _ \ / _ \| |/ / |/ _ \    \ / _` | __|_  /
| \__/\ (_) | (_) |   <| |  __/ |\  \ (_| | |_ / /
 \____/\___/ \___/|_|\_\_|\___\_| \_/\__,_|\__/___|
By Meckazin                     github.com/Meckazin
Kittens love cookies too!

[*] Trying to parse the file: .\6784.msedge.exe.0x7ff6cffb0000.dmp
The signature (785a4d) does not match the expected signature.
The header looks wrong.
[-] Failed to parse file: .\6784.msedge.exe.0x7ff6cffb0000.dmp

Sorry, I'm not really familiar with Volatility's memory dump format. I can look into this if you can provide me with clear use case why this would be important or useful?

Well, the goal would be build a plugin that does what you do but directly from volatility, but maybe is not your business! :)
You can see current plugins here: https://github.com/volatilityfoundation/volatility3/tree/develop/volatility3/framework/plugins/windows
But I would start first with what you have already built so using your cookiekatzminiduymp try to fetch cookies from extracted executables present in memory dumps.
More or less is the same concept for pypykatz:
standalone: https://github.com/skelsec/pypykatz
volatility plugin: https://github.com/skelsec/pypykatz-volatility3
If needed I can send you some msedge or chrome process extracted with volatility framework from some windows memory dump.

I believe that the minidump support will satisfy this need. Closing the ticket for now.


pkg/ffuf: fix panic in Windows when parsing wordlist flag

Description
This change addresses two panics that happened while parsing the provided wordlist flag in Windows systems.

pkg/ffuf/util.go:40: panic happened when the provided path was invalid. Example: .\wordlist.txt: as the os.Stat call returned an error different than os.ErrNotExist.

pkg/ffuf/optionsparser.go:179: panic happened when the provided value did not existed and did not contain a colon character. Example: .\asdf.txt when the local file .\asdf.txt did not exist. This panic happened due to strings.LastIndex returning -1 when the provided substring does not appear. Therefore, v[:-1] panicking.

Fixes #333
Additonally

[x] If this is the first time you are contributing to ffuf, add your name to CONTRIBUTORS.md.
The file should be alphabetically ordered.
[x] Add a short description of the fix to CHANGELOG.md

Please, test this patch thoroughly using a Windows system before merging it. I'd like to contribute unit tests for this patch too in order to avoid having a regression or incomplete fix. However, it would require a bigger refactor of the file rather than just 2 panic fixes.
Note: pkg/ffuf/optionsparser.go:181 (L185 on my patch) does not panic as strings.LastIndex returning -1 will make the slice access to be v[0:], preserving the complete vvalue. It would be nice to prevent this in a next patch, though.

Hi @joohoi, did you have a chance to check my previous comment?


Create the bounce method

[x] have it require BOUNCE_API_KEY
[x] store the JSON version of all incoming applications, appending the Mailgun ID to the record
[ ] upon a bounce, modify registrars.json to mark that registrar's email address as undeliverable
[ ] modify the email function in submit.inc.php to check to make sure that an email address isn't undeliverable
[ ] move that email function into a class, since we'll need to reuse it in this method
[ ] identify the SBE email address to which absentee ballot applications may be submitted
[ ] resubmit the PDF to that email address, using the Mailgun ID to identify the PDF in question

JSON and Mailgun ID stored with 041be1e0fc38214d67552f24f4d05bf494a4d73c.

I've submitted a request for guidance to<EMAIL_ADDRESS>regarding to what email address absentee ballot requests should be submitted in the absence of a functioning registrar email address.

In fact, it should sent to<EMAIL_ADDRESS>So that was easy.

I think maybe I can abuse tagging to include AB IDs in the message. I just need to verify that the tags are exposed by the bounce webhook.

Yes, tags are included. Bingo.

On second thought, this appears to be the preferred method of attaching data to messages. I just need to figure out if this is exposed via sendMessage().

Ah-ha: there is a limit to the number of tags that can be used per account. OK, so it's essential that IDs be passed via X- headers. And that's better, anyway, for MTA agnosticism.

I decided to use a customer X-AB-ID header instead of using Mailgun's custom, JSON-encoded header. That will simplify portability.


Logging: Log when applying conventions

Log the state before applying conventions, and the state after each convention is applied. In ControllerActionDescriptorProvider, following #1600

Dup of #2165.


Do NOT support Fedora26？

VSCode Version: Latest
OS Version: Fedora26

Steps to Reproduce:
1.Fresh install
2.vs code no-response

Reproduces without extensions: Yes/No

Well we certainly supported Fedora 25, something must have changed in 26.

It's working here in Fedora 26 in X mode with a load of extensions... was a fresh install after a fresh Fedora install.
There is no Update 1.14.2 in the repo yet...

Manually installed VSC 1.14.2 in fresh Fedora 26，it didn't work...
Atom is not work neither....
That is weird...

I am using the Code repository rather than downloading and running in case that is relevant...

RHEL, Fedora and CentOS based distributions
We currently ship the stable 64-bit VS Code in a yum repository, the following script will install the key and repository:
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
Then update the package cache and install the package using dnf (Fedora 22 and above):
dnf check-update
sudo dnf install code

Did you do a full sudo dnf update on Fedora 26 in case something got fixed since release?

:) thanks a lot~

Sounds like it's fine then? 😃

I think this is the problem caused by Wayland,when I switch back to Xorg,everything goes normal~


lang/nix: add nix-tree

I'm not sure if this is in scope for devenv.
nix-tree is a graphical tool for inspecting closures I reach for a lot when I'm trying to optimize dependency trees. It is not a nix language tool per se. Maybe behind a config flag, like languages.nix.storeTools.enable?
Feel free to close if it seems out of scope.

For what it's worth, I found out about nix-tree because of this pr. Thanks! It's a great tool 👌
I don't know which packages are a good fit to automatically add and which ones aren't, but for exposure it is great.

looking at the other languages, only compilers, runtimes, build tools, and language servers are included, so I think this is out of scope. Another repo can provide a bundle for extra nix tooling, as a devenv or/and a flake-parts module. :beers:

TODO: make a "devenv-extras" repo which provides additional language tooling bundles.


IAM Service Accounts permission denied

Followed this guide and deployed this yaml
The only difference from the yaml above, is I removed the creation of the ServiceAccount and used a service account that was created as an EKS IAM service account(via eksctl).
All ClusterRoleBinding and RoleBindings remained and bound to the eksctl generated service account name.
Attached policy is below:
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "cloudwatch:GetMetricData",
                "cloudwatch:GetMetricStatistics",
                "cloudwatch:ListMetrics"
            ],
            "Resource": "*",
            "Effect": "Allow"
        }
    ]
}

The container logs show permissions denied errors.
I0228 22:36:09.853711       1 provider_external.go:18] Received request for namespace: default, metric name: event-consumer-queue-length, metric selectors:
E0228 22:36:09.853815       1 client.go:102] err: WebIdentityErr: unable to read file at /var/run/secrets/eks.amazonaws.com/serviceaccount/token
caused by: open /var/run/secrets/eks.amazonaws.com/serviceaccount/token: permission denied
E0228 22:36:09.853830       1 provider_external.go:32] bad request: WebIdentityErr: unable to read file at /var/run/secrets/eks.amazonaws.com/serviceaccount/token
caused by: open /var/run/secrets/eks.amazonaws.com/serviceaccount/token: permission denied
I0228 22:36:09.853911       1 wrap.go:47] GET /apis/external.metrics.k8s.io/v1beta1/namespaces/default/event-consumer-queue-length: (1.551424ms) 400 [kube-controller-manager/v1.14.9 (linux/amd64) kubernetes/c0eccca/system:serviceaccount:kube-system:horizontal-pod-autoscaler <IP_ADDRESS>:48954]

This is leading me to think IAM service accounts are not supported.  Is this the case?

did you patch the existing service account? https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html

To be clear, I did not patch the existing service account in the template, but instead I am using an existing service account, that I created using eksctl with the exact same name from the template. The service account ends up with the annotations as expected. See below output kubectl get serviceaccount k8s-cloudwatch-adapter -o yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  annotations:
    eks.amazonaws.com/role-arn: arn:aws:iam::1234567890:role/myapps-cluster-addon-iamserviceac-Role1-1A2B2C3G4H

Once that new service account was created in the cluster, I ran kubectl apply on the below code block. Notice I removed the ServiceAccount because I already created it in the preview step.
apiVersion: v1
kind: Namespace
metadata:
  name: custom-metrics
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: k8s-cloudwatch-adapter:system:auth-delegator
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:auth-delegator
subjects:
- kind: ServiceAccount
  name: k8s-cloudwatch-adapter
  namespace: custom-metrics
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: k8s-cloudwatch-adapter-auth-reader
  namespace: kube-system
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: extension-apiserver-authentication-reader
subjects:
- kind: ServiceAccount
  name: k8s-cloudwatch-adapter
  namespace: custom-metrics
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: k8s-cloudwatch-adapter
  name: k8s-cloudwatch-adapter
  namespace: custom-metrics
spec:
  replicas: 1
  selector:
    matchLabels:
      app: k8s-cloudwatch-adapter
  template:
    metadata:
      labels:
        app: k8s-cloudwatch-adapter
      name: k8s-cloudwatch-adapter
    spec:
      serviceAccountName: k8s-cloudwatch-adapter
      containers:
      - name: k8s-cloudwatch-adapter
        image: chankh/k8s-cloudwatch-adapter:v0.8.0
        args:
        - /adapter
        - --cert-dir=/tmp
        - --secure-port=6443
        - --logtostderr=true
        - --v=10
        ports:
        - containerPort: 6443
          name: https
        - containerPort: 8080
          name: http
        volumeMounts:
        - mountPath: /tmp
          name: temp-vol
      volumes:
      - name: temp-vol
        emptyDir: {}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: k8s-cloudwatch-adapter-resource-reader
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: k8s-cloudwatch-adapter-resource-reader
subjects:
- kind: ServiceAccount
  name: k8s-cloudwatch-adapter
  namespace: custom-metrics
---
apiVersion: v1
kind: Service
metadata:
  name: k8s-cloudwatch-adapter
  namespace: custom-metrics
spec:
  ports:
  - name: https
    port: 443
    targetPort: 6443
  - name: http
    port: 80
    targetPort: 8080
  selector:
    app: k8s-cloudwatch-adapter
---
apiVersion: apiregistration.k8s.io/v1beta1
kind: APIService
metadata:
  name: v1beta1.external.metrics.k8s.io
spec:
  service:
    name: k8s-cloudwatch-adapter
    namespace: custom-metrics
  group: external.metrics.k8s.io
  version: v1beta1
  insecureSkipTLSVerify: true
  groupPriorityMinimum: 100
  versionPriority: 100
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: k8s-cloudwatch-adapter:external-metrics-reader
rules:
- apiGroups:
  - external.metrics.k8s.io
  resources: ["*"]
  verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: k8s-cloudwatch-adapter-resource-reader
rules:
- apiGroups:
  - ""
  resources:
  - namespaces
  - pods
  - services
  verbs:
  - get
  - list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: k8s-cloudwatch-adapter:custom-metrics-reader
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: k8s-cloudwatch-adapter:custom-metrics-reader
subjects:
- kind: ServiceAccount
  name: horizontal-pod-autoscaler
  namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: k8s-cloudwatch-adapter:external-metrics-reader
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: k8s-cloudwatch-adapter:external-metrics-reader
subjects:
- kind: ServiceAccount
  name: horizontal-pod-autoscaler
  namespace: kube-system
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: externalmetrics.metrics.aws
spec:
  group: metrics.aws
  version: v1alpha1
  names:
    kind: ExternalMetric
    plural: externalmetrics
    singular: externalmetric
  scope: Namespaced
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: k8s-cloudwatch-adapter:crd-metrics-reader
  labels:
    app: k8s-cloudwatch-adapter
rules:
- apiGroups:
  - metrics.aws
  resources:
  - "externalmetrics"
  verbs:
  - list
  - get
  - watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: k8s-cloudwatch-adapter:crd-metrics-reader
  labels:
    app: k8s-cloudwatch-adapter
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: k8s-cloudwatch-adapter:crd-metrics-reader
subjects:
  - name: k8s-cloudwatch-adapter
    namespace: "custom-metrics"
    kind: ServiceAccount

@hscheib
So I was also getting the unable to read file at /var/run/secrets/eks.amazonaws.com/serviceaccount/token error while using an IAM role linked service account to assign the CloudWatch permissions to the pod.
I got it working with the following git diff:
$ git diff deploy/adapter.yaml
diff --git a/deploy/adapter.yaml b/deploy/adapter.yaml
index daa2d65..7d89c55 100644
--- a/deploy/adapter.yaml
+++ b/deploy/adapter.yaml
@@ -33,6 +33,8 @@ subjects:
 apiVersion: apps/v1
 kind: Deployment
 metadata:
+  annotations:
+    eks.amazonaws.com/role-arn: k8s-cloudwatch-adapter
   labels:
     app: k8s-cloudwatch-adapter
   name: k8s-cloudwatch-adapter
@@ -48,6 +50,14 @@ spec:
         app: k8s-cloudwatch-adapter
       name: k8s-cloudwatch-adapter
     spec:
+      securityContext:
+        fsGroup: 65534
+      volumes:
+      - name: token-vol
+        projected:
+          sources:
+          - serviceAccountToken:
+              path: token
       serviceAccountName: k8s-cloudwatch-adapter
       containers:
       - name: k8s-cloudwatch-adapter
@@ -86,6 +96,8 @@ subjects:
 kind: ServiceAccount
 apiVersion: v1
 metadata:
+  annotations:
+    eks.amazonaws.com/role-arn: arn:aws:iam::<REDACTED>:role/k8s-cloudwatch-adapter
   name: k8s-cloudwatch-adapter
   namespace: custom-metrics
 ---

I added securityContext.fsGroup: 65534 and no longer have the permissions denied issue.
Thank you @sudo-justinwilson, that solved it!


Contribution to GenR open science blog

I'm a guest editor for a the open science blog named GenR.
The special theme is: Open Science and Climate Change: A GenR Theme
One article is titled: Open Science Collaboration: new collaboration types becoming the norm
I would like to present oemof as an example for a community driven open software project in energy system research.
I am planing to write an introduction to the topic and then have a contribution (about 1 page) from the dev team. No too technical but rather explaining the experiences with collaborative developments.
Is anybody interested in joining or writing?

Sounds interesting! I guess this is thematically related to the journal contribution discussed in #47. Could approach those two in a clever way?

I can give a little more info about the scope now.
I'm interested in the motivation of collaborative research and the benefits and barriers of it.
The extend should be around 1000 words.

Somehow, my attention to this topic got lost. Now I see your "deadline" is already passed by one week. So, let me comment on the topic - just in case there is still interest.
I do believe oemof can serve as an example, however, you should make clear that it is hard to generalize. I could imagine this as a more individual story of (personal) experiences. For example, collaboration within oemof is not very formalized. We follow some project-inherent tradition but e.g. pledges and assignment of long-term development goals are not binding at all. (This distinguishes oemof from other collaborations.) To some extend, oemof could be seen close to the stereotypical "wild" open source project, where users use the program and upstream whatever they added or changed to make it more fitting to their personal needs. In this sphere, there are some "respected elders" whose advice is trusted, so that they have a de facto lead, but who do not have any formal power. I have the feeling that this particular type of collaboration is rather rare.

Hi @p-snft,
thanks for the reply. I extended the deadline since everybody including myself is too busy at the moment.
You already described the key elements that I am interested in. I had a discussion with @srhbrnds and we came to similar conclusions.
My current hypothesis is that good collaborative tools and underlying open (science) principles can lead to informal (perhaps even anarchistic) organisation structures. In my point of view this is a significant change of culture in research. If you compare it to the hierarchical "old science" where senior researchers/professors dictate developments, tasks and deadlines.
Of course this will always be a personal point of view and the focus should be on the role of collaborative tools (GitHub, Pads, Overleaf...). I'm happy to hear more opinions on this.

Maybe it is not typical for a software project, but maybe it is typical for a science software project.
Nevertheless, the structure may change or be become more formal due to growing or changing community.
In the beginning of oemof we searched for decision making tools to create a formal structure but we could not find an open/free tool and github did not provided anything useful. It might have changed over the time.


Toggl button no longer showing on Teamwork

Environment details

Operating system: Windows 10, Google Chrome
Extension version: 1.60.7

Expected behavior
Toggl button shows next to the task in Task Lists and within Tasks.
Actual behavior
Toggl button is no longer showing.
Steps to reproduce the behavior
Open a Task List or Task in Teamwork.
Additional details
I'm using Teamwork with a Custom Domain and with the domain added to the "Custom URLs for integrations" section in the settings for Toggl. Note: this was working previously and stopped working within the past week or so.

Closing as a duplicate of #1716


Update tempConverter.cpp

i have added the necessary c++ code

i have added the necessary c++ code

Looks good!

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!

Thanks for merging 🙂


Fix GFF3Reader open

The GFF3Reader currently uses Python's default open command, instead of the preferred tag.open which has intelligent gzip support. This PR fixes the problem.

Current coverage is 100% (diff: 100%)

No coverage report found for master at 2eb3737.

Powered by Codecov. Last update 2eb3737...3d1dc72


Added additional argument for ElectionWrapper.revokeActive()

Description
Added an additional parameter totalValue used to obtain the lesser and greater validator group addresses after voting.
totalValue only differs from value when creating a revokeActive() transaction object before executing a previously generated revokePending() transaction object for the same group.
Other changes
N/A
Tested
An explanation of how the changes were tested or an explanation as to why they don't need to be.
Related issues

Fixes #9706

Backwards compatibility
Should still be backwards compatible, as the new param in revokeActive() is optional and no changes are made to the revoke() call.
Documentation
The set of community facing docs that have been added/modified because of this change

Any way the new param could be optional?

This seems so close to being ready. Just the Address type right?

Fixing the bug, yes. I am currently looking into adding a test for the election wrapper since it didn't have any. Thats why I reverted this bak to draft.

oh looks like we still need the tests @m-chrzan asked for.


Activity design for panel switcher

Now that we have the panel switcher added, we should think about how to show activity. For example, the "Problems" view today changes its title based on the number of problems:

I think this model no longer works nicely with the switcher and I would suggest we have something like the badges in the activity bar for panels too.
Thoughts?
/cc @sandy081

I remember @isidorn had done something similar for problems panel when we want to show the panels on the activity bar. @isidorn Can we reuse that ?

@sandy081 I forgot how exactly it worked, but something in the manner of activity bar asking for each panel on it's progres and displaying it properly.
activityBarPart.ts would be a good starting point to dig into history
Not sure if I reverted all those changes since we decided not to keep it in the end.

Well yeah, we do have a story for the activity bar and it works nicely, but what I wonder is, do we want something similar for the panel bar now too and if so, how would it look like.

@isidorn  implemented this, but we are not using it yet.

friendly ping @sandy081 to adopt this in problems land (should be low effort)

Sure.


Add NSCoding support

Allows the object to be converted to NSdata and subsequently saved in Keychain or NSUserDefaults for reuse.

Allow saving and reusing access tokens #57


elasticsearch-model: one index, multiple models, multiple mappings

I have three models and each have their own mappings. All three models are stored in the same index.
If I do
ModelOne.__elasticsearch__.create_index! force: true

then only ModelOne's mappings are returned when I call "GET my_index/_mapping"
Then if I do
ModelTwo.__elasticsearch__.create_index! force: true

then ModelOne's mappings are erased and "GET my_index/_mapping" only return ModelTwo's mappings.
Is there a way to create the index with all the models' mappings? Seems like this should be straightforward, but I am clearly missing something.

Thanks @ghilead - the rake task did the trick!

I like the idea of @karmi's IndexManager class because it's testable. I've taken some of those ideas and built a small rake task that calls the index manager. Gist here for anyone that's interested:
https://gist.github.com/nickrivadeneira/e99fbf9beb82fed2f95eaf6964c97853


discum module not found

discum is installed and i can import it in a separate window but not with this

You're probably using it with a virtual enviroment.
Try to use it without it.

Multiple python installs?

Make sure you have the right Python version in the config.py (with all requirements and discum installed) as start.py calls the discord_text_spam_dm.py and uses the Python version that's in config.

I am getting the same problem


Closing the Create & Push Branch text box results in a push to main

Describe the bug
Canceling a Create & Push Branch operation results in a push to the main branch.
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/ngworker/lumberjack-next
Steps to reproduce

I click Create & Push Branch.
A text box appears, asking for a branch name.

I cancel the operation by pressing the Escape key.
Codeflow appears to attempt to push to the main branch.

With branch protection on the main branch of the repo, an error is displayed.

Command output:> git push origin main:main
remote: NULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNUL
fatal: unable to access 'https://github.com/ngworker/lumberjack-next': The requested URL returned error: 403

Expected behavior
Canceling the operation should not result in any operation.
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform
Version = 1.67.0
Hash = c994f4b06d30d4ac09341f7888800531bc4a8e9c
WebContainer = 3e4f172269cb19a250be0dfdff1ab657cb850d0e

Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 106
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 105988720,
  "usedJSHeapSize": 97006716,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}

Additional context
No response

Thanks for finding this, a fix should be landing soon 👍


upgrade uglify-js

See: https://nodesecurity.io/advisories/uglifyjs_incorrectly_handles_non-boolean_comparisons

Apparently this only affects https://github.com/Leaflet/Leaflet/blob/master/src/dom/Draggable.js#L51
I don't think we have any bugs related to dragging behaviour, so might as well let NPM run its course and decide the version at build time.

Yeah, this won't affect anyone since NPM will install the latest version anyway.


Pin Bazel to 4.2.2

Since OSS-Fuzz uses Bazelisk to invoke Bazel and rules_fuzzing does not
pin a Bazel version, the latest stable release of Bazel will be used.
This can (and did, twice now) unexpectedly break the build.
We should intead pin a Bazel version and consciously update it when we
add support for a new version.
Fixes #193

@stefanbucur This gets the pipeline green, but of course we should support the new Bazel version released just a few hours ago.


Fixed sized & position annotations

I have a graph with wildly varying Y scale.
I want to position labels in the chart at a fixed size, for example, drawing a 30px height box. From the docs, I only found the yMax and yMin options, but trying to use them doesn't work for my case, because on certain conditions the resulting box is super small and on other is gigantic.
For example, for a Y scale of 2000, yMin = 200 looks small and nice, but for a Y scale of 300, yMin = 200  takes 75% of the graph. Is there a way to config the annotation to have a fixed size regardless of the chart's scale?

@fnzr the plugin is designed to add annotations based on the data values and not in pixels.
Nevertheless you can use you yMin and yMax options as scriptable in order to calculate the best value to fit the annotation on the chart.
box: {
  type: 'box',
  yMin: 45,
  yMax({chart}) {
    const scale = chart.scales.y;
    const size = scale.height * 0.1; // 10% of scale height
    const pxMin = scale.getPixelForValue(45);
    const pxMax = Math.min(pxMin - size);
    const newValue = scale.getValueForPixel(pxMax);
    return newValue;
  },
  xMin: 'Feb',
  xMax: 'Apr',
  borderColor: 'black',
  borderWidth: 2,
},

In the codepen https://codepen.io/stockinail/pen/WNzboVQ you can see an example how the annotation will always have got an height of 10% of scale.

Thanks. I think this solution works well enough for me. Feel free to close the issue.


Create New Tree Dialogue Not Working

Assets are created and root is still null

Mostly fixes. Errors still show up, but it works now at least!


Allow Flipping the Display 180 degrees

I have a Ulanzi TC001 which I would like to install upside down. I was looking through the documentation and couldn't see a mechanism to flip/rotate the screen by 180 degrees.
Is this possible?

Of course, but not with my component.
See the wiki of the newer version of my tool, which also works for the older version you are using!


Prediction doesn't show up in the UI

Hi,
I managed to set up a SAM backend. But when I ask for an annotation, the frontend doesn't display anything:

But if I check the network tab, a POST request to api/ml/1/interactive-annotating is successful and answers with:
{
   "data":{
      "model_version":"vit_h",
      "result":[
         {
            "id":[
               "K"
            ],
            "image_rotation":0,
            "original_height":600,
            "original_width":800,
            "readonly":false,
            "type":"brushlabels",
            "value":{
               "brushlabels":[
                  "1"
               ],
               "format":"rle",
               "rle":[0,29,76,0,57,27,255,255,255,0,255,255,224,31,255,252,3,255,255,128,127,255,240,15,255,254,1,255,255,192,63,255,248,7,255,255,0,255,255,224,31,118,220,3,35,255,240,194,48,12,223,255,194,253,192,52,159,255,11,215,0,214,127,252,46,204,3,109,255,240,185,176,13,223,255,194,223,192,56,8,127,255,11,99,0,224,36,255,252,45,44,3,128,163,255,240,178,176,14,2,199,255,194,194,192,56,11,255,255,10,243,0,224,50,255,252,43,108,3,128,213,255,240,172,112,14,3,143,255,194,171,192,56,14,191,255,10,163,0,224,59,255,252,42,108,3,128,243,255,240,169,48,14,3,231,255,194,160,192,56,16,31,255,10,119,0,224,65,127,252,41,188,3,129,11,255,240,166,48,14,4,63,255,194,150,192,56,17,63,255,10,83,0,224,70,127,252,41,28,3,129,31,255,240,163,112,14,4,159,255,194,138,192,56,18,223,255,10,31,0,224,76,255,252,40,60,3,129,57,255,240,160,112,14,4,247,255,194,127,192,56,19,255,255,9,251,0,224,80,255,252,39,204,3,129,71,255,240,158,176,14,5,47,255,194,121,192,56,20,223,255,9,223,0,224,84,127,252,39,92,3,129,85,255,240,156,176,14,5,103,255,194,113,192,56,21,223,255,9,191,0,224,88,127,252,38,220,3,129,101,255,240,154,240,14,5,167,255,194,105,192,56,22,223,255,9,159,0,224,92,127,252,38,92,3,129,115,255,240,153,48,14,5,207,255,194,100,192,56,23,95,255,9,147,0,224,93,127,252,38,60,3,129,119,255,240,152,176,14,5,231,255,194,97,192,56,23,191,255,9,131,0,224,96,127,252,37,220,3,129,139,255,240,150,48,14,6,95,255,194,82,192,56,25,223,255,9,63,0,224,105,127,252,36,188,3,129,171,255,240,146,112,14,6,183,255,194,71,192,56,27,63,255,9,19,0,224,110,127,252,36,28,3,129,189,255,240,143,240,14,7,7,255,194,61,192,56,28,127,255,8,235,0,224,115,127,252,35,124,3,129,209,255,240,141,112,14,7,103,255,194,49,192,56,29,255,255,8,191,0,224,120,255,252,34,204,3,129,231,255,240,138,176,14,7,175,255,194,40,192,56,30,255,255,8,155,0,224,124,255,252,34,76,3,129,247,255,240,136,176,14,7,239,255,194,33,192,56,31,223,255,8,127,0,224,128,127,252,33,220,3,130,5,255,240,134,240,14,8,39,255,194,25,192,56,32,223,255,8,91,0,224,132,255,252,33,76,3,130,23,255,240,132,112,14,8,127,255,194,13,192,56,34,63,255,8,51,0,224,137,255,252,32,156,3,130,45,255,240,129,176,14,8,207,255,194,3,192,56,35,127,255,8,7,0,224,143,127,252,31,220,3,130,67,255,240,127,48,14,9,31,255,193,249,192,56,36,191,255,7,227,0,224,147,127,252,31,108,3,130,83,255,240,125,48,14,9,87,255,193,243,192,56,37,127,255,7,203,0,224,121,127,247,192,54,191,255,7,199,0,224,121,255,248,92,3,105,255,240,123,240,14,7,159,255,137,192,54,63,255,7,187,0,224,122,127,248,172,3,97,255,240,123,112,14,7,175,255,138,192,54,31,255,7,179,0,224,123,127,248,172,3,99,255,240,122,240,14,7,183,255,137,192,54,95,255,7,171,0,224,124,127,248,124,3,103,255,240,122,112,14,7,207,255,135,192,54,127,255,7,167,0,224,125,127,248,108,3,105,255,240,121,240,14,7,231,255,134,192,54,159,255,7,151,0,224,127,127,241,128,91,255,182,1,180,255,248,60,120,7,4,19,255,156,3,107,255,240,120,112,14,8,71,255,56,6,203,255,224,240,96,28,16,143,255,27,128,105,255,254,15,6,1,193,9,255,241,216,6,151,255,224,239,224,28,16,191,255,29,128,105,63,254,14,246,1,193,13,255,241,184,5,191,248,192,52,31,255,7,115,0,224,135,255,249,44,3,61,255,240,119,48,14,8,135,255,148,192,51,127,255,7,119,0,224,136,127,250,12,3,17,255,206,1,111,255,131,189,128,112,68,127,254,16,102,1,193,19,255,248,65,88,7,4,83,255,225,4,224,28,17,111,255,132,13,128,112,70,63,254,16,54,1,193,25,255,248,64,152,7,4,115,255,225,0,224,28,17,239,255,131,255,128,112,72,127,254,15,238,1,193,34,255,248,63,120,7,4,147,255,224,252,224,28,18,111,255,131,241,128,112,73,191,254,15,190,1,193,39,255,248,62,248,7,4,163,255,224,250,224,28,18,175,255,131,233,128,112,74,191,254,15,166,1,193,43,255,248,62,120,7,4,175,255,224,249,224,28,18,207,255,131,227,128,112,75,191,254,15,134,1,193,47,255,248,61,216,7,4,195,255,224,247,96,28,19,31,255,131,217,128,112,76,255,254,15,94,1,193,51,255,248,61,88,7,4,215,255,224,244,224,28,19,95,255,131,209,128,112,77,191,254,15,70,1,193,55,255,248,60,216,7,4,231,255,224,242,96,28,19,175,255,131,201,128,112,78,255,254,15,22,1,193,60,255,248,60,56,7,4,251,255,224,240,96,28,19,255,255,131,189,128,112,80,63,254,14,238,1,193,66,255,248,59,152,7,5,11,255,224,237,224,28,20,63,255,131,183,128,112,80,255,254,14,222,1,193,67,255,248,59,120,7,5,15,255,224,237,96,28,20,79,255,131,181,128,112,81,127,254,14,206,1,193,69,255,248,59,56,7,5,23,255,224,236,224,28,20,95,255,131,179,128,112,81,63,254,14,206,1,193,69,255,248,59,56,7,5,23,255,224,236,224,28,20,95,255,131,179,128,112,81,127,254,14,206,1,193,69,255,248,59,56,7,5,23,255,224,236,224,28,20,95,255,131,179,128,112,81,63,254,14,214,1,193,68,255,248,59,88,7,5,19,255,224,237,96,28,20,79,255,131,181,128,112,80,255,254,14,222,1,193,67,255,248,59,120,7,5,15,255,224,237,224,28,20,63,255,131,185,128,112,80,191,254,14,230,1,193,67,255,248,59,120,7,5,15,255,224,237,224,28,20,63,255,131,183,128,112,81,63,254,14,214,1,193,68,255,248,59,88,7,5,19,255,224,237,96,28,20,79,255,131,183,128,112,81,63,254,14,214,1,193,68,255,248,59,120,7,5,19,255,224,237,224,28,20,63,255,131,189,128,112,80,63,254,15,14,1,193,62,255,248,60,152,4,255,247,192,56,38,159,255,7,187,0,224,152,255,252,30,220,3,130,99,255,240,123,176,14,9,135,255,193,238,192,56,38,63,255,7,183,0,224,152,255,252,30,220,3,130,99,255,240,123,112,14,9,143,255,193,237,192,56,38,95,255,7,179,0,224,153,127,252,30,204,3,130,101,255,240,123,48,14,9,159,255,193,235,192,56,38,127,255,7,175,0,224,153,255,252,30,188,3,130,105,255,240,122,176,14,9,167,255,193,233,192,56,38,191,255,7,167,0,224,154,255,252,30,156,3,130,107,255,240,122,112,14,9,175,255,193,233,192,56,38,191,255,7,167,0,224,154,255,252,30,156,3,130,109,255,240,122,48,14,9,183,255,193,233,192,56,38,191,255,7,167,0,224,154,255,252,30,140,3,130,111,255,240,121,240,14,9,191,255,193,231,192,56,38,255,255,7,159,0,224,156,127,252,30,108,3,130,113,255,240,121,176,14,9,199,255,193,230,192,56,39,31,255,7,155,0,224,156,127,252,30,108,3,130,113,255,240,121,176,14,9,199,255,193,230,192,56,39,31,255,7,155,0,224,156,127,252,30,108,3,130,113,255,240,121,176,14,9,207,255,193,229,192,56,39,31,255,7,155,0,224,156,127,252,30,108,3,130,113,255,240,121,176,14,9,199,255,193,230,192,56,39,31,255,7,155,0,224,155,255,252,30,124,3,130,111,255,240,121,240,14,9,191,255,193,231,192,56,38,255,255,7,159,0,224,156,127,252,30,108,3,130,111,255,240,121,240,14,9,191,255,193,231,192,56,38,255,255,7,159,0,224,155,255,252,30,124,3,130,111,255,240,121,240,14,9,199,255,193,230,192,56,39,31,255,7,155,0,224,156,127,252,30,108,3,130,113,255,240,121,176,14,9,199,255,193,230,192,56,39,31,255,7,155,0,224,156,127,252,30,108,3,130,115,255,240,121,112,14,9,207,255,193,229,192,56,39,63,255,7,151,0,224,156,255,252,30,92,3,130,115,255,240,121,112,14,9,207,255,193,229,192,56,39,63,255,7,155,0,224,156,127,252,30,108,3,130,113,255,240,121,176,14,9,207,255,193,229,192,56,39,63,255,7,151,0,224,156,255,252,30,92,3,130,115,255,240,121,112,14,9,207,255,193,229,192,56,39,63,255,7,151,0,224,156,255,252,30,92,3,130,115,255,240,121,112,14,9,215,255,193,228,192,56,39,95,255,7,147,0,224,157,255,252,30,60,3,130,119,255,240,120,240,14,9,223,255,193,226,192,56,39,191,255,7,135,0,224,158,255,252,30,28,3,130,123,255,240,120,112,14,9,239,255,193,225,192,56,39,191,255,7,135,0,224,158,255,252,30,28,3,130,123,255,240,120,48,14,9,247,255,193,224,192,56,39,223,255,7,131,0,224,159,127,252,30,12,3,130,125,255,240,120,48,14,9,247,255,193,224,192,56,39,255,255,7,127,0,224,159,255,252,29,236,3,130,129,255,240,119,176,14,10,7,255,193,222,192,56,40,63,255,7,119,0,224,160,255,252,29,220,3,130,133,255,240,119,48,14,10,23,255,193,220,192,56,40,95,255,7,115,0,224,161,127,252,29,204,3,130,135,255,240,118,240,14,10,31,255,193,218,192,56,40,191,255,7,103,0,224,162,255,252,29,156,3,130,139,255,240,118,112,14,10,55,255,193,216,192,56,40,223,255,7,99,0,224,163,127,252,29,140,3,130,141,255,240,118,48,14,10,55,255,193,216,192,56,40,223,255,7,99,0,224,163,255,252,29,124,3,130,143,255,240,117,240,14,10,63,255,193,215,192,56,41,31,255,7,91,0,224,164,127,252,29,108,3,130,145,255,240,117,176,14,10,79,255,193,214,192,56,41,31,255,7,91,0,224,164,255,252,29,92,3,130,147,255,240,117,112,14,10,87,255,193,212,192,56,41,95,255,7,87,0,224,165,127,252,29,76,3,130,149,255,240,117,48,14,10,95,255,193,212,192,56,41,95,255,7,83,0,224,165,127,252,29,76,3,130,149,255,240,117,112,14,10,79,255,193,213,192,56,41,63,255,7,87,0,224,164,255,252,29,92,3,130,149,255,240,117,112,14,10,79,255,193,213,192,56,41,63,255,7,87,0,224,164,255,252,29,108,3,130,147,255,240,117,112,14,10,79,255,193,213,192,56,41,63,255,7,91,0,224,164,127,252,29,124,3,130,143,255,240,117,240,14,10,63,255,193,216,192,56,40,255,255,7,95,0,224,164,127,252,29,124,3,130,143,255,240,118,48,14,10,63,255,193,215,192,56,40,255,255,7,99,0,224,163,255,252,29,124,3,130,145,255,240,117,240,14,10,63,255,193,216,192,56,40,255,255,7,95,0,224,163,255,252,29,140,3,130,141,255,240,118,112,14,10,47,255,193,217,192,56,40,191,255,7,107,0,224,162,255,252,29,156,3,130,139,255,240,118,112,14,10,47,255,193,218,192,56,40,159,255,7,107,0,224,162,127,252,29,172,3,130,137,255,240,118,240,14,10,31,255,193,220,192,56,40,95,255,7,115,0,224,161,127,252,29,220,3,130,129,255,240,119,176,14,10,7,255,193,223,192,56,39,255,255,7,127,0,224,159,255,252,29,252,3,130,125,255,240,120,112,14,9,239,255,193,225,192,56,39,191,255,7,135,0,224,158,127,252,30,60,3,130,119,255,240,120,240,14,9,223,255,193,227,192,56,39,127,255,7,147,0,224,156,255,252,30,92,3,130,115,255,240,121,176,14,9,199,255,192,196,192,0]
            }
         }
      ]
   }
}

So it seems the backend works fine but there's an issue somewhere else, but where ?
Thanks !

Ok, my bad, I forgot to add
from_name = context['result'][0]['from_name']
to_name = context['result'][0]['to_name']

in the result !


Extension gone from the Chrome Web Store

Just opening this issue for reference. See

https://github.com/jdm-contrib/jdm/issues/1772

Now available at:

https://chrome.google.com/webstore/detail/just-delete-me/dlhckcablohllindinahbbpnfgblimoe
https://github.com/fregante/jdm (source)

Info seen on eb6aaa9


Suppress deprecation warnings

The plugin uses the deprecated registerWith() method to maintain backwards compatibility...
This results in a deprecation warning on each Android build, if it doesn't use @SuppressWarnings("deprecation").
This PR fixes the warnings.

Thank you very much for the PR @nohli !


Error running build.sh in dockerr

I got this error:

Task :wherehows-etl:compileJava
/WhereHows/wherehows-etl/src/main/java/metadata/etl/sqlParser/InsertStmt.java:16: error: package gudusoft.gsqlparser does not exist
import gudusoft.gsqlparser.TBaseType;

I couldnt execute all the build.sh

Oh, you need the gsp in your extralibs. Do you have it? https://github.com/linkedin/WhereHows/tree/master/wherehows-etl/extralibs

Hi, I'm trying to build the docker but it is producing this error (see below). Any ideas on how to fix this? Thanks!
/Users/joao/WhereHows-master/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:36: error: cannot find symbol
public UpdateStmt(TUpdateSqlStatement stmt) throws NoSqlTypeException {
^
symbol:   class TUpdateSqlStatement
location: class UpdateStmt
/Users/joao/WhereHows-master/wherehows-etl/src/main/java/metadata/etl/sqlParser/UpdateStmt.java:82: error: cannot find symbol
private String checkAlias(TTableList tablelist, String name) {
^
symbol:   class TTableList
location: class UpdateStmt
50 errors
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':wherehows-etl:compileJava'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 3s
13 actionable tasks: 2 executed, 11 up-to-date

For future reference I installed the gsp.jar in the wherehow-etl/extralibs and it build fine!

Shouldn't the build script take care of that? Doing a patch for it

This is similar to https://github.com/linkedin/WhereHows/issues/596. Closing the issue.


use updated URL for wkhtmltopdf downloads

Hello,
wkhtmltopdf has moved the downloads provider from SourceForge to gna.org. As mentioned in the linked message, all earlier downloads have been removed from SourceForge and you are strongly advised to migrate to the new URLs. The following files in your repository will need to be updated:

Dockerfile

It is recommended to either subscribe to the mailing list or Twitter feed to receive updates on new releases and further changes.
Thanks,
wkhtmltopdf maintainer

The URL seems to be updated
So the issue could certainly be closed.

@tzi & @ashkulz Thanks, I should have followed this up earlier. Closing the issue.


Docs: listed all ports expecting unsolicited inbound traffic

A small improvement to the docs to help with firewall setup.

Current coverage is 92.47% (diff: 100%)

Merging #621 into master will not change coverage

@@             master       #621   diff @@
==========================================
  Files            22         22
  Lines          1209       1209
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1118       1118
  Misses           91         91
  Partials          0          0

Powered by Codecov. Last update 288aad6...94e0061


Changes Made to Lava Shortcodes Not Reflected on Page Refresh

This morning I tried editing a lava shortcode and the change wasn't immediately reflected on a page where it is used (I tried hard refreshing, as well).
After experiencing this, I checked the shortcode in the Rock UI, and the change I had made via Magnus was visible there.
Once I re-saved the shortcode in the UI, the page then reflected the change. It's as if the shortcode is cached somehow, however cacheability type on the page the shortcode is used is set to no-cache, and cache duration on the html block where the shortcode was used is set to 0.

v1.0 should be out today or tomorrow.


GFNet-H-B Model Implementation and Supporting Files (Student ID: S47779628)

Hello,
I am submitting this pull request to add the full implementation of the GFNet-H-B model and its supporting files to the correct branch. Below is a summary of the changes:
Changes:

GFNet Model Implementation (GFNet-H-B):
A full implementation of the GFNet-H-B architecture was added in modules.py.
Training Script (train.py): This script initializes the GFNet model and sets up training configurations, including hyperparameters, training, validation, and tuning settings.
Data Handling (dataset.py): Specifies data loading procedures with necessary preprocessing and data augmentation.
Prediction Script (predict.py): This script loads the trained model with settings for data preprocessing and model configurations. It evaluates the model on test data, calculates accuracy, and plots the training and validation loss from the CSV file generated during training.
Utility Functions (utils.py): This includes utility functions, such as EarlyStopping, to assist with model training.
README:

Updated documentation to explain the usage, setup, and structure of the GFNet implementation.
Added tuning and test results, detailing model performance on hyperparameter tuning and final test accuracy.

Testing:
The model and scripts have been tested on the UQ Rangpur Cluster (for training) and locally (predicting and plotting) to ensure they run as expected and produce the correct results.
Please review the changes and let me know if any adjustments or additional documentation are needed. I am prepared to incorporate any feedback to make sure it matches the project standards.
Thank you for your consideration and review!
Shogo Terashima
Student ID: S47779628

<This is an initial inspection, no action is required at this point.>
File Organizing: Well-organized files.
Problem Solving:

The algorithm solves the problem appropriately.
Accuracy in the testing dataset: 0.9862/0.5668.  Student explored 15 trials in the experiment and got 0.5668 testing accuracy based on the original dataset, while after combing the original train/test dataset and resplitting it into a new train/val/test dataset, the testing accuracy can reach 0.9862.

Model and functions:

It correctly uses PyTorch to construct the GFNet models and functions.
With data augmentation.

Code design: Good.
Code comment and docstring:

Perfect code comments
Perfect function docstrings

Difficulty: Hard.
Additional Comments:

Excellent experiments. 15 trials are explored in the experiment though the best result appears in the re-splitted dataset.
Reasonable commits.
Excellent ReadMe design.

Observational Feedback
Pull Request:
Correctly created the Pull request from Topic Recognition Branch .
The pull request shows a clear Description .
File Organizing: Well-organized files.
Commit Log:
Commit messages could be more  meaningful .
Commits are regularly made.
Documentation:
The README file provides a clear explanation of the algorithm and the problem it solves.
Code comments and docstrings are included .
Proper GitHub markdown formatting is used, with organized headings, lists, and code blocks.
Can add about Future works in  the report

"## Marking

Good/OK/Fair Practice (Design/Commenting, TF/Torch Usage)
Good design and implementation.
Spacing and comments.
Header blocks.
Recognition Problem
Good solution to problem.
Driver Script present.
File structure present.
Good Usage & Demo & Visualisation & Data usage.
Module present.
Commenting present.
No Data leakage found. Uses Data Aug.
Difficulty : Hard.  GFNet (Hard Difficulty)
Commit Log
Good Meaningful commit messages.
Good Progressive commits.
Documentation
Readme :Good.
Model/technical explanation :Good.
Description and Comments :Good.
Markdown used and PDF submitted. PDF Checked.
Pull Request
Successful Pull Request (Working Algorithm Delivered on Time in Correct Branch).
No Feedback required.
Request Description is good.
TOTAL0

Marked as per the due date and changes after which aren't necessarily allowed to contribute to grade for fairness.
Subject to approval from Shakes

Great work!


:memo: Please drop a guide to build a docker image

Is your feature request related to a problem? Please describe.
Actually, current documentation about deployment only shows how to run it on Google Cloud Run :

"To deploy your Mesop application, we recommend using Google Cloud Run because it's easy to get started and there's a free tier. However, it's possible to deploy your Mesop to other Cloud platforms."

In my case, I need to deploy the resulting app to our local infrastructures... then we need to provide a docker Image.
Describe the solution you'd like
Please provide a few lines detailing how to build and run the docker image of the meseop app'. It seems like it depends on fastAPI so it should do the job (this is also what seduced me).
Describe alternatives you've considered
Explore and make the doc by ourselves.
Additional context
I'll use mesop as part of the Call for Paper for #NODES24. it will be the front-end of our ChatBOT, which strongly relies on Google APIGEE by the way

Do you want the docker image to serve your custom Mesop application? I think I can provide an example of that.

Just FYI, Mesop under the hood uses Flask currently.

Hi @richard-to , yes, that's it as for my demo I plan do deploy it as an image that was previously pushed to ghcr.io from our Gh ACtions... then pulled by podman.
A simple dummy code snippet or directory to acheve that would be just awesome :star_struck:

Here's one of my demo apps. I added a Dockerfile to it here: https://github.com/richard-to/mesop-jeopardy/blob/main/Dockerfile
You can run this using:
docker-compose up -d

Then you can view it at localhost:8080
Note that the app will run, but it won't work without setting a Google API Key for Gemini.
I figure you just want an example of a Docker image, so it's not necessary.

Hey @richard-to , thanks a lot for your help. Yup, that's the kind of thing I was looking for.
Now, thanks to your post I have alle the required materlal to rapidly drop somehting interesting next week for my internal demo.
Thanks a lot for you help :pray:
# Build Docker image for deployment.

FROM python:3.10.14-bullseye

RUN apt-get update && \
  apt-get install -y \
  # General dependencies
  locales \
  locales-all && \
  # Clean local repository of package files since they won't be needed anymore.
  # Make sure this line is called after all apt-get update/install commands have
  # run.
  apt-get clean && \
  # Also delete the index files which we also don't need anymore.
  rm -rf /var/lib/apt/lists/*

ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8

# Install dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt

# Create non-root user
RUN groupadd -g 900 mesop && useradd -u 900 -s /bin/bash -g mesop mesop
USER mesop

# Add app code here
COPY . /srv/mesop-jeopardy
WORKDIR /srv/mesop-jeopardy

# Run Mesop through gunicorn. Should be available at localhost:8080
CMD ["gunicorn", "--bind", "<IP_ADDRESS>:8080", "app:me"]

@richard-to would be great to add this to our deployment guide https://google.github.io/mesop/guides/deployment/ :)
I've seen quite a few questions elsewhere about this.

That would be awesome

:partying_face: Just plugged a mesop front-end  in front of our AI agent:

Behind the scene :

Neo4J as KnowledgeGraph
Quarkus for REST proxy to build custom tool
Podman to run APIs
Langchain4J to call llms
gpt4 for complex question analysis
Agentic : llama3 for local function calling from LLama_index function calling
mesop for front-end rendering

Tweet

Awesome. I'm excited that you were able to get Mesop integrated. Good luck on the presentation for #nodes24. Feel free to post the presentation if it gets accepted.


racer.rustSrcPath is not set in your config.

[Enter steps to reproduce below:]

...
...

Atom Version: 1.0.19
System: Mac OS X 10.11.1
Thrown From: Atom Core
Stack Trace
racer.rustSrcPath is not set in your config.
At undefined

undefined

Commands
  4x -0:20.1.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)

Config
{
  "core": {
    "useReactEditor": true,
    "disabledPackages": [
      "linter-pep8",
      "linter-python-pep8",
      "python-autopep8",
      "linter-rust",
      "rust-api-docs-helper"
    ]
  },
  "editor": {
    "tabLength": 4,
    "invisibles": {}
  }
}

Installed Packages
# User
atom-python-debugger, v0.3.4
autocomplete-python, vundefined
language-rust, v0.4.5
linter, v1.8.1
python-isort, v0.0.7
racer, v0.17.2

# Dev
No dev packages

This looks like an issue with racer, not with Atom core - feel free to reopen an issue there.

The error message says "This is likely a bug in Atom.", is there a way for atom to tell that the bug is in the package?

The bug is that atom claims it is a bug with itself.

The bug is that atom claims it is a bug with itself.

There is no context in this error message, so there is absolutely no way for Atom to determine which package is causing the issue.  It defaults to atom/atom for safety.

Maybe the error message could be like This may be a bug in Atom, - the likely misled me a little.

Or maybe probably, because that allows the chance that it is not, whereas likely can be taken to mean almost certainly

still get this error


refactor(GUI): convert Progress Button to Rendition

Convert progress-button component to Rendition
Signed-off-by: amdomanska<EMAIL_ADDRESS>

The npm-shrinkwrap.json hasn't been updated according to the changes in the package.json in here, did you npm install --save --save-exact to add the color dependency (that should automatically shrinkwrap for you and pin the version)?

Eeek, looks like all the "dev": true entries have disappeared from the shrinkwrap?!
Are the instructions here still correct @jhermsmeier ?

@lurch yup, instructions are still correct (apart from that --save-exact is also used now)

@resinci retest


"Access to an undefined property" for all properties of models that are not direct descendants of the Model class

Larastan Version: 2.9.7
Laravel Version: 10

Description
Models that are not direct descendants of the Model class are not properly instantiated in the hasDatebaseProperty method of the Larastan\Larastan\Properties\ModelPropertyHelper class. (There is a typo in that method name btw)
Laravel code where the issue was found
class BaseModel extends \Illuminate\Database\Eloquent\Model {}

final class RealModel extends BaseModel
{
    protected $table = 'real_models';
}

With that configuration the table name returned in ModelPropertyHelper will be base_models instead of real_models resulting in undefined properties.

I use a base model and I don't have any issues, and we override the model table names with the $table property.
The code checks if Model is a parent, the class is not abstract, and it uses getTable(), so it should work:
https://github.com/larastan/larastan/blob/5948c964d711fee7859275713e906f172c9d2ca6/src/Properties/ModelPropertyHelper.php#L59-L82

Do you see any reason why $classReflectionOrTable is my BaseModel instead of the RealModel when doing a simple RealModel::first()->id ?

That means the generics are messed up. What does RealModel::query()->first()->id return?
You can also (and probably should) set BaseModel to be abstract which will prevent it from being new'd up

It returns the value of the field correctly.
Adding abstract is correct but it does not help with this specific problem it seems.

Hmm, just curious, but can you try the branch in this PR: https://github.com/larastan/larastan/pull/1874 to see if that fixes the issue?

That did not help, but the abstract thing actually helped. Sorry the cache is playing with me. I still have the undefined properties errors but now the problem seems to be in the SquashedMigrationHelper.
I already had to clean the SQL manually because the parser was crashing, so there might be more problems with it. (FYI it was crashing due to stored procedures)
Thanks for your help, I need to investigate more and will close this since it is obviously not a inheritance problem.


Card grid display component

Showing one row plus a bit of the next row with an option to expand the grid.  Will be used in multiple places across the site

The card components have already been created. You can find them in use on the template/[templateId]/section/new page:

          <CardHeading>{template.title}</CardHeading>
          <CardBody>
            <div dangerouslySetInnerHTML={{__html: template.text}}/>
          </CardBody>
          <CardFooter>
            <Link href={`/template/353535/section/s_mnopqr`}
                  className="button-link secondary">Select</Link>
          </CardFooter>
        </Card>

I'm closing this ticket, since the card components were built as part of this ticket: https://github.com/CDLUC3/dmsp_frontend_prototype/issues/111


Balance at 0, cannot acces to my funds

Hello,
I sent funds to my wallet but my balance is 0 and I cannot sent the funds to another address.
However the funds are here because I see below the Qr code:
"Your older addresses
X**************************************      .******* DASH"
I don't have any seed. How can I access my private key?

I managed to download the .HDSeed encrypted file, but I don't know how to decrypt it.

Hi. You should send support requests to<EMAIL_ADDRESS>to reach
the support personal.
The free coinmarketcap api stopped working last week and we had to switch
to exchange prices and fix some things on the backend. The site should now
work normally again.
Your seed is not known by the browser, you should have written it down when
the wallet was created. Private keys can be displayed if the wallet is in
the private key format, more info in the help section of the site.
Regards,
MyDashWallet
On Sun, Mar 15, 2020 at 11:18 PM Ludovic Lars<EMAIL_ADDRESS>wrote:

Hello,
I sent funds to my wallet but my balance is 0 and I cannot sent the funds
to another address.
However the funds are here because I see below the Qr code:
"Your older addresses
X************************************** .******* DASH"
I don't have any seed. How can I access my private key?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DeltaEngine/MyDashWallet/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMS3T7WLJGALQC46FDJTJLRHVH3XANCNFSM4LLNZEFQ
.

Hello,
Thank you for the quick update!
I managed to spend the funds from the "Old Website" tab. It didn't work yesterday, but it worked today.
Next time I will use a 12-word seed.
Regards,
Ludovic Lars.


feat(cdc): allow decimal to rw_int256 and varchar

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Resolve https://github.com/risingwavelabs/risingwave/issues/15977. With this PR, numeric in PG can be converted into rw_int256 or varchar implicitly through CDC.
The only thing user need to do is when create table, mark the data type of the column corresponding to numeric as rw_int256 or varchar.
One thing worth mentioning is that the numerics with decimal parts will be considered as NULL is the column is to be converted to rw_int256.
Currently, it's only for postgres. We can add support for mysql later if requested.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[x] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Also kindly mention @bestmike007


bug: no function arguments with pyright

Neovim version (nvim -v)
v0.9.1
Operating system/version
TUXEDO OS 2 x86_64 (Ubuntu), Kernel 6.2.0-10018-tuxedo
Output of :AerialInfo
Aerial Info
Filetype: python
Configured backends:
treesitter (supported) (attached)
lsp (supported)
markdown (not supported) [Filetype is not markdown]
man (not supported) [Filetype is not man]
Show symbols: all symbols
Describe the bug
The problem is that Aerial doesn't show function arguments. The screenshot below should be self-explanatory.
The python function is:
def getenv_mandatory(var_name: str) -> str:
    value = getenv(var_name)
    if value == "":
        value = None

    if value is None and "pytest" not in sys.modules:
        raise MissingEnvironmentVariable(f"{var_name} does not set in environment, but it's mandatory")
    return value or ""

Aerial shows:

getenv_mandatory
--- value
--- value

I would expect var_name there, but it's not.

Steps To Reproduce
I use pyright as python lsp. pyright version is 1.1.326. nvim is v0.9.1
Expected Behavior
Aerial shows:

getenv_mandatory
--- value
--- value

I would expect var_name there, but it's not.
Minimal example file
No response
The configuration of  plugin via Lazy:
--- @type LazyPluginSpec
local aerial_plugin = {
  'stevearc/aerial.nvim',
  event = "VeryLazy",
  commit = "551a2b679f265917990207e6d8de28018d55f437",
  opts = {
    filter_kind = false,
    layout = {
      placement = "edge",
    },
    attach_mode = "global",
  },
  config = function(_, opts)
    require('aerial').setup(opts)
    vim.keymap.set('n', '<leader>to', ":AerialToggle!<CR>")
  end,
}

Additional context
Thank you for this wonderful plugin.

This is a feature request, and a duplicate of #111


When used with another plugin that reads CSS files, this plugin throws erroneous errors

I am using this plugin, as well as another called typescript-plugin-css-modules, which scans CSS module files and creates TS typing files with the classnames declared therein. For example, I can create a CSS file with a class .red and then import my CSS file into a TS file as a styles object, and this plugin will ensure that styles object is typed appropriately such that it has a styles.red property.
When I use these two plugins at the same time, I end up with a lot of errors in Visual Studio 2017 related to TSLint failures, but the failures are in the CSS files.
For example:
Error	TS1	(TS) Expected linebreak to be 'CRLF' (linebreak-style)	D:\Web\Renderer.Core\Client (tsconfig or jsconfig project)	D:\Web\Renderer.Core\Client\src\Activate\Activate.module.scss	1	IntelliSense	Active	Microsoft.CodeAnalysis.TypeScript.EditorFeatures [TypeScript Tools for Microsoft Visual Studio]

My plugins section of tsconfig.json is set to ignore *.module.scss files (I tried this to fix the issue but it didn't work). Here's my whole plugins config:
		"plugins": [
			{
				"name": "typescript-plugin-css-modules"
			},
			{
				"name": "typescript-tslint-plugin",
				"configFile": "tslint.json",
				"suppressWhileTypeErrorsPresent": false,
				"alwaysShowRuleFailuresAsWarnings": false,
				"exclude": [
					"*.module.scss"
				]
			}
		],

I am happy to provide more information but I'm unsure what would be useful.
I also filed the issue for the other plugin, but given that the errors are actually linting errors, I have a feeling it is not that plugin's bug. https://github.com/mrmckeb/typescript-plugin-css-modules/issues/64

Closing as TSLint has been deprecated in favor of ESLint. We are archiving this repo as this project is no longer maintained

Closing as TSLint has been deprecated in favor of ESLint. We are archiving this repo as this project is no longer maintained


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative/serving-writers
/assign knative/serving-writers
Produced by: knative-sandbox/knobots/actions/update-deps

/close
I think this does not need to merge as it is a permission change.
In fact, github action fails https://github.com/knative/networking/actions/runs/5657253302/job/15325904609?pr=828


Replace create at date from CSV with build date

Description

Replace create at date from CSV with build date
Add the requested info in the README ( now you can see an example of how to check the options and how to filter by names )
Re-gen all reports

Pull Request Test Coverage Report for Build 816055740

0 of 10 (0.0%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.0009%) to 1.222%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/actions/get_bundle.go
0
1
0.0%

pkg/reports/bundles/data.go
0
1
0.0%

pkg/reports/packages/data.go
0
2
0.0%

pkg/reports/bundles/report.go
0
3
0.0%

pkg/reports/packages/report.go
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/reports/packages/report.go
1
0%

Totals

Change from base Build 811194931:
-0.0009%

Covered Lines:
16

Relevant Lines:
1309

💛  - Coveralls


Fix context size of a tokenized dataset

Description
Allowing for a context_size to be smaller than a dataset sample length in the case of a tokenized dataset. Adjusted tests to check for different cases of context_size. The motivation of this is to allow different applications like othelloGPT.
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] I have not rewritten tests relating to key interfaces which would affect backward compatibility

You have tested formatting, typing and unit tests (acceptance tests not currently in use)

[x] I have run make check-ci to check format and linting. (you can run make format to format code if needed.)

Thats a good idea @chanind! We just noticed that in activation_store.py the package 'warnings' is not imported and the warnings are instead simply printed. Is there any particular reason for that? If not we are happy to rewrite the printed warnings as warnings.warn.

No real reason we haven't used proper warnings - definitely want to switch things over to proper warnings / logs!


Timed out executing MongoDB command "db.version("

new scrapbook

type:
db.version(

Execute
!) After a minute, you get a timeout error
EXPECTED: An actual error, immediately

Expecting: error message


Why not write a Go backend for the OCaml compiler?

Disclaimer: I come here in peace, in an effort to understand your thought process, not to proselytize or ask you to change direction.
Looking at your goals, it seems to me that writing a Go backend for ocamlc (e.g. it already has a JS backend using Bucklescript, a bytecode backend, and a native code backend) fulfills all the goals.

Pros:
You benefit from

ReasonML's front-end which is actively maintained.
OCaml's type-checker which is actively maintained.
Having alternate backends to test your backend for correctness.

Unsure if Pros or Cons:

You'll end up writing the code in OCaml instead of Go.
A lot of the type system is already in place, however it may not be exactly what you're looking for.

Cons:

Different licensing/copyright setup compared to what you currently have.
You need to dive into a large, unfamiliar codebase instead of starting from a clean slate.

Of course, there are lots of more considerations that I haven't listed here.
I'd love to hear your opinion on this idea/why you didn't choose to go this route?

Thanks for this! It was really thoughtful, I appreciate it.
There are definitely strong benefits for writing a Go backend to OCaml. My OCaml is mediocre but so is my Go so there's not a lot of difference there. One downside I could see is that OCaml has issues on Windows and incomplete support, I'm pretty sure, so going that route would mean you end up with targets Go (and thus Braid) could build for, but that the Braid compiler couldn't be run on. That's not optimal.
Ultimately there were two reasons I chose to write Braid in Go:

It seemed neater to write the compiler in the language it is for — this means it only has the Go compiler (and some Go tooling) as dependencies;
I wanted to write a language for fun as well as for practicality, and part of the enjoyment is to figure out my own syntax and how best to fit an ml-like language to Go concepts. I do really like OCaml, but I wanted to make something of my own rather than just port an existing language, in much the same way that Elm is a lot like Haskell but also its own thing. I guess that's not entirely practical, but I didn't set out to be entirely practical, that's less fun :)

Hope that makes sense!

One downside I could see is that OCaml has issues on Windows and incomplete support, I'm pretty sure

While I know that it isn't as smooth as on Linux, there is an answer on SO that probably works. On the support bit, yes, you may have a bit more trouble finding help, I agree, but usually people on Reddit/OCaml Disqus are happy to help.

It seemed neater to write the compiler in the language it is for — this means it only has the Go compiler (and some Go tooling) as dependencies;

By that logic, the C/C++/Go compilers should be written in assembly :stuck_out_tongue:

Elm is a lot like Haskell but also its own thing

In Elm's case (at least the way I understand it from the outside), it is that Haskell has a lot of complexity which Evan thinks is not necessary for writing good front-end applications. However, in your case, it seems to me that Braid is much closer to OCaml (at least, in terms of target features).
However, the bit about "fun" does make sense to me. It may not be as exciting to contribute to an already existing project as to create something new by yourself and freely experiment with things.
Thanks for the answer!


Concurrency issues on OSX 10.11.1

The version of SQLite installed on OSX 10.11.1 (sqlite <IP_ADDRESS> 2015-05-20 18:17:19 2ef4f3a5b1d1d0c4338f8243d40a2452cc1f7fe4) causes the test failure included below.
Microsoft.Data.Sqlite.SqliteConcurrencyTest.Prevents_timeout_exception [FAIL]
      System.AggregateException : One or more errors occurred.
      ---- Microsoft.Data.Sqlite.SqliteException : SQLite Error 5: 'database is locked'

This does not appear on OSX 10.10, or local builds of sqlite 3.8.10.

@natemcmaster how does resolution work... is it easy to use a different version that the one that is included?

Resolution on OSX uses the default behavior of dlopen which means it will search $LD_LIBRARY_PATH, $DYLD_LIBRARY_PATH, current working      directory, $DYLD_FALLBACK_LIBRARY_PATH. Using a different version means either changing the env variables (which is a bad idea) or symlinking to in the cwd a version of sqlite3.dylib that doesn't have this bug (easier, but also a little tricky for average users.)

Investigated more. This bug is due to a deficiency in the version of libsqlite3 bundled in OSX, and we can't avoid these errors. To workaround, users can use the following steps:

Install homebrew http://brew.sh/
brew install sqlite3
When executing an app, set the LD_LIBRARY_PATH environment variable to include the homebrew library.

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Cellar/sqlite3/3.10.0/lib/
$ dnx run


Work UI and UX design into how to contribute

I think there are more structural changes that may be necessary; specifically, the code/non-code division reinforces the very thing it's trying to address. But ... that requires more thought, so here's a quick fix.
PS. I made a grave omission when I first submitted this PR -- all due credit to @aurynn for spotting the issue in the first place :1st_place_medal:

Thanks, this is a definite improvement. Agree that further change is needed including excising the code/non-code distinction.

This PR fixes a decent number of the issues I had with the language framing that devalued design skill and knowledge, that I was commenting on on Twitter.
I agree with @joshsimmons that the code/not-code split should not be present. Centring code as distinct from other contributions is a huge part of the contempt culture that led to the design-is-devalued framing in the first place, and (as #267 brings up) UX is possibly one of the most important parts of a project as a whole.


Fix refund payment when cannot create an order in Stripe

Fix for zombie payments - Stripe case this time.  We have to update payment status without changing to_confirm flag. In case when we have processed payment we need to have payment with FULLY_CHARGED before order creation.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-4880 STRIPE - zombie payments


Validators

There is a need for some validators:

required
min length
max length
is a number
email
url

#6

#6 merged into main branch


[Contributor docs] Component Lifecycle proposal

Internal docs for contributors to better understand our component lifecycle.
Problems

Alpha and beta status is confusing for folks
We don't communicate that something is being planned for deprecation

New
New documentation around how we approach component lifecycle.
Testing & Reviewing
Content needs to be reviewed and agreement formed around naming conventions.
Merge checklist

[ ] Added/updated tests
[x] Added/updated documentation
[ ] Added/updated previews (Storybook)
[ ] Changes are SSR compatible
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge
[ ] (GitHub staff only) Integration tests pass at github/github (Learn more about how to run integration tests)

Hey @tbenning, noticed this is going stale. Were you ready for engineering-reviewers to jump in? If so, could you please mark as "ready for review" and I'll keep an eye out to make sure we get some movement here?

Closing for now, feel free to reopen!


Xelink info generation feature

This adds xelink info generation option to gpu_fakedev generator.

Btw. Why I do not have an option to mark my comments as resolved?  Is that reserved only for project maintainers?

@hsyrja can you set the resolved items as resolved (as I cannot)?
@tkatila can you approve this for CI checks?   Any comments on it?

@tkatila can you approve this for CI checks? Any comments on it?

Approved for CI.

commits must be squashed

@hsyrja can you squash? We could then merge.

@hsyrja it's still two commits.

I triggered the checks. If there's no new findings, I think it's fine to squash and merge.

@hsyrja feel free to squash and we can merge. GPU e2e is currently broken.

@hsyrja Ukri's DRA support changes were merged to fakedev code, so your PR will now conflict with the code in the repository, and needs to be rebases & fixed (along with commit squashing requested earlier).

@hsyrja Ukri's DRA support changes were merged to fakedev code, so your PR will now conflict with the code in the repository, and needs to be rebases & fixed (along with commit squashing requested earlier).

Looks like this PR is not important so should we just close it?


how to download all latest video from youtube channel

Checklist

[x] I'm asking a question
[ ] I've looked through the README and FAQ for similar questions
[ ] I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
hi,
please let me know how to download all videos from any youtube channel and if i want to download latest today video only then how to download

https://github.com/ytdl-org/youtube-dl#video-selection-1


Lower required typescript version in peer dependencies

Originally, it was intended to use TS 4.6 features while solving #54. But it was found out that it can be resolved without upgrading TS.

Codecov Report

Merging #151 (7c9fa9f) into dev (ad1469e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               dev      #151   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          422       422
  Branches        29        29
=========================================
  Hits           422       422