Rate limiting when scheduling proxy client requests

Context
If a proxy client request is configured to check an external resource, such as an API for each client, this can overwhelm the API if there are a lot of clients which match, and create many checks to be made and executed in a short amount of time. This creates a thundering heard, and can result in API timeouts or exceeding API rate limiting.
Changing the interval doesn't mitigate the problem, and just creates bursts of jobs at the set interval. A solution which would distribute jobs over time would reduce the bursty nature of scheduling the checks
Currently, I'm experiencing this with a large number of clients in AWS, and am using a proxy check for checking the AWS API for specific resources per client. This results in many requests to happen all at once against the API, and leads to being blocked by the AWS API, and some checks to randomly fail.
Expected Behavior
Optional check attribute is added which limits the rate that check requests are processed simultaneously. Setting this value to 10 for example would ensure that the check is only scheduled to be executed a maximum of 10 checks per second. Omitting this value would result in no rate limiting.
Current Behavior
With no rate limiting in place, check requests which apply to many clients can potentially DDoS external services.
Possible Solution
If clients honor the issued timestamp in the check request, and nack the check if the issued time is in the future, then on the server end, adding seconds (based on the rate limiting attribute of the check) to the issued timestamp will result in issued times to be in the future while quickly publishing checks to the transport, and not require sleeping in the loop to wait for the right time to publish the proxy check.
Your Environment

Sensu version used: 0.28.5
Operating System and version: CentOS 6.8

@stevenviola are you not able to split the proxy check up into AWS resource specific checks? This would alleviate the problem.

I am using the sensu-plugins-aws plugin, and running check-instance-health.rb for each instance. This creates an API request per instance. I need to have the check results have the source of the instance for notification purposes, and to also provide meaningful content.
My proxy check request looks like the following:
{
  "checks": {
    "check-instance-health": {
      "command": "check-instance-health.rb -f '{name:instance-id,values:[:::ec2-id:::]}'",
      "handlers": [
        "mailer"
      ],
      "interval": 600,
      "occurrences": 5,
      "refresh": 7200,
      "subscribers": [
        "roundrobin:aws-checks"
      ],
      "standalone": false,
      "ttl": 1800,
      "proxy_requests": {
        "client_attributes": {
          "instance-type": "ec2"
        }
      }
    }
  }
}

Defining a check per instance would be way too much to maintain in a dynamic environment, and with so many hosts. Even if this were not a proxy check request, when the sensu server schedules the check, all the hosts will check themselves against the API at the same time, and basically have the same impact. I figured with the proxy check request, using a round robin would add some delay, but it was not enough to avoid the AWS rate limiting.

I really ask myself if running these aws cloudwatch based checks really makes sense. It might be better to use cloudwatch alarms and send the results to an sns topic which calls a lambda function and creates a sensu event? This is a general concern because the aws checks consume a lot of cpu resources ...

@runningman84, while I agree with your concerns, on a large scale dynamic environment, it is very useful to have all of your alerts going through the same portal for the operations teams. Additionally, using sensu to do these checks allows for a more centralized configuration management which is also very useful when you have many disconnected teams all trying to achieve the same results.

@runningman84 yeah, I have noticed higher CPU usage when using the aws sdk. This is off topic, but do you suggest having the lambda function parse the Sensu API for the clients which match, get the stats from cloudwatch, and then use the /results endpoint to publish the results? I can see this as a viable solution, so I'll investigate to get around the current issue I'm having.
As for the rate limiting, proxy request checks introduce the ability to create many individual checks, which are all executed on the clients at the same time, which is the crux of the concern. For example, in the SNMP pollers example from the docs, if you have a lot of snmp clients in your infrastructure which need to be checked, the pollers who execute the checks will issue many snmp requests at once, which can create lots of traffic and essentially create an SNMP Amplification attack within the local network. Some method of spacing out the requests would decrease the burstiness of the checks, regardless of what the check is trying to run.
Hope that provides some additional context to this.

@stevenviola yes I think we should create a lambda function which will run hourly or is attached to aws config for service discovery. This lambda function should create corresponding "fake" clients in sensu for elb, rds, dynamodb and other AWS services. Furthermore it should create cloudwatch alarms which would call a lambda function which would create sensu events.
This kind of solution would reduce the cpu usage on sensu servers a lot...

I believe we can implement a simple opt-in feature that gets us something that resembles rate limiting, providing part of the functionality. Proxy requests "splay" (boolean) would tell Sensu to distribute proxy check requests within a time window determined by the check "interval" and the number of clients in the registry that match, e.g. "proxy_requests": {"splay": true} -> splay = check_interval * .9 / client_count.

This would be really helpful to have.

Closed by #1756 🎉


[LaTeX Bug] (Not Urgent) Certain glyphs scale wrongly

I am using fyne.io as the renderer, I can't see how anything in my implementation could be influencing the pathing. (It should be noted that this is far better than not rendering at all! Thanks for fixing that part :D )
Here is my implementation:
package main

import (
	"fyne.io/fyne/v2/app"
	"fyne.io/fyne/v2"
	"github.com/tdewolff/canvas"
	canvasFyne "github.com/tdewolff/canvas/renderers/fyne"
	"fmt"
)

func drawLatex(latex string, ctx *canvas.Context) {
	formula, err := canvas.ParseLaTeX(latex)

		fmt.Println(formula)
	if err != nil {
		panic(err)
	}

	ctx.Scale(20, 20)
	ctx.SetFillColor(canvas.Black)
	ctx.DrawPath(200, 400, formula)
}

func main() {
	a := app.New()
	w := a.NewWindow("Some mighty fine math you got there ;)")

	c := canvasFyne.New(800.0, 600.0, canvas.DPI(300.0))
	ctx := canvas.NewContext(c)

	w.Resize(fyne.Size{800, 600})
	drawLatex("\\left(\\frac{\\sqrt{35x^{15-b^{3}}}}{2}\\right)^{2}", ctx)

	w.SetContent(c.Content())
	w.ShowAndRun()
}

This works great aside from a few strange rendering bugs:
This formula '\int_{2}^{5} \frac{\sqrt{35x^{15-b^{3}}}}{2}' should look like this (shown in Obsidian (which uses MathJax iirc))

In my program it looks like this:

Other similar issues occur with square roots and parenthesis: (these formulas: "\sqrt{\frac{\sqrt{35x^{15-b^{3}}}}{2}}" and "\left({\frac{\sqrt{35x^{15-b^{3}}}}{2}}\right)^2")
Obsidian:

My program:

Again, if there are other more pressing bugs tackle those first, just wanted to make you aware about this in case it is an easy fix or you are bored and looking for something to do :P

Btw this formula "\frac{\sqrt{35x^{15-b^{{{{3}^{a^{b^{c^{d^{e^{f^{g^{h^{i^{j}}}}}}}}}}}}}}}}{2}" albeit very stupid crashes the program. It is valid LaTeX, I checked it several times. This is what it should look like:

Instead I get this error after running ./main:
This is TeX, Version 3.141592653 (INITEX)
**(output.tex
(TeXinputs:plain.tex Preloading the plain format: codes, registers,
parameters, fonts, more fonts, macros, math definitions, output routines,
hyphenation (TeXinputs:hyphen.tex)) [1] )
Output written on output.dvi (1 page, 564 bytes).
Transcript written on output.log.
<nil>
panic: bad command: stack is empty at position 361

goroutine 1 [running, locked to thread]:
main.drawLatex({0x1030595bc?, 0x10304b268?}, 0x14000529e00)
	/Users/24ayden.zinter/GOSTUDY-Shared/gui-playground/fyne/main.go:24 +0x130
main.main()
	/Users/24ayden.zinter/GOSTUDY-Shared/gui-playground/fyne/main.go:42 +0x200

I just checked what would happen if I removed an exponent ("\frac{\sqrt{35x^{15-b^{{{{3}^{a^{b^{c^{d^{e^{f^{g^{h^{i}}}}}}}}}}}}}}}{2}") and it ran. It looks like this tho:

I'm actually so confused, if you remove another exponent you get a similar error. For some reason rendering this exact amount of exponents doesn't crash. It doesn't start working again until the formula "\frac{\sqrt{35x^{15-b^{3^{a}}}}}{2}" it still fails to render the higher exponents:

This stuff may be related to the scaling issues, idk.

Yes, I've noticed similar issues as reported by https://github.com/tdewolff/canvas/issues/231. The problem is with the star-tex.org/x/tex library however, and I've actively looked for an improvement but there is no other library it seems. Improving the library is also difficult, it seems to be a non-trivial amount of work and the author(s) and I don't have a lot of time to fix it.
There are two options: implement font parsers for the LaTeX font formats (quite some work), or port the same library for XeTex which has unicode support (quite some work too). Rewriting a formula parser and parsing the GSUB etc tables for fonts would be even more work.
I'm happy if you can find a good alternative, but unfortunately I don't have time for such a large project right now.

No worries, appreciate the fast reply tho. Building with -latex is annoying but I'm willing to deal with it for the time being. I figured star-tex would be the problem.

Works fine with -tags latex. Somewhat annoying, but better than the original solution I came up with of running a KaTeX or Mathjax server locally and integrating it into my application. Maybe once I am a better programmer I can work on a parser or something. For now I will just pretend like the problem doesn't exist. Thanks for all of your help anyway :D

Yes, using the system's LaTeX binary will work if you control the target machine. Great to hear you have that option, and you're always welcome to try and submit PRs if you wish! Thank a lot for all the feedback and I hope this library can help you build something useful ;-)


Add utility method on emulator

Update Emulator class to support manipulating game state from initial state like below
and release as 0.1.1
from pypokerengine.api.emulator import Emulator
from examples.players.fold_man import FoldMan
e = Emulator()
e.set_game_rule(3, 10, 5, 0,)
p1, p2, p3 = FoldMan(), FoldMan(), FoldMan()
e.register_player("uuid1", p1)
e.register_player("uuid2", p2)
e.register_player("uuid3", p3)
players_info = {
    "a": { "name": "hoge", "stack": 100 },
     "b": { "name": "fuga", "stack": 100},
     "c": { "name": "boo", "stack": 100 }
}
state = e.generate_initial_game_state(players_info)    # <= new method
state, events = e.start_new_round(state)
e.generate_possible_actions(state)  # <= new method
# returns => [{'action': 'fold', 'amount': 0}, {'action': 'call', 'amount': 10}, {'action': 'raise', 'amount': {'max': 90, 'min': 15}}]
state, events = e.apply_action("call", 10)
state, events = e.run_until_round_finish(state)

Coverage increased (+0.02%) to 97.838% when pulling dc28d08e0f643f1d65e35c92af7ba7a4e63248ef on tweak-emulator into 8c63b986e82ef4e1d3510ff83a40af25d749c6de on master.

Coverage increased (+0.02%) to 97.838% when pulling 5c12f5ccf2896e64356c4d656db58a697fff1ff1 on tweak-emulator into 8c63b986e82ef4e1d3510ff83a40af25d749c6de on master.


Use docker compose to test multiple anchor platform configurations end-to-end

What:

use docker compose to allow for end to end testing of multiple different anchor platform configurations
docker compose will spin up a full anchor platform stack (postgres, kafka, anchor platform/reference server) with
different config files and execute the end_to_end_test.py tests on it.
added testing for default configuration, omnibus allowlist configuration, unique addresses configuration
update documentation for omnibusAccounts configuration (use a comma separated list)

Note: putting the docker-compose configs in the integration-tests directory since we plan to eventually convert the end_to_end_test.py to kotlin and merge it into integration-tests
Why:
We need to be able to automate the testing of multiple different anchor platform configurations and make sure its working end to end

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/

thanks for the review @marcelosalloum. wrt your comment on using symlinks, i looked into this and it seems like symlinks are not recommended with docker, first two links from a google search:
https://stackoverflow.com/questions/38485607/mount-host-directory-with-a-symbolic-link-inside-in-docker-container
https://stackoverflow.com/questions/63099376/docker-container-cant-open-symlinked-file-in-volume-mount-during-startup

Reference Server Preview is available here:https://anchor-ref-pr518.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr518.previews.kube001.services.stellar-ops.com/


error "ReferenceError: xx is not defined" when extends class

child class extends parent, must have filename larger than parent class
otherwise error in title will happen
issue reference
https://issuetracker.google.com/issues/192152736
more description
filename: AAAA.ts
(any parent class)

filename: AAAA1.ts
(any extends the parent class)

ie:

(child filename) AAAA1.ts > (parent filename) AAAA.ts, it works
child filename< parent filname, it failed

This is more of an apps script issue, and specifically the V8 runtime, than clasp. Apps Script doesn't really have modules and imports in the same way that JS/TS does. With V8, the file order matters in terms of how code is parsed, and referencing a global in one file before it's defined can cause an error. See https://developers.google.com/apps-script/guides/v8-runtime/migration
Because order matters, clasp sorts the files by name so they're uploaded in a consistent/predictable order. You can exploit that to get the ordering correct.
The alternative approach is to use a different build pipeline. For example, write code with imports so dependencies are clearly expressed, then transpile and bundle into a single JS using rollup or something similar. Then use clasp to push the bundled code.

This problem is kicking my butt. If I had known ahead of time that .gs files don't really support TypeScript, I wouldn't have spent so many hours converting them just now.
I've unsuccessfully tried the workarounds at https://github.com/google/clasp/blob/e851215b8abe4de282c62c4d61076c85e89a56ba/docs/typescript.md#typescript-support and https://github.com/google/clasp/issues/796#issuecomment-663966924 and am not sure what else to try at this point.
If I figure something out, I'll post here.

I have been there too.

I'm inclined to remove typescript support from clasp if/when there's a next major version where we can break things. It doesn't really do the things people expect and I'd rather clasp stay focused on sync/project settings and leave compilation to better suited tools.

@sqrrrl I can understand that and I think it's totally valid to focus on the sync part and let the users manage their transpilation/complilation with the tools of their choice. There are many ways documented how things can be done.
Having the clasp project is already a huge win! Thanks therefor.

my workaround: parent class should have lower alphabet order,
eg: AppService extends 1AppServiceBase


cant get vercel any other backends?

i cant get vercel considering i dont have a phone lmk if u know any others

you dont need a phone to use vercel..?


Missing Equipment

Nagnarok; Progression of Fervor and Belief from recent event not loaded in dbase

Item Nagnarok is flagged as "not released yet" in /static/GL/data.json (Line 110).  The same is true of the Progression of ... abilities on lines 2113 and 2114 respectively.


Go to definition menu item inactive with rope present.

From<EMAIL_ADDRESS>on 2015-01-10T17:21:20Z
Spyder Version:  2.3.2
Python Version:  2.7.6
Qt Version    :  4.8.5, PyQt4 (API v2) 4.10.3 on Linux
pyflakes >=0.5.0:  0.7.3 (OK)
pep8 >=0.6      :  1.5.7 (OK)
IPython >=0.13  :  2.3.0 (OK)
zmq >=2.1.11    :  14.4.0 (OK)
pygments >=1.6  :  1.6 (OK)
pandas >=0.13.1 :  0.13.1-656-gf30278e (OK)
sphinx >=0.6.6  :  1.2.3 (OK)
psutil >=0.3    :  None (NOK)
rope >=0.9.2    :  0.10.2 (OK)
matplotlib >=1.0:  1.3.1 (OK)
sympy >=0.7.0   :  None (NOK)
pylint >=0.25   :  None (NOK)
What steps will reproduce the problem?

Right click on object and Go to definition is greyed out. 2. 3.

What is the expected output? What do you see instead?
That with rope installed the Go to definition option should be active.
Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=2109

From ccordoba12 on 2015-01-10T14:29:41Z
Status: Accepted
Labels: Cat-Editor MS-v2.3.3

From<EMAIL_ADDRESS>on 2015-01-21T00:48:45Z
I have the same problem. In version 2.2.5 that's ok.

From<EMAIL_ADDRESS>on 2015-01-21T01:01:40Z
I use spider 2.3.2 (python 3.4.2) with rope 0.9.4-1. Go to definition in menu is inactive (grey colored), but shotcut Сtrl + G works good.

From ccordoba12 on 2015-02-06T18:19:21Z
issue #2164 has been merged into this issue.

From ccordoba12 on 2015-01-30T20:28:50Z
This issue was closed by revision d7b4362980f7 .
Status: Fixed


Go to Definition does not work when a label is fully selected.

Hi,
It seems there is an issue with the go to definition in vscode when a label is fully selected (either by selecting it manually or by double clicking it). If I partially select the label instead (single click on the label or select some characters of the label, but not all of them), then, the go to definition works perfectly.
Here is the output console when the label is fully selected :
[Trace - 9: 42: 19 a.m.
] Sending request 'textDocument/definition - (236)'.
Params: {
  "textDocument": {
    "uri": "file:///home/mlefebvre/Downloads/svlangserv/module1.sv"
  },
  "position": {
    "line": 7,
    "character": 9
  }
}

[Trace - 9: 42: 19 a.m.
] Received response 'textDocument/definition - (236)' in 1ms.
Result: []

When the label is partially selected :
[Trace - 9: 37: 02 a.m.
] Sending request 'textDocument/definition - (178)'.
Params: {
  "textDocument": {
    "uri": "file:///home/mlefebvre/Downloads/svlangserv/module1.sv"
  },
  "position": {
    "line": 7,
    "character": 3
  }
}

[Trace - 9: 37: 02 a.m.
] Received response 'textDocument/definition - (178)' in 2ms.
Result: [
  {
    "uri": "/home/mlefebvre/Downloads/svlangserv/module2.sv",
    "range": {
      "start": {
        "line": 0,
        "character": 7
      },
      "end": {
        "line": 0,
        "character": 14
      }
    }
  }
]

It seems that the response sent back by svlangserver is empty when the label is fully selected.
Setup :
svlangserver v0.3.4

code --version
1.60.2
7f6ab5485bbc008386c4386d08766667e155244e
x64

Thanks for reporting this.
This is one of those case where different clients send position differently. In my coc.nvim client, the position is the position of the character under cursor, but in vscode it seems to be the position of character after the cursor.
I will fix this by looking for the word at the provided position as well as previous position. Hopefully that keeps everybody happy.


Refresh the request detail page after performing actions

After performing an action from the request detail page, refresh the page so that the effects of the action can be seen.
The exception is removing the request - on performing that action, the user will be navigated to the requests page.
Omission from initial PR: It may be nice to add similar capabilities to the requests table, so that, for example, when you remove a request successfully it disappears from the table.
cc @tpetr @kwm4385 @wolfd

LGTM

LGTM


systemd cross compilation

Cross-compilation fixes to get systemd working.
Targeting staging because systemd is pretty low down the tree.

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘libapparmor-2.12.0’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/apparmor/default.nix:21 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Partial log (click to expand)
warning: working around a Linux kernel bug by creating a hole of 57344 bytes in ‘/nix/store/m7rs1ygymv1a2hadn18b5f89giv1gsvf-systemd-237/lib/systemd/system-generators/systemd-fstab-generator’
warning: working around a Linux kernel bug by creating a hole of 61440 bytes in ‘/nix/store/m7rs1ygymv1a2hadn18b5f89giv1gsvf-systemd-237/lib/systemd/system-generators/systemd-hibernate-resume-generator’
warning: working around a Linux kernel bug by creating a hole of 57344 bytes in ‘/nix/store/m7rs1ygymv1a2hadn18b5f89giv1gsvf-systemd-237/lib/systemd/system-generators/systemd-gpt-auto-generator’
warning: working around a Linux kernel bug by creating a hole of 61440 bytes in ‘/nix/store/m7rs1ygymv1a2hadn18b5f89giv1gsvf-systemd-237/lib/systemd/system-generators/systemd-system-update-generator’
/nix/store/k54b2y2zw2djqf3crw019h7p6mhrxnhq-libapparmor-2.12.0
/nix/store/qvisgqs7a94a31w1cqg38ccikjfg97br-libgcrypt-1.8.2
/nix/store/991gp2nq88brj9j961y286fhgrxv2gy8-libidn2-2.0.4-bin
/nix/store/zaz2kklrvsvnvf43482rvsgwmh0jamlp-lzip-1.19
/nix/store/58pwcbkqs3451qadd0q3fzk9xigww5fs-meson-0.44.0
/nix/store/m7rs1ygymv1a2hadn18b5f89giv1gsvf-systemd-237

Success on x86_64-linux (full log)
Partial log (click to expand)
warning: working around a Linux kernel bug by creating a hole of 2093056 bytes in ‘/nix/store/bb4d0d0cifbydqnajhj0n7k10smff3l0-systemd-237/lib/systemd/systemd-modules-load’
warning: working around a Linux kernel bug by creating a hole of 2088960 bytes in ‘/nix/store/bb4d0d0cifbydqnajhj0n7k10smff3l0-systemd-237/lib/systemd/systemd-socket-proxyd’
not an ELF executable
not an ELF executable
/nix/store/71s47qcwki818zwmj341lc1vh48qwq75-libapparmor-2.12.0
/nix/store/ygphd9gq0ac18jcf3w2s4kl1f36kypqy-libgcrypt-1.8.2
/nix/store/9fq9y3vd8047g1n0lllrmb6xc4l812vw-libidn2-2.0.4-bin
/nix/store/qrj8dgi1c1if6fh31qprwg3ninmdbcc6-lzip-1.19
/nix/store/i2v2kq3kn24ag8rlww8lwf0pfk8az517-meson-0.44.0
/nix/store/bb4d0d0cifbydqnajhj0n7k10smff3l0-systemd-237

This seems to be broken again.
I filed https://github.com/NixOS/nixpkgs/issues/53207 before I found this issue.

@vcunat What do we do about it?


A field with a null value causes LiteDbExplorer to crash

As described, setting a field value to null, or string.Empty causes LiteDbExplorer to crash. When viewing the collection with the offending record, select the row in the UI and the program terminates with a System.NullReferenceException
PS. Thank you for helping to keep this code-base alive!

Thank you!


feature support max_filter_ratio

Proposed changes
Add max_filter_ratio in session variables, default is 1.
When enable_insert_strict is false, importing data from tvf will check whether the proportion of filtered rows is greater than max_filter_ratio.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Does it works as broker load or streamload?

Does it works as broker load or streamload?

no, it only support insert

run buildall

run buildall

run buildall

run buildall


Added 'pkgset' beacon tests for SLES and RHEL minions (manager30 branch)

This PR brings the changes made in #60 and adapts these to manager30 branch.
This changes should be also merged in master
/cc @MalloZup @mseidl

Merged in manager30 and master


Fix surface format for RGBA surfaces

The correct surface format for Big Endian + Alpha Last is _ColorRGBA. We were incorrectly setting it to ARGB, resulting in apps that use this combination to get blue and red swapped and broke some validation apps.
To uncover future regressions, also modified one of the images to be PNG in WOCCatalog.  We still need additional validation through OpenGL samples.  Opened Issue #859 to track this.
Fixes #847

@shahmeeresmail #Closed

                    fmt = _ColorARGB;

are we able to verify the rest of these?  it seems like we should have a UT for _CGImageGetFormat for the various supported/unsupported formats.

Refers to: Frameworks/include/CGSurfaceInfoInternal.h:80 in a64e395. [](commit_id = a64e395cdb36e55afb50b118cffd8139dfdb7560, deletion_comment = False)

How is this hit in the current code path? I searched through the code base and even with the new changes, I could not find an instance where we set both kCGBitmapByteOrder32Big and kCGImageAlphaNoneSkipLast simultaneously as the bitmapInfo for an object. Perhaps it is set somewhere as a magic number?

This was found in some internal apps we use for validation.  The apps use cocos2d.  The app creates CGBitmapContext with these surface spec, draws into it, and uses the bytes through openGL.

In reply to: 238941568 [](ancestors = 238941568)

                    fmt = _ColorARGB;

No.  validating this function is of no real use.  What we need really are true e2e validation for different apis that go through this.  #859 should really track it.

In reply to: 238881925 [](ancestors = 238881925)

Refers to: Frameworks/include/CGSurfaceInfoInternal.h:80 in a64e395. [](commit_id = a64e395cdb36e55afb50b118cffd8139dfdb7560, deletion_comment = False)

:shipit:

:shipit:

:shipit:


Not displaying at all on Safari and Opera Windows.

I'm working on a new site, and test it in firefox, chrome, ie, and everything work just fine except for safari and opera. Any clue? I don't really understand what files should i upload to the site to make it fully cross browser.
This is what I've done:
script src="js/jquery.js"></script
script src="js/mediaelement.js"></script
link rel="stylesheet" href="css/style.css" the styles are included here
div id="mp3">
audio id="player2" src="rate.mp3" type="audio/mp3" controls="controls" ></audio
I don't know how to make the code be displayed the right way, but in the actual html are the open and close tags < >

@

@Animalejourbano Closing old issues. If you'd like to reopen this, let us know. Thanks!


Better data family rendering

This changes the HTML backend to render the constructors of data families in the same way as other constructors (from regular data declarations) are rendered. One pleasant side effect of this is that docs/fixities on data family constructors end up in the final HTML output.
See this comment for a preview of what this looks like. I added that example as a test case in html-test/src/DataFamily.hs.

Note to self: try to fix https://github.com/haskell/haddock/issues/332 before merging this.

Hi!  As of today, patches for the ghc-head branch must be done on the Haddock mirror on GitLab, at https://gitlab.haskell.org/ghc/haddock.


bad performance on multiple mode

when mode: 'multiple' and you select large range of dates the more dates selected the bad the performance are..
and the more calendars are the better it gets
it can take 1.2 seconds for select to happen when there are 800 dates selected
see this screenshot from TimeLine tab

the main slowdowns are in is_year_selected and is_months_selected and in the function who called them which also get run multiple times
they get called multiple times per each click when each iteration can take 10ms on desktop

I didn't make any performance testing since I didn't really notice any issues. I believe you that selecting 800 dates (which are all shown at the same time) might hurt performance a lot, but this is honestly not a very common use case.
Still, feel free to open PR as better performance is always a good thing to have.

@nazar-pc  I am still unfamiliar with the whole code so maybe I will need a hint
I think that the fastest easiest solution would be to catch the results of is_year_selected , is_months_selected
and to invalidate the cache on dates changes
1.where is the best place to listen when date as been changes\added\something new happened?
2.what is the purpose of the function in line 463? I think we can give this function a name and split it to multiple tasks? as it look like it doing multiple things(not 100% sure) 60% time get spends in this function

Yes, this is kind of what I thought as well, simple caching will allow us to radically reduce number of calls to those functions.

I don't think you need to listen for this and invalidate cache, instead you might cache results for every fill() call locally in that function (all calendars are rendered inside in for loop) since nothing will change until we exit it
current_month is used in order to determine and add different class to the days on calendar that do not belong to months being shown (like first and last few days rendered)

I didn't dig deeper, will try to do so soon and walk through all open issues as I do from time to time.


power:govorner: add govorner to per domain.

For mult domains scene,,
activity and greety can be used at same time.
Let user to select domain governor.
Signed-off-by: zhuyanlin<EMAIL_ADDRESS>Summary
Impact
Testing

Is it possible to have governor by domain and still be able to define PM_GOVERNOR_CUSTOM on board level ?

Is it possible to have governor by domain and still be able to define PM_GOVERNOR_CUSTOM on board level ?

Yes, user can implement the custom domain and call pm_set_governor. Before this patch, choice option require user select PM_GOVERNOR_CUSTOM to disable greedy and activity governor. In the new approach, choice is removed, so user can disable the built-in governor directly without PM_GOVERNOR_CUSTOM.


"new notebook" does not prompt to save

it just blows away your edits.

if the current notebook is dirty, a dialog should appear that says
Do you want to save the current notebook before creating a new one?
If you do not save, your work is not lost, the current notebook will still be accessible from the Start Page, under the View menu.
Cancel / Yes, Save / No
where "no" is the default is you press return.


step/run-script: fix log timeout error message

It was including the hard timeout instead of the log timeout. Since the log timeout is usually much shorter than the hard timeout, this could lead to some confusing error messages.
Fixes #49.

Please let me know when a new deb package is released so I can update https://github.com/travis-ci/worker/issues/49

:sheep: :it: LGTM


The TypeScript language service died 5 times right after it got started. The service will not be restarted.

Issue Type: Bug
create a js file in create react app project
VS Code version: Code 1.49.0 (e790b931385d72cf5669fcefc51cdf65990efa5d, 2020-09-10T17:39:53.251Z)
OS version: Darwin x64 19.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 6, 4

Memory (System)
8.00GB (0.17GB free)

Process Argv
--crash-reporter-id 09d29ecc-fabc-4d09-a0e4-6fd3803405da

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

vscode-markdownlint
Dav
0.36.3

vscode-eslint
dba
2.1.8

githistory
don
0.6.9

gitlens
eam
10.2.2

prettier-vscode
esb
5.6.0

vscode-styled-components
jpo
0.0.31

LiveServer
rit
5.6.1

language-stylus
sys
1.11.0

vscode-mew
vsc
1.0.4

vscode-wakatime
Wak
4.0.8

slove the problem by change the version of typescript

@ChenAlmost Can you please let me know how ?
The auto complete is also gone now.

@ChenAlmost Can you please let me know how ?
The auto complete is also gone now.

@ChenAlmost Can you please let me know how ?
The auto complete is also gone now.

https://github.com/microsoft/vscode/issues/107331


feat: add mongo options

Codecov Report

Merging #2753 (bcad98e) into master (69d355e) will decrease coverage by 0.01%.
The diff coverage is 50.00%.

Impacted Files
Coverage Δ

core/stores/mon/clientmanager.go
17.39% <16.66%> (-3.67%)
:arrow_down:

core/stores/mon/model.go
93.61% <100.00%> (ø)

core/stores/mon/options.go
100.00% <100.00%> (ø)

core/stores/sqlx/sqlconn.go
56.37% <0.00%> (-1.48%)
:arrow_down:

core/stores/sqlx/tx.go
23.30% <0.00%> (+3.88%)
:arrow_up:


Do not merge: version update

Bumping version for monorepo to have proper version

Current dependencies on/for this PR:

main

PR #241

PR #242

PR #243   👈

This comment was auto-generated by Graphite.


Add support for boolean values

Updated the PR with your request.
One thing I'm not sure about yet, is if the boolean values should be "true" and "false" or "1" and "0".
Not sure what the "convention" is for that. :wink:

@aelita-mergebot r+

I've published it in 0.2.2 btw.


List of testers doesn't contain Latest Version and Latest Install Date info

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
pilot list contains names and emails of internal testers, but there are 0 devices listed and both 'Latest version' and 'Latest Install Date' columns are empty
Complete output when running fastlane, including the stack trace and command used
(Internal Testers list has reduced number of rows. In reality, there are more rows in this table, but they all look the same - 0 devices and empty two last columns)
pilot list
[07:20:14]: Login to iTunes Connect<EMAIL_ADDRESS>[07:20:18]: Login successful
+-----------+-----------+-------------------------------+---------+----------------+---------------------+
|                                            Internal Testers                                            |
+-----------+-----------+-------------------------------+---------+----------------+---------------------+
| First     | Last      | Email                         | Devices | Latest Version | Latest Install Date |
+-----------+-----------+-------------------------------+---------+----------------+---------------------+
| John      | Doe       |<EMAIL_ADDRESS>                | 0       |                |                     |
| Jane      | Doe       |<EMAIL_ADDRESS>                | 0       |                |                     |
| Sebastian | Osiński   |<EMAIL_ADDRESS>           | 0       |                |                     |
+-----------+-----------+-------------------------------+---------+----------------+---------------------+

+-------+------+-------+---------+----------------+---------------------+
|                           External Testers                            |
+-------+------+-------+---------+----------------+---------------------+
| First | Last | Email | Devices | Latest Version | Latest Install Date |
+-------+------+-------+---------+----------------+---------------------+
+-------+------+-------+---------+----------------+---------------------+

This is how the list looks on iTunes Connect

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
fastlane_version "1.81.0"

default_platform :ios

platform :ios do

  desc "Runs all the tests"
  lane :test do
    scan(scheme: "SchemeName")
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    gym(scheme: "AppName") # Build your app - more options available
    pilot(distribute_external: false)
  end

  desc "Deploy a new version to the App Store"
  lane :appstore do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "SchemeName") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  desc "Refresh dSYM files and upload them to Crashlytics"
  lane :refresh_dsyms do
    download_dsyms                  # Download dSYM files from iTunes Connect
    upload_symbols_to_crashlytics   # Upload them to Crashlytics
    clean_build_artifacts           # Delete the local dSYM files
  end

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

Environment
fastlane version (run fastlane -v):
1.81.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?
No

Hi @SebastianOsinski! Thanks for reaching out. Are you able to duplicate this issue from another bundle ID? I want to see if we can get exact repro steps so we can investigate. Thanks!

@TKBurner I tested it with another project (which has no fastlane integrated but I just ran pilot list and chose iTunes Connect team for this project) and those columns are filled there.

@SebastianOsinski Thanks for following up. Since you can't reproduce reliably this it's going to be a lot harder for us to investigate. Were all the testers added through Pilot for this app? A mix? Or all through Testflight directly? Can you test those states?

@TKBurner All te testers were added through iTunes Connect website. Not sure if its relevant, but the account I use with pilot has App Manager role, not Admin.

Hi Sebastian, This is a dupe of #4216.
Hi folks! 👋
The issue here is that Apple returns different data depending on how you ask for tester information. Counter-intuitively, when asking for a list of testers outside of the context of an app, you will find that the last three columns are filled with data.
(from someplace outside of your app directory)
pilot list -p<EMAIL_ADDRESS>+----------+---------------+----------------------------------+---------+----------------+---------------------+
|                                               Internal Testers                                               |
+----------+---------------+----------------------------------+---------+----------------+---------------------+
| First    | Last          | Email                            | Devices | Latest Version | Latest Install Date |
+----------+---------------+----------------------------------+---------+----------------+---------------------+
| Whoever  | Someguy       |<EMAIL_ADDRESS>      | 0       |                |                     |
| Another  | Person        |<EMAIL_ADDRESS>       | 1       | 1.0 (21)       | 04/27/16 09:44      |
+----------+---------------+----------------------------------+---------+----------------+---------------------+
+----------+-----------+---------------------------+---------+----------------+---------------------+
|                                         External Testers                                          |
+----------+-----------+---------------------------+---------+----------------+---------------------+
| First    | Last      | Email                     | Devices | Latest Version | Latest Install Date |
+----------+-----------+---------------------------+---------+----------------+---------------------+
| Another  | Person    |<EMAIL_ADDRESS>| 1       | 1.0 (21)       | 04/27/16 09:44      |
| John     | Doer      |<EMAIL_ADDRESS>         | 0       |                |                     |
+----------+-----------+---------------------------+---------+----------------+---------------------+
The version and install data is actually relative to a particular app, but we're not describing which one. 🙁
Then, when we ask for tester information in the context of an app, the shape of the data is quite different, so these fields are not available.
This is definitely a bug, or at least a feature design problem. But it will take some work to address properly. In the mean time, I'm inclined to remove those columns when we have no actual data available to display.
Does that make sense?


Shadow rendering is broken in GLES3 when using materials with cull mode set to Disabled

Godot version
3.3.2
System information
Windows 10
Issue description
When cull_disable is used in render mode of shader in order to show the back face of geometry, this shadow glitch appears when a directional light is perpendicular to a face. It only happens in GLES3 not in GLES2.
First part of the video without render_mode cull_disable, then with:
https://user-images.githubusercontent.com/24277634/124073221-3fd62080-da18-11eb-80a8-219c7f63939e.mp4
Steps to reproduce
Add a directional light perpendicular to a side of any geometry.  Rotate the light to better appreciate the problem.
Add a shader to geometry material and include:
shader_type spatial;
render_mode cull_disabled;
Minimal reproduction project
GodotGlitchShadow.zip

I think this is expected. You need to increase the shadow bias significantly to avoid artifacts with double-sided rendering.

@Calinou  Thanks. I think you right about GLES2. Planes don't project shadows when the backface is towards the light.


Allow importing Transform directly from transforms.api

Summary
I want to type hint a function that dynamically generates a list of transforms and I want to directly import from transforms.api import Transform while working locally, similar to how you can import it that way within the foundry code repository web UI.
Currently the Desired implementation will throw an error locally but work fine on foundry code repositories web UI.
Current implementation
from transforms.api import (
    Input,
    Output,
    configure,
    incremental,
    lightweight,
    transform,
)
from transforms.api._transform import Transform

def create_dynamic_transforms() -> List[Transform]:
    """Dynamically generate transforms for all pipelines.

    Returns:
        List[Transform]: List of transform functions with inputs/outputs
            defined for foundry to process.
    """
    results = []
    ...

Desired implementation
from transforms.api import (
    Input,
    Output,
    Transform,  # <--
    configure,
    incremental,
    lightweight,
    transform,
)

def create_dynamic_transforms() -> List[Transform]:
    """Dynamically generate transforms for all pipelines.

    Returns:
        List[Transform]: List of transform functions with inputs/outputs
            defined for foundry to process.
    """
    results = []
    ...

Checklist

[x] You agree with our CLA
[x] Included tests (or is not applicable).
[x] Updated documentation (or is not applicable).
[x] Used pre-commit hooks to format and lint the code.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Nico Mohr seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Can you create a changelog entry commit, guide is here: @nmohr192
https://emdgroup.github.io/foundry-dev-tools/dev/contribute.html#release-procedure

Thanks for the contribution. Can you create a changelog entry commit, guide is here: @nmohr192
https://emdgroup.github.io/foundry-dev-tools/dev/contribute.html#release-procedure

@nicornk done, sorry :)


is there an option to use semantic-ui-ember withough npm or Ember CLI?

just looking to download and include another JS i can use with require.js, to take care of the integration.

We plan to support it, it's just not available yet. Here is a coffeescript gist of the internal source I wrote we are using as the base to convert over to the semantic-ui-ember repository. Everything should work in the gist, and should mirror this repository fairly closely, but the api calls may change as we advance the semantic-ui-ember code base.
https://gist.github.com/aaronbhansen/45732d32ef20fe432053

@ehudkaldor as a curiosity what type of environment are you trying to import it into? Rails? Bower? Nuget?

none. i am but a poor lost circus developer, working alone. i am looking for a js file that i can put in my /packages/ and call it with require.js, to use it. i like Semantic and how it looks, and i am sliding into Ember to see how it feels. there is friction at the seams. specifically, using a Semantic dropdown, and bind it to an Ember model attr, so the value will be set on load and change on change.

@ehudkaldor Is this still an issue or can this be closed?

We aren't planning to have a non npm or ember cli install anymore.


Add valine comment system support

Increase the support of the valine comment system, I really like this project and hope to contribute to this, thx.
https://valine.js.org/en/index.html

@Emily-0616 Thank you for the PR. I think we should have a consistent configuration options for all commenting mechanism. We can move the configuration parameters under params.features section. The options could be something like this:
features:
  # Enable and configure portfolio
  portfolio:
    enable: true
  # Enable and configure blog posts
  blog:
    enable: true
    # Share post on different social media
    shareButtons:
      facebook: true
      twitter: true

  # Enable & configure "Notes" features
  notes:
    enable: true

 # Enable comment feature. There, should be only one of them.
 comment:
    enable: true
    disqus:
       shortName: toha-example-guide
    valine:
       appId: my-valine-app-id
       appKey: my-valine-app-key
       avatar: my-avatar
       placeholder: my-placeholder
       visitor: my-visitor-parameter
       lang: en
       recordIP: true
       enableQQ: true

Then, we can modify the comment support logic as below,
<!-- Add comment support  -->
{{ $commentEnabled := false }}
{{ if or site.Params.features.comment.enabled site.DisqusShortname }}
   {{ $commentEnabled := true }}
{{ end }}

{{ if commentEnabled }}
     {{ with site.Params.features.comment }}
        <!-- Add Disqus forum  -->
        {{ if or .disqus.shortName site.DisqusShortname }}
            {{ partial "disqus.html" . }}
        <!-- Add valine -->
        {{ else if .valine }}
            {{ partial "valine.html" . }}
        {{ end }}
     {{ end }}
{{ end }}

@Emily-0616 I have updated the PR to keep the comment section backward compatible with old configuration. Try pulling the latest main branch and let me know if everything working fine or not.

I just saw it. I'm sorry to cause you trouble.


Variable name mapping issue only when using ModuleConcatentationPlugin

Hi WP Team, congrats on the major version bump, and thank you for all of your hard work this year! Filing this in response to a tweet, would be great to get ETA on docs for ModuleConcatentationPlugin. We're aware it's an experimental feature. Keep us posted. Thanks!

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Medium sized JS app. 80k LOC, 100s of modules.
Switching Webpack 2.6.1 to 3.0.0 works fine, no issues.
Build fails when adding ModuleConcatentationPlugin().
With no other configuration changes, I get the following output:
ERROR in chunk main [entry]
scripts.bundle.js
Cannot map to variable name in module /Users/sdt/te/frontend/src/app/domainData/api/entities/elements/index.js (export 'COMMON_HEADERS')

Again, this only happens when adding ModuleConcatentationPlugin, build works fine without it.
If the current behavior is a bug, please provide the steps to reproduce.
Gist, with full config.
Uploaded BuildOutput.txt.
Unfortunately, my team is on a deadline and I'm unable to provide a minimal reproduceable repo.  I'm filing this issue in hopes that someone has an idea of what might be wrong.  I've tried this >6 times with re-cloning of the repos and a restart of my machine. It's possible I've left something out and this is a simple fix.
The best I can do is upgrade us to 3.0.0 (which doesn't break our builds), and stay on top of this issue.  If you have tips for how to create a minimal repo, let me know -- seems tough with how big our project is, I'm unsure where to start creating a failure case from a smaller repo.  I've subscribed to the issue and am happy to provide more context: thanks for your attention!

What is the expected behavior?
The failed mapping is an api constant (for headers) and used in over a dozen other files successfully in 2.6.1, both in prod and dev builds.  We have changed only two things: webpack version, and a one-line addition of the plugin.
The expected behavior is to not get this error (or any other future errors), and have a successful build.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Browser Version: Version 58.0.3029.110 (64-bit)
Node Version: v6.9.4
Webpack Version: 3.0.0
OS: OSX Sierra, Version 10.12.4 (16E195)

I'm having this error as well on a default export:
Cannot map to variable name in module /path/to/my/file.ts (export 'default')

I tried putting together a quick example but was unable to reproduce it with a simple use case. Commenting here because I'm happy to provide more information if it would be helpful.

I have this same issue. I'm using https://github.com/jmcriffey/babel-preset-es2015-ie/blob/master/index.js. If I replace this with just the standard babel-preset-es2015 I don't get the error.

It would help to see how COMMON_HEADERS is defined.

@sokra - yep, here's where it's defined.
export const COMMON_HEADERS = {
  Authorization: 'Bearer XXX',
  'Content-Type': 'application/json',
  'Access-Control-Allow-Origin': 'http://localhost:5000',
};

It's imported in the main file via an alias: api.

It might be worth seeing if there's a circular dependency in your project: https://www.npmjs.com/package/circular-dependency-plugin

@epoberezkin - I'm open. Can you please elaborate a little as to why you think it's a circular dep? We've dealt with it before.
Noting again that it works in WP2, the only change is adding this plugin:
Switching Webpack 2.6.1 to 3.0.0 works fine, no issues.
Build fails when adding ModuleConcatentationPlugin().

There are a lot of changes to module handling and the scope hoisting optimization is only applied to esm code I think... so a circular dep could cause a lot of trouble.

Got it, thanks. Can you suggest a way to find our potential circular deps?  To date, we've waited for errors to pop up and patched as-needed.

See the plugin I linked a few comments up.

Heh, I'm a tube light. Yep, will try this tomorrow and report back. Thanks again.

We definitely have/need circular dependencies. I take it that just means no ModuleConcatentationPlugin.

No one "needs" circular dependencies. ESM strict implementations won't even
allow them.
Often times it's just a matter of breaking up your files into smaller
chunks.
On Wed, Jun 21, 2017 at 10:49 AM Jed Verity<EMAIL_ADDRESS>wrote:

We definitely have/need circular dependencies. I take it that just means
no ModuleConcatentationPlugin.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/webpack/webpack/issues/5096#issuecomment-310102657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAiy1uTWw3zzuPYrU9hMwoJe-RwrGaGmks5sGS1tgaJpZM4N-7Ge
.

In any case, it was just a suggestion as to a potential cause. Might not be
the root issue.
On Wed, Jun 21, 2017 at 10:51 AM Evan Scott<EMAIL_ADDRESS>wrote:

No one "needs" circular dependencies. ESM strict implementations won't
even allow them.
Often times it's just a matter of breaking up your files into smaller
chunks.
On Wed, Jun 21, 2017 at 10:49 AM Jed Verity<EMAIL_ADDRESS>wrote:

We definitely have/need circular dependencies. I take it that just means
no ModuleConcatentationPlugin.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/webpack/webpack/issues/5096#issuecomment-310102657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAiy1uTWw3zzuPYrU9hMwoJe-RwrGaGmks5sGS1tgaJpZM4N-7Ge
.

Well, by "need" I only mean that our app currently depends heavily on them and we won't be able to design around this requirement soon. I otherwise agree with your theoretical assertion. :-)

No one "needs" circular dependencies. ESM strict implementations won't even
allow them.

Circular dependencies are allowed by the ESM spec. Implementations that doesn't allow circular dependencies are not spec conform. webpack and also the scope hoisting plugins allows circular dependencies. At least it should, if it doesn't this is a bug.

I had the same problem as well, with some circular dependencies. I've made a repository to show the bug.
https://github.com/Axnyff/reproduction.
yarn bundle (which just calls webpack produce the bug). Weirdly, if I comment at some lines in viewport-utils.js, it seems to work.

Here's another very minimal reproduction: https://github.com/mrdziuban/webpack-variable-name. With that I get:
ERROR in chunk main [entry]
dist.js
Cannot map to variable name in module /Users/matt/webpack-variable-name/b.js (export 'a')

It seems like the issue could be a combination of circular dependencies and referencing the global namespace. I was able to fix the issue in @axelnyffenegger's repo as well by commenting out these two lines.

@mrdziuban - nice.  Looks like referencing global creates an issue as long as it's in the dep graph? i.e. Even if the doesn't matter if the variable that failed to get mapped isn't related to the global reference, the bug might occur?

@probablyup - found some circular dependencies, and they relate directly to the files where the failed mapping is caught.
ERROR in chunk main [entry]
scripts.bundle.js
Cannot map to variable name in module /Users/sdt/BlacklightProjects/te/frontend/src/app/domainData/api/entities/elements/index.js (export 'COMMON_HEADERS')

ERROR in Circular dependency detected:
frontend/src/app/domainData/entities/entities.js -> frontend/src/app/domainData/entities/pages/pages.js -> frontend/src/app/domainData/entities/entities.js

ERROR in Circular dependency detected:
frontend/src/app/domainData/entities/pages/pages.js -> frontend/src/app/domainData/entities/entities.js -> frontend/src/app/domainData/entities/pages/pages.js

@sokra , or anyone else on the WP team: what would be your advice for our team?  We can resolve deps to see if ModuleConcatentationPlugin will work, but it's a nontrivial refactor.  If there's bandwidth to fix it relatively quickly, this is also something we can wait on. Thanks!

me too. the same with stdui.
the module reported is all the circular dependencies module in my project.
I think it is because of circular dependencies~~~

I just ran into this issue, but it's complaining about an export in third party code. Any suggestions in this case, since I can't really refactor it myself?

Another case that was down to circular references. After fixing the circular reference it worked fine. Strangely 3.0.0-rc1 I think did not have this bug.

Looks like this issue has some traction, and others in the community are experiencing the same thing.

@sokra  Any thoughts plans to add this bug to the team's backlog?
On my team, we're about to go to prod with a new product using the same configs. @lukeapage , do you feel staying on 3.0.0-rc1 would somehow be better?

Thanks.

+1 Also experiencing this issue.

Is this something that someone could provide in a reproducible simple isolated repo? This can help us debug this much quicker and get it fixed if it is a bug.

@TheLarkInn there have been a couple repos posted here that reproduce the issue. @axelnyffenegger posted his repo: https://github.com/webpack/webpack/issues/5096#issuecomment-310645058 and I posted mine as well: https://github.com/webpack/webpack/issues/5096#issuecomment-310675261. Do those help?


AI kit does not support Cross-region inference

Environment information
System:
  OS: macOS 14.6.1
  CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Memory: 94.01 MB / 16.00 GB
  Shell: /bin/zsh
Binaries:
  Node: 22.9.0 - /usr/local/bin/node
  Yarn: undefined - undefined
  npm: 10.8.3 - /usr/local/bin/npm
  pnpm: undefined - undefined
NPM Packages:
  @aws-amplify/auth-construct: 1.5.0
  @aws-amplify/backend: 1.8.0
  @aws-amplify/backend-auth: 1.4.1
  @aws-amplify/backend-cli: 1.4.2
  @aws-amplify/backend-data: 1.2.1
  @aws-amplify/backend-deployer: 1.1.9
  @aws-amplify/backend-function: 1.8.0
  @aws-amplify/backend-output-schemas: 1.4.0
  @aws-amplify/backend-output-storage: 1.1.3
  @aws-amplify/backend-secret: 1.1.5
  @aws-amplify/backend-storage: 1.2.3
  @aws-amplify/cli-core: 1.2.0
  @aws-amplify/client-config: 1.5.2
  @aws-amplify/deployed-backend-client: 1.4.2
  @aws-amplify/form-generator: 1.0.3
  @aws-amplify/model-generator: 1.0.9
  @aws-amplify/platform-core: 1.2.1
  @aws-amplify/plugin-types: 1.5.0
  @aws-amplify/sandbox: 1.2.6
  @aws-amplify/schema-generator: 1.2.5
  aws-amplify: 6.9.0
  aws-cdk: 2.169.0
  aws-cdk-lib: 2.169.0
  typescript: 5.6.3
No AWS environment variables
No CDK environment variables

Describe the bug
In the schema I can only define model like
const schema = a.schema({
  chat: a
    .conversation({
      aiModel: a.ai.model("Claude 3.5 Sonnet"),
      systemPrompt: `You are a very helpful assistant`,
    })
    .authorization((allow) => allow.owner()),
});

But i get an error in my region because it only allows access to Claude 3.5 via a inference profile. This is the error in de lambda:
{
    "timestamp": "2024-11-21T22:03:13.695Z",
    "level": "ERROR",
    "requestId": "37377ab9-f496-4cc3-b5a1-70115062ea0f",
    "message": "Failed to handle conversation turn event, currentMessageId=2ef0c357-e7ab-45b6-92be-71b855c65597, conversationId=411d1032-0704-4384-8952-5db49f27e5b1 ValidationException: Invocation of model ID anthropic.claude-3-5-sonnet-20240620-v1:0 with on-demand throughput isn’t supported. Retry your request with the ID or ARN of an inference profile that contains this model.\n    at de_ValidationExceptionRes (/var/runtime/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js:1195:21)\n    at de_CommandError (/var/runtime/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js:1028:19)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20\n    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/core/dist-cjs/index.js:165:18\n    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38\n    at async /var/runtime/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:34:22\n    at async BedrockConverseAdapter.askBedrockStreaming (/var/task/index.js:813:29)\n    at async ConversationTurnExecutor.execute (/var/task/index.js:1009:32)\n    at async Runtime.handleConversationTurnEvent [as handler] (/var/task/index.js:1043:7) {\n  '$fault': 'client',\n  '$metadata': {\n    httpStatusCode: 400,\n    requestId: 'dbb16273-798b-4bad-946b-ac30835b2c0f',\n    extendedRequestId: undefined,\n    cfId: undefined,\n    attempts: 1,\n    totalRetryDelay: 0\n  }\n}",
    "errorType": "ValidationException",
    "errorMessage": "Invocation of model ID anthropic.claude-3-5-sonnet-20240620-v1:0 with on-demand throughput isn’t supported. Retry your request with the ID or ARN of an inference profile that contains this model.",
    "stackTrace": [
        "ValidationException: Invocation of model ID anthropic.claude-3-5-sonnet-20240620-v1:0 with on-demand throughput isn’t supported. Retry your request with the ID or ARN of an inference profile that contains this model.",
        "    at de_ValidationExceptionRes (/var/runtime/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js:1195:21)",
        "    at de_CommandError (/var/runtime/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js:1028:19)",
        "    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
        "    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20",
        "    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/core/dist-cjs/index.js:165:18",
        "    at async /var/runtime/node_modules/@aws-sdk/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38",
        "    at async /var/runtime/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:34:22",
        "    at async BedrockConverseAdapter.askBedrockStreaming (/var/task/index.js:813:29)",
        "    at async ConversationTurnExecutor.execute (/var/task/index.js:1009:32)",
        "    at async Runtime.handleConversationTurnEvent [as handler] (/var/task/index.js:1043:7)"
    ]
}

Reproduction steps
Watched the cloudlogs errors, because I didn't get a response in the front end.

It's unclear in the docs, but you can solve it by putting the inference profile id in the resourcepath:
const schema = a.schema({
  chat: a
    .conversation({
      aiModel: {
        resourcePath: "eu.anthropic.claude-3-5-sonnet-20240620-v1:0",
      },

      systemPrompt: `You are a very helpful assistant`,
    })
    .authorization((allow) => allow.owner()),
});

but you also need to update your lambda (that is invoking bedrock) resource policy:
{
	"Version": "2012-10-17",
	"Statement": [
		{
			"Action": [
				"bedrock:InvokeModel",
				"bedrock:InvokeModelWithResponseStream"
			],
			"Resource": [
				"arn:aws:bedrock:*::foundation-model/anthropic.claude-3-5-sonnet-20240620-v1:0",
				"arn:aws:bedrock:*:114244416074:inference-profile/anthropic.claude-3-5-sonnet-20240620-v1:0",
				"arn:aws:bedrock:*:114244416074:inference-profile/eu.anthropic.claude-3-5-sonnet-20240620-v1:0"
			],
			"Effect": "Allow"
		}
	]
}

Hey, thanks for the feedback and information on how this can be solved. Transferring the issue to the documentation repository for updates.


script.convert tfjs model to onnx support

Question
I'm using tfjs-node to create an image-classifier model;
but I'm stuck with how to convert model.json to a format that can be used by optimum or script.convert to convert it to a onnx file.
I'm able to convert to a graph model using
tensorflowjs_converter --input_format=tfjs_layers_model \  --output_format=tfjs_graph_model \  ./saved-model/layers-model/model.json \  ./saved-model/graph-model

and then I can convert to an onnx using
python3 -m tf2onnx.convert --tfjs ./saved-model/graph-model/model.json --output ./saved-model/model.onnx

This works fine when I test in python but I'm unable to use in transformers.js - I probably need to use optimum to convert it?
I tried a number of approaches but was unable to convert to onnx - I then saw script.convert but am having difficulties

This is an example of the code I'm using to test the model with

import onnxruntime as ort
from PIL import Image
import numpy as np

# Load the ONNX model
session = ort.InferenceSession('./saved-model/model.onnx')

# Get input and output names
input_name = session.get_inputs()[0].name
output_name = session.get_outputs()[0].name

# Load and preprocess the image
img = Image.open('./training_images/shirt/00e745c9-97d9-429d-8c3f-d3db7a2d2991.jpg').resize((128, 128))
img_array = np.array(img).astype(np.float32) / 255.0  # Normalize pixel values to [0, 1]
img_array = np.expand_dims(img_array, axis=0)  # Add batch dimension

# Run inference
outputs = session.run([output_name], {input_name: img_array})
print(f"Inference outputs: {outputs}")

Uploading model.onnx.txt…
Any guidance on how to go from tfjs model.json to onnx supported by transformers.js would really help me out.
Thanks!

Hi there 👋 which model are you trying to convert? Also, can you provide the transformers.js code you are trying to run?
Note that our conversion script is only built for Hugging Face transformers models (and not just arbitrary conversion)

Ah.. thanks Xenova.
I created a custom image-classifier model with tfjs-node - attached the model.onnx with txt extension in prior msg.
Let me grab and share shortly the code it's pretty basic.

This is what I'm using to validate test the onnx generated:
validate_onnx.py.txt
test_image.py.txt
I'm generating the model using tfjs-node
generate.js.txt
transformers.js to test with
test.js.txt
And then I was playing around with web worker and your latest on ms-florence example.
customVision.js.txt
here is an image in the training model I was using to test against.

If there are any guides you can point me to - I just want to create a custom mini image classifier ideally with node convert it to onnx use transformers.js and pass images through it to return a classified label.

Hmm looks like the link to the model is broken:

Feel free to upload it to the Hugging Face Hub for easier transferring (https://huggingface.co/new)

Thanks @xenova
I've dropped the files into here:
https://huggingface.co/jrsimuix/issue1038


HTTPTarget improvements

HTTPTarget improvements:

Expected request body type switched from string to json.RawMessage to handle JSON data. The use-case to reproduce the issue is simple: Webhook source -> Transformation -> HTTP Target. Transformation in this context can either shift the whole Webhook payload to the body key or compose it from the multiple values of the source event. In both cases, the resulting body will be a JSON object, which is expected transformation behavior. Before this update, the target adapter complained about it: json: cannot unmarshal object into Go struct field RequestData.body of type string,
CR's spec.response.* parameters are not required and without them the adapter fails to send back the responses (CE context validation). Default values for CE type and source attributes are added,
HTTPTarget resource implements EventSource and EventReceiver interfaces to comply with the rest of the components. Resource's status exposes expected and produced CE attributes.

HTTPTarget is able to interact with non JSON systems.
Will it be able to do so after this proposed change?

HTTPTarget is able to interact with non JSON systems.
Will it be able to do so after this proposed change?

This change should be backward compatible in terms of produced HTTP requests, i.e. body: "hello world" is still a valid request (content-type should set either plain/text or application/json since the string is a valid JSON object). If you have a particular test case to ensure compatibility, I can check it.


Get client id in the Login action

Do ID4 provides opportunity to get client id in the login action? I can parse it from the returnUrl field but it seems not so good decision.

Check our quickstart UI
https://github.com/IdentityServer/IdentityServer4.Quickstart.UI/blob/release/Quickstart/Account/AccountController.cs#L80

Thank you!


[CONTRIBUTION] Speech Dataset Generator

Hi everyone!
My name is David Martin Rius and I have just published this project on GitHub: https://github.com/davidmartinrius/speech-dataset-generator/
Now you can create datasets automatically with any audio or lists of audios.
I hope you find it useful.
Here are the key functionalities of the project:

Dataset Generation: Creation of multilingual  datasets with Mean Opinion Score (MOS).

Silence Removal: It includes a feature to remove silences from audio files, enhancing the overall quality.

Sound Quality Improvement: It improves the quality of the audio when needed.

Audio Segmentation: It can segment audio files within specified second ranges.

Transcription: The project transcribes the segmented audio, providing a textual representation.

Gender Identification: It identifies the gender of each speaker in the audio.

Pyannote Embeddings: Utilizes pyannote embeddings for speaker detection across multiple audio files.

Automatic Speaker Naming: Automatically assigns names to speakers detected in multiple audios.

Multiple Speaker Detection: Capable of detecting multiple speakers within each audio file.

Store speaker embeddings: The speakers are detected and stored in a Chroma database, so you do not need to assign a speaker name.

Syllabic and words-per-minute metrics

Feel free to explore the project at https://github.com/davidmartinrius/speech-dataset-generator

Want to add it to the WhisperPlus library? I would like to add this feature but I don't have time.

Absolutely!
I think I can upload the speech dataset generator to pipy, so it could be installed from requirements.txt or setup.py
Then we could do somethong like:
from whisperplus import WhisperSpeechDatasetGeneratorPipeline

speech_dataset_generator = WhisperSpeechDatasetGeneratorPipeline(model_id="openai/whisper-large-v3")
speech_dataset_generator(video_path="test.mp4", output_path="./speech_dataset", audio_enhancers=["deepfilternet"], datasets=["ljspeech","librispeech"], range_times=(5,15))

What do you think about this idea? How would you do an integration?
Thank you!

Is there a pip package for this library?

Is there a pip package for this library?

Next week, I plan to upload it to PyPI. Keep in mind that this project is only 2 weeks old, and I'm actively releasing new features. One of the next steps is to make the project available on PyPI.

Is there a pip package for this library?

Next week, I plan to upload it to PyPI. Keep in mind that this project is only 2 weeks old, and I'm actively releasing new features. One of the next steps is to make the project available on PyPI.

Is there an update?

Yes, not possible to do it because some dependencies are not available on PyPi. I could integrate those dependencies to this project, but I have not enough time for it.
You can install this project from requirements.txt or setup.py as it is explained in the README.md


Not fully connected CNN

Hi everybody!
I am trying to build an architecture of a convolutional network for image denoising as in pic below using keras with tensorflow backend. It's written that "in layers 2, 3, and 4, each feature map is connected to 8 randomly chosen feature maps in the previous layer."
So I was wondering if there is a way to use only some random number of filters out of all for applying them to feature maps on each convolutional step? I suppose, Conv2D layer in keras by default passes all feature maps from previous layer to all nodes (filters).
Thanks in advance!

Hi,

I suppose, Conv2D layer in keras by default passes all feature maps from previous layer to all nodes (filters).

You are right. As a solution I can think of writing your own layer (maybe based on Conv2D), where you overwrite the call function and do a loop over output filters length and in the loop call the conv2d of the backend for each "package". After that you combine the packages to the final result.
The drawback is somehow tha you have to split the input image of the layer several times (for each kernel) and join the results back together. I am not sure if this is the best way to go, but maybe a idea you could start from.


Undefined subcircuits in Verilog -> BLIF translation

Hi,
I want to generate a .blif for a verilog design.
I used yosys -o <blif-file> -S <verilog-files>
The resulting .blif contains some undefined black boxes, example:
.subckt $_DFF_PN0_ C=clk D=$0\rp[1:0][0] Q=rp[0] R=rst

It seems to me, that those are some type of flip-flops, however the definition is missing.
It seems to me, that this problem comes from the translation, there are no such black-box FFs in the original design.
Thank you

Your design contains FFs with asynchronous resets. (Namely FFs with positive edge clock and negative edge reset to zero.) These do not translate to the set of supported FF types in BLIF (see section 4 of the BLIF spec). So yosys outputs a $_DFF_PN0 cell, the internal cell type in Yosys used to represent this type of FF.
Yosys Appnote 10 discusses this issue and a possible work-around briefly in section IV (changing the async reset to a sync reset in the synthesis script).
(A simpler solution would of course be to change your HDL code to use sync resets. But depending on your flow this might not be a feasible option.)

I see, thank you.


Fixing exit code return on error case in Windows.

Right now, if we hit an error retrieving the exit code in HCS process.ExitCode, we return that 0 and that error.  Golang convention says that if an error is returned the other values should not be used, but the caller of ExitCode in libcontainerd has to fall through if an error is received.  Rather than return a success exit code in that failure case, we should return -1 to indicate a generic failure.
Signed-off-by: Stefan J. Wernli<EMAIL_ADDRESS>

@jhowardmsft @brian-young @darrenstahlmsft FYI

Not a maintainer, but LGTM assuming CI is green

Closing in favor of fresher repository.


Feature request link instead of button possibility

Feature request from R&D UX to be able to select link styling / html instead of the dropdown button.

done


Submit passphrase on enter in Pinentry

Fixes: https://keybase.atlassian.net/browse/DESKTOP-138
@keybase/react-hackers

:thumbsup:


Add safe copy for enumeration

Possible fix for https://github.com/aspnet/AspNetCore/issues/3619
@Eilon @Tratcher @davidfowl

Updated


doom strips links within headlines

I often leave links within headlines and search by their description through org-rifle. however, I found that doom stripped links from headlines.
I found by looking at #2117 that it is caused by advice +org--strip-properties-from-outline-a on org-format-outline-path
It has a section at https://github.com/hlissner/doom-emacs/blob/0c9256411d6bdb6cfc920bcce2216d99ff28a0c5/modules/lang/org/config.el#L559-L560 which I believe is the root of this issue.
~/d/.l/s/build-28.0.50/org-mode [develop] λ (advice-add 'org-format-outline-path :around '+org--strip-properties-from-outline-a)

~/d/.l/s/build-28.0.50/org-mode [develop] λ (org-format-outline-path '("Head" "[[link]]"))
Head/

~/d/.l/s/build-28.0.50/org-mode [develop] λ (advice-remove 'org-format-outline-path '+org--strip-properties-from-outline-a)

~/d/.l/s/build-28.0.50/org-mode [develop] λ (org-format-outline-path '("Head" "[[link]]"))
Head/[[link]]

Is there a reason to why doom does this by default?

This was originally done to reduce noise in the breadcumbs displayed by eldoc in the minibuffer, but it looks like org 9.5 now does its own cleanup prior to org-format-outline-path being called, so this may not be necessary anymore. However, if that's so it may indicate that org-rifle will need to adapt. Disable the advise and see if org-rifle still works.
;; add to ~/.doom.d/config.el
(after! org
  (advice-remove 'org-format-outline-path '+org--strip-properties-from-outline-a))

This was originally done to reduce noise in the breadcumbs displayed by eldoc in the minibuffer, but it looks like org 9.5 now does its own cleanup prior to org-format-outline-path being called, so this may not be necessary anymore. However, if that's so it may indicate that org-rifle will need to adapt. Disable the advise and see if org-rifle still works.
;; add to ~/.doom.d/config.el
(after! org
  (advice-remove 'org-format-outline-path '+org--strip-properties-from-outline-a))

As of 12d8691 the links are no longer stripped out of the outline path (by Doom, anyway), which should resolve your issue if Org isn't doing its own cleanup. If it is, you may need to report this upstream, to org-rifle's dev.

As of 12d8691 the links are no longer stripped out of the outline path (by Doom, anyway), which should resolve your issue if Org isn't doing its own cleanup. If it is, you may need to report this upstream, to org-rifle's dev.

I can confirm that removing this hook or atleast removing the specific line
within the hook function allows org rifle to function properly.
Thanks
On Sun, Jan 3, 2021, 7:55 PM Henrik Lissner<EMAIL_ADDRESS>wrote:

As of 12d8691
https://github.com/hlissner/doom-emacs/commit/12d8691fa8b233be54016da87e4c890361236b99
the links are no longer stripped out of the outline path (by Doom, anyway),
which should resolve your issue if Org isn't doing its own cleanup. If it
is, you may need to report this upstream, to org-rifle's dev.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hlissner/doom-emacs/issues/4460#issuecomment-753743433,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJKKW3TP2KZQCNSVWQCERCTSYE33VANCNFSM4VEJXTEA
.

I can confirm that removing this hook or atleast removing the specific line
within the hook function allows org rifle to function properly.
Thanks
On Sun, Jan 3, 2021, 7:55 PM Henrik Lissner<EMAIL_ADDRESS>wrote:

As of 12d8691
https://github.com/hlissner/doom-emacs/commit/12d8691fa8b233be54016da87e4c890361236b99
the links are no longer stripped out of the outline path (by Doom, anyway),
which should resolve your issue if Org isn't doing its own cleanup. If it
is, you may need to report this upstream, to org-rifle's dev.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hlissner/doom-emacs/issues/4460#issuecomment-753743433,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJKKW3TP2KZQCNSVWQCERCTSYE33VANCNFSM4VEJXTEA
.


963 filter agent

Filter agent with configurable query. Used for filtering visualization elements based on the data from the knowledge graph.
See README for more details

[x] Get config from stack to get endpoints
[x] Provide query in volume
[x] Document
[x] Include config that uses with stack

Nice to have if time

[ ] enforce literal only filtering
[ ] read query into builder
[ ] if correct filters not used return sensible error
[ ] optionally provide config to name queries and set default values
[ ] discover Blazegraph endpoints (sim to FIA)
[ ] walk file tree to discover queries

Make sure to remove ALL -SNAPSHOT flags


How to use the MSCRM Plugin Registration Task?

We would like to use the task for all the WF steps we have. Those are bundled in a solution with separate folders for each WF step. Do we need a task per step or we can do it at once for the whole solution?

You will need a json file and a task per assembly/project.
You can see sample here: https://github.com/WaelHamze/xrm-ci-framework/tree/master/Sample/Xrm.CI.Framework.Sample/Xrm.CI.Framework.Sample.WFActivities
More documentation on this to come...


New feature request

Can you please try to add the map view/load a map scene to this package or release a new package alone for that. It would be very beneficial for newbies like me. Thank you.

Hey @gouthamravella we are still working on this feature. We will give an update soon.

Hi Ayush,
Thanks for the update.
Regards,
Goutham Ravella
On Wed, Mar 11, 2020, 10:29 Ayush Bherwani<EMAIL_ADDRESS>wrote:

Hey @gouthamravella https://github.com/gouthamravella we are still
working on this feature. We will give an update soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AyushBherwani1998/here_maps_webservice/issues/2?email_source=notifications&email_token=AGOQX5GDSXWNEUVQA5TNJVTRG4LE3A5CNFSM4K7FTWNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOOES7A#issuecomment-597444988,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGOQX5B3HBFT67Z5CXVIUBLRG4LE3ANCNFSM4K7FTWNA
.


Please give an example

Hello,
can you please give me a simple example how to use it?
Thank you !

Hi, thanks for the question. Take a look at https://github.com/go-toolsmith/minformat/pull/4


Cannot override the value of FROM_EMAIL

Prerequisites

[x] Is it a bug?
[ ] Is it a new feature?
[ ] Is it a a question?
[x] Can you reproduce the problem?
[x] Are you running the latest version?
[x] Did you check for similar issues?
[ ] Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.
Description
first of all, I appreciate your work.
I tried all the ways to override the Django global value of DEFAULT_FROM_EMAIL .
but always the EMAIL_FROM is webmaster@localhost (Django default). I even use GqlAuthSettings with value of EMAIL_FROM, but it does not work.
after debugging Django can catch the settings but GqlAuthSettings only takes the initial value.
btw, I could override the other settings using GqlAuthSettings, except for EMAIL_FROM
Steps to Reproduce
try to run register query with changing the default EMAIL_FROM
Expected behavior
the value of EMAIL_FROM to change
Actual behavior
but it does not, as explained above
Requirements
asgiref==3.5.2
backports.cached-property==1.0.1
certifi==2<IP_ADDRESS>
charset-normalizer==2.0.12
click==8.1.3
cloudinary==1.29.0
dj-database-url==0.5.0
Django==4.0.5
django-admin-display==1.3.0
django-cors-headers==3.13.0
django-debug-toolbar==3.4.0
django-filter==21.1
Faker==13.13.0
graphql-core==3.2.1
idna==3.3
packaging==21.3
Pillow==9.1.1
Pygments==2.12.0
PyJWT==2.4.0
pyparsing==3.0.9
python-dateutil==2.8.2
python-multipart==0.0.5
requests==2.28.0
six==1.16.0
sqlparse==0.4.2
strawberry-django-auth==0.3.2
strawberry-django-jwt==0.2.0
strawberry-graphql==0.114.1
strawberry-graphql-django==0.3
typing_extensions==4.2.0
urllib3==1.26.9

Hey, have you managed to solve this issue?

Yes, by hard-coding the<EMAIL_ADDRESS>in GqlAuthSettings
but without doing this it won't work, even if there is an explicit value for DEFAULT_FROM_EMAIL in settings.py
also EMAIL_FROM= DEFAULT_FROM_EMAIL won't work

Thanks for reporting i will look in to it  thursday

can you post your relevant  code from settings.py?

some relevant settings
EMAIL_HOST = 'mail.privateemail.com'
EMAIL_HOST_USER =<EMAIL_ADDRESS>DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
EMAIL_HOST_PASSWORD = os.environ.get("EMAIL_HOST_PASSWORD")
EMAIL_PORT = 465
EMAIL_USE_SSL = True

AUTHENTICATION_BACKENDS = [
    "gqlauth.backends.GraphQLAuthBackend",
    'django.contrib.auth.backends.ModelBackend',
]

GRAPHQL_JWT = {
    "JWT_VERIFY_EXPIRATION": True,
    "JWT_LONG_RUNNING_REFRESH_TOKEN": True,
    'JWT_EXPIRATION_DELTA': timedelta(minutes=60*24),
    'JWT_REFRESH_EXPIRATION_DELTA': timedelta(days=7),
    # 'JWT_ALLOW_ARGUMENT': True,
    "JWT_ALLOW_ANY_CLASSES": [
        "gqlauth.user.arg_mutations.Register",
        "gqlauth.user.arg_mutations.VerifyAccount",
        "gqlauth.user.arg_mutations.ResendActivationEmail",
        "gqlauth.user.arg_mutations.SendPasswordResetEmail",
        "gqlauth.user.arg_mutations.PasswordReset",
        "gqlauth.user.arg_mutations.ObtainJSONWebToken",
        "gqlauth.user.arg_mutations.VerifyToken",
        "gqlauth.user.arg_mutations.RefreshToken",
        "gqlauth.user.arg_mutations.RevokeToken",
        "gqlauth.user.arg_mutations.VerifySecondaryEmail",
    ],
}

GQL_AUTH = GqlAuthSettings(
    LOGIN_REQUIRED_FIELDS = ['username', 'password'],
    ALLOW_LOGIN_NOT_VERIFIED = False,
    LOGIN_REQUIRE_CAPTCHA = False,
    REGISTER_REQUIRE_CAPTCHA=False,
    #<EMAIL_ADDRESS>    ACTIVATION_PATH_ON_EMAIL="confirm",
    EMAIL_TEMPLATE_VARIABLES={
        'frontend_domain': 'petroly.co'
    },
)

Please make sure that this is solved with the new release

Great job, it did solve it.
appreciate that.


"bulksize" parameter

I wondered what "bulksize" was referring to. A quick glance at the iperf3 code seems to indicate that it actually corresponds to the "-l, --len" parameter in the CLI:
https://github.com/esnet/iperf/blob/a5f5765c8c9f7d3b8b7818addd8ed81a8adee9f5/src/iperf.h#L112
Perhaps "bulksize" should be renamed?

As you pointed out the API calls it bulksize and even if I agree that the name is not fully intuitive I think being this package a wrapper for libiperf we should stick to their nomenclature.

Notice that the API uses "blksize", not "bulksize" (no "u"). That was my
point.
On Wed, Sep 28, 2016 at 8:23 AM, Francesco Ciaccia<EMAIL_ADDRESS>
wrote:

As you pointed out the API calls it bulksize and even if I agree that
the name is not fully intuitive I think being this package a wrapper for
libiperf we should stick to their nomenclature.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/thiezn/iperf3-python/issues/9#issuecomment-250151417,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAvcQHO3XorYEESM_TnGzp5iX_V5zA15ks5qulwkgaJpZM4KH1Ib
.

Sorry, thought you wanted to change it to something like lenght as the CLI option. In that case I agree with you.

you're right @cvicente, I'll add blksize to be consistent with the libiperf API in the next release. i'll keep bulksize for now as well for backwards compatibility.
A bit swamped at the moment but hope to get another release out in the weekend


Generation of ipa failure

From the terminal information as you can see there is a problem？

The format of the lane is not correct?
lane :inHouse do
gym(
workspace: "Lighting.xcworkspace",
scheme: "Lighting",
clean: true,
output_directory: "/Users/caoyunxiao/Desktop/Opple图标",
export_method: "ad-hoc",
output_name: "my-app.ipa"
)
end

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.4

Ruby
2.2.4

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.4 (16E195)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
true

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode8.3.2.app/Contents/Developer/

Xcode Version
8.3.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.35.1"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    cocoapods

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  desc "企业版"
  lane :inHouse do
  gym(
    workspace: "Lighting.xcworkspace",
    scheme: "Lighting",
    clean: true,
    output_directory: "/Users/caoyunxiao/Desktop/Opple图标",
    export_method: "ad-hoc",
    output_name: "my-app.ipa"
)

  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used. No personal data is recorded.
# Learn more at https://github.com/fastlane/fastlane#metrics

`./fastlane/Appfile`
app_identifier "com.gomore.opple" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "W54V2VB863" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.37.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

CFPropertyList
2.3.5

activesupport
4.2.8

addressable
2.5.1

babosa
1.0.2

bigdecimal
1.2.6

bundler
1.14.6

claide
1.0.1

cocoapods
1.2.1

cocoapods-core
1.2.1

cocoapods-deintegrate
1.0.1

cocoapods-downloader
1.1.3

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

cocoapods-trunk
1.2.0

cocoapods-try
1.1.0

colored
1.2

colored2
3.1.2

commander-fastlane
4.4.4

domain_name
0.5.20170404

dotenv
2.2.0

escape
0.0.4

excon
0.55.0

faraday
0.12.1

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

fastimage
2.1.0

fourflusher
2.0.1

fuzzy_match
2.0.4

gh_inspector
1.0.3

google-api-client
0.9.28

googleauth
0.5.1

highline
1.7.8

http-cookie
1.0.3

httpclient
2.8.3

hurley
0.2

i18n
0.8.3

io-console
0.4.3

json
1.8.1

jwt
1.5.6

libxml-ruby
3.0.0

little-plugger
1.1.4

logging
2.2.2

memoist
0.15.0

mime-types
3.1

mime-types-data
3.2016.0521

mini_magick
4.5.1

minitest
5.4.3

molinillo
0.5.7

multi_json
1.12.1

multi_xml
0.6.0

multipart-post
2.0.0

nanaimo
0.2.3

nap
1.1.0

netrc
0.7.8

nokogiri
1.5.6

os
0.9.6

plist
3.2.0

power_assert
0.2.2

psych
2.0.8

public_suffix
2.0.5

rake
10.4.2

rdoc
4.2.0

representable
2.3.0

retriable
2.1.0

rouge
1.11.1

ruby-macho
1.1.0

rubygems-update
2.5.2

rubyzip
1.2.1

security
0.1.3

signet
0.7.3

slack-notifier
1.5.1

sqlite3
1.3.13

terminal-notifier
1.7.1

terminal-table
1.7.3

test-unit
3.0.8

thread_safe
0.3.6

tty-screen
0.5.0

tzinfo
1.2.3

uber
0.0.15

unf
0.1.4

unf_ext
<IP_ADDRESS>

unicode-display_width
1.1.3

word_wrap
1.0.0

xcodeproj
1.4.4

xcpretty
0.2.6

xcpretty-travis-formatter
0.0.4

generated on: 2017-06-06

Hi ! I can't deploy either since this morning and I can't figure out why.

When I check the log I can see : ** ARCHIVE SUCCEEDED ** but no specific error !

You and I, if you solve the tell me please

Do you mind running the fastlane command with the --verbose command line option?  So, for instance, run fastlane beta --verbose. Include the output of that command in this ticket and it should help us understand a bit more about what is going on here.

That's why I did @mpirri

Here is my line 140 :

In the above I gave fastlane details

@caoyunxiao Did you find a solution?

Yes, I reinstall the budle, changed the export_method for 'enterprise'


2022ExhibitCloseUpdate

took down open/COVID banner [commented out]
changed language for exhibit section and added link to FB album

Katelyn,
Once again, you were ahead of me!! The notice of the exhibit closing is
perfect and the link to the Facebook page for the entire album is a perfect
solution to posting the entire album on the website.
I just posted a wrapup and thank you to our supporters!
Hope all is well. When do you start work?
Mick
On Wed, Sep 28, 2022 at 1:13 PM KLegacy @.***> wrote:

took down open/COVID banner [commented out]
changed language for exhibit section and added link to FB album

You can view, comment on, or merge this pull request online at:
https://github.com/ChatHistSoc/ChatHistSoc.github.io/pull/69
Commit Summary

ee4748b
https://github.com/ChatHistSoc/ChatHistSoc.github.io/pull/69/commits/ee4748ba48ab0e9bfb1d25ab89e930ad95e6b15f
2022ExhibitCloseUpdate

File Changes
(1 file
https://github.com/ChatHistSoc/ChatHistSoc.github.io/pull/69/files)

M index.html
https://github.com/ChatHistSoc/ChatHistSoc.github.io/pull/69/files#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051
(14)

Patch Links:

https://github.com/ChatHistSoc/ChatHistSoc.github.io/pull/69.patch
https://github.com/ChatHistSoc/ChatHistSoc.github.io/pull/69.diff

—
Reply to this email directly, view it on GitHub
https://github.com/ChatHistSoc/ChatHistSoc.github.io/pull/69, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYZJETGUR4TYC5CGZSOUGTWAR4E3ANCNFSM6AAAAAAQX7TB3U
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Ruby 2.2.3 has been released!

Hi there,
Ruby 2.2.3 has been released!
https://www.ruby-lang.org/en/news/2015/08/18/ruby-2-2-3-released/
I'm eager waiting for the windows compiled binary update. Thanks and best wishes.
Kind regards
duytrung

Please checkout this mailing group thread. =)
https://groups.google.com/d/msg/rubyinstaller/15lypPdoyrI/K-A4W6JFDQAJ

Thanks Azolo! All the best!

I forgot to follow up on this ticket.
Ruby 2.2.3 was released a while back.
https://groups.google.com/d/topic/rubyinstaller/mfvsEw1ATz8/discussion