Typescript 4.6 compatibility

Hello Rxjs team! A few patches here to support the latest Typescript 4.6.
Description: Fixes compilation under typescript 4.6.
There are three commits here:

fixes misc. failures in the type checker by adding some type casts where union types were assigned.

In this patch, the return value on the type annotation for setInterval/setTimeout was set to number. This is incorrect under node.js, where they return a Timer object. The type annotation is fixed to return a union of number | NodeJS.Timer instead.

adds support for compiling with isolatedModules: true (such as is required in next.js, babel, swc) by using the export type feature (supported since typescript 3.8.)

This is breaking documentation generation. Looking back at this, I'm not entirely sure why this change was necessary. 🤔

This is breaking documentation generation. Looking back at this, I'm not entirely sure why this change was necessary. 🤔

The type signature was invalid under node.js. It was necessary to correct the error, as the newer typescript releases detect it.

the export type X from Y bit is what is breaking the docs. Were those fixes necessary for correction of your type errors? Or was it just about the return type of setTimeout?


busybox error

Executing busybox-1.27.2-r8.trigger
ERROR: busybox-1.27.2-r8.trigger: script exited with error 127
3 errors; 101 MiB in 32 packages

This problem also occurs in the ca-certificates package.

I'm also getting this error. How can this be debugged? Is there way to make apk show the real error message?

It looks like the trigger script works fine when executed manually:
# tar xvf scripts.tar busybox-1.27.2-r7.Q16KKkDenzjdRkzTB/WOw1mNRvBYo=.trigger
busybox-1.27.2-r7.Q16KKkDenzjdRkzTB/WOw1mNRvBYo=.trigger
# cat busybox-1.27.2-r7.Q16KKkDenzjdRkzTB/
cat: read error: Is a directory
# cat busybox-1.27.2-r7.Q16KKkDenzjdRkzTB/WOw1mNRvBYo\=.trigger
#!/bin/sh

do_bb_install=

for i in "$@"; do
        case "$i" in
                /lib/modules/*)
                        if [ -d "$i" ]; then
                                /bin/busybox depmod ${i#/lib/modules/}
                        fi
                        ;;
                *) do_bb_install=yes;;
        esac
done

if [ -n "$do_bb_install" ]; then
        [ -e /bin/bbsuid ] && /bin/bbsuid --install
        [ -e /bin/busybox-extras ] && /bin/busybox-extras --install -s
        /bin/busybox --install -s
fi
# busybox-1.27.2-r7.Q16KKkDenzjdRkzTB/WOw1mNRvBYo\=.trigger  x
# echo $?
0

So why does apk fail when executing this script?

Finally I found the root cause and the problem is in proot so I will give a PR to proot and this problem will be solved after my PR merge

https://github.com/termux/proot/pull/17

My PR is merged now and just upgrade your proot and reinstall Alpine

I'm still getting this error even though I have the new version of proot according to termux/termux-packages#2464 (revision 10)
$ apt install proot
Reading package lists... Done
Building dependency tree
Reading state information... Done
proot is already the newest version (5.1.107-10).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I've done a fresh install of everything including termux itself. Any suggestions?

I'm also still getting this error 😭

I am running into what looks like a similar error, but unrelated to Termux (I am not using it): https://github.com/proot-me/proot/issues/191.


Add 64-bit enum flags support

[Flags]
public enum MyEnum : ulong {
    A = 1 << 0,
    B = 1 << 1,
    C = 1 << 2,
    D = 1 << 60,
}

This will require rewriting EditorGUI.EnumMaskField as internally it casts the enum to a 32-bit integer.

The issue is really with Unity (or Mono?)

using UnityEngine;
using System.Collections;
public class Test1 : MonoBehaviour {
//		The following WILL NOT appear in the Inspector
public System.Int16 SignedInt16 = 0;
public System.Int64 SignedInt64 = 0;

public System.UInt16 UnsignedInt16 = 0;
public System.UInt32 UnsignedInt32 = 0;
public System.UInt64 UnsignedInt64 = 0;

public System.SByte SignedByte = 0;

//		The following throw errors in the Inspector
public MyEnum3 myEnum3 = MyEnum3.None;
public MyEnum4 myEnum4 = MyEnum4.None;
public MyEnum5 myEnum5 = MyEnum5.None;

public enum MyEnum3 : long
{
	None = 0,
	One = 1,
	Two = 2
}

[System.Flags]
public enum MyEnum4 : long
{
	None = 0,
	One = 1,
	Two = 2,
	Four = 4
}

[System.Flags]
public enum MyEnum5 : ulong
{
	None = 0,
	One = 1,
	Two = 2,
	Four = 4
}

//		The following DO NOT show up in the Inspector
public decimal SignedDecimal = 0;
public short SignedShort = 0;
public long SignedLong = 0;

public uint UnsignedInteger = 0;
public ushort UnsignedShort = 0;
public ulong UnsignedLong = 0;

// The following DO appear in the Inspector
public MyEnum1 myEnum1 = MyEnum1.None;
public MyEnum2 myEnum2 = MyEnum2.None;

public enum MyEnum1
{
	None = 0,
	One = 1,
	Two = 2
}

// Flags attribute is ignored, single choice only
[System.Flags]
public enum MyEnum2 : int
{
	None = 0,
	One = 1,
	Two = 2,
	Four = 4
}

public float SignedFloat = 0;
public int SignedInteger = 0;
public byte UnsignedByte = 0;
public double SignedDouble = 0;

public System.Int32 SignedInt32 = 0;

// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {

}

}

Update, I had someone with latest Unity 5 load up the above script, and most of the issues are better, but enum : long and enum : ulong are still throwing errors. I've filed a bug report with Unity about it.


data distribution image driver

I (and others) would like to contribute a csi driver that is vendor agnostic and services the greater community.
I'm asking for a kubernetes-csi/image-driver repo be created to house this.
The idea would be to use an oci container image as a volume source. So that all the container caching/distribution mechanisms could be used to ship data.
One example use case:
Currently, I'm creating containers that contain some data to share out, and an nginx server so that the container can be launched and share out data. The problem is, it couples the update cycle of the nginx server and the data together. If the data is architecture specific (rpms for example), then you may need multiple combinations of builds depending on what architecture the container is expected to run on. For example, x86_64 rpms with an arm64 nginx so that an arm box can be used to bootstrap x86 boxes.
So, what I would like to do is be able to create pure data containers. IE a Dockerfile like:
FROM scratch
ADD /pile-of-rpms /rpms
And consume it in a pod such as:
apiVersion: v1
kind: Pod
metadata:
  name: nginx
spec:
  containers:
  - name: nginx
    image: nginx:1.13-alpine
    ports:
    - containerPort: 80
    volumeMount:
    - name: data
      mountPath: /usr/share/nginx/html
  volumes:
  - name: data
    csi:
      driver: drivers.k8s.io/image-driver
      volumeAttributes:
          image: kfox1111/misc:test

SGTM I would prefer kubernetes-csi/driver-*.
Let's do OWNERS files for each new repo.

Ok, let me get started on #81 then we will use that as a template for this repo. It should be done by this week.

Awesome. thanks. :)

@lpabon any updates?

@rthallisey pr that I think will interest kubevirt for container images.

Prototype driver currently here: ttps://github.com/kfox1111/drivers/tree/volume-driver/pkg/image

I updated the image driver to work with csi v1 and the newer proposed pod inline behaviour here: https://github.com/kubernetes-csi/drivers/pull/133

This has merged into the other repository. Closing.
/close


EqualStreetNames.Wrocław

Hello, I've created a repository for Wrocław, Poland.
MAPBOX_TOKEN should be set up, it just needs the submodule and stuff.
Wikidata linking is not very complete yes, but I'm going to fill the gaps in the next few days.
Thanks in advance.

Great work @ArturLange !
🚀 It's now deployed: https://wroclaw.equalstreetnames.eu/


Fix strange rendering bug because of a single space.

One space at the end of the line completely screwed up the remainder
of the page.
Signed-off-by: Kristian Amlie<EMAIL_ADDRESS>

Verified working and cherry-picked to 2.3.x.


estimated time remaining increments upwards instead of downwards

noticed on prod

Possibly a bug in elv-lro-status - checking...

Bugfix committed to @eluv-io/elv-lro-status and npm package updated to v3.0.6
https://github.com/eluv-io/elv-lro-status/commit/7744efe1530e4bd2c2f3b927dd2bbfa56096fe91

Updated elv-lro-status to 3.0.6 in elv-studio
https://github.com/eluv-io/elv-studio/commit/7b9b2c64d2338bd100dbcffff5a673279f586dbb

Value now moves in the right direction after bug fix to eluv-io/elv-lro-status - one more change still needed though - ETA message update needs to stop once an error condition is detected - the automatic compensation for time elapsed between API calls is resulting in ETA display still decrementing while error is displayed.

Last issue-ETA messaging continues updating after error detection--verified by @elv-gerald: https://eluvio.slack.com/archives/CF7AQGUH0/p1678936577240229?thread_ts=1678930558.671769&cid=CF7AQGUH0 (5th bullet point)


--cache-from does not cache last step

Description
Using --cache-from seems to ignore the last cached image layer in certain cases. see repro below.
Steps to reproduce the issue:
# Dockerfile
$ cat Dockerfile
FROM alpine:latest
RUN echo "test"
ENTRYPOINT ["sh"]

# first run, nothing cached
$ docker build -f Dockerfile . -t something
Sending build context to Docker daemon 14.85 kB
Step 1/3 : FROM alpine:latest
 ---> 88e169ea8f46
Step 2/3 : RUN echo "test"
 ---> Running in 88967ec466ca
test
 ---> 1f1ea7b19579
Removing intermediate container 88967ec466ca
Step 3/3 : ENTRYPOINT sh
 ---> Running in d9498875cf40
 ---> e3a30a317f03
Removing intermediate container d9498875cf40
Successfully built e3a30a317f03

# second run, everything cached
$ docker build -f Dockerfile .
Sending build context to Docker daemon 14.85 kB
Step 1/3 : FROM alpine:latest
 ---> 88e169ea8f46
Step 2/3 : RUN echo "test"
 ---> Using cache
 ---> 1f1ea7b19579
Step 3/3 : ENTRYPOINT sh
 ---> Using cache
 ---> e3a30a317f03
Successfully built e3a30a317f03

# third run, use --cache from - last step is not cached
$ docker build --cache-from something -f Dockerfile .
Sending build context to Docker daemon 14.85 kB
Step 1/3 : FROM alpine:latest
 ---> 88e169ea8f46
Step 2/3 : RUN echo "test"
 ---> Using cache
 ---> 1f1ea7b19579
Step 3/3 : ENTRYPOINT sh
 ---> Running in 92dd22c70bde
 ---> b0de7181ed64
Removing intermediate container 92dd22c70bde
Successfully built b0de7181ed64

Describe the results you received:
Using --cache-from will use all cached layers from the target image
Describe the results you expected:
It does not!
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      1.13.1
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      linux/amd64
 Experimental: true

Output of docker info:
Containers: 4
 Running: 0
 Paused: 0
 Stopped: 4
Images: 5
Server Version: 1.13.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 18
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1
runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.8-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.952 GiB
Name: moby
ID: KKRA:W5WK:ES3L:FUCS:EEEP:LAND:I67M:E2TP:XBCI:OLN2:CC6Z:BR2Z
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 19
 Goroutines: 27
 System Time: 2017-02-20T14:39:25.139758208Z
 EventsListeners: 1
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, etc.):

I can see this in latest master as well, looking into it

open /var/lib/docker/image/overlay2/imagedb/metadata/sha256/88e169ea8f46ff0d0df784b1b254a15ecfaf045aee1856dca1ec242fdd231ddd/parent: no such file or directory"

This is what you get when looping on isParent in image/cache. Also:
16:40:07 [docker/docker/test] ‹master*› sudo -i
[root@runcom ~]# cd /var/lib/docker/
[root@runcom docker]# find . | grep 88e16
./image/overlay2/imagedb/content/sha256/88e169ea8f46ff0d0df784b1b254a15ecfaf045aee1856dca1ec242fdd231ddd

there's no metadata indeed for that - @tonistiigi @dmcgowan

found it, i'm making a pr


Is there some possibilities to integrate with grpc-web-devtools or chrome devtools?

I was trying something like this:
const transport = new GrpcWebFetchTransport({
  baseUrl: "localhost:3000"
});

const client = new HaberdasheryClient(transport);

const enableDevTools = window.__GRPCWEB_DEVTOOLS__ || (() => {});
enableDevTools([client]);

But I've got an error: TypeError: Cannot read properties of undefined (reading 'rpcCall')

Hey Denis,
the chrome extensions is written for the gRPC-Web Client Runtime Library specifically.  It works by adding an interceptor to the client in user-space, then sending request / response data to the extension. This is the relevant script: content-script.js
It looks like it might be possible to piggyback on the extension (if necessary with a proxy gRPC-web client).
On the other hand, you could also add logging statements to a protobuf-ts interceptor, and get a user experience that is very similar to the extensions. The extension requires you to modify your application too.

Simple example of integration with grpc-web-devtools:
interceptors: [
  {
    interceptUnary(next, method, input, options) {
      const call = next(method, input, options);

      call.then((finishedUnaryCall) => {
        window.postMessage(
          {
            type: '__GRPCWEB_DEVTOOLS__',
            method: method.name,
            methodType: 'unary',
            request: finishedUnaryCall.request,
            response: finishedUnaryCall.response,
          },
          '*'
        );

        return finishedUnaryCall;
      });

      return call;
    },
  },
],

@timostamm by the way, why implementation of interceptors does not compatible with https://grpc.io/blog/grpc-web-interceptor/

grpc-web interceptors are specific to grpc-web. Our interceptors apply to all transports.


UserWarning in InitalCondition.py

https://github.com/ComputationalRadiationPhysics/NeuralSolvers/blob/2a9457257b35265d219db245eb765c6132559748/PINNFramework/InitalCondition.py#L28
/home/maxxxzdn/.local/lib/python3.8/site-packages/torch/nn/modules/loss.py:446: UserWarning: Using a target size (torch.Size([batch_size])) that is different to the input size (torch.Size([batch_size, 1])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size.
return F.mse_loss(input, target, reduction=self.reduction)
Using prediction = model(x).reshape(-1) solves the problem

could you say me which was the shape of x in the initial condition ?

It was [batch_size,3]

but looks correct me ?

and the shape of the predictions ?

[batch_size, 1]
Perhaps it worked fine, but I got this annoying UserWarning that [batch_size] != [batch_size,1]

ok :) if you shape your data correctly which is always batch size one, it works fine :)

I see. I will reshape my output tensor in the dataset then.
Probably it makes sense to write some instructions for a dataset structure later on


Coveralls.io Support

Integrate code coverage with coveralls.io

Other options include Codacy and Code Climate. See: #59 .


Fix missing response body ep 4843

:tada: This PR is included in version 1.56.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


1 IOService per client may reduce performance.

running too many ioservice threads may kill server performance. We might want to look into creating a ioserver pool that distributes clients out to a fixed number of threads.

We now need to run tests to ensure that the changes are stable.


Cleanups

Lots of small cleanups:

rename init to create for some init functions that did allocs for us
more memory leaks, mainly examples/compositor not calling destroy functions.
the biggest part is probably wlr_surface, I've taken the liberty to reorder things a bit. There should not be any functional change (except that we no longer union with an empty buffer needlessly), but can be worth looking at.

Thanks!


Validate revision

Checking intent type through requests

Do we need to remove the existing tests? I think they are still useful to have to verify a simple JSON payload that is valid and one that's invalid.

Since the other tests weren't using the generate requests option, I wasn't sure if it was helpful to have them or not. It would be a little less likely that there would be an invalid error for the specified intent type now. I'll add back in a similar failed test though now!

Good unit tests verify the behavior that you expect, both on the 'happy path' and off the 'happy path'. In this case, the throwing case may not happen easily now, but may in the next PR. Tests should pass, but the innards can and should be sure to test various conditions.

Good unit tests verify the behavior that you expect, both on the 'happy path' and off the 'happy path'. In this case, the throwing case may not happen easily now, but may in the next PR. Tests should pass, but the innards can and should be sure to test various conditions.

Gotcha. As for this PR, do you have any other suggestions for this revision?

This change LGTM, maybe @devunwired has some thoughts.


DND Kit / React Virtual Re-renders more with DndContent

Hey there,
I have created a sandbox to try testing out why i am getting so many re-renders when i include DnDContext
testing the react re-render, by un-commenting the DNDWrapper I made here, with and without the context, shows very different results.
https://codesandbox.io/p/sandbox/dndkit-react-virtual-react-table-mccy7q?file=%2Fsrc%2FDNDVirtualTable.jsx%3A183%2C22
I tried to make a simple example with complex components to best mimic what I do in my application
Can anyone help as to a solution to stop all the rows rerendering?
Clicking and scrolling both will cause rerenders.

Apologies @codingedgar, I didn't share the sandbox properly
https://codesandbox.io/p/sandbox/dndkit-react-virtual-react-table-mccy7q?file=%2Fsrc%2FDNDVirtualTable.jsx%3A183%2C22

also related
https://github.com/clauderic/dnd-kit/issues/1379


[BULK UPDATE] DocuTune - Fix build validation issues: docs-link-absolute

[BULK UPDATE] DocuTune - Fix build validation issues: docs-link-absolute
Global effort to fix build validation errors
The Microsoft Skilling team is fixing build validation errors and specific brand inconsistencies in Microsoft technical documentation for the rest of FY23 Q1. This will help address various accessibility, security, and usability issues. This PR was generated using DocuTune. It includes only targeted fixes and minor formatting adjustments.
DocuTune PRs improve quality of technical content by finding and automatically correcting a broad set of issues only where the correction is suitable. Please review within five business days and merge or comment in the PR with any changes you'd like to see. Thank you!
CorrelationId: 0df9c2d6-63f8-4d1e-8b57-b33611a06514
InitiativeId: docutune-build-validation-issues-2022-05
PointOfContact: Alex Buck

#docutune-draft

Docs Build status updates of commit 3ea191b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

Line 0, Column 0: [Error: config-not-found] Can't find docfx config file in 'C:\LocalRun\W\yu4v-s'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#docutune-ready

@JustSlone @micahgodbolt @Vitalius1 @yunair
Please merge the changes in this PR. For more information, see the description at the top of this PR.
Any pre-existing build validation issues or insufficient Acrolinx scores should be addressed in a separate PR.
#docutune-request-approval

Docs Build status updates of commit 3ea191b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

Line 0, Column 0: [Error: config-not-found] Can't find docfx config file in 'C:\LocalRun\W\cm4k-s'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 3ea191b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

Line 0, Column 0: [Error: config-not-found] Can't find docfx config file in 'C:\LocalRun\W\0xjx-s'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Persistent build errors in this repo.
#docutune-hold


x/crypto: cryptobyte: encode int64 with context-specific tags

We frequently have to deal with asn.1 formatted with context-specific
tags even for things like integers, for example:
http://lapo.it/asn1js/#A0108004010203048102050682040708090A
To do that efficiently with cryptobyte I've added two additional
functions to marshal such values to and from int64:
func (b *Builder) AddInt64(tag asn1.Tag, v int64)
func (s *String) ReadASN1Int64(out *int64, tag asn1.Tag) bool
I assume versions for uint64 will also be required.
Does it make sense to add those to the cryptobyte API or is there a workaround?

These are implicitly tagged values, right? (Which is why the existing functions aren't so great?)
If so, then adding some more helper functions seems perfectly reasonable. (Most of the stuff I come across is explicitly tagged, thus I haven't hit this much.)
But I'd name the Builder method something like AddASN1Int64WithTag (all the other ASN.1 methods are AddASN1… and we already have AddASN1Int64).
Likewise with String: ReadASN1Int64WithTag (or ReadASN1IntegerWithTag if you want to mirror the existing function that handles all the different types).

Yes, they are implicitly tagged. I'll add the changes. Do you want me to do the same for uint64?

If you expect to need uint64 too, then sure.

I will leave uints until the need arises to keep things simple.
Thanks for the quick response. I've created https://go-review.googlesource.com/c/crypto/+/108456


Update Data Schema doc

The Data Schema doc should be updated because of arg_name.

For this issue.


[Question] How to display html from string

It seems the "official" way to do this is to call
.Navigate(new HtmlContent(myHtmlString)),

however, that throws and exception:
Unhandled exception. System.UriFormatException: Invalid URI: The Uri string is too long.
   at System.UriHelper.EscapeString(String input, Int32 start, Int32 end, Char[] dest, Int32& destPos, Boolean isUriString, Char force1, Char force2, Char rsvd)
   at System.Uri.EscapeDataString(String stringToEscape)
   at SharpWebview.Content.HtmlContent.ToWebviewUrl()
   at SharpWebview.Webview.Navigate(IWebviewContent webviewContent)

Seems the html content is passed in as Url instead of loading the html directly?
Using https://github.com/webview-cs/webview-cs I was able to directly call Content.FromHtml(myHtmlString) which worked but those bindings seem to not be "official" so I'd like to use this repo here.

I'm on vacation at the moment and the available internet connection is pretty poor. Please wait a week until I travel to a place with a hopefully better connection. Or in the meantime, if possible, paste your html string to a file and use the "HostedContent".

I tried doing that but the issue is that this requires the additional permissions, which kind of defeats the purpose of easy installation / usage.
Another option would be to use a UrlContent with a file:// scheme, but that does not seem to be possible.
Happy vacationing! 🎈

Hey! I was just able to try to reproduce the problem, but in my test it worked as it should...
I used a minimal example
.Navigate(new HtmlContent("<title>test</title>
test
"))
and one with an absurdly long text. Both worked as expected. Are you able to provide the none working example?

Closing due to inactivity.


Support for curved edges in v2

It looks like v2.0.0-beta9 doesn't yet have support for curved edges (with or without arrow)
https://github.com/jacomyal/sigma.js/blob/v2.0.0-beta9/build/sigma.js#L3698-L3701
    edgeProgramClasses: {
        arrow: edge_arrow_1.default,
        line: edge_1.default,
    },

Is that something ya'll plan to add, or would you like help adding it?  For multi-graphs, without the curve edges (and their labels) overlap making it hard to see the different edges between the two nodes.

Thanks for responding!  I tried to implement curved edges and it was beyond my ken too.
Thanks again for what you've built with Sigma.  Great library!


when i open a file, i have to run vscode first. that's a little annoying to me

VSCode Version: Code 1.12.1 (f6868fce3eeb16663840eb82123369dec6077a9b, 2017-05-04T21:26:50.689Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

python
donjayamanne
0.6.3

MagicPython
magicstack
1.0.10

python
tht13
0.2.3

vim
vscodevim
0.7.0

Steps to Reproduce:

double clicking  on a file won't open it, all I get is an untitled file
I have to run vscode before open a file

Cannot reproduce given these steps. please provide more detailed steps as descrobed here https://github.com/Microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions

Closing please reopen the issue with more information so that we can act on it.


Update currentSearchMode from inside Search component

In the content script, there is a reference to the currentSearchMode that can be read from the background script. As part of #46 and #36, the user will be able to independently change the search mode, but this change won't be reflected in the content.ts file. To fix this, a function updateSearchMode() should be passed in as a prop and when the currentSearchMode in the Search component changes, it should call this function and update the currentSearchMode variable in the content.ts file.
This requires #46 to be merged.

No longer working on this due to relaunch.


State: add HTTPState as a new StateStorage

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):

pkg/engine/states
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

Add the HttpState backend to provide a generic way to manipulate State in third-party services

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Test cases in pkg/engine/states/http_state_test.go

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
Add HTTPState as a new StateStorage

Coverage increased (+0.1%) to 73.691% when pulling 807c3f4906b9da49626c3e1aa269b5b6058ec7c4 on SparkYuan:main into fd58099d9d38495eabd0dbf78f779c4f5cad0553 on KusionStack:main.


The code of validate the model performance (AP，AP50)

Excuse me, I didn't see which script is used to calculate the accuracy(AP, AP50,AP75 etc.) on the COCO-2017val dataset.
How can I review the experimental results in the paper? should I write a new script to validate accuracy ?

Excuse me, I didn't see which script is used to calculate the accuracy(AP, AP50,AP75 etc.) on the COCO-2017val dataset.
How can I review the experimental results in the paper?   should I write a new  script to validate  accuracy ?

Hi, please refer this section of the readme for model evaluation on COCO-val dataset.
https://github.com/Atten4Vis/ConditionalDETR#evaluation


Implement property for stream_type

Twitch has implemented a new type of streams called VodCast which are only possible to differentiate from live streams by the property stream_type in the returned json from Twitch.
Would need this to mapped to a property in the Stream class so VodCasts are not treated as live streams.
More info here: https://discuss.dev.twitch.tv/t/vodcasts-not-reported-as-playlist-streams-in-api/10603

Hi!
I just pushed the commit above that should add a StreamType property to the Stream model. It will either be "live"  (for live) or "watch_party" (for vod_cast).
Let me know if it works.

Works perfect.
Thank you!


Fix Testables element ordering

Testables should come after MacroExpansion (Xcode expects this and
will edit projects with invalid order).

Codecov Report

Merging #702 (cb72bed) into main (e02240f) will decrease coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #702      +/-   ##
==========================================
- Coverage   84.92%   84.83%   -0.09%
==========================================
  Files         157      157
  Lines        9109     9109
==========================================
- Hits         7736     7728       -8
- Misses       1373     1381       +8

Impacted Files
Coverage Δ

Sources/XcodeProj/Scheme/XCScheme+TestAction.swift
91.03% <100.00%> (ø)

Sources/XcodeProj/Errors/Errors.swift
36.11% <0.00%> (-11.12%)
:arrow_down:

Continue to review full report at Codecov.

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


[Question] Is there a plan to fix the vulnerabilities in the dependency software?

Search before asking

[X] I had searched in the issues and found no similar issues.

Question

CVE-2023-39017 in  Quartz 2.3.2，https://github.com/quartz-scheduler/quartz/issues/943
Other Vulnerabilities in Spring Boot's dependent software

Yes. We run security scans and dependabot to keep dependencies up to date.
Currently, Security scans do not show any vulnerabilities in Shiro.
There are no current vulnerabilities listed in "Spring Boot's dependent software" that we are aware of.
I do not believe Shiro has is actually using vulnerability in the above CVE, so it doesn't really apply here.
Also, looks like Quartz scheduler is abandoned.
I am going to close this issue. Will leave your PR open under discussion in Slack


re-enable volume shimmin

[ ] volumewise shim: should have a button that does volumewise rather than just slicewise shim computation. essentially it does not make that much sense for the shimming to be just slice by slice for now i think
[ ] also make the background of the shim tab show the normal magnitude image.... actually do we want to do this??? actually maybe we do actually want to do this...

button is made, just need to finish delivering the feature and testing it

for enabling volume shim work:

[ ] clean up the slider enable disable. nvrm it is always enabled b/c you want to be able to select a slice to view within the ROI...
[ ] make sure the ROI when nothing is selected yet defaults to the whole volume in the FOV
[ ] adjust all the calculations and where solutions and solution strings get stored
[ ] adjust the gui to show the solutions differently when it is in volume mode.

to adjust how the calculations get formed for the volume and not conflict / have to overwrite and keep track of the data structures that hold solutions and their string formats here and here,
I will instead hold two different solutions:

for the standard per-slice shim
for the volume shim defined by the ROI and the intersecting portions of the FOV that have signal

Then the buttons/functions to switch the mode will simply adjust the values they look at to apply / visualize the correct solution.

so it is implemented but it looks like it is getting shit results when you use the volume shimming on  the whole phantom...

actually there are a lot of bug fixes that still needed to go in...

looks like it somewhat works now. this is after i "overwrote background" like a couple of times...


Discussion: Remove all default mapping

I think we should remove default mapping.
I know the cmp.config.disable can be used but it's implicit. (The user can't see which keys are default or not.)

If there is no dissenting opinion after a while, I will implement it as a destructive change.

I agree. Could you also mention in README about wiki page for <tab> completion? I think many users would want that and might miss it.

It's done via https://github.com/hrsh7th/nvim-cmp/commit/93cf84f7deb2bdb640ffbb1d2f8d6d412a7aa558

I would have disagreed with this proposal (see #895) but I wasn't aware of this discussion until it got merged today. I can't catch a rationale behind this change:

"The user can't see which keys are default or not."

This seems the only reason? But, why would this be a problem? I agree it is implicit, but IMHO it's a matter of documentation (if we maintain the default behavior "minimal" and sensible enough). Which keymaps specifically has caused a trouble?

@wookayin I personally think that a plug-in imposing default mappings is annoying as an end-user, whether that is to have a self-documenting configuration or easy to change the defaults.
I think that the balance landing somewhere between "document the recommended defaults" and "have a way to opt-in to the defaults" is a better experience for me.


Add batched correction to API spec

Overview
This PR revises the swagger API spec to add an endpoint at /projects/{uuid}/mosaic/batched-corrections/ that will allow sending multiple scene/parameter sets in one request.
Checklist
- [ ] Styleguide updated, if necessary

[x] Swagger specification updated, if necessary
- [ ] Symlinks from new migrations present or corrected for any new migrations

Demo

Notes
Testing Instructions

review the updated spec for correctness and fitness with respect to #1354

Connects #1353

This looks mostly good to me, one minor nitpick - I think we should change the URL name to follow more closely with the existing "batch" endpoint (bulk-add-from-query) -- so in this case bulk-update-color-corrections?

I'll push a fixup this morning.
Also, I think the type of SceneCorrectionParam.params is wrong, an array is superfluous since the scenes would only have one instance of ColorCorrection type right?

Ah yeah, I think that is correct -- good catch.

I pushed the revisions, I'll merge once the build finishes.


Gnome Flashback Error while upgrading to 21.05

I am trying to upgrade to 21.05 from 20.09 and I cannot build the system because of a gnome-flashback error.
The relevant part of my configuration.nix is the following:
{ config, lib, pkgs, ... }:
{
  services.gnome.gnome-keyring.enable = true;
  services.xserver = {
    enable = true;
    exportConfiguration = true; # export configuration to /etc/X11/xorg.conf
    layout = "us";
    xkbOptions = lib.mkDefault "eurosign:e, caps:swapescape, compose:ralt";
    desktopManager = {
      xterm.enable = false;
      gnome = {
        enable = true;
        flashback.customSessions = [
          {
            wmCommand = "${pkgs.i3-gaps}/bin/i3";
            wmLabel = "i3";
            wmName = "i3";
          }
        ];
      };
    };
    displayManager = {
      defaultSession = lib.mkDefault "gnome-flashback-i3"; # xfce+i3
      autoLogin = {
        enable = true;
        user = "tyrion";
      };
      gdm = {
        enable = true;
      };
    };
    windowManager.i3 = {
      enable = true;
      package = pkgs.i3-gaps;
      extraPackages = with pkgs; [
        arandr
        rofi
        dmenu
        i3status
        polybarFull
        i3lock-fancy
      ];
      extraSessionCommands = ''
        ${pkgs.xorg.xsetroot}/bin/xsetroot -solid black
      '';
    };
  };
  programs.seahorse.enable = true;
}

Here is the error I get:
gnome-flashback-i3.target> cp: cannot stat<EMAIL_ADDRESS>No such file or directory
error: --- Error --- build-remote
build of '/nix/store/wv1vaawm9cwrb6kpmhka55ms2s3hi8vr-gnome-flashback-i3.target.drv' on 'ssh://tyrion@***' failed: error: --- Error --- nix-daemon
builder for '/nix/store/wv1vaawm9cwrb6kpmhka55ms2s3hi8vr-gnome-flashback-i3.target.drv' failed with exit code 1; last 1 log lines:
  cp: cannot stat<EMAIL_ADDRESS>No such file or directory
error: --- Error ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ nix
builder for '/nix/store/wv1vaawm9cwrb6kpmhka55ms2s3hi8vr-gnome-flashback-i3.target.drv' failed with exit code 1
error: --- Error ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ nix
1 dependencies of derivation '/nix/store/c11dgmyc3ah7cjqhnkani4rxyc8a4p1i-system-generators.drv' failed to build
error: --- Error ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ nix
1 dependencies of derivation '/nix/store/hxb0zc1n0md59lw039202klanlsdmcj1-etc.drv' failed to build

Unfortunately, I am not sure how to provide more reproducible steps. I tried to understand what was the problem but couldn't do it quickly, so meanwhile I am opening this issue.

I encountered this yesterday.  Setting services.xserver.desktopManager.gnome.flashback.customSessions in 21.05 causes the build to fail.  I made this patch which got my system up and running:
diff --git a/pkgs/desktops/gnome/misc/gnome-flashback/default.nix b/pkgs/desktops/gnome/misc/gnome-flashback/default.nix
index 7e578f27cd2..a431b1e33fc 100644
--- a/pkgs/desktops/gnome/misc/gnome-flashback/default.nix
+++ b/pkgs/desktops/gnome/misc/gnome-flashback/default.nix
@@ -186,8 +186,8 @@ let
       mkSystemdTargetForWm = { wmName }:
         runCommand "gnome-flashback-${wmName}.target" { } ''
           mkdir -p $out/lib/systemd/user
-          cp<EMAIL_ADDRESS>\
-<EMAIL_ADDRESS>+          cp -r<EMAIL_ADDRESS>\
+<EMAIL_ADDRESS>         '';
     };

Today when I looked into making my patch into a PR, I realized that this change was already made in master by #113957.  Can that PR be backported to 21.05?
@chpatrick @jtojnar

@jtojnar do you think we should backport my PR wholesale to 21.05? It shouldn't break any existing setups, but it would fix this issue and also make the default applets available.

Ideally, we would only backport the fix since there are new extra restrictions on the desktop file names but that would probably be too much effort. If someone wants to open a backport PR, feel free.

Those restrictions are also good though, since it doesn't work if you have an invalid filename.


JSON Schema link is broken

The "JSON Schema" link available on the object and class detail pages is causing a 404 "Not found" error.
Update: this is caused by a gap in the Nginx configuration, which handles /api/<version> and /sample/<version> redirects, but is missing the /schema/<version> redirects.
~The URL generated has the incorrect form.~
~Actual result:~
~https://schema.ocsf.io/schema/1.1.0/classes/file_activity?profiles=~
~Expect result:~
~https://schema.ocsf.io/1.1.0/schema/classes/file_activity?profiles=~
~Notice the the schema version part of the URL path is ending up in the wrong position.~

Fixed


Allow explict kerberos keytab specification

Add http.server.authentication.krb5.keytab property to
explicitly specify keytab to be used when authenticating presto service
in KDC.

@losipiuk please update the commit when you get a chance as it doesn't compile. There's an extra newline on line 33 of TestSecurityConfig.java.

Merged, thanks!


[multistage][feature] support explain on physical plan

currently running
EXPLAIN PLAN FOR
SELECT ...

returns a logical plan. but we should also allow return a ExplainPlanVisitor.explainPlan API to return a physical plan with all the stage assigned and worker info attached.

Please assign this to me. Thanks

thank you @abhioncbr please share what you had in mind before implementing it.
there's 2 part in this.

syntax to explain physical plan. we might be able to do something with EXPLAIN PLAN FOR will behave the same for now and EXPLAIN PHYSICAL PLAN will return the physical plan
actually invoking and returning the plan (this most likely can be done via ExplainPlanPlanVisitor.explain API)

Hi @walterddr, I will start work on this and follow the pointers you mentioned above.

Going to add support for EXPLAIN PHYSICAL PLAN FOR; I think it's better to add FOR in the end for consistency with the other one.
Implement the second part as suggested by you.

I will ask specific questions if needed. Thanks

yeah that's OK. let me know if you have any problems.

i think changing the syntatic plugin part might be a bit different and I am not even sure calcite's parser allows that plugin. (see the example for supporting SqlInsertFromFile in pinot-common/src/main/codegen/includes/parserImpls.ftl)
with that parsing mechanism done you should be able to generate a valid parser that turns into a SqlExplain node. and from there it should be relatively simple.

@walterddr, qq
I was going through the SqlExplain code, and it looks like we have the option to get Physical plan of the query by using the option WITH IMPLEMENTATION in Explain Plan for SQL statement itself.
One such example is like below
EXPLAIN Plan WITH IMPLEMENTATION for SELECT MIN(AirTime), MAX(AirlineID), SUM(ArrDelay), AVG(ArrDelayMinutes), Year, Quarter
FROM airlineStats
WHERE Year = 2014
GROUP BY Year, Quarter
ORDER BY Year, Quarter DESC

From the implementation perspective, we have to add the code here in-case if we get the flag true from SqlExplain's withImplementation() method.
Also, if we are going with the implementation of EXPLAIN PHYSICAL PLAN FOR itself, do we want to support some options like EXPLAIN PHYSICAL PLAN AS JSON or similar?  and, also just confirming from the v1 engine perspective the response would be same for EXPLAIN PLAN and EXPLAIN PHYSICAL PLAN?

with implementation sounds good to me if this is something calcite already supports that's even better IMO

We can close this issue.


Connection Reject by server

Hello, I'm having this issue right now when I used this .NET as a server. My Unity kit is the latest version.

Hello, try spawn map server with non batch mode, I want to see map-servers log messages (set "notSpawnInBatchMode": true in serverConfig.json)

Did a PC restart and got this.

Yep, it should work

Yes it worked, but did you know If I try to clean the Solution or update the nuget packages , I get tons of errors.

Want to see an errors

Yes sir.

I found this: https://github.com/Cysharp/ZLogger/blob/master/src/ZLogger/ZLoggerOptions.cs


fix: Fix optimizer sentinel being ignored for prefetch

Figured this out due to this:
https://github.com/blb-ventures/strawberry-django-plus/blob/1b6fdeed91e2bbc7b22366379ba7351f4ec4ff8c/strawberry_django_plus/utils/inspect.py#L334-L338
What stroke me as odd, was that self.defer was None and other.defer was empty frozenset(). Shouldn't the condition be adjusted for that as those values represent the same thing in this case?

Hey @Kitefiko , thanks for the fix.

What stroke me as odd, was that self.defer was None and other.defer was empty frozenset(). Shouldn't the condition be adjusted for that as those values represent the same thing in this case?

You are probably right here. Do you want to update this PR to also fix that, since it is totally related or open a new PR for that?
Looking at the code, the inspector should probably return None for both defer and only if the field's list is empty as well.

Hey @bellini666,
after properly investigating the code these changes makes sense to me:
When sentinel is fixed allow_unsafe_ops  param in PrefetchInspector.merge function takes care of merge between auto generated Prefetches and user defined ones.
Also adjusted merges between only and defer because condition check for those fields would evaluate to False even when value was empty (frozenset()) leading to possible loss of fields from other PrefetchInspector.
Well... already merged. Nevertheless, this is the explanation :)

Hey @bellini666, after properly investigating the code these changes makes sense to me:
When sentinel is fixed allow_unsafe_ops  param in PrefetchInspector.merge function takes care of merge between auto generated Prefetches and user defined ones. Also adjusted merges between only and defer because condition check for those fields would evaluate to False even when value was empty (frozenset()) leading to possible loss of fields from other PrefetchInspector.
Well... already merged. Nevertheless, this is the explanation :)

Yeah, you got that correctly :). It should usually be safe to merge to Prefetch objects, as long as they don't define different where clauses (which would result in different objects being returned), any annotated field doesn't override the other one and if they are not trying to only/defer at the same time.
Again, thanks for the fix and feel free to open more PRs (or issues) for any other issue that you find :)


Make examples executable locally

see #381

There is a section in the docs about this now: https://annoraaq.github.io/grid-engine/p/execute-examples-locally/


Hi  I want to use this library to test fps under difference user stories

I have a android phone without root permission, So i can't meet fps value shows

I'm not sure what you are asking?
On Jul 8, 2016 7:11 AM, "oatsuper"<EMAIL_ADDRESS>wrote:

I have a android phone without root permission, So i can't meet fps value
shows
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/friendlyrobotnyc/TinyDancer/issues/31, or mute the
thread
https://github.com/notifications/unsubscribe/AEUX3K61ipJDXl7bI0mIy4-YEmTJhrNsks5qTjBagaJpZM4JH7-v
.

Feeling embarrassed，I had import this library to my test demo, after install apk to my android phone. it  does not work ,i can not see the fps show on screen. This phone' android build type is release.
But I installed my the same apk to another phone your library work well ,which phone with android eng version (ro.build.type]: [eng] from getprop command)
I wanna know to get fps shows with a android phone without root permission
Thanks~~

You don't need root permission. What phone is it not working on? In app
info is there permission you can enable?
On Jul 8, 2016 7:28 AM, "oatsuper"<EMAIL_ADDRESS>wrote:

Feeling embarrassed，I had import this library to my test demo, after
install apk to my android phone. it does not work ,i can not see the fps
show on screen. This phone' android build type is release.
But I installed my the same apk to another phone your library work well
,which phone with android eng version (ro.build.type]: [eng] from getprop
command)
I wanna know to get fps shows with a android phone without root permission
Thanks~~
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/friendlyrobotnyc/TinyDancer/issues/31#issuecomment-231337467,
or mute the thread
https://github.com/notifications/unsubscribe/AEUX3C2L5PQU7rYtLnZf-nodc4jFAJXLks5qTjRugaJpZM4JH7-v
.

draw over other apps？？my app had get this permission  in settings info
which permission  in my app should request？

i don't know why it works after "pm clear " haha

Weird. Glad it works now :-)
On Jul 8, 2016 7:50 AM, "oatsuper"<EMAIL_ADDRESS>wrote:

i don't know why it works after "pm clear " haha
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/friendlyrobotnyc/TinyDancer/issues/31#issuecomment-231340818,
or mute the thread
https://github.com/notifications/unsubscribe/AEUX3DElCL6Bj0QkeeSddNPC_ezUfraeks5qTjmdgaJpZM4JH7-v
.

To Weird ～～ you can close this issue, sorry to trouble you ～


Blank Page after fresh Bonobo.Git.Server installation on IIS8

Hi, my system is a Windows Server2012 running IIS8.
I downloaded Bonobo.Git.Server from GitHub and followed the instructions...
Checked the Prerequisites, Copy and Decompress files to /inetpub/.
Changed Permissions, convert to application enable auth.. and ive a blank page if i connect to localhost/Bonobo.Git.Server (just firefox) in real i got Status 403.
The IE shows this error.
If i dieable the Authentication on IIS menu i get about 17 requests with 302 error and after that one 404.
And a really huge url due to much redirects the url is:
http://localhost/Bonobo.Git.Server/Home/LogOn?ReturnUrl=%2FBonobo.Git.Server%2FHome%2FLogOn%3FReturnUrl%3D%252FBonobo.Git.Server%252FHome%252FLogOn%253FReturnUrl%253D%25252FBonobo.Git.Server%25252FHome%25252FLogOn%25253FReturnUrl%25253D%2525252FBonobo.Git.Server%2525252FHome%2525252FLogOn%2525253FReturnUrl%2525253D%252525252FBonobo.Git.Server%252525252FHome%252525252FLogOn%252525253FReturnUrl%252525253D%25252525252FBonobo.Git.Server%25252525252FHome%25252525252FLogOn%25252525253FReturnUrl%25252525253D%2525252525252FBonobo.Git.Server%2525252525252FHome%2525252525252FLogOn%2525252525253FReturnUrl%2525252525253D%252525252525252FBonobo.Git.Server%252525252525252FHome%252525252525252FLogOn%252525252525253FReturnUrl%252525252525253D%25252525252525252FBonobo.Git.Server%25252525252525252FHome%25252525252525252FLogOn%25252525252525253FReturnUrl%25252525252525253D%2525252525252525252FBonobo.Git.Server%2525252525252525252FHome%2525252525252525252FLogOn%2525252525252525253FReturnUrl%2525252525252525253D%252525252525252525252FBonobo.Git.Server%252525252525252525252FHome%252525252525252525252FLogOn%252525252525252525253FReturnUrl%252525252525252525253D%25252525252525252525252FBonobo.Git.Server%25252525252525252525252FHome%25252525252525252525252FLogOn%25252525252525252525253FReturnUrl%25252525252525252525253D%2525252525252525252525252FBonobo.Git.Server%2525252525252525252525252FHome%2525252525252525252525252FLogOn%2525252525252525252525253FReturnUrl%2525252525252525252525253D%252525252525252525252525252FBonobo.Git.Server%252525252525252525252525252FHome%252525252525252525252525252FLogOn%252525252525252525252525253FReturnUrl%252525252525252525252525253D%25252525252525252525252525252FBonobo.Git.Server%25252525252525252525252525252FHome%25252525252525252525252525252FLogOn%25252525252525252525252525253FReturnUrl%25252525252525252525252525253D%2525252525252525252525252525252FBonobo.Git.Server%2525252525252525252525252525252FHome%2525252525252525252525252525252FLogOn%2525252525252525252525252525253FReturnUrl%2525252525252525252525252525253D%252525252525252525252525252525252FBonobo.Git.Server%252525252525252525252525252525252F
the decoded url is:
http://localhost/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/Home/LogOn?ReturnUrl=/Bonobo.Git.Server/
...really crazy
i tried to find some logfiles but the iis file just shows the connections..
the Bonobo.Git.Server.Errors.log shows just these line: (every restart it appends this line)
Native library pre-loader is trying to load native SQLite library "C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll"...
i hope some of you re able to help me solving this wired issue...

I have the exact same config and it works out of the box. Check the windows events logs for details of this failure, and fix it.

there are no logs @ windows eventlog :/
this IIS runs also PHP ...maybe this could be an issue..
the iis logfile shows just the connection.. maybe run a dedicated (new) server for bonobgit or go to unix and using gitlab would be better... but id like to solve this isue anyway.....

http://localhost/Bonobo.Git.Server this doesn't look like a sensible base URL - you're possibly tripping over some of the rules about dots in IIS paths.
I'm afraid I'm going to close this because it's beyond the limited resources of the Bonobo devs to help with every possible IIS setup issue.

http://localhost/Bonobo.Git.Server this doesn't look like a sensible base URL

it's the default URL that you guys defined....

@gaelj The URL is an IIS setup thing.   Don't wade into pointlessly insulting people who might be trying to offer free help.


can not access to numpy files

I tried to get numpy files you offer in the subscription, but it seems closed.
Any chance to get those files?

Same issue. If the link to files changed please tell us know


docs: Add a note how to do stable branch cherry-picking

Stable branches were introduced. This change will add a small hint on how
patches can be picked into stable branches.
Signed-off-by: Fabian Deutsch<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/release-note-none

Good point @stu-gott.
I'm not sure how the cli flow would be. Butbtge adjustments should be part of the 🍒-pick change. Could be an amend or a merge conflict resolve.


sintax error: unexpected token

I new using React and right now I'm facing a problem with the routing, here is my react code.
import React from "react";
import { BrowserRouter, Route } from "react-router-dom";
import Login from "./components/login/Login";
import Mapbox from "./components/map/Mapbox";

class Routing extends React.Component {
    render() {
        return (
        	<BrowserRouter>

        			<Route path="/" component={Login} exact />
        			<Route path"/map" component={Mapbox} />

        	</BrowserRouter>
        );
    }
}

export default Routing;

But when I tried to run my app I get the following error
./src/Routing.jsx
Syntax error: Unexpected token (12:23)

  10 |

  11 |         			<Route path="/" component={Login} exact />
> 12 |         			<Route path"/map" component={Mapbox} />
     |         			           ^
  13 |

  14 |         	</BrowserRouter>
  15 |         );

Any idea what I'm getting this error.

You're missing an equals sign.


How can this software load images so quickly?

It took about 1 minute to load a total of 1.30 GB of files. Normally, it takes me more than 10 minutes to load a game on Steam this size.

There's several factors at play such as your ISP, The server you're downloading from, etc... But I don't think it should be that much of a difference (10x). The main limiting factor in the example of downloading from Webtoon vs Steam servers would be your Bandwidth.


Netherlands map

Hi there!
Would it be possible to add the map of the Netherlands?
https://jvectormap.com/maps/countries/netherlands/
The specific code: "nl_mill".
It would be awesome if that's possible!

@kadoshms Could you look into this? It's crucial for the project we are working on. Quite some people want more map to be supported; Is there any way to add them ourselves?


openshift-client-plugin really still a "tech preview" ?

The readme.md states:

To that end, the new experimental OpenShift Client Plugin for Jenkins is now offered as a technical preview and is included in the OpenShift Jenkins images on Centos

Is this still true as the openshift-client-plugin was released 1.0.0 on 2017-09-27 and the openshift-client-plugin calls this plugin a "legacy plugin":
From https://github.com/openshift/jenkins-client-plugin

If you are interested in the legacy Jenkins plugin, you can find it
here.

I guess openshift-client-plugin is the way to go, so anything stopping it from beeing used in Production in version 1.0.0 and above ?

Yeah, with the upcoming 3.7 release of OpenShift (to be release any day now) we are declaring openshift-client-plugin supported (no longer experimental).
It will be officially supported in production envs at that point.
And yes, we'll need to update this readme to reflect that.  And yes, while this plugin is still supported, openshift/jenkins-client-plugin is the strategic direction.

I can't find a nice way to replicate the functionality of openshiftVerifyDeployment in the new plugin. It'd be a shame to lose the features that this plugins does well.

I can't find a nice way to replicate the functionality of openshiftVerifyDeployment in the new plugin. It'd be a shame to lose the features that this plugins does well

This plugin won't be going anywhere for a while, we're just not going to be adding new capabilities.
Longer term, what we want to do is make the "oc" client binary more capable of these type of actions (verifying things, waiting for things to complete, etc).  After all, someone scripting usage of oc outside of a jenkins job might want to verify a deployment too.  Then the openshift client plugin would naturally inherit those capabilities.
@gabemontero assigning this to you for any cleanup that needs to be done in both plugin readmes to reflect the deprecated status of this plugin and the GA status of the client plugin.


Default emojis returning a 404 image

The src of the images for default emojis like :heart: are returning a 404 error.

As far as I've seen, the CDN is working fine but instead of using URL of code points https://twemoji.maxcdn.com/v/latest/svg/2764-fe0f.svg it works if only the first filename part is sent https://twemoji.maxcdn.com/v/latest/svg/2764.svg.
Maybe twemoji libary docs have more info about this.

Will look into this.
https://github.com/ItzDerock/discord-html-transcripts/blob/master/src/utils/utils.ts#L17
Issue probably originates from this function.

able to reproduce, looking into how I can fix this.

Looked into this a bit. I think all I need to do is implement the grabTheRightIcon(...) function from twemoji into discord-html-transcripts

Issue should be fixed with that commit. Note that emojis released in Unicode/Emoji 15 still will not work as some of the people on the team to release that were laid off.

released in 3.1.4


updated to latest Catch UT framework plus PR #496 to work with MinGW

Updated to v1.2.1 of Catch UT framework, since old one failed to build with MinGW (related to #369)
Also applied https://github.com/philsquared/Catch/pull/496 because without it, compilation fails with -Werror option set.

Merged (as 7747cab), thank you!


Adjust Julia release and nightly URL's to download from S3

This removes the dependency on status.julialang.org, which is another point of failure for DNS outages etc.
Downside is we'll need a tiny PR to change the 0.4 in release every time we have a new minor release, which should only be once or twice a year.

cc @staticfloat and @ninjin, this is a bit urgent since status.julialang.org is down right now, we're in the middle of some messy DNS migrations and builds are failing.

+1

Looks good to me.


[Bug] Inconsistent caused by the sum of constant

When I sum a constant value but with out of bound acess, the result of noschedule and scheduled programs will be different. It may be related to the optimization of 'tir.const'.
def te_test():
    inline_tensor = te.compute([3], lambda ax0 : tir.const(-3.40282e+1, dtype="float32"), name='inline_tensor')
    k = te.reduce_axis([0, 64], name='k')
    B = te.compute([], lambda  : te.sum(inline_tensor[k], axis=[k]), name='B')
    return [B]

Expected behavior
Same results.
Actual behavior
Different results.
Not equal to tolerance rtol=1e-05, atol=1e-07

x and y nan location mismatch:
 x: array(nan, dtype=float32)
 y: array(-2177.8052, dtype=float32)
@main = primfn(B_1: handle) -> ()
  attr = {"from_legacy_te_schedule": True, "global_symbol": "main", "tir.noalias": True}
  buffers = {B: Buffer(B_2: Pointer(float32), float32, [1], [])}
  buffer_map = {B_1: B}
  preflattened_buffer_map = {B_1: B_3: Buffer(B_2, float32, [], [])} {
  B[0] = 0f32
  B[0] = (B[0] + -34.0282f32)
  B[0] = (B[0] + -34.0282f32)
  B[0] = (B[0] + -34.0282f32)
    ...
  B[0] = (B[0] + -34.0282f32)
  B[0] = (B[0] + -34.0282f32)
  B[0] = (B[0] + -34.0282f32)
  B[0] = (B[0] + -34.0282f32)
}

Environment
Operating System: Ubuntu 18.04
TVM version: v0.10.dev0
Steps to reproduce
import tvm
import json
import random
import numpy as np
from tvm import te
from tvm import tir
from tvm import testing
from tvm import auto_scheduler
from tvm.auto_scheduler.workload_registry import register_workload_tensors

POLICY_PARAMS = {
    "eps_greedy": 0.05,
    "retry_search_one_round_on_empty": 1,
    "sample_init_min_population": 3,
    "sample_init_use_measured_ratio": 0.2,
    "evolutionary_search_population": 5,
    "evolutionary_search_num_iters": 4,
    "evolutionary_search_mutation_prob": 0.85,
    "cpu_multi_level_tiling_structure": "SSRSRS",
    "gpu_multi_level_tiling_structure": "SSSRRSRS",
    # Notice: the default thread bind policy of GPU assumes the tiling structure to have at
    # least 3 spatial tiling levels in outermost
    "max_innermost_split_factor": 64,
    "max_vectorize_size": 16,
    "disable_change_compute_location": 0,
}

def te_test():
    inline_tensor = te.compute([3], lambda ax0 : tir.const(-3.40282e+1, dtype="float32"), name='inline_tensor')
    k = te.reduce_axis([0, 64], name='k')
    B = te.compute([], lambda  : te.sum(inline_tensor[k], axis=[k]), name='B')
    return [B]

# Get dag and print it.

tensors = te_test()
dag = auto_scheduler.ComputeDAG(tensors)
dict = json.loads(tvm.ir.save_json(tensors))
with open("./saved_json.txt", "w") as file:
    file.write(tvm.ir.save_json(tensors))
print(dag)

# Get inputs.

inputs = []
for tensor in dag.tensors:
    shape = [x.value if 'value' in dir(x) and isinstance(x.value, int) else 1 for x in tensor.shape]
    inputs.append((2 * np.random.uniform(size=shape)+1).astype(tensor.dtype))

# Get program with no schedule.

results = []
mod_list = []
pre_schedule_list = dag.apply_steps_from_state(dag.get_init_state())
pre_mod = tvm.lower(pre_schedule_list[0], pre_schedule_list[1], simple_mode=True)
mod_list.append(pre_mod)
with tvm.transform.PassContext(opt_level=0):
    mod_exec = tvm.build(pre_mod)
    print(pre_mod)

new_inputs = [tvm.nd.array(x, tvm.cpu()) for x in inputs.copy()]
mod_exec(*new_inputs)
result = []
for x in new_inputs:
    try:
        result.append(x.numpy() if isinstance(
            x, tvm.runtime.NDArray) else x)
    except (ValueError, tvm.TVMError):
        result.append(None)
results.append(result)

# Get program with schedule.

register_workload_tensors(dag.workload_key(), tensors)
task = auto_scheduler.SearchTask(workload_key=dag.workload_key(), target=tvm.target.Target("llvm"))
policy = auto_scheduler.SketchPolicy(task, verbose=0, params=POLICY_PARAMS)
states = policy.sample_initial_population()

for state in states:
    schedule_list = dag.apply_steps_from_state(state)
    print("Before Schedule")
    mod = tvm.lower(schedule_list[0], schedule_list[1], simple_mode=True)
    mod_list.append(mod)
    print("After Schedule")
    with tvm.transform.PassContext(opt_level=0):
        mod_exec = tvm.build(mod)

    new_inputs = [tvm.nd.array(x, tvm.cpu()) for x in inputs.copy()]
    mod_exec(*new_inputs)
    print("Got results")
    result = []
    for x in new_inputs:
        try:
            result.append(x.numpy() if isinstance(
                x, tvm.runtime.NDArray) else x)
        except (ValueError, tvm.TVMError):
            result.append(None)
    results.append(result)

for i in range(1, len(results)):
    result = results[i]
    for compare_idex in [-1]:
        try:
            tvm.testing.assert_allclose(results[0][compare_idex], result[compare_idex], rtol=1e-5)
        except AssertionError as e:
            print(e)
            print(mod_list[i])
            break

Thank you for reporting the issue, we are moving towards TensorIR and meta-schedule. and it is expected that some of the legacy te and auto-scheduler may not cover all cases and require tuning to guard against possible failure case.
You are more than welcomed to try out TensorIR and meta-schedule instead. For us to work on a fix the test case needs to be actionable and ideally work as a unit test.
Meta-schedule also comes with a more friendly trace, with TVMScript so makes it easier for the issue to be actionable. Specifically, most of the test-cases come with a TVMScript before, a trace, and expected tvmscript to know why.
Closing this for now as the issue is on a legacy module that do not necessarily guarantee arbitrary schedule robustness, and it is not actionable atm. In this particular case, we do not guarantee correctness if the original program itself have out of bound access


No input form visible for the chat

Hi Priyanka,
thank you for the great tutorial. I am having troubles displaying the chat window in the frontend.
I trained the chatbot, I set the google project ID and the service key location (in views.py). I made migrations as you stated and the chat window does not appear as in the tutorial.
Am I missing something?

the same problem arises.


cudaPackages.testAnyCudaObject: init

includes some commented code from when i tried to have the function override the provided package to enable CUDA. turns out finalAttrs.finalPackage does not have .override /shrug
@SomeoneSerge is this of any interest?

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

i opted for passthru.tests rather than a installCheckPhase hook do avoid a cudaPackages-wide dependence on cuobjdump

the tests of the two packages i pushed doesn't seem to pass, could use investigation


Ability to change Title Color Background for Share Chatbot

Hi, Flowise is an awesome solution and I might be using it in the simplest way ever, however, I am restricted in ability to deploy because of a lack of color editing on the title.
I use the Share Chatbot link as most of my scenarios are in an iFrame.
There is currently no ability to change from the default blue.

My customers want to be on brand when I am embedding chatbots into their pages.

Thanks

You can but you need to do it yourself in your own repo today.
To do so, open the existing repo here https://github.com/FlowiseAI/FlowiseChatEmbed
Then clone it into your own repo. Look at Bot.tsx, specifically here around line 483:
background: props.bubbleBackgroundColor,
This is where the header is drawing it's background from. Ultimately this color comes from
bubbleBackgroundColor={bubbleProps.theme?.button?.backgroundColor ?? defaultButtonColor}
And I think that is falling back to the default const defaultButtonColor = '#007AC9'
So you could probably just change that const and it would work, I didn't try. But after you change it and recompile web.js, note you'd have to host it yourself somewhere and not use the one on the CDN.

My guess it's a lot of work to put this into the product since it'd have to introduce ability to theme somehow.
If that's your goal, then better to just create custom .css files for each of your deployments and try to use CSS targeting to modify the colors with !important on them. It won't be perfect but it's a lot faster and easier.

@YAYJAY you can modify the title color:
theme: {
    button: {
        backgroundColor: "<any-color>" // <- update this
    }

@HenryHengZJ - in my use case I create chatbots for various customers and place them using a iFrame in to existing software. Each chatbot deployed needs customer color to fit in with their existing branding.
As I understand it, if I modify that, it's for all deployed Chatbots and I would have to deploy multiple instances of Flowise and modify the color of each instance.
If the color setting for the title was added into the "Share Chatflow" config page like it is for the nine other color settings on each individual chatflow, then I could continue to deploy chatbots to my customers with a single deployed instance of Flowise.

Hey @automaton82 , echoing @YAYJAY 's concerns here -- forcing users to clone FlowiseChatEmbed or deploy custom CSS to apply different design treatments to the chatbot seems very complicated.
As mentioned in multiple other discussions and issues, it would be great if the built-in Share ChatBot option in the main Flowise repo had easy overrides to:

Change the Title Color Background
Change the Font
Change the "Powered By" text

To support this customizability, I get that these options need to be exposed in the standard FlowiseChatEmbed library.  If someone were to submit a PR to this repo with these options, would you be okay accepting them into the main repo?
References:
https://github.com/FlowiseAI/Flowise/discussions/626
https://github.com/FlowiseAI/Flowise/discussions/1351
https://github.com/FlowiseAI/Flowise/discussions/1515

^ Maybe @HenryHengZJ and @Jaredude can comment on this as well, since I don't know if @automaton82 is the original repo maintainer of FlowiseChatEmbed.

@YAYJAY you can modify the title color:
theme: {
    button: {
        backgroundColor: "<any-color>" // <- update this
    }
}

Echoing @HenryHengZJ's prior comment. There might be some misunderstanding about how to implement this. This change is purely on the client side and doesn't require custom css or cloning the repo. For example:

This is using the React version, but the pure JS would be identical. Changing the header is just a matter of changing the button.backgroundColor. In this case, I've changed it to 'pink'. This is how everything shows on the webpage:

If you need to have the header color different than the button color, that would require modifying component source code. And in the flowise share bot popup, there is no option to change the button color, but it doesn't seem like either of those are at hand here.
@YAYJAY I hope that clarifies things. One Flowise server can host multiple bots, all of which have different themes as defined by configuring the theme options.

@Jaredude Thank you. for @HenryHengZJ also. To add further clarification to my use cases (plural)
#1. I use an existing widget, and it provides a bunch of different tools that are in use by my customers.
The Widget already has Calendar booking, Forms, Texting, Knowledge Base, Support Chat, Texting, and also has support for iFrame which is how I deploy AI Chatbots.

The ability to iFrame anything into the Widget is a single URL

Scenario #2. - WordPress iFrame.
I build business directories, and the directory is already using the Popup Widget position and has an iFrame bot in it for the directory. This iFrame is also enabled by a single URL in the WordPress module that the business directory supports. Note, this page has two iFramed Bots. One for the directory and one for the specific business listing we are on. There are potentially hundreds of iFrame bots on this one directory.

Scenario Case #3 - GoHighLevel CRM Custom Menu Links
The popular CRM product call GHL has an ability to provide what looks like a inbuilt addon to the CRM product via something called a Custom Menu Link. It only allows a single iFrame URL and I have no control to add code snippets with all the configuration overrides. And in this case there is already a popup support widget for the CRM.

In all these scenarios, and more, I can only specify a single iFrame URL not use a custom deployed code snippet to deploy a popup widget.
I am no-code capable, though I did figure out how to deploy ChatEmbed following some instructions to remove the PoweredBy, however, with all customers needing a different color title, I would need to somehow deploy an instance of ChatEmbed for all of them with a different default color.
I would prefer to not even have to deploy ChatEmbed separately at all. All I need is for there to be a color selector on the Title like there is for the NINE other color selectors on the default Share Chatflow.

I'm not sure I understand the implications of introducing this feature. It seems simple to me that if you can offer 9 other color config selectors for the Chatflow, why can't we add a 10th and why is the best suggestion to go and create additional deployments and in my case, a deployment for everyone in the business directory.
There seems like a lot of push back to something that was obviously overlooked in the first place. Like, here, you must have a blue title but you can have any color button you want. Or, you need to be a coder if you want to change the title, but not if you want to change every other aspect of the Chatflow colors.
As @dkindlund said, would you be open to having someone else make the needed changes and would you accept them into the main branch so we can simplify my life, and maybe @dkindlund and probably others. If so, who can I pay to make that change please?
Thanks so much for building a very cool product, maintaining the repo, and engaging with us non-developers that want to use your product. Much appreciated.

assigned @0xi4o to take a look!

Yay @0xi4o. go go go!


Show CSS styles of selected element in the order from the most specific to the least specific in Quick Edit

When in Live Preview mode, I want to easily inspect and edit CSS styles of a selected element using Quick Edit. This is how it looks in Chrome Dev Tools:

And this is how it looks in Brackets:

It looks just messy and it's hard to find all the styles applied to the element. Couldn't you order all the CSS styles from the most specific to the least specific, as in Chrome? It would be much easier to quickly edit the CSS code.
Thanks!

@niutech If I understand correctly, this has to do more with enhancing quick edit, to be showing classes applied to an element as shown in google dev tools, than the live preview feature itself, right?

@nethip Yes, it is the Quick Edit issue.


Chart Options showing up in explore under "Data" tab

In explore the "Chart Options" section is showing up under the data tab which looks confusing because it contains controls for the color, legend (things that don't affect the data). The section is moved to the data tab if any of the controls don't have renderTrigger true, the new label_colors control doesn't have renderTrigger set.
@khtruong Can renderTrigger be set to true for label_colors? Render trigger will make the visualization be re-rendered when the control is changed. If so the "Chart Options" goes back to the Visual tab.
I started to make this change, but noticed that there isn't a control showing up in the UI, it's more of a hidden control, so I'm not sure if it's right to re-render the visualization when the control is changed. If it's a hidden control that can't be set to renderTrigger true, maybe we can put it in the controlSetRow with the other hidden controls (like slice_id, url_params)?
Expected results
Chart options section shows up on the "Visual Properties" tab
Actual results
Chart options section shows up on the "Data" tab
How to reproduce the bug

Go to a line chart
On the left side panel see "Chart Options"

Environment

superset version: master

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

@khtruong
cc: @graceguo-supercat

Hey Michelle. At the moment, label_colors is a hidden control. Once we enable color consistency for charts, it will not be a hidden control. It's should be safe to set rengerTrigger as true even if it is a hidden control. The only time it changes is when the color scheme changes, which also re-renders.

Btw, I totally agree with your proposal. It is a bit confusing to have controls that aren't related to data under the data tab. So I am all for these changes.


'Excludes' doesn't work for directories.

Assuming a directory structure of:
- lang
    - en
        - file_name_1.php
        - directory_name
            - file_name_2.php

And in the config file:
'excludes' => [
        'file_name_1',    /* Works */
        "directory_name",    /* Doesn't work */
    ],

When art vue-i18n:generate is run, then everything inside directory_name will be included in the output file.
Placing directory_name/file_name_2' into the excludes` array is a workaround, but it doesn't suit my use case.

See #81

Thanks for the reply, but it doesn't address my issue. I have defined my root folder. The comment of the excludes array states you can add directories to the array to exclude them. You cannot. This feature does not work.

Alrightm thanks for letting me know

Looking at the source code (https://github.com/martinlindhe/laravel-vue-i18n-generator/blob/master/src/Generator.php#L56) the generator will only compare filenames ignoring the folder path.
So if you wanted to exclude file_name_2.php you could just add file_name_2 to your excludes array as a workaround.

I'm not working on this code atm, but you are very welcome to submit a PR to fix this.

Hi @martinlindhe , do you have any guidelines for PRs?

@karolispx nothing special, just open a PR and we take it from there!

I took a quick look at this and the code at https://github.com/martinlindhe/laravel-vue-i18n-generator/blob/master/src/Generator.php#L56 is used to exclude directories inside 'resources/lang/' directory, i.e. if you had a few languages: en, ko, ru - you could exclude the whole language directory by adding the folder name to 'excludes' at https://github.com/martinlindhe/laravel-vue-i18n-generator/blob/master/src/config/vue-i18n-generator.php#L41, i.e. 'excludes' => ['ko'],
The actual problem is not being able to exclude directory from a language folder, i.e. excluding directory '/resources/lang/en/custom' does not work.
This function https://github.com/martinlindhe/laravel-vue-i18n-generator/blob/master/src/Generator.php#L259 handles file exclusion so I think appropriatefunction needs to be written for excluding directories and called here https://github.com/martinlindhe/laravel-vue-i18n-generator/blob/master/src/Generator.php#L215
Will take a closer look when I have some time.


ecs query return REFUSED

When I use the below command line，it works fine.
root@xxx:~#dig @<IP_ADDRESS> www.google.com +subnet=<IP_ADDRESS>/24

; <<>> DiG 9.11.26-RedHat-9.11.26-6.tl3 <<>> @<IP_ADDRESS> www.google.com +subnet=<IP_ADDRESS>/24
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65524
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
; CLIENT-SUBNET: <IP_ADDRESS>/24/22
;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.         300     IN      A       <IP_ADDRESS>

;; Query time: 3 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Wed Jun 22 10:36:11 CST 2022
;; MSG SIZE  rcvd: 70

However, when I use the code below, it returns REFUSED.
e := new(dns.EDNS0_SUBNET)
e.Code = dns.EDNS0SUBNET
e.Family = 1
e.SourceNetmask = 32
e.SourceScope = 0
e.Address = net.ParseIP("<IP_ADDRESS>").To4()

o := new(dns.OPT)
o.Hdr.Name = "."
o.Hdr.Rrtype = dns.TypeOPT
o.Option = append(o.Option, e)

m := new(dns.Msg)
m.Extra = append(m.Extra, o)
m.SetQuestion(dns.Fqdn("www.google.com"), dns.TypeA)

c := new(dns.Client)
in, _, err := c.Exchange(m, net.JoinHostPort("<IP_ADDRESS>", "53"))
if err != nil {
    logrus.Fatal(err)
}

fmt.Println(in)

for _, answer := range in.Answer {
    a, ok := answer.(*dns.A)
    if ok {
	fmt.Println(a.A)
    }
}

The output is as follows:
;; opcode: QUERY, status: REFUSED, id: 40302
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version 0; flags: ; udp: 512
; EDE: 49152: (Provided ECS includes 32 bits, but no more than 24 are allowed. https://developers.google.com/speed/public-dns/docs/ecs)
; SUBNET: <IP_ADDRESS>/32/0

;; QUESTION SECTION:
;www.google.com.        IN       A

What is the cause of this problem?
Thanks in advance.

; EDNS: version 0; flags: ; udp: 512

; EDE: 49152: (Provided ECS includes 32 bits, but no more than 24 are allowed.
You have your answer in GDNS response. It is an extended DNS error (
https://datatracker.ietf.org/doc/html/rfc8914) that tells you to use /24 max.
On Tue, Jun 21, 2022 at 7:44 PM alanyangsai @.***>
wrote:

When I use the below command line，it works fine.
@.***:~#dig @<IP_ADDRESS> www.google.com +subnet=<IP_ADDRESS>/24
; <<>> DiG 9.11.26-RedHat-9.11.26-6.tl3 <<>> @<IP_ADDRESS> www.google.com +subnet=<IP_ADDRESS>/24
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65524
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
; CLIENT-SUBNET: <IP_ADDRESS>/24/22
;; QUESTION SECTION:
;www.google.com.                        IN      A
;; ANSWER SECTION:
www.google.com.         300     IN      A       <IP_ADDRESS>
;; Query time: 3 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Wed Jun 22 10:36:11 CST 2022
;; MSG SIZE  rcvd: 70
However, when I use the code below, it returns REFUSED.
e := new(dns.EDNS0_SUBNET)
e.Code = dns.EDNS0SUBNET
e.Family = 1
e.SourceNetmask = 32
e.SourceScope = 0
e.Address = net.ParseIP("<IP_ADDRESS>").To4()
o := new(dns.OPT)
o.Hdr.Name = "."
o.Hdr.Rrtype = dns.TypeOPT
o.Option = append(o.Option, e)
m := new(dns.Msg)
m.Extra = append(m.Extra, o)
m.SetQuestion(dns.Fqdn("www.google.com"), dns.TypeA)
c := new(dns.Client)
in, _, err := c.Exchange(m, net.JoinHostPort("<IP_ADDRESS>", "53"))
if err != nil {
logrus.Fatal(err)

}
fmt.Println(in)
for _, answer := range in.Answer {
a, ok := answer.(*dns.A)

if ok {

fmt.Println(a.A)
}

}
The output is as follows:
;; opcode: QUERY, status: REFUSED, id: 40302
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version 0; flags: ; udp: 512
; EDE: 49152: (Provided ECS includes 32 bits, but no more than 24 are allowed. https://developers.google.com/speed/public-dns/docs/ecs)
; SUBNET: <IP_ADDRESS>/32/0
;; QUESTION SECTION:
;www.google.com.        IN       A
What is the cause of this problem?
Thanks in advance.
—
Reply to this email directly, view it on GitHub
https://github.com/miekg/dns/issues/1385, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAF77FE3NUCLPPED6O2NCLVQJ42NANCNFSM5ZOSKN5A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

; EDNS: version 0; flags: ; udp: 512
; EDE: 49152: (Provided ECS includes 32 bits, but no more than 24 are allowed. You have your answer in GDNS response. It is an extended DNS error ( https://datatracker.ietf.org/doc/html/rfc8914) that tells you to use /24 max.
…
On Tue, Jun 21, 2022 at 7:44 PM alanyangsai @.> wrote: When I use the below command line，it works fine. @.:~#dig @<IP_ADDRESS> www.google.com +subnet=<IP_ADDRESS>/24 ; <<>> DiG 9.11.26-RedHat-9.11.26-6.tl3 <<>> @<IP_ADDRESS> www.google.com +subnet=<IP_ADDRESS>/24 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65524 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ; CLIENT-SUBNET: <IP_ADDRESS>/24/22 ;; QUESTION SECTION: ;www.google.com. IN A ;; ANSWER SECTION: www.google.com. 300 IN A <IP_ADDRESS> ;; Query time: 3 msec ;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>) ;; WHEN: Wed Jun 22 10:36:11 CST 2022 ;; MSG SIZE rcvd: 70 However, when I use the code below, it returns REFUSED. e := new(dns.EDNS0_SUBNET) e.Code = dns.EDNS0SUBNET e.Family = 1 e.SourceNetmask = 32 e.SourceScope = 0 e.Address = net.ParseIP("<IP_ADDRESS>").To4() o := new(dns.OPT) o.Hdr.Name = "." o.Hdr.Rrtype = dns.TypeOPT o.Option = append(o.Option, e) m := new(dns.Msg) m.Extra = append(m.Extra, o) m.SetQuestion(dns.Fqdn("www.google.com"), dns.TypeA) c := new(dns.Client) in, _, err := c.Exchange(m, net.JoinHostPort("<IP_ADDRESS>", "53")) if err != nil { logrus.Fatal(err) } fmt.Println(in) for _, answer := range in.Answer { a, ok := answer.(dns.A) if ok { fmt.Println(a.A) } } The output is as follows: ;; opcode: QUERY, status: REFUSED, id: 40302 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version 0; flags: ; udp: 512 ; EDE: 49152: (Provided ECS includes 32 bits, but no more than 24 are allowed. https://developers.google.com/speed/public-dns/docs/ecs) ; SUBNET: <IP_ADDRESS>/32/0 ;; QUESTION SECTION: ;www.google.com. IN A What is the cause of this problem? Thanks in advance. — Reply to this email directly, view it on GitHub <#1385>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAF77FE3NUCLPPED6O2NCLVQJ42NANCNFSM5ZOSKN5A . You are receiving this because you are subscribed to this thread.Message ID: @.**>

I try cloudflare dns server <IP_ADDRESS>, it works. So, the subnet mask is determined by the dns server, right?

@alanyangsai, your should update your code as
  e.SourceNetmask = 24

@alanyangsai, your should update your code as
  e.SourceNetmask = 24

Thanks. I have modified it,

@alanyangsai, your should update your code as
  e.SourceNetmask = 24

Thanks! I have modified it, and the output is normal. I want to know that the mask size is determined by the specific dns server, right?

On Wed, Jun 22, 2022 at 7:34 PM alanyangsai @.***>
wrote:

@alanyangsai https://github.com/alanyangsai, your should update your
code as
e.SourceNetmask = 24
Thanks! I have modified it, and the output is normal. I want to know that
the mask size is determined by the specific dns server, right?

Yes, this is a policy from the server. /24 is the rfc recommended max value
but nothing other than a server policy prevents it. See
https://datatracker.ietf.org/doc/html/rfc7871#section-11.1

—
Reply to this email directly, view it on GitHub
https://github.com/miekg/dns/issues/1385#issuecomment-1163856680, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAF77HAJHFDGX2NEUTII6DVQPELHANCNFSM5ZOSKN5A
.
You are receiving this because you commented.Message ID:
@.***>

Well, the mask size is not determined by the server. If you were not to
send any ECS option, the recursive server may want to use a net mask it
deems suitable, typically /24 for IPv4. Here, your client is telling the
server to use /32, the server responded by telling you it does not want to
honor request with a net mask greater than /24.

Well, the mask size is not determined by the server. If you were not to send any ECS option, the recursive server may want to use a net mask it deems suitable, typically /24 for IPv4. Here, your client is telling the server to use /32, the server responded by telling you it does not want to honor request with a net mask greater than /24.

I see, thanks for your answer!


adds support for month and year steps in Timex.Interval

adds support for month and year as a valid step for the Timex.Interval,
both in the “new” and “with_step” function. Also adds the given tests
into interval_test to make sure that the step type is correctly created.
Summary of changes
The documentation of Timex.Interval.with_step states "The step should be a keyword list valid for use with Timex.Date.shift.", but does not not support having a step size by months/years. This PR just adds those two step sizes
Checklist

[x] New functions have typespecs, changed functions were updated
[x] Same for documentation, including moduledocs
[x] Tests were added or updated to cover changes
[x] Commits were squashed into a single coherent commit

Coverage decreased (-0.09%) to 69.458% when pulling ed2ca701e1cd760e2a8fe0a4c8d6d7c7eac55ee0 on Musashi178:support-month-and-year-step-in-interval into 0861cb8ebcce3400282d7b50d89fcc000ca89326 on bitwalker:master.

Thanks!


Shortcut to deploy all previous modules to allow user to participate it the Observability lab

What would you like to be added?
Additional instruction to deploy modules from previous lab
Why is this needed?
To help user to participate in the Observability Lab even if user did not complete previous lab or join late.

I was delivering this workshop, and few customers arrived late and did not complete the initial task.  This small change, just provide customer with a shortcut to run the single command (vs reading the entire config session ) to deploy all the modules and participate in the Observability workshop.

The process executed by the reset-environment command include what was in your PR. This is meant to be executed at the start of each lab but it looks like a couple of observability labs are missing this (resource view and kubecost).
Instead of the change you submitted, you should ensure those labs mentioned above include this block:
https://github.com/aws-samples/eks-workshop-v2/blob/main/website/docs/observability/open-source-metrics/index.md?plain=1#L7-L14

will do.

This was completed by #506