Unexpected cursor movement

When playing with your component, I noticed some issues with the cursor's position
The below gif's typing sequences is 123456789{left}{left}{left}{delete}{delete}

I would either expect the first {delete} to move the cursor over the groupSeparator or to delete the number preceding it. I certainly don't expect my cursor to jump all the way to the end of the input value.
Hope this helps!

Here's an RTL test for this behavior:
it('should handle backspace with decimal scale and group separators', () => {
    const { getByRole } = render(
      <CurrencyInput
        defaultValue=""
        onValueChange={onValueChangeSpy}
        groupSeparator={','}
        decimalScale={2}
        prefix="$"
      />
    );
    const textbox = getByRole('textbox');
    userEvent.type(textbox, '123456789');
    expect(textbox).toHaveValue('$123,456,789');
    userEvent.type(textbox, '{arrowleft}{arrowleft}{arrowleft}{delete}{delete}');
    expect(textbox).toHaveValue('$1,234,789');
  });

I played around with it locally; it seems like the following update to processChange would fix the given example:
if (selectionStart !== undefined && selectionStart !== null) {
	  // Prevent cursor jumping
	  let cursor = selectionStart;
	  if (formattedValue !== stateValue) {
	  	cursor = selectionStart + (formattedValue.length - value.length) || 1;
	  }
	  setCursor(cursor);
	  }
	  if (formattedValue !== stateValue) {
	  	setStateValue(formattedValue);
	  }
}

Basically, you need to trigger the useEffect to set the cursor position more often (in this case, we setCursor to something different).

Unfortunately, it would still fail this test:
  it('should handle backspace with decimal scale and group separators', () => {
    const { getByRole } = render(
      <CurrencyInput
        defaultValue=""
        onValueChange={onValueChangeSpy}
        groupSeparator={','}
        decimalScale={2}
        prefix="$"
      />
    );
    const textbox = getByRole('textbox');
    userEvent.type(textbox, '123456789');
    expect(textbox).toHaveValue('$123,456,789');
    userEvent.type(
      textbox,
      '{arrowleft}{arrowleft}{arrowleft}{delete}{delete}{arrowright}{delete}{delete}'
    );
    expect(textbox).toHaveValue('$1,234,789');
  });

Also, the RTL tests do not seem to respect inputRef.currentSetSelection in these tests, so they still fail (even if it doesn't reproduce manually).

Hi, sorry only just seeing this issue now.
Yes, test coverage for cursor movement has always been a bit of a blind spot, it's quite hard to test and verify with RTL because like you have observed, it doesn't always behave like it does in the browser.
I've never noticed bug, so I really appreciate you raising this issue.
I will take a look, and see what's going...

Hi, sorry for the delay. This should be fixed now. Please try v3.3.2
You were correct that the useEffect needed to be triggered more often. Hopefully my solution won't cause any unintended side effects 🤞
Let me know otherwise!


supervisor: add clearnet-ibd finished handling

When the IBD is finished and the clearnet IBD key is set to 1 (IBD over clearnet) it is set back to 0 (IBD over Tor).

Changed redis key to bitcoind:ibd-clearnet, added a set to 0 if ìbd==false on supervisor startup and replaced setRedisValue with a setBBBConfigValue.

Now must be merged with #193 and #187.


Allow creating rings from slices with a Len()

This is inspired by (and uses a reduced subset of) sort.Interface. You still get to implement your own buffer, but we can create a ring accountant from the buffer's parameters - all without anyone promising anything.

bors r+


Add Farscape from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of Odyssey, to add Farscape to CKAN.
Please direct questions about this pull request to Odyssey.

Has .craft files to install, but not in a dir. Dropped the author a line in the KSP thread.
resource should be hardcoded with ksp forum thread: http://forum.kerbalspaceprogram.com/threads/135357-Farscape-Module-1-0-4

Closing in favour of https://github.com/KSP-CKAN/NetKAN/pull/2444


SDWebImage not loading image only for first app launch

[REQUIRED] Step 2: Describe your environment

Xcode version: 10.2.1
Firebase SDK version: 6.0.0
Firebase Component: Performance
Component version: 3.0.0
SDWebImage version: 4.4.2

[REQUIRED] Step 3: Describe the problem
When our app launches on a fresh install, the images that are loaded using SDWebImage fails to load. The NSURLSession delegate is never called and it is being swizzled to class with prefix of FIR. However, this only happens once on first app launch.
Steps to reproduce:

Install SDWebImage version 4.4.2. Install Firebase SDK 6.0.0 and Performance version 3.0.0.
Freshly install an app and load an image from a web URL
The image does not load

@gmineebates Most likely the root cause of the issue is the same as for #2201 which was fixed in 6.6.0. Will you have a chance to update Firebase and check if the issue has been solved?

@maksymmalyhin Thanks for the quick response, I'm glad it was fixed. We had to disable Firebase and won't have chance to bring it back for a while.


Pixel History tex after is incorrect on Intel GPUs on OpenGL for multiple primitives touching a single fragment in a single draw call

Description
This is a follow-up to #2894. Sorry for taking a while to report it properly.
If there are multiple primitives touching a single fragment in a single draw call, the output is completely incorrect (at least on my Intel GPU). This includes the "tex after" field for the whole draw, not just the primitives before then. (The Vulkan issue had the correct result for the last primitive, and in fact skips recalculating the tex after column for the last primitive.) The incorrect value is random garbage (and can change if you select pixel history for the same pixel multiple times). Usually all of them have the same value, but not always.
Separate drawcalls (i.e. glDrawArrays(GL_TRIANGLES, 0, 3); glDrawArrays(GL_TRIANGLES, 3, 3); glDrawArrays(GL_TRIANGLES, 6, 3);) work properly, as does the unmodified GL_Simple_Triangle demo. GL_Pixel_History causes renderdoc to hang on my machine (I'm not sure why and I haven't investigated it enough to be sure whether it's a RenderDoc problem or an Intel problem).
Steps to reproduce

Patch the demos GL_Simple_Triangle demo using the patch I had on #2894.

Launch the modified demos in RenderDoc.
Start GL_Simple_Triangle.
Make a capture.
Close the demo.
In renderdoc, right-click at around (200, 200) (a location hit by all 3 triangles).
Select pixel history
Observe that while the "pixel out" column is correct for all three primitives, the "tex after" column is incorrect.

Here are several captures, which hopefully will be helpful: captures.zip. The captures do report several errors, which are all one of these:
0 API High Miscellaneous 1280 Error has been generated. GL error GL_INVALID_ENUM in IsEnabled: (ID:<PHONE_NUMBER>) Generic error
7 API High Miscellaneous 1282 Error has been generated. GL error GL_INVALID_OPERATION in GetVertexAttribfv: (ID: 775370890) Generic error

I don't have easy access to another GPU currently so I don't have a good way of checking non-Intel devices. Hopefully this information is enough to do something; let me know if there's anything else I can supply.
Example screenshots

Environment

RenderDoc version: Self-built 6ab754b4e47101447e4faff8f8a3f856f3450ede (official v1.26 is affected by #2894).
Operating System: Windows 10.0.19042.2728
Graphics API: OpenGL
CPU: 12th Gen Intel(R) Core(TM) i7-1270P, 2200 Mhz, 12 Core(s), 16 Logical Processor(s)
GPU: Intel(R) UHD Graphics, driver version <IP_ADDRESS>55; this also happened with driver version <IP_ADDRESS>90

That commit should fix it. This is a driver bug, it's applying scissors to framebuffer blits internally unless every scissor is disabled, when it should at most only be applying the first scissor region.


remoteIpBlocks doesn't work correctly behind Gateways with different numTrustedProxies

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
We have two different Gateways (one public, one behind Google IAP) with numTrustedProxies: 1 and numTrustedProxies: 2 respectively.
We want to be able to use AuthorizationPolicies with remoteIpBlocks, and have that respect the original client IP, whichever gateway it came in.
The x-envoy-external-address is being set correctly, we can see it in the backend apps - but it doesn't appear to be being used by the AuthorizationPolicy rules.
Version
~ istioctl version
seems to hang? We're on 1.19.3

~ kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.25.12
Kustomize Version: v4.5.7
Server Version: v1.25.15-eks-4f4795d

Additional Information
We've worked around this with the following EnvoyFilter
---
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: fix-internal-remote-ip-handling
  annotations:
    description: |-
      This filter is designed to overwrite the X-Forwarded-For Header on the upstream request
      This will enable the correct use of remoteIpBlocks on things behind the mesh
spec:
  workloadSelector:
    labels:
      app.kubernetes.io/name: istio-gateway
  configPatches:
  - applyTo: HTTP_FILTER
    match:
      context: GATEWAY
      listener:
        filterChain:
          filter:
            name: "envoy.filters.network.http_connection_manager"
            subFilter:
              name: "envoy.filters.http.router"
    patch:
      operation: INSERT_BEFORE
      value:
        name: envoy.lua
        typed_config:
          "@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua"
          inlineCode: |
            function envoy_on_request(request_handle)
              request_handle:headers():replace("X-Forwarded-For", request_handle:headers():get("X-Envoy-External-Address"))
            end

Envoy will use xff header to authorize rather than X-Envoy-External-Address. Looks expected

The docs state:

Optional. A list of IP blocks, populated from X-Forwarded-For header or proxy protocol. To make use of this field, you must configure the numTrustedProxies field of the gatewayTopology under the meshConfig when you install Istio or using an annotation on the ingress gateway. See the documentation here: Configuring Gateway Network Topology. Single IP (e.g. “<IP_ADDRESS>”) and CIDR (e.g. “<IP_ADDRESS>/24”) are supported. This is the same as the remote.ip attribute.

We have configured numTrustedProxies correctly for both of our Gateways, using the annotation on the ingress gateway method. We can't use the meshConfig method because numTrustedProxies isn't consistent across our different Gateway architectures. (And in the debug/log output, and by inspection of X-Envoy-External-Address, we can see this is working correctly for the gateway, just not the backend services behind them). So by the docs as they're currently written, this should work. I see it as either a bug in the code, or a bug in the docs.
I'd also be fairly happy to use a condition on request.headers[X-Envoy-External-Address] - but that condition doesn't appear to support CIDR matching, so it's not suitable either

Does X-Forwarded-For set right? The authz works by inspecting the IP from XFF, if no XFF provided, it cannot work

When it reaches the Gateway, the X-Forwarded-For header is correct, and for the respective gateways has the right number of entries for numTrustedProxies. AuthorizationPolicies associated with the Gateways seem to work correctly
When the request reaches a backend service in the mesh, the X-Forwarded-For doesn't appear to have been changed, so a single backend service may get inconsistent lengths as the requests come in from different Gateways with different numbers of proxies in front. The backend services in the mesh do receive a correct X-Envoy-External-Address - so the numTrustedProxies configuration on the relevant gateway has been correctly applied.
I think ideally remoteIpBlocks should use the X-Envoy-External-Address set by the trusted istio gateway at the edge. This behaviour would match the intent from the envoy docs - things inside the mesh should use this, because the route a request comes in from the outside may not have a consistent X-Forwarded-For header length when you have multiple different types of Gateway

When the request reaches a backend service in the mesh, the X-Forwarded-For doesn't appear to have been changed,

So you want to apply authorize policy in the backend service?

Yes, exactly. This is an AuthorizationPolicy one of our dev teams owns, they want to limit access to requests that originally came from the GitHub IP range (for incoming webhooks).

If you want to authorize the direct source address, actually the gateway address. You can use source.IpBlocks, rather than the RemoteIPblocks

Additionnally, what should we understand from this:
	fromMatches := []*security.Match{}
	for _, from := range rule.From {
		op := from.Source
		if action == security.Action_ALLOW && anyNonEmpty(op.RemoteIpBlocks, op.NotRemoteIpBlocks, op.RequestPrincipals, op.NotRequestPrincipals) {
			// L7 policies never match for ALLOW
			// For DENY they will always match, so it is more restrictive
			return nil
		}
		match := &security.Match{
			SourceIps:     stringToIP(op.IpBlocks),
			NotSourceIps:  stringToIP(op.NotIpBlocks),
			Namespaces:    stringToMatch(op.Namespaces),
			NotNamespaces: stringToMatch(op.NotNamespaces),
			Principals:    stringToMatch(op.Principals),
			NotPrincipals: stringToMatch(op.NotPrincipals),
		}
		fromMatches = append(fromMatches, match)

https://github.com/istio/istio/blob/f231e954baa054d092000a64c1fbd07c6e208d14/pilot/pkg/serviceregistry/kube/controller/authorization.go#L826-L830

We are experiencing this issue as well. This has to be a bug. Irrespective of the numTrustedProxies setting, the local trusted IP from the proxy (a load balancer in our case) doesn't use the correct IP. This is in directly conflict with the documentation quoted above.


Is Scheduled job possible with DaemonJob?

I want to run an app once a month using daemonjob (as it is required to run on ALL nodes), however I don't see anything about this, so is this possible? If so, is there an example of this? And if it's not possible, is there a work-around to this (even if it's hacky)?

Hi, metacontroller does not have any notion of periodic job, so it would be implemented on controller side


Wait for extension resources to be deleted

What this PR does / why we need it:
Fix bug that prevented the Shoot reconciliation to wait for the deletion of Extension CRDs.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Fix bug that prevented the Shoot reconciliation to wait for the deletion of Extension CRDs.

Thanks, can you do the same for DeleteExtensionCRs (https://github.com/gardener/gardener/blob/master/pkg/operation/common/extensions.go#L147-L151)?

@danielfoehrKn , .ci/verify fails. Can you rebase to adopt the fix from te master branch?


This doesn't work so well when MFA is enabled

Passing in a credential in doesn't seem to work when you require MFA on your account.

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

ID: 0c551eb1-7ac5-cb02-cd1b-d67ca3886d85
Version Independent ID: fb690e2e-420e-f697-60f2-39520283d385
Content: Connect to all Office 365 services in a single Windows PowerShell window | Microsoft Docs
Content Source: Enterprise/powershell/connect-to-all-office-365-services-in-a-single-windows-powershell-window.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

barcar, Thanks for your comment. This article was written prior to MFA prevalence. I will put this on my list of articles to update. Joe

The section of this document "Connection steps when using multi-factor authentication" does not work very well.
Initially you are prompted to sign in and you need to input your username as well as password & MFA code.
Then you immediately get prompted again to sign in (although this does populate the username this time), and you need to provide your password (again) and another MFA code.
If you add a line for connecting to Exchange Online as well, then you need to provide your password & MFA code at least 3 times.
Is there any way to cache your login details from the first prompt, or use your current session credentials for SSO authentication?


Waiting for workers to be ready error

Lets say I have a VM with 30 CPU, so I want to run 30 workers on it.
When I run:
swarm --loadgen-list server.domain --processes-per-loadgen 30 -f my_test.py -u 5000 -r 50
it returns:
 returned non-zero exit status 255.

with trace:
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/swarm", line 395, in <module>
    check_proc_running(proc)
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/swarm", line 139, in check_proc_running
    raise subprocess.CalledProcessError(retcode, process.args)

The last log before the error is:
: Waiting for workers to be ready, 12 of 30 connected

Please post or attach the full output, and run it with -L debug for more verbose output

Ok, I solved it by adding time.sleep(0.2) on line 261 - start_worker_process method.

Run it with the -L debug,
[2021-05-02 21:33:36,430] Ludek-MacBook-Pro.local/INFO/locust.runners: Client 'my-server_b9a56e1603ae4f77bf7c174a3b774920' reported as ready. Currently 30 clients ready to swarm.
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/swarm", line 396, in <module>
    check_proc_running(proc)
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/swarm", line 139, in check_proc_running
    raise subprocess.CalledProcessError(retcode, process.args)
subprocess.CalledProcessError: Command 'ssh -q my.server ' LOCUST_RUN_ID="2021-05-02T19:33:34.153083+00:00" PYTHONUNBUFFERED=1 locust --worker --master-port 5557 --headless -f file.py -u 10000 -r 50 & read; kill -9 $! '' returned non-zero exit status 255.

[swarm:167] cleanup started

the starting command is:
 swarm --loadgen-list my-server --processes-per-loadgen 38 --loadgens 1 -f file.py -u 10000 -r 50 -L debug

Perhaps your server refuses the ssh connection? I'm not 100% sure what exit status 255 means, but that could be it https://stackoverflow.com/a/14885975/1591921
Perhaps there is a setting for sshd limiting the number of total ssh connections, or number of new connections per unit of time. If you want to investigate further then check your sshd logs.


Invalid float runtime error

node: v6.8.1
react-native-cli: 1.0.0
react-native: 0.33.0
This is happening at runtime

Any idea ? Thanks

Can you please provide your usage example? This really looks like a typo in your JS code.
P.S. I am closing the issue as it's pretty old and impossible to reproduce, but please reopen it if you sill experience the problem.


Https doesn't work

➜  record http-server -p 9090 -S
Starting up http-server, serving ./ through https
Available on:
  https:<IP_ADDRESS>:9090
  https:<IP_ADDRESS>:9090
Hit CTRL-C to stop the server

Hitting https://<IP_ADDRESS>:9090 in chrome says localhost unexpectedly closed the connection.
I've created the cert and key files using https://docs.nodejitsu.com/articles/HTTP/servers/how-to-create-a-HTTPS-server

The file names http-server expects are cert.pem and key.pem. Have you named them like this? Otherwise you need to use the --cert and --key.
Also, did you get any stack trace in the command line when the error occured?

Yes, I have created cert.pem and key.pem using https://docs.nodejitsu.com/articles/HTTP/servers/how-to-create-a-HTTPS-server. Without these it was throwing error.
With these .pem files in the folder, starting http-server using http-server -p 9090 -S threw no error.

FYI : I am on Mac OS

I can confirm this with<EMAIL_ADDRESS>both Chromium and Firefox.
With an old script of mine, it works however.

Hi guys,
I cannot get https to work, even with the self-signed.key and self-signed.crt linked above, on OSX, with 0.9.0.

@nitinsurana @kasparsj are you still seeing the same problem on the latest version of http-server?

Closing due to inactivity. Please reopen if this issue persists in the latest version of http-server!


WIP: Fix IdP Keycloak

This commit also creates keycloak deployment instead of pod, so the pod will get recreated after a node restart. Previously, the node gets restarted after the remediation gets applied, and the keycloak pod will get terminated, therefore rendering the authentication operator in a degreed state.

/test e2e-aws-rhcos4-moderate

There are still issues with KeyCloak IDP

/retest

The pci-dss failure was a cluster setup error, the moderate one looks legit, though:
     helpers.go:805: Result - Name: e2e-moderate-api-server-no-adm-ctrl-plugins-disabled - Status: FAIL - Severity: medium
    helpers.go:808: E2E-FAILURE: The expected result for the api_server_no_adm_ctrl_plugins_disabled rule didn't match. Expected 'PASS', Got 'FAIL'

@Vincent056 I thought we fixed this some time ago, does this PR maybe just need rebasing?

/retest

hmm, still failing, but at least manually it seems that the rule works fine

This one will not pass, because the rule is not merged yet, we can merge this PR and test it here: https://github.com/ComplianceAsCode/content/pull/8128

Together with using google IDP, this should help.


Dependencies updated but tests failing

Part of #485

Closing due to https://github.com/ConsenSys/ethsigner/pull/487


Feature Request: Add option to add file path instead of real file

It would be very nice to have the option to add/drag&drop only the file path instead of the complete file in the chat. Often colleagues only need the path to a file. This is great especially for large files or files that may change. Maybe this feature can be added as an option in the upload file dialog.

Please test if the problem persists with our latest release. I will be closing the issue but if there is any problem yet, we will open it again.


Journals Navigation/ File system

Work on implementing a working journal navigation and file system that can be interacted with.

Test component is created under journal-nav-test


404 on link

The link  http://go.hood.ie/hoodie-starter-issues displayed on hoodie github org is showing a 404.
Please make changes to the link

fixed, thanks! We now have a dedicated repository with prepared issues for new and existing contributors: https://github.com/hoodiehq/camp/issues?q=is%3Aopen+is%3Aissue+label%3A"up+for+grabs"

:smile: :+1:


x/mobile: gobind fails on relatively simple example for iOS only

What version of Go are you using (go version)?
go version go1.8.3 darwin/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/steeve/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.8.3/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.8.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gn/T/go-build194780881=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

What did you do?
gomobile bind fails with the following code:
package mypkg

import "context"

type MyStruct struct {
}

func NewMyStruct(ctx context.Context) *MyStruct {
	return nil
}

What did you expect to see?
A successful bind.
What did you see instead?
When trying to build for iOS, this happens:
$ gomobile bind -v -target=ios github.com/steeve/mypkg
write /var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gn/T/gomobile-work-008978683/src/gomobile_bind/interfaces.go
write /var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gn/T/gomobile-work-008978683/gen/src/ObjC/interfaces.go
write /var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gn/T/gomobile-work-008978683/src/gomobile_bind/interfaces.h
write /var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gn/T/gomobile-work-008978683/src/gomobile_bind/interfaces.m
write /var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gn/T/gomobile-work-008978683/fakegopath/pkg/darwin_arm/github.com/steeve/mypkg.a
write /var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gn/T/gomobile-work-008978683/src/gomobile_bind/go_pouetmain.go
write /var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gn/T/gomobile-work-008978683/src/gomobile_bind/go_main.go
write /var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gn/T/gomobile-work-008978683/src/iosbin/main.go
write /var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gn/T/gomobile-work-008978683/src/gomobile_bind/Mypkg.m
gomobile: type Context is in package context, which is not bound

This is due to the ctx parameter for the function.
It does build for Android, however.

So this is because of https://github.com/golang/mobile/commit/e66540375e9941f301a0fbd8134a06076bfc873e and the fact that the method is named New*.
Renaming the method fixes the issue.
However, perhaps it should not fail and rather warn? Not sure about the behaviour.


Add instruction to set DOCKER_USERNAME variable in README

Fix #214
Description
Add instruction to set  DOCKER_USERNAME variable before run docker-compose up command

Should we automate setting DOCKERHUB_USERNAME variable for local testing? Like adding DOCKERHUB_USERNAME in .env file. Is it affected in the production? Let me know if there's is no problem maybe I should create another pull request.
.env file will be like this
DOCKER_IMAGE_PREFIX=local
+DOCKERHUB_USERNAME=local
DB_USER=your_db_user
DB_PASSWORD=your_db_password
DB_NAME=your_db_name
RECAPTCHA_SECRET=your_recaptcha_secret
GITHUB_CLIENT_ID=your_Github_client_id
GITHUB_CLIENT_SECRET=your_Github_client_secret
JWT_SECRET=your_JWT_secret
WEB_PORT=80
API_PORT=8080

So, docker-compose config will not produces any warnings and ${DOCKERHUB_USERNAME} will referenced from .env as well
- WARNING: The DOCKERHUB_USERNAME variable is not set. Defaulting to a blank string.
services:
  app:
    ...
-   image: /short
+   image: local/short
    ...

Will close this this one if you're agree

Hi @bigfpanda , thank you for working on this. Please move DOCKERHUB_USERNAME into .env file part of the README as you suggested.

@bigfpanda You are welcome!


Updating filepond status when compressing

Thanks for publishing this plugin!
The simple compressing works perfect.
I have tried the example you shared for the hook and it doesn't seem to work. I'm looking for a way that filepond would write "compressing" while the compression is being done, as I'm dealing with large directories.
Is that possible? Could you share a code snippet for that?
Thanks again!

@YotYot which framework are you using? It will depend on it a lot.

@YotYot This is a simple vue setup.
<div id="app">
    <file-pond
      ref="pond"
      :label-idle="placeholder"
      :allow-process="false"
      :allow-directories-only="true"
      :allow-multiple="true">
    </file-pond>
  </div>

  <script src="https://unpkg.com/filepond"></script>
  <script src="https://unpkg.com/vue"></script>
  <script src="https://unpkg.com/vue-filepond"></script>
  <script<EMAIL_ADDRESS>  <script src="https://unpkg.com/mitt/dist/mitt.umd.js"></script>
  <script src="https://unpkg.com/filepond-plugin-zipper/dist/zipper.min.js"></script>
  <script>
    const bus = mitt()
    const catcher = (generators) => {
      bus.emit('inject', generators);
    };
    new Vue({
          el: '#app',
          components: {
              FilePond: vueFilePond.default(FilepondZipper(catcher))
          },
          data: () => ({
            placeholder: 'Drop Files Here',
          }),
          created() {
            bus.on('inject', this.inject);
          },
          methods: {
            inject(generators) {
              generators.forEach((generate) => {
                this.placeholder = 'Loading...';
                generate().then(file => {
                  this.$refs.pond.addFile(file)
                  this.placeholder = 'Drop Files Here';
                });
              });
            }
          }
      })
  </script>

Thanks a lot @tzsk !
I'm using vanilla JS, I will try to convert it from this script even though I'm a newbie to JS and never used Vue :)

if you could share a javascript or react example , that would be a great help .


No internet

Hi. Using your script, im install server. and success connect to one. But no internet
Any help?

If your server is behind NAT, this is likely the issue.

Likely too late now, but for anyone who finds this in the future, I linked to the wrong issue.
This was the right one.


Fix getNextMissingStructureType

The system was attempting to build structures when their needed amount was “zero” (so buildings it could not construct).

This Pull Request has been merged by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

5
0
0
5

Vote Breakdown

User
Yes
No
Abstain

tedivm
✔

ags131
✔

daboross
✔

anisoptera
✔

lurr
✔

Vote Results

Criteria
Result

Has Quorum
True

Has Votes
True


Add callback for md.render

I am working on a markdown-it plugin that I hope to share states between each match of the custom rules in a md.render. However, I don't want the states to persist across each call of md.render.
Is there any simple way to achieve that?

https://markdown-it.github.io/markdown-it/#MarkdownIt.render
See env param and how it's used in code. It's an independent sandbox for each call, used to share data between plugins.

nice! It is a lot better than my current  idx === 0 check.


Start Bot

Hello Dev,
How to start this bot on windows or Linux?

Open the code with an IDE and run main, afterwards follow the instructions in the readme file.

Thank you for reply


Adds deprecation warning capabilities.

No tests here... move along please.

nice, I was thinking of suggesting something similar after seeing how ProMotion handles it, I tried a much less intelligent version in #70 :smile:

Mergy mergy?

These are not the  droids we're looking for... move along.. move along...


Make install fails for some packages in default init.el from master branch

Observed behavior
When I clone .emacs.d from the master branch of Doom Emacs, and started with a default init.el after copying from init.example.el, the make install succeeds for most packages, but fails for 6 packages, which are the following:

auth-password-store (ELPA)
centered-window-mode (ELPA)
help-fns+ (ELPA)
ob-redis (ELPA)
org-bullets (QUELPA)
ox-reveal (ELPA)

With the help of FAQ, I tried again with INSECURE=1 make install, but no avail.
The rest of more than 200+ packages installed successfully, and Doom-Emacs installation finished. Except the errornous packages as listed above.
The error output of these packages are
Installing ox-reveal
FATAL ERROR: (error) Need package ‘org-20150330’, but only 9.2 is available
Installing centered-window-mode
FATAL ERROR: (error) Package ‘centered-window-mode-’ is unavailable
Installing ob-redis
FATAL ERROR: (error) Package ‘ob-redis-’ is unavailable
Installing org-bullets
FATAL ERROR: (error) Invalid version syntax: ‘Command ’(env LC_ALL=C /usr/bin/timeout -k 60 600 git clone https://github.com/hlissner/org-bullets.git /home/[my name removed]/.emacs.d/.local/packages/quelpa/build/org-bullets/)’ exited with non-zero status 128: Cloning into ’/home/[my name removed]/.emacs.d/.local/packages/quelpa/build/org-bullets’...
fatal: could not read Username for ’https://github.com’: No such device or address
’ (must start with a number)
Installing auth-password-store
FATAL ERROR: (error) Package ‘auth-password-store-’ is unavailable
Installing help-fns+
FATAL ERROR: (error) Package ‘help-fns+-’ is unavailable

Expected behavior
These packages should be installed, given they're included in the default stable release of Emacs-Doom's init.el.
Steps to reproduce

/bin/bash (to make sure bash is used as shell interpreter.
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~/.emacs.d
make install.

System information
$ make -v
GNU Make 4.1
Built for x86_64-pc-linux-gnu

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic

$  emacs --version
GNU Emacs 27.0.50
Copyright (C) 2018 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

If you want see the details of compiling Emacs binary on Debian/Ubuntu based system, see below for my added shell script for autocompiling Emacs binary.

When starting Emacs frame, I notice the splash screen of Doom-Emacs. Trying `M-x doom/info` (from inside Doom-Emacs), gives me the following output:
DOOM Doctor
Running Emacs v27.0.50, commit fatal: not a git repository (or any of the parent directories): .git

shell: /usr/bin/fish
Compiled with:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS
FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS GMP
uname -a:
Linux desktop 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux

Attempt to load DOOM: success! Loaded v2.0.9
Revision 5dacbb7cb1c6ac246a9ccd15e6c4290def67757c

----

test-emacs
test-windows
test-fonts
Warning: couldn’t find material-design-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find weathericons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find octicons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find fontawesome.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find file-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find all-the-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
test-gnutls
test-tls
Validated https://elpa.gnu.org
Validated https://melpa.org
Successfully rejected https://self-signed.badssl.com
Successfully rejected https://wrong.host.badssl.com/
test-tar
Everything seems fine, happy Emacs’ing!

Then DEBUG=1 make doctor inside .emacs.d on command line gives me the following output:
DOOM Doctor
Running Emacs v27.0.50, commit 5dacbb7cb1c6ac246a9ccd15e6c4290def67757c

shell: /usr/bin/fish
Compiled with:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS
FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS GMP
uname -a:
Linux desktop 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux

Attempt to load DOOM: success! Loaded v2.0.9
Revision 5dacbb7cb1c6ac246a9ccd15e6c4290def67757c

----

test-emacs
test-windows
test-fonts
Warning: couldn’t find material-design-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find weathericons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find octicons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find fontawesome.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find file-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find all-the-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

If you really want to reproduce this, and compile Emacs on Debian/Ubuntu based system, please copy the shell script below, and give executable rights with  chmod +x, then run it with ./[name of shell script below].sh
#!/usr/bin/env bash

# Emacs
sudo apt install -y autoconf                   # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y ispell                     # Spell checker for Emacs
sudo apt install -y libevent-dev
sudo apt install -y libgif-dev                 # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libgmime-2.6-dev
sudo apt install -y libgnutls-dev              # Dev version for 16.04, includes libs and headers for comping Emacs
sudo apt install -y libgnutls28-dev            # Dev version for 18.04, includes libs and headers for comping Emacs
sudo apt install -y libgtk-3-dev               # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libgtk2.0-dev              # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libjpeg-dev                # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libncurses-dev             # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libncurses5-dev
sudo apt install -y libncursesw5-dev
sudo apt install -y libpng-dev                 # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libpng-dev libz-dev        # Emacs with PDF-tools pacakge
sudo apt install -y libpoppler-glib-dev        # Emacs with PDF-tools pacakge
sudo apt install -y libpoppler-private-dev     # Emacs with PDF-tools pacakge
sudo apt install -y libtiff-dev                # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libtool                    # X11 window to compile Emacs with X11 support
sudo apt install -y libx11-dev                 # X11 window to compile Emacs with X11 support
sudo apt install -y libxi-dev                  # additional packages
sudo apt install -y libxpm-dev                 # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libxtst-dev
sudo apt install -y texinfo                    # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y xz-utils                   # To extract Emacs XZ package from GNU
# get all dependencies of a previous emacs version
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo sed -i~orig -e 's/# deb-src/deb-src/' /etc/apt/sources.list
sudo apt update
sudo apt build-dep emacs
# get source
git clone --depth 1 https://github.com/emacs-mirror/emacs.git /tmp/emacs
# Go to source and build
cd /tmp/emacs
sudo ./autogen.sh
sudo ./configure
sudo make -j4
# Install (optional)
sudo make install
sudo cp -R /usr/local/bin/emacs /usr/bin/emacs

# PDF tools
git clone --depth 1 https://github.com/politza/pdf-tools /tmp/pdf-tools
sudo make -C /tmp/pdf-tools install-server-deps
sudo make -C /tmp/pdf-tools -s

Per the discord. The master branch has been broken for quite a while, and the develop branch is a significant remake that henrik doesn't want to merge into master until documentation is finished.
So you should be using the develop branch for now.
Per the readme of the develop branch you'd run quickstart instead of install.
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~./.emacs.d
git checkout develop
./bin/doom quickstart

👋 new to emacs and total noob. A friend recommended I give doom-emacs a spin. Thank you all for this project, as a long-term vim user I'm excited to be inducted into the church of emacs.
I'm running mac os (Mojave 10.14.3) and had problems with make install described by the OP. I was able to get things resolved. I've documented what I did in case it's helpful for others who find themselves on this issue looking for help getting setup.
As per @CodyWilson's  instructions in the previous comment about the develop branch, I followed these instructions:

Per the readme of the develop branch you'd run quickstart instead of install.
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~./.emacs.d
git checkout develop
./bin/doom quickstart

But I experienced this error:
~/.emacs.d <develop>
$  ./bin/doom quickstart
Installing core packages
Contacting host: elpa.gnu.org:443
Failed to download ‘gnu’ archive.
Contacting host: melpa.org:443
Failed to download ‘melpa’ archive.
Package refresh done
Failed to download ‘org’ archive.
Package ‘persistent-soft-’ is unavailable

Using the ./bin/doom doctor script I saw this error message:
Failed to validate https://elpa.gnu.org
(error "Certificate validation failed elpa.gnu.org, verification code 142")

I found this issue about gnutls-cli issues that looked like the same problem I was experiencing. Based on this comment I reasoned my emacs version was the culprit.
Checking the system emacs version shipped with Mojave:
$ emacs --version
GNU Emacs 25.3.1

I saw that emacs is currently on version 26. So I installed emacs via homebrew:
$ brew install emacs

Don't forget to symlink your newly installed emacs:
$ brew link emacs

I then wiped out and re-cloned the doom-emacs repo to start fresh, and re-ran ./bin/doom quickstart and everything was 👍.

@rewinfrey thanks for sharing your solution. I stumbled upon the same issue as you have, thanks!

@rewinfrey Nice to hear that you solved in, and good job. Would you mind closing this issue also?

@pvinis I can't close this issue b/c I'm not the issue's author.
@ReneFroger if your issue is resolved, mind closing this out?

oops, sorry for that. I thought it was yours. Thanks for taking the correct person. :)

I have followed the steps but I didn't get it to work:
macOS 10.14
$ emacs --version
GNU Emacs 26.1
$ pwd
/Users/jq/.emacs.d
$ git branch
* develop
  master
$ make install
Looking for packages to install...
6 packages will be installed:

+ auth-password-store (ELPA)
+ centered-window-mode (ELPA)
+ help-fns+ (ELPA)
+ ob-redis (ELPA)
+ org-bullets (QUELPA)
+ ox-reveal (ELPA)

Proceed? (y or n) y
Refreshing package archives
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: elpa.gnu.org:443
Contacting host: elpa.gnu.org:443
Contacting host: melpa.org:443
Package refresh done
Installing ox-reveal
  FATAL ERROR: (error) Need package ‘org-20150330’, but only 9.2.2 is available
Installing centered-window-mode
  FATAL ERROR: (error) Package ‘centered-window-mode-’ is unavailable
Installing ob-redis
  FATAL ERROR: (error) Package ‘ob-redis-’ is unavailable
Installing org-bullets
  FATAL ERROR: (error) Failed to checkout ‘org-bullets’: ‘Command ’(env LC_ALL=C /usr/local/bin/gtimeout -k 60 600 git clone https://github.com/hlissner/org-bullets.git /Users/jq/.emacs.d/.local/packages/quelpa/build/org-bullets/)’ exited with non-zero status 128: Cloning into ’/Users/jq/.emacs.d/.local/packages/quelpa/build/org-bullets’...
remote: Repository not found.
fatal: repository ’https://github.com/hlissner/org-bullets.git/’ not found
’
Installing auth-password-store
  FATAL ERROR: (error) Package ‘auth-password-store-’ is unavailable
Installing help-fns+
  FATAL ERROR: (error) Package ‘help-fns+-’ is unavailable
Finished!

@joseluisq Something is wrong with your local repo. It certainly shows you're on develop, but none of those packages you're having trouble with are installed by develop. Perhaps you byte-compiled (with make compile) while on master, before switching to develop?
It would be simplest to just wipe ~/.emacs.d and reclone:
git clone -b develop https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom quickstart

it works now thanks!

It doesn't still work:
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~./.emacs.d
git checkout develop
./bin/doom quickstart
/usr/bin/env: ‘sh\r’: No such file or directory

Anyone that could tell me what sh\r might be?

@ReneFroger What's the value of $SHELL in your shell?

 echo $SHELL
/usr/bin/fish


Changed error details for MmException

I think current error description is vague, as all it tells is i.e. NoDriver calling waveOutSetVolume. The point of this pull request is to make debugging and troubleshooting easier. (especially for non-experienced library users)

@markheath could you please take a look?


How to use this plugin with Ionic 2?

i am new to ionic i want to use your plugin with ionic 2 but unable to do so as there is no type definition included it tried many solutions  e.g declare var SpeechRecognition:any; for calling the function but it's not recognizing them.
Really Sorry i know it's not the issue with your plugin but i am unable to find the solution i don't know where to ask so i am writing here.
Please help me i would be very thankful and please also update guide on your plugin too for ionic 2 it would help a lot of other peoples too thanks looking forward for your positive reply.

ionic 2 support is on the way.
https://github.com/driftyco/ionic-native/pull/897
Until it arrives you should use plain JavaScript.
TypeScrips allows to write native JS code without any type annotations.

Thanks for quick reply great  it would be great when this would be official ionic 2 plugin but i can't wait as i have to deliver the project so will stick with your other option.
Thanks for the info i did not know about this as i am totally new to web programming i tried to write your sample code in typescript file test.ts
    window.plugins.speechRecognition.getSupportedLanguages(function(languages){
      // display the json array
      alert(languages);
    }, function(error){
      alert("Could not retrieve the supported languages : " + error);
    });

Error:
Property 'plugins' does not exist on type 'Window'.
After that i tried the below code which is mentioned Stackoverflow
    window['plugins'].speechRecognition.getSupportedLanguages(function(languages){
      // display the json array
      alert(languages);
    }, function(error){
      alert("Could not retrieve the supported languages : " + error);
    });

Error:
Cannot read property 'getSupportedLanguages' of undefined.
Please help me how i can call your functions from my ionic 2 typescript. I could have used other plugin but they are not written well like yours that's why i am doing so much struggle to make it work.

Find the files under node_modules/ionic-native and add the changes.
On 28 Dec 2016 08:12, "mmajid"<EMAIL_ADDRESS>wrote:

Thanks for quick reply great it would be great when this would be official
ionic 2 plugin but i can't wait as i have to deliver the project so will
stick with your other option.
Thanks for the info i did not know about this as i am totally new to web
programming i tried to write your sample code in typescript file test.ts
window.plugins.speechRecognition.getSupportedLanguages(function(languages){
  // display the json array
  alert(languages);
}, function(error){
  alert("Could not retrieve the supported languages : " + error);
});

Error:
Property 'plugins' does not exist on type 'Window'.
After that i tried the below code which is mentioned Stackoverflow
http://stackoverflow.com/questions/38000418/using-windows-plugins-with-ionic-2-typescript
window['plugins'].speechRecognition.getSupportedLanguages(function(languages){
  // display the json array
  alert(languages);
}, function(error){
  alert("Could not retrieve the supported languages : " + error);
});

Error:
Cannot read property 'getSupportedLanguages' of undefined.
Please help me how i can call your functions from my ionic 2 typescript. I
could have used other plugin but they are not written well like yours
that's why i am doing so much struggle to make it work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pbakondy/cordova-plugin-speechrecognition/issues/12#issuecomment-269436621,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAej2QvKqnl7RO0bTzP-pPRAhiMuf5JRks5rMgv0gaJpZM4LWMqF
.

oh my bad thanks will let you know the result.

declare var window:any after your imports
and you can use it there by then just done forget to check if the platform is ready and this can only be tested in a device.


Quotient = -1 causes range check to fail in ArithmeticStark

@unzvfu We noticed that proof verification of CreatePrecompiles_{6, 7} fails. This is because, in some cases when computing SubFp254, the computed quotient was equal to -1, but the quotient columns are range checked between 0 and 2^16 in ArithmeticStark. Since MODULAR_QUO_INPUT columns overlap with some AUX_INPUT_REGISTER columns, we can't just remove MODULAR_QUO_INPUT columns from the range check. Changing modular computations would also affect divmod (and, seemingly, other parts of the code as well).
Do you have an idea of how to solve this issue?

Thanks for reporting this issue @LindaGuiga.
Could you please post a link to those failing tests (or a gist, or just copy the json here)? I can't seem to find them in ethereum/tests.

Hi @unzvfu! Linda is referring to this test: https://github.com/ethereum/tests/blob/0902578614503cb52e9b115f8714a17c39787c58/GeneralStateTests/stCreate2/create2callPrecompiles.json, where 6 and 7 refer to the variant cases within the test (last two transactions).

Ok, just had a closer look at this and found the source of, and solution to, the problem. I should have a PR done in the next few days.


Fix screwed up symbol tables in Calc with recursive functions

This code gives a strange error:
:quiet on {
:library 'lib'

oldForm = readJSON($0)
newForm = readJSON($1)

define newKey(prefix, key) = {
    prefix ? prefix + '.' + key : key
}

define checkValue(key, oldValue, newValue) = {
    oldType = typeof(oldValue)
    newType = typeof(newValue)
    if oldType <> newType { :echo `Key '$key': type mismatch: old=$oldType, new=$newType` }
    else {
        case oldType of {
            "array": checkArray(key, oldValue, newValue),
            "object": check(key, oldValue, newValue),
            default: if oldValue <> newValue { :echo `Key '$key': old '$oldValue' != new '$newValue'` }
        }
    }
}

define checkArray(key, oldArr, newArr) = {
    loop idx within length(oldArr) {
        oldValue = oldArr[idx]
        newValue = newArr[idx]
        checkValue(newKey(key, `[$idx]`), oldValue, newValue)
    }
}

define check(prefix, oldObj, newObj) = {
    loop key over oldObj {
        oldValue = oldObj[key]
        newValue = newObj[key]
        checkValue(newKey(prefix, key), oldValue, newValue)
    }
}

check("", oldForm, newForm)
}

Error: Cannot change Parameter value oldValue at line 34.
which is inside "checkArray" where it sets "oldValue"...

I think this is a case of ValueScope things not being evaluated properly (see previous issue).

Actually it may be that "pushScope(FunctionScope)" is not correct -- needs to be done before/outside of "setupFunctionCall" so the params are defined in the function's symbol table, not the caller's....  Watch carefully since variables referenced in default expressions for param values reference prior param names (i.e., inside the function, if defined).

Well, it was way more complicated than that.  Needed a new "var" declaration (for a local variable), and more code in loop/while to clear the symbol table each time through the loop.


Missing channels

TVA canal Televisão África (TVA)
RTP INTERNACIONAL
TVI INTERNACIONAL
Thats all.

I am curious. Have you got the message ? Are you able to adding them or what ? Just wonder. ^_^

RTP Internacional and TVI Internacional are already in the list.

Oh ok. Will check. Thank you
what about TVA canal Televisão África (TVA)?

Can't find any public stream for TVA.

No its on my private meo server

RTP Internacional and TVI Internacional are already in the list.

Dont see tvi Inter on either nos or meo. All i see is TVI
and RTP 1-3 only for nos and meo.

You should have said that you were talking about EPG and not streams.
https://github.com/LITUATUI/M3UPT/blob/main/EPG/epg-rytec-pt.xml.xz
https://github.com/LITUATUI/M3UPT/blob/main/EPG/epg-rytec-pt.xml.xz
By the way, you should use OTT Navigator app and add your server to it. It's much better than other IPTV players.

Can I use this app on my sony tv android? Indont used mobile and android tv box.

Yes, it's an Android app.

One question: what wrong with TiviMate? I was told this is the best app

You should have said that you were talking about EPG and not streams.
https://github.com/LITUATUI/M3UPT/blob/main/EPG/epg-rytec-pt.xml.xz
https://github.com/LITUATUI/M3UPT/blob/main/EPG/epg-rytec-pt.xml.xz
By the way, you should use OTT Navigator app and add your server to it. It's much better than other IPTV players.

I did. No epgs was found. I change it to raw and nothing.

Good morning. Hope everything is well with you. I am waiting for your two answered for my one question and one issue.

The EPG works fine with the M3UPT list, it isn't aimed for private servers. Ask your provider for help.

Your other epgs works fine. This link doesnt. It doesnt show up at all. I rename blob to raw. Either doesnt. Just need to add three more above to my epg channels. Thats why


JUnit report display name

Junit xml result writer will write the Display Name

It's intentionally writing the class name, because that's what some other tools depend on.


Added testcases for multiple components

Added testcases for below components and improved code coverage:

Filter.test.js
PurchaseProduct.test.js
ShopResume.test.js

Awesome! Thanks so much! 💪


Every time I run pod install it shows errors in the pods

Could you please upgrade it to Swift 5.3

@weilsonwonder


EBICS 3.0 - 091113 EBICS_INVALID_REQUEST_CONTENT

We're migrating from EBICS 2.5 to EBICS 3.0 where we face some issues with pain.001 upload via BTU. We had to modify the Z54 transaction in V3 to make camt.054 working and I would PR these changes together with probable modifications for pain.001.
When we try to initialize a pain.001 BTU, the EBICS server responds with an error code 091113 (EBICS_INVALID_REQUEST_CONTENT) where the documentation says "The received message complies syntactically EBICS XML schema, but not semantically to the EBICS guidelines".
What we already did / verified:

Generated a new keyring (V3) with the bank (camt.054 works)
Verified the ServiceName and ServiceNameVersion with the bank (must not specify a Version)
Added the SignatureFlag in BTUOrderParams (will be part of the PR) since our bank told us they only accept pain.001 with signatures (OZHNN order type in EBICS 2.5). See Swiss Market Practice Guidelines EBICS 3.0 chapter 4.2.3

Our bank appears to have limited visibility in their logs, showing only the error code and description, but they are making efforts to investigate further. They argue that something doesn't follow EBICS 3.0 standards / guidelines and it isn't a bank-related problem.
We would greatly appreciate your assistance in identifying the cause of this issue.
 Analog  OZHNN in EBICS 2.5
EBICS has always some mastic errors those are reproducible for specific banks, I do not know what to suggest here and where to start to resolve this issue. Fortunately, the EBICS API Client does not currently have such an error, but if it did, I could research it.

Thanks @andrew-svirin for your reply.

Can you tell me how the ES is "enforced" with V3? Do I get it correct that it's the SignatureData in body -> DataTransfer?
Have you ever heard about the SignatureFlag node?
I will do the best to troubleshoot it with the bank and let you know if we find a resolution.

There 2 data send in case you do transaction with ES: Encrypted OrderData and Encrypted UserSignature. The second one is that you need.
SignatureFlag looks like it presents in specification like optional param, but not realized in library (https://github.com/search?q=repo%3Aebics-api%2Febics-client-php SignatureFlag&type=code) I think you could add this logic.
Thank you! Upload-operations have always been more challenging.

Sorry, not sure if I get it correct: Is there something missing for the ES in the "Initialisation" payload you see in the issue description? Isn't that in the SignatureData node?
Yes, already prepared in the upcoming PR. 😃

I believe it present's in the code here as SignatureData - https://github.com/ebics-api/ebics-client-php/blob/2.x/src/Factories/RequestFactoryV30.php#L160
👍

I also recommend try to use A005. If it works, then the issue could be in A006.


some questions about CDP

I meet some trouble when I apply differential privacy into FL in  the way of CDP.Specifically，I add noise during aggregated stage in server, and then broadcast to all client. However, the finally accuracy result is low……
I'd be appreciated it if you could do me some favor.

also，i get some trouble when i attempt to calculate the loss, such as the value is so big(ten thousand……), and doesn't converge,  but the acc is normal.
def test_acc(self):
self.global_model.eval()
correct = 0
tot_sample = 0
total_loss = 0
criterion = nn.CrossEntropyLoss(reduction='sum')
    for i in range(len(self.data)):
        t_pred_y = self.global_model(self.data[i])
        _, predicted = torch.max(t_pred_y, 1)
        correct += (predicted == self.target[i]).sum().item()
        tot_sample += self.target[i].size(0)

        loss = criterion(t_pred_y, self.target[i].long())
        total_loss += loss.item()

    acc = correct / tot_sample
    avg_loss = total_loss / len(self.data)
    return acc, avg_loss


Domain name for Karatina university

University URL - https://karu.ac.ke/
IT-related course URL - https://karu.ac.ke/course/bachelor-of-science-in-computer-science/

@enock295simiyu First stage of verification passed, official domain is karu.ac.ke as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@enock295simiyu Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Yielded async tasks never restarted

When trying to use smol for async tasks, tasks which try to yield time with smol::Timer never get reactivated.
Repo with a minimal example: https://github.com/anichno/esp32-smol-issue
Expected Behavior:
main task started
main task print
main task print
main task print
main task print
...

Actual Behavior:
main task started
main task print

Indeed. There seems to be a bug in the notify  logic of the poller. Working on it...

OK, so the polling code seems to be correct!
The culprit turned out to be something completely different.
In short:

Until the above issue is fixed, this code will NOT work on xtensa multicore - (as in the stock esp32 chip)
Your example does work on single-core Riscv (esp32c3) - I tried that, and probably also on single-core Xtensa (esp32s3). If you have one of these, just rebuild for them and flash

I'm closing this not because the problem is solved, but because the problem is elsewhere.
Hopefully, we'll be able to fix the other (atomics) problem quickly. Personally, I also need working smol for the multicore Xtensa esp32 chip. And... atomics not working is very severe anyway.
Small detail: FYI - I'll update the patched smol dependencies maintained in the esp-rs-compat org to their latest versions in the coming hours.


Building master branch: some DLLs seem to be skipped

Hi everyone, and thanks a lot for your work.
Describe the bug
Building the "master" branch doesn't generate all the DLLs and AARs, so I have a lot of .meta files unpaired.
Please let me know if there are any problems with this or if I can ignore the unpaired .meta files in order to proceed with the creation of a new Unity project.
To Reproduce
Steps to reproduce the behavior:

Clone the meta branch
Open the .sln file
Build the solution
Wait
Check the Plugins subfolders
Notice the .meta files without files

Expected behavior
I expect to see one file per single .meta in my "Plugins" subfolders.
Output
Build Output

1>------ Build started: Project: Microsoft.MixedReality.WebRTC, Configuration: Debug Any CPU ------
2>------ Skipped Build: Project: mrwebrtc-win32, Configuration: Debug ARM ------
2>Project not selected to build for this solution configuration
3>------ Skipped Build: Project: mrwebrtc-win32-tests, Configuration: Debug Win32 ------
3>Project not selected to build for this solution configuration
1>Microsoft.MixedReality.WebRTC -> D:\0_Projects\Mix\MixedReality-WebRTC\bin\netstandard2.0\Debug\Microsoft.MixedReality.WebRTC.dll
4>------ Build started: Project: Microsoft.MixedReality.WebRTC.TestAppUWP, Configuration: Debug ARM ------
5>------ Skipped Build: Project: Microsoft.MixedReality.WebRTC.Tests, Configuration: Debug x64 ------
5>Project not selected to build for this solution configuration
6>------ Skipped Build: Project: TestNetCoreConsole, Configuration: Debug Any CPU ------
6>Project not selected to build for this solution configuration
7>------ Skipped Build: Project: TestReceiveAV, Configuration: Debug Any CPU ------
7>Project not selected to build for this solution configuration
4>  Microsoft.MixedReality.WebRTC.TestAppUWP -> D:\0_Projects\Mix\MixedReality-WebRTC\bin\UWP\ARM\Debug\TestAppUwp.exe
========== Build: 2 succeeded, 0 failed, 1 up-to-date, 5 skipped ==========

.meta files without own file

MixedReality-WebRTC\libs\Microsoft.MixedReality.WebRTC.Unity\Assets\Plugins\arm64-v8a\libwebrtc.aar.meta

MixedReality-WebRTC\libs\Microsoft.MixedReality.WebRTC.Unity\Assets\Plugins\arm64-v8a\mrwebrtc.aar.meta

MixedReality-WebRTC\libs\Microsoft.MixedReality.WebRTC.Unity\Assets\Plugins\Win32\x86_64\mrwebrtc.dll.meta

MixedReality-WebRTC\libs\Microsoft.MixedReality.WebRTC.Unity\Assets\Plugins\Win32\x86_64\mrwebrtc.pdb.meta

MixedReality-WebRTC\libs\Microsoft.MixedReality.WebRTC.Unity\Assets\Plugins\WSA\x86_64\mrwebrtc.dll.meta

MixedReality-WebRTC\libs\Microsoft.MixedReality.WebRTC.Unity\Assets\Plugins\WSA\x86_64\mrwebrtc.pdb.meta

Environment

VS Version: 2019

First, if you build a single config in Visual Studio, you cannot expect all Windows variants to be populated. You have to build all configs you need.
Second, Android is not built with Visual Studio. You need to build the Google repository following the instructions here to get the libwebrtc.aar, then build the mrwebrtc.aar with the Android Studio project.

And yes if you don't care about those configs then you can ignore the unpaired .meta files, Unity will delete them.

Right, thanks a lot for the explanation! I thought that the build command was configured to make all the builds in sequence, except for the Android one. Sorry for the n00b question, and thank you very much for the help! Have a nice day!

No worry @CabbageWarrior! We're using the default behavior of Visual Studio which is to build only the current config. Ideally we'd have a command-line build script that builds everything for you without even having to open Visual Studio though, but we're working on this and that is not ready yet. Please bear with me ;)

Absolutely no problem! Rather I apologize if I seemed pressing. You are archmages and I know it takes a long time to prepare the most powerful spells. In the meantime, I do my best on my part to learn how to make your efforts work even for an apprentice like me!
I also use this message to confirm that I am managing to make everything work, after building the libraries individually. Now I am setting up the Unity project for HoloLens 2, and I am spying on the repository in case of implementations for more than two users per "session". Dreaming is beautiful.
Thanks again for your support! :D

@CabbageWarrior don't hold your breath on multi-peer support, it is not a problem of resources or will to implement, this is simply impossible to implement purely inside this library because WebRTC is a peer-to-peer technology, and the standard will never support > 2 peers.
The way multi-peer (>2) works in practice is that you create a peer-to-peer connection between each participant and a server, and the server has N connections (for N participants) and dispatches the audio and video. There are several well-known technologies for that (see MCU and SFU for the most common ones), but they all require a media server. Alternatively you can build a "mesh" of connections (N-1 connections to every other peer), which is much easier to do but consumes a lot more bandwidth.
If you don't use a mesh topology, currently MixedReality-WebRTC does not ship with any special integration for any of the existing MCU/SFU media servers, but there is nothing stopping you from integrating this project with the server of your choice. I know some other users have tried already; search the issues for references if you want. There are paid and free options out there. Since WebRTC is standardized, there should be no compatibility issue. The main work is to figure out the signaling with the server, because this is not part of the WebRTC 1.0 standard; in general each server will have its own signaling protocol, and you need to write/find an implementation to use with MixedReality-WebRTC to be able to connect to the server.

I suspected it. In a previous implementation with HL1 during last year I implemented the "mesh of connections" solution manually, but the project was involving a single video sender and the other users were only receivers. We opted for the WebRTC protocol to have as little latency as possible.
I will absolutely study the other two options and I'll check if we can use one of them according to hardware and project specs.
 I must offer you a beer sooner or later!


docs(cli): update cli docs with execution warning

Fixes #2141 . PTAL as I couldn't compile the site on my machine ( prism console err).

@ev1stensberg Prism error is just a warning, Did you see a different error?


exporting the holotoolkit example to windows store (UWP) gives error

When i try to run the holotoolkit example and export to windows store (UWP) i get the following error.
Assets\HoloToolkit\SpatialMapping\Scripts\RemoteMapping\RemoteMeshSource.cs(142,45): error CS0246: The type or namespace name 'IAsyncAction' could not be found (are you missing a using directive or an assembly reference?)
Assets\HoloToolkit\SpatialMapping\Scripts\RemoteMapping\RemoteMeshSource.cs(142,69): error CS0246: The type or namespace name 'AsyncStatus' could not be found (are you missing a using directive or an assembly reference?)
Assets\HoloToolkit\SpatialMapping\Scripts\RemoteMapping\RemoteMeshSource.cs(184,37): error CS0246: The type or namespace name 'IAsyncOperation<>' could not be found (are you missing a using directive or an assembly reference?)
Assets\HoloToolkit\SpatialMapping\Scripts\RemoteMapping\RemoteMeshSource.cs(184,70): error CS0246: The type or namespace name 'AsyncStatus' could not be found (are you missing a using directive or an assembly reference?)
Assets\HoloToolkit\SpatialMapping\Scripts\RemoteMapping\RemoteMeshSource.cs(33,17): error CS0246: The type or namespace name 'StreamSocket' could not be found (are you missing a using directive or an assembly reference?)
and in
#if !UNITY_EDITOR && UNITY_METRO
using System.Collections.Generic;
using Windows.Networking.Sockets;
using Windows.Storage.Streams;
using Windows.Networking;
using Windows.Foundation;
#endif
if I comment the #if and #endif I get the following error
Error	CS0246	The type or namespace name 'Windows' could not be found (are you missing a using directive or an assembly reference?)

Which example scene?

Hi, I was getting the same kind of errors today while trying to build some scenes (I was using Unity v5.1.1f1 + HTK-Unity v1.5.5). So far everything worked well last until Friday (last time I built something). But after updating VS 2017 to the latest release, I started to have build problems. So I updated Unity to 5.6.0f3 and cloned the HTK-Unity repository again. I tried to run some scenes, got the errors referenced and fixed in #614. After applying the changes, it fixed all the problems at the end, and it seems everything is building correctly now.

I've also been having issues building in VS2017, I suggest keeping to 2015

@StephenHodgson - color picker example.
@ThmsMsqrt - thanx for the explanation
I installed 2017 then removed it but still the error exists

Thanks, I'll take a look at it later this evening.

@tipking You are welcome. I was actually trying with the Color Picker example too and I got it working with the changes I explained.


IndexerOffset is not deserializable

PHP Version
8.2.5
Shopware Version
<IP_ADDRESS>
Expected behaviour
Message Queue should be able to consume ElasticsearchIndexingMessage when adding custom shopware.es.definition
Actual behaviour
If you add a new shopware.es.definition like the plugin AcrisSearchCS does:
        <service id="Acris\Search\Elasticsearch\Property\PropertyGroupOptionEsDefinition">
            <argument type="service" id="Shopware\Core\Content\Property\Aggregate\PropertyGroupOption\PropertyGroupOptionDefinition"/>
            <argument type="service" id="property_group_option.repository"/>
            <tag name="shopware.es.definition" />
        </service>

The IndexerOffset which has this in the constructor:
    public function __construct(
        protected array $languages,
        iterable $definitions,
        protected ?int $timestamp,
        protected ?array $lastId = null
    ) {
        $mapping = [];
        /** @var AbstractElasticsearchDefinition $definition */
        foreach ($definitions as $definition) {
            $mapping[] = $definition->getEntityDefinition()->getEntityName();
        }

        $this->allDefinitions = $mapping;
        $this->definitions = $mapping;

        $this->selectNextLanguage();
        $this->selectNextDefinition();
    }

Will get serialized into the messenger_messages table like this:
{
  "offset": {
    "definitions": ["product"]
    }
}

(Without that plugin the definitions is empty).
As you can see from the constructor, the $definitions array of the IndexerOffset is supposed to be an array of EntitySearchDefinition objects.
But as the messenger.transport.symfony_serializer doesn't know, that it has to lookup the definitions from the ElasticsearchRegistry, it deserializes the JSON to ['product'] and hands that over to the __construct of IndexerOffset when consuming the message.
        foreach ($definitions as $definition) {
            $mapping[] = $definition->getEntityDefinition()->getEntityName();
        }

Therefore fails.
How to reproduce
Install AcrisSearchCS plugin. Yes it's not an issue of the plugin, but it uses the Search Definitions properly, but when in use, you can't index elasticsearch anymore.
Read explanation above.

Fixed with https://github.com/shopware/platform/compare/a4e569c63612...0674cc8f3ee0


Add support for the Mistral AI Embedding Model

Feature request
Feature request
They provide a python client to access the embedding model
Motivation
It would be great if we added the new embedding service from Mistral!
Your contribution
I can work on this and submit a PR

I think it's currently in merging request : https://github.com/langchain-ai/langchain/pull/15282
Hope it will come fast :)


Update us/ca/san_joaquin with new source

Previous source was a one-off export from 2014

@ingalls Looks like the batch service is taking a small break today. Any thoughts on what might be going on?

Looks like a batch service error. A couple of recent jobs are running into the same error https://batch.openaddresses.io/job

This PR needs to be merged in for this job to process correctly: https://github.com/openaddresses/pyesridump/pull/85

@ingalls Thanks! Looks like the pyesridump dependency still needs to be updated on the batch side of things.


[BOW-99] Clear add item form on submission

Codecov Report
Patch coverage has no change and project coverage change: +3.19% :tada:

Comparison is base (b61f8aa) 14.82% compared to head (6adee38) 18.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   14.82%   18.02%   +3.19%
==========================================
  Files         146       37     -109
  Lines       11314     4728    -6586
  Branches      282      119     -163
==========================================
- Hits         1677      852     -825
+ Misses       9637     3876    -5761

see 109 files with indirect coverage changes

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


Unreadable buttons on Tron theme

Thanks for your awesome work on Rainglow, Dayle. 👏
Just wanted to report that the Tron theme is rendering unreadable buttons, white text on top of a white background, as shown on the screenshot below.
The button.background property here
"button.background":"#ffffff",
"button.foreground":"#ffffff",

should actually be
"button.background":"#267fb5",
"button.foreground":"#ffffff",

Fixed issue in #34


Wasm filter with Istio 1.11.3

Hi,
Following the getting-started https://docs.solo.io/web-assembly-hub/latest/tutorial_code/getting_started I'm trying to deploy the wasm filter to Istio 1.11.3 installed on a minikube cluster. I thought if wasm extensions are merged with Envoy, they should work with recent Istio versions. I have the image successfully pushed to a repository in my account on Web Assembly Hub. After successfully logging into the Hub from my shell, this is what I get. Where I'm going wrong?
$ wasme deploy istio webassemblyhub.io/rpsspr/add-header:v0.1 --id=add-header
INFO[0000] cache namespace already exists                cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
INFO[0000] cache configmap already exists                cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
INFO[0000] cache service account already exists          cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
INFO[0000] cache role updated                            cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
INFO[0000] cache rolebinding updated                     cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
INFO[0000] cache daemonset updated                       cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
Error: image webassemblyhub.io/rpsspr/add-header:v0.1 not supported by istio version 1.11.3
Usage:
wasme deploy istio  --id= [--config=] [--root-id=] [--namespaces ] [--name deployment-name] [--patch-context={any|inbound|outbound|gateway}] [flags]
Flags:
--cache-custom-command strings     custom command to provide to the cache server image
--cache-image-pull-policy string   image pull policy for the cache server daemonset. see https://kubernetes.io/docs/concepts/containers/images/ (default "IfNotPresent")
--cache-name string                name of resources for the wasm image cache server (default "wasme-cache")
--cache-namespace string           namespace of resources for the wasm image cache server (default "wasme")
--cache-repo string                name of the image repository to use for the cache server daemonset (default "quay.io/solo-io/wasme")
--cache-tag string                 image tag to use for the cache server daemonset (default "0.0.33")
--cache-timeout duration           the length of time to wait for the server-side filter cache to pull the filter image before giving up with an error. set to 0 to skip the check entirely (note, this may produce a known race condition). (default 1m0s)
-h, --help                             help for istio
--ignore-version-check             set to disable abi version compatability check.
--istio-namespace string           the namespace where the Istio control plane is installed (default "istio-system")
--istiod-name string               deployment name of the istiod (default "istiod")
-l, --labels stringToString            labels of the deployment or daemonset into which to inject the filter. if not set, will apply to all workloads in the target namespace (default [])
-n, --namespace string                 namespace of the workload(s) to inject the filter. (default "default")
--patch-context string             patch context of the filter. possible values are any, inbound, outbound, gateway (default "inbound")
-t, --workload-type string             type of workload into which the filter should be injected. possible values are daemonset, deployment, statefulset (default "deployment")
Global Flags:
--config string    optional config that will be passed to the filter. accepts an inline string.
--id string        unique id for naming the deployed filter. this is used for logging as well as removing the filter. when running wasme deploy istio, this name must be a valid Kubernetes resource name.
--root-id string   optional root ID used to bind the filter at the Envoy level. this value is normally read from the filter image directly.
-v, --verbose          verbose output

Hi @rupipal, there's currently an open pull request to add official support to Istio 1.11.x. There's still a few things to be ironed out there before merging, but it should be available in the next release (v0.0.34).
In the interim, you can try re-running the wasme deploy istio command with the --ignore-version-check flag. Assuming your filter is compatible with the ABI version in the underlying Envoy which Istio deploys, it should work!

Hi @Sodman
Thanks! It worked.
~$ wasme deploy istio webassemblyhub.io/rpsspr/add-header:v0.1 --id=add-header --ignore-version-check
INFO[0000] cache namespace created                       cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
INFO[0000] cache configmap created                       cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
INFO[0000] cache service account created                 cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
INFO[0000] cache role created                            cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
INFO[0000] cache rolebinding created                     cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
INFO[0000] cache daemonset created                       cache=wasme-cache.wasme image="quay.io/solo-io/wasme:0.0.33"
WARN[0005] ignoreVersionCheck is set, skipping ABI version check  image="webassemblyhub.io/rpsspr/add-header:v0.1"
INFO[0005] added image to cache config...                cache="{wasme-cache wasme}" image="webassemblyhub.io/rpsspr/add-header:v0.1"
INFO[0005] waiting for event with timeout 1m0s
INFO[0006] cleaning up cache events for image webassemblyhub.io/rpsspr/add-header:v0.1
INFO[0006] updated workload sidecar annotations          filter="id:"add-header" image:"webassemblyhub.io/rpsspr/add-header:v0.1" rootID:"add_header" patchContext:"inbound" " workload=petstore
INFO[0006] created Istio EnvoyFilter resource            envoy_filter_resource=petstore-add-header.default filter="id:"add-header" image:"webassemblyhub.io/rpsspr/add-header:v0.1" rootID:"add_header" patchContext:"inbound" " workload=petstore
And the filter worked too.

Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< content-type: application/xml
< date: Tue, 28 Dec 2021 07:06:11 GMT
< content-length: 86
< x-envoy-upstream-service-time: 0
< hello: world!
< server: istio-envoy
<
[{"id":1,"name":"Dog","status":"available"},{"id":2,"name":"Cat","status":"pending"}]
Connection #0 to host <IP_ADDRESS> left intact

Great, glad it's working!
This --ignore-version-check workaround will no longer be required once https://github.com/solo-io/wasm/pull/274 merges and v0.0.34 is released!

Thanks!
On Tue, Dec 28, 2021 at 8:34 PM Sodman @.***> wrote:

Great, glad it's working!
This --ignore-version-check workaround will no longer be required once
#274 https://github.com/solo-io/wasm/pull/274 merges and v0.0.34 is
released!
—
Reply to this email directly, view it on GitHub
https://github.com/solo-io/wasm/issues/278#issuecomment-1002147365, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGJIEWBEBMNGO3SEGUHJOTLUTHGWFANCNFSM5KVFPIWQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


Windows cannot read the  from the unattend start file"

I get stuck at
==> virtualbox-iso: Waiting for WinRM to become available...
then opening the VM on virtual box I see:
When I open Windows cannot read the <Product Key> from the unattend start file"

I had to do this:
            <UserData>
                <ProductKey><Key/></ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Packer</FullName>
                <Organization>Packer</Organization>
            </UserData>


build: hoist LINK_LIBRARIES out of _add_swift_executable_single

Hoist the responsibility for adding the linked libraries out of
_add_swift_executable_single to the invoker.  This impacts only
swift_add_target_executable.  This continues to bring the computation
of the properties nearer the site of definition.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please clean test

CC: @Rostepher @edymtt @xiaobai


Improve js_callback example

Description
js_callback now loads two modules:

imp.js
unimp.js

imp.js is loaded at page load whereas unimp.js is loaded when requested. A fallback is displayed during loading using Suspense
Checklist

[ ] I have run cargo make pr-flow
[ ] I have reviewed my own code
[ ] I have added tests

I'm somewhat unconvinced that loading from a manually copied, hardcoded path makes for a good public example. It's an interesting technique, but hard to apply correctly.

@WorldSEnder I made it so it reads the path (including the hash) at runtime. Have a look now

Fair enough. I had the insane thought of using some kind of UUID for the raw_module =  path and replacing it in the index-*.js glue with an data URI, like data:text/javascript;charset=utf-8;base64,ZXhw... (yes this works, importing from a data URI is fine) but that might be a bit ... much :)

That sounds like defeating the purpose of lazy loading

If I understand everything correctly, the glue code is loaded with <script type="module" ...> and hence by default defer, so guaranteed to observe the wasmBindgenSnippetsPath the trunk_post_build insert.

It doesn't matter. Untill the glue code has been fully loaded, wasmBindgenSnippetsPath will not be read. Although yes, the variable should be set before glue code finishes loading

That sounds like defeating the purpose of lazy loading

No, I meant the data URI only contains the meta information, i.e. the wasmBindgenSnippetsPath, not the whole snippet. Only the part that's currently shuttled through a global variable in the inline script tag.


Makes the metadata generation build step compatible with Python 3

Handle change in the behavior of map() function in Python 3.

What was the behavior before this change? At NativeScript developer day there was a person that had Python 3 and the metadata generation for i386 went fine, but for x86_64 it seemed to strip the preprocessor definitions through the map function. I wonder if this is the same here.

@jasssonpet Correct. This was the buggy behavior. You can find more info here: https://github.com/NativeScript/NativeScript/issues/2625. map() in Python 3 return iterators instead of list.

👍


Questions about the differences between two training scripts.

Hi authors, thanks for the well-written code, cause I'm a novice in video generation, I'm curious about the difference between the two scripts you provided, i.e., scripts/train_pyramid_flow.sh and scripts/train_pyramid_flow_without_ar.sh. It seems like the first one is for t2v and the second one is for t2i? Does that mean I need to fine-tune separately for t2i and t2v?

Both are for t2v. The first is our proposed method (spatial pyramid + temporal pyramid), the second is just the spatial pyramid.


My assignmt demo

I hope I was able to complete this difficult task!

Hi, please read the 'README.MD' file on the GitHub repository and redo your assignment.
Thanks.


legion_prof: >100% memory allocation reported when instances are GC'd

In cases where instances are GC'd and then re-used, legion prof seems to get confused:

A set of files to reproduce output like this are on sapling in /home/rohany/manolis-repro. Run the program with arguments -ll:gpu 4 -ll:ocpu 1 -ll:othr 1 -ll:fsize 25 -ll:cpu 1 -ll:csize 5000 -gx 2 -gy 2 -n 2048 -tm:fill_cpu -tm:disable_mapping_cache -tm:untrack_valid_regions -dm:exact_region. This behavior was reported on the control_replication branch, on commit 93553261e0bd93fd3db7dc677d9d827a4383f781.

cc @seemamirch

It's likely that Legion Prof isn't accurately modeling Realm's deferred allocations/deletions accurately.

I added the following code into legion_prof.py to calculate the memory utilization for each Memory.
diff --git a/tools/legion_prof.py b/tools/legion_prof.py
index 5e2838319..dbd0e939e 100755
--- a/tools/legion_prof.py
+++ b/tools/legion_prof.py
@@ -846,6 +846,24 @@ class Memory(object):
                 trimmed_instances.add(inst)
         self.instances = trimmed_instances

+    def check_time_points(self):
+        if len(self.time_points) == 0:
+            return
+        count = 0
+        idx = 0
+        for point in self.time_points:
+            # print(point.time, point.first)
+            if point.first:
+                count += point.thing.size
+            else:
+                count -= point.thing.size
+            if count > self.capacity:
+                print("!!Wrong, Memory:", self, ", Capacity:", self.capacity, " < allocated:", count)
+                for i in range(idx+1):
+                    print("point: ", self.time_points[i].time, "size:", self.time_points[i].thing.size, point.first)
+                assert 0
+            idx += 1
+
     def sort_time_range(self):
         self.max_live_instances = 0
         for inst in self.instances:
@@ -853,6 +871,7 @@ class Memory(object):
             self.time_points.append(TimePoint(inst.stop, inst, False, 0))
         # Keep track of which levels are free
         self.time_points.sort(key=lambda p: p.time_key)
+        self.check_time_points()
         free_levels = set()
         # Iterate over all the points in sorted order
         for point in self.time_points:

and her is the output:
!!Wrong, Memory: Framebuffer Memory 0x1e00000000000002 , Capacity:<PHONE_NUMBER>0  < allocated:<PHONE_NUMBER>4
point:  7386690.006 size:<PHONE_NUMBER>8 True
point:  7386874.603 size:<PHONE_NUMBER>8 True
point:  7389195.24 size:<PHONE_NUMBER>8 True
point:  7407521.574 size:<PHONE_NUMBER>0 True
point:  7407581.257 size:<PHONE_NUMBER>0 True
point:  7410429.274 size:<PHONE_NUMBER>0 True

So I think @lightsighter is right, the data indicated we have allocated<PHONE_NUMBER>4 bytes for the above 6 instances, but actually Realm defers the allocation.

If you only want to show instances when they really exist, you should probably be using ready_time here:
https://gitlab.com/StanfordLegion/legion/-/blob/master/runtime/legion/legion_profiling.cc#L703

@streichler Does deferred allocation only happens on GPU memory?

Deferred allocation is possible on most memories.  And for memories that don't do deferred allocation, the "create" and "ready" times ought to be nearly coincident, so "ready" would still be representative there too.

@manopapad I have pushed a fix into a new branch https://gitlab.com/StanfordLegion/legion/-/commits/cr_fix_utilization. It is based on the control replication branch, so you should be able to test in with legate.
Instead of assigning ready to create, I record both of them just in case we want to render the deferred allocation in the future.

I think there is a bug in the search feature. Here is the snapshot of searching "375". It shows Task 375 with a wrong instance. The initiator of the instance is "851". The data in the tsv files are correct, so I guess the bug is in the js file. Here is the code of the search feature https://gitlab.com/StanfordLegion/legion/-/blob/master/tools/legion_prof_files/js/timeline.js#L2143-2173, but I do not quite understand how it works.

@manopapad would you please share the original gz file dumped by legion. I will try to render the deferred allocation.

I have pushed another commit for rendering the deferred allocation. Here is an example:

Now an instance will have two boxes, the first one is the deferred allocation, which uses timestamp from create to ready and is rendered using a lighter shade. The second one is the actually instance which uses timestamp from ready to create. I am thinking about adding a threshold for deferred allocation: if the cost of the deferred allocation is less than the threshold, we do not render it, in order to minimize the size of tsv files.

Here's the original .gz file, sorry it took a while, had to rebuild
131503.tar.gz

This is what it looks like with the latest changes to legion_prof.py. It looks very pretty, but the latest instance's "deferred" section is drawn over all the previous instances, so I can't see anything about those instances anymore. Ideally all the "deferred" sections would be rendered below any "live" sections (even if belonging to other instances), and possibly we can (later) highlight an instance's deferred region on mouseover (or click). There is a deeper discussion to be had here, about how to visualize the "deferred" section in a non-intrusive way.

@manopapad there was a bug in my previous commit, the instances are overlapped. Now it has been fixed. Here is the new result of your file. Now I divided original instance box (from start to stop) into two, so the total length is the same, but now you can see a shaded box and a solid box.

Worked for me as well, great work!

Is this a legion_prof.py change and if so does it require something to be done in Rust?

Is this a legion_prof.py change and if so does it require something to be done in Rust?

I have updated the Rust accordingly.


cssname method now missing

I believe this change (https://github.com/coderefinery/sphinx-lesson/commit/d7ff66e583437455b1c6b547f598fbc53a2aa60d#diff-de1821ead97ff0f20a56e28dadb88a529ada12b5fb085a3b98e202274f64ddceR38) broke downstream code like at https://github.com/ENCCS/openmp-gpu/blob/7672ede569a08d0a4429c99e5cdb75b97ae41682/content/conf.py#L128
Can we re-introduce a cssname method that calls get_cssname so that we don't have to find and fix all such repos, please? Or should we be handling directives differently?

I guess people have started to use internals faster than I thought!  Backwards compatibilty is very important to me, so it would be good to support this (or at least give a longer transition period...).  I added it back here:
https://github.com/coderefinery/sphinx-lesson/pull/72
I'm wondering if I should say "too late" and just completely revert that change...
Do you want to confirm this change is OK?
I guess I need to make a release after this.


Help

Bro is there any way to auto click - site confirmation message  that pop up like " amazon says do you want to proceed? Yes or No " Can't copy xpath of that pop up message. How can i resolve this kindly help me with this.🙏

Hi @zzz-coder ,
Currently this feature is not available in extension but we would take this as enhancement and try to provide it in next release

We cant click on browser default confirmation box or alert box as they block all UI thread on which script run.


Is it possible to package node modules into the TACO?

About You:
Name: Tim Larson
Company: Tableau
Your question:
I am a TAM for one of our Premium Strategic customers. They have built their own connector with the SDK. For part of their solution, they have built one or more node modules to do some work. They are wondering if it is possible to package their node.js modules into the TACO.
I hope I am asking this question correctly, I don't really know how node.js fits into the SDK, if at all.

Hi Tim,
The Connector SDK currently only supports driver-based connectors, which do not support node,js files, or node modules at all. While the SDK does have some javascript components, they are heavily limited in what they can do and have only basic logic required.
From your question, I suspect your customer is building a Web Data Connector, which has its own github page. Web Data Connectors 2.0 do not package as .taco files, which is what is currently publicly available, Web Data connectors 3.0 do package as .taco files but that project is still in development.


No backup

bdd
upaloads
/etc/letsencrypt/
logs

bdd is done in https://github.com/Aedius/crowfall-royaumes-eternel/pull/8


int64 indexing

Needs tests

This is what it looks like without pyint. If UOps.CAST isn't in _min_max it needs to be its own pm so I chose to include it without breaking the tests. Maybe it's a bit hacky?


Data store

Since the last code review, the following changes were made:

Save all the data (books, people, and rentals) into JSON files on exit from  app  ✅
Load all data from files on startup of app  ✅
No linter errors ✅

Since the last code review, the following was done:

save data when quiting the app
fix LinkeIn link


[pt] Machine learning tips and tricks

@gabriel19913 could you take a look at this?

Thank you @leportella, that looks great!
PS: It seems that number 23 is missing

Hi @leportella I think @fersantos-dev already began a translation of this file. Could you please take a look? https://github.com/shervinea/cheatsheet-translation/pull/57

Thanks for the info @gabriel19913! Let's all focus our efforts on #57 then.

That's weird. When I looked there was no PR on this o.O

@leportella Thanks for the feedback. I think the format of the README wasn't very useful to track ongoing PRs. I've remodeled it a bit so that it can hopefully be more helpful in the future.


Authentication Error (403 Forbidden) when Running Twitter Bot

Description:
I am facing an authentication issue with the Twitter bot using the code from the repository https://github.com/vedicscriptures/twitter_bot/blob/main/main.py. Previously, it used to work without any problems, but now I am encountering a 403 Forbidden error during authentication.
Steps to Reproduce:

Clone the repository: https://github.com/vedicscriptures/twitter_bot.git
Run the command: python main.py
Observe the authentication error mentioned below:

Run python main.py
  python main.py
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.8.17/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.17/x64/lib
    APIKey: ***
    APISecretKey: ***
    AccessToken: ***
    AccessTokenSecret: ***
    BearerToken: ***
2021-10-14
2023-07-31 18:09:40.196412
Error during authentication :
403 Forbidden
When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.

Links to Runs with the Issue:

Successful Run URL: https://github.com/vedicscriptures/twitter_bot/actions/runs/5681881040/job/15398990021
Failing Run URL: https://github.com/vedicscriptures/twitter_bot/actions/runs/5718104707/job/15493234567

Additional Information:
I have confirmed that the code being used is the same as provided in the repository, and it was previously functional. However, after the recent run at the URL mentioned above, the authentication issue started occurring. Any assistance in resolving this problem would be greatly appreciated.

getting same errors

any updates here?

Is your problem solved? Our company is going to launch a third-party Twitter API service~including follower, follower and other enterprise-level APIs. What specific Twitter data do you need to access? You can send me a message to see if we can cooperate

getting same errors

no

得到同样的错误

不

Since Twitter deleted the follow api on June 26, 2023, our company is going to launch a third-party Twitter API service ~ including querying follow, fans and other enterprise-level APIs. What specific Twitter data do you need to access? You can pull me into the discussion group or leave me a message ~ see if we can cooperate

i

did you provide DM api ?

yes
原始邮件
发件人："Ahmed Abdelmohsen"< @.*** >;
发件时间：2023/11/13 18:01
收件人："twitterdev/Twitter-API-v2-sample-code"< @.*** >;
抄送人："125569489"< @.*** >;"Comment"< @.*** >;
主题：Re: [twitterdev/Twitter-API-v2-sample-code] Authentication Error (403Forbidden) when Running Twitter Bot (Issue #132)
i
did you provide DM api ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

please see it  https://utools.readme.io/reference/contact-us-1
原始邮件
发件人："Ahmed Abdelmohsen"< @.*** >;
发件时间：2023/11/13 18:01
收件人："twitterdev/Twitter-API-v2-sample-code"< @.*** >;
抄送人："125569489"< @.*** >;"Comment"< @.*** >;
主题：Re: [twitterdev/Twitter-API-v2-sample-code] Authentication Error (403Forbidden) when Running Twitter Bot (Issue #132)
i
did you provide DM api ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>