[Suggestion] Have different stroke colors by default in Category and Choropleth wizard polygons.

@saleiva
Suggested in S/B 6479915
User feels default white stroke when using Category or Choropleth wizard does not work well on very small polygons, because you end up seeing only white stroke instead of polygon fill.
User also feels default expected behavior when coloring polygons by Category or Choropleth should be to change polygon stroke color in addition to polygon color, so "line-color" should be included in the default conditional CartoCSS blocks like 'polygon-fill' is.
Here's my way-zoomed-out example showing how white stroke dominates fill color: http://cdb.io/1UrJhz6

@ztephm I was just working on this myself.  And what I like to do is use a slightly lighter version of the fill for the outline. This is probably something that can be calculated on the fly when a user selects a color... lighten that color for the outline by x%.
Here's an example... it really softens the whole map and the outline is there to help accentuate the units but in a subtle way. It is a 1pt line width throughout (which could maybe be increased by .5 pixels at the larger scales).
zoom 4

zoom 8

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Validate on blur

Hi, how can I validate form field synchronously on blur, not on change? Also async validation is triggering on both blur and submit, but can I trigger it only once ( either on blur or submit)?
Thanks in advance

That's not really an option. I guess that if you wanted to hide the errors when a field was in focus, you could do something like this:
<input type="text" {...firstName}/>
{firstName.touched && firstName.error && !firstName.active && <span>{firstName.error}</span>}

The problem is that sync validation occurs every time I enter characters in textbox. In case of complex validation rules typing goes with delay.

You have sync validation that is so complex that it's slow? Is your form huge? What sort of operation are you performing? redux-form was designed with the assumption that sync validation would be very fast operations, like string lengths, number or date ranges, or regex matches.
If your form is large, it might not be sync validation that is holding you up, but the rerendering of the entire form. This was the motivation for rewriting the core of redux-form from v5 to v6, which is still only in alpha, unfortunately.

Ok, got it! As there is no way to run sync validation on blur, maybe there is a chance to do async validate on submit/blur only? For example when I check for email to be unique I show message 'Validating...' during async validation, but it looks strange that the same email is validating again when I hit submit button. This email has already been validated so why we validate it again on submit?

This email has already been validated so why we validate it again on submit?

This is a known issue. More about it here: https://github.com/erikras/redux-form/issues/888#issuecomment-216024016

Thanks for your help!


Got error running ambient demo

Bug Description
I’m following this guide(https://istio.io/latest/blog/2022/get-started-ambient/) to try ambient mode. But got the below error:
kubectl exec deploy/sleep -- curl -s http://istio-ingressgateway.istio-system/productpage
upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: delayed connect error: 22%
There're warning in ztunnel log:
~ k -n istio-system logs ztunnel-xsxt6 --tail 2
Defaulted container “istio-proxy” out of: istio-proxy, istio-init (init)
2022-09-09T16:06:12.503951Z	warning	envoy config	StreamSecrets gRPC config stream to sds-grpc closed: 2, failed to generate secret for spiffe://cluster.local/ns/default/sa/bookinfo-ratings~ratings-v1-754f9c4975-lwm8h~5c874f24-6836-446b-97e2-7bb58eb8dbbe: failed to generate workload certificate: create certificate: rpc error: code = Unauthenticated desc = transport: per-RPC creds failed due to error: fetch platform credential: could not create a token for spiffe://cluster.local/ns/default/sa/bookinfo-ratings/&BoundObjectReference{Kind:Pod,APIVersion:v1,Name:ratings-v1-754f9c4975-lwm8h,UID:5c874f24-6836-446b-97e2-7bb58eb8dbbe,}: serviceaccounts “bookinfo-ratings” is forbidden: User “system:serviceaccount:istio-system:ztunnel” cannot create resource “serviceaccounts/token” in API group “” in the namespace “default”
2022-09-09T16:06:12.503704Z	info	ads	ADS: “@” ztunnel-xsxt6.istio-system-681 terminated
All ambient components are up and running:
➜  ~ k -n istio-system get pod
NAME                                    READY   STATUS    RESTARTS   AGE
istio-cni-node-7nnns                    1/1     Running   0          33m
istio-cni-node-9blbb                    1/1     Running   0          33m
istio-cni-node-mjxfg                    1/1     Running   0          33m
istio-ingressgateway-6d84bf949c-75h87   1/1     Running   0          33m
istiod-546f8d6f66-v5rxv                 1/1     Running   0          34m
ztunnel-9d57r                           1/1     Running   0          34m
ztunnel-fvpjx                           1/1     Running   0          34m
ztunnel-txth2                           1/1     Running   0          34m
➜  ~ k get pod
NAME                                                  READY   STATUS    RESTARTS   AGE
bookinfo-productpage-waypoint-proxy-5964bdd4b-jgcqx   1/1     Running   0          11m
details-v1-7d88846999-zckgp                           1/1     Running   0          21m
kubernetes-proxy-75bf6fbbcb-cxvhx                     1/1     Running   0          80m
kubernetes-proxy-75bf6fbbcb-pqcxl                     1/1     Running   0          78m
notsleep-7b574d696b-mrj6f                             1/1     Running   0          50m
productpage-v1-5f578dd9b7-tpnpp                       1/1     Running   0          21m
ratings-v1-754f9c4975-lwm8h                           1/1     Running   0          21m
reviews-v1-69865ff55-lj5sp                            1/1     Running   0          21m
reviews-v2-789d584fbf-qbrxv                           1/1     Running   0          21m
reviews-v3-64f8b69f99-t9529                           1/1     Running   0          21m
sleep-7fbb55b6f5-q65sx                                1/1     Running   0          50m
➜  ~ k get gw
NAME               AGE
bookinfo-gateway   22m
➜  ~ k get vs
NAME       GATEWAYS               HOSTS   AGE
bookinfo   [“bookinfo-gateway”]   [“*”]   23m
Version
➜  ~ istioctl version
client version: 0.0.0-ambient.191fe680b52c1754ee72a06b3e0d3f9d116f2e82
control plane version: 0.0.0
data plane version: 0.0.0-ambient.191fe680b52c1754ee72a06b3e0d3f9d116f2e82 (4 proxies)

Additional Information
No response
Affected product area

[X] Ambient
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

What environment? is it on kind?

No, it's a standard k8s
➜  ~ kubectl version -oyaml
clientVersion:
buildDate: "2022-05-03T13:46:05Z"
compiler: gc
gitCommit: 4ce5a8954017644c5420bae81d72b09b735c21f0
gitTreeState: clean
gitVersion: v1.24.0
goVersion: go1.18.1
major: "1"
minor: "24"
platform: darwin/amd64
kustomizeVersion: v4.5.4
serverVersion:
buildDate: "2022-04-19T03:56:15Z"
compiler: gc
gitCommit: 79b517faeb244730136bef57c694da493a413bf9
gitTreeState: clean
gitVersion: v1.22.5-tke.1
goVersion: go1.16.15
major: "1"
minor: 22+
platform: linux/amd64
WARNING: version difference between client (1.24) and server (1.22) exceeds the supported minor version skew of +/-1

kubelet location and command parameters:
ubuntu@VM-1-16-ubuntu:~$ ps -ef |grep kubelet
root       14829       1  2 Sep09 ?        00:16:41 /usr/bin/kubelet --anonymous-auth=false --authentication-token-webhook=true --authorization-mode=Webhook --client-ca-file=/etc/kubernetes/cluster-ca.crt --cloud-config=/etc/kubernetes/qcloud.conf --cloud-provider=external --cluster-dns=<IP_ADDRESS> --cluster-domain=cluster.local --container-runtime=remote --container-runtime-endpoint=unix:///run/containerd/containerd.sock --eviction-hard=nodefs.available<10%,nodefs.inodesFree<5%,imagefs.available<15%,memory.available<100Mi --fail-swap-on=false --feature-gates=CSIMigration=true,CSIMigrationQcloudCbs=true --hostname-override=<IP_ADDRESS> --image-pull-progress-deadline=10m0s --kube-reserved=cpu=100m,memory=1024Mi --kubeconfig=/etc/kubernetes/kubelet-kubeconfig --max-pods=61 --network-plugin=cni --non-masquerade-cidr=<IP_ADDRESS>/0 --pod-infra-container-image=uswccr.ccs.tencentyun.com/library/pause:latest --provider-id=qcloud:///150001/ins-okrqu3ay --read-only-port=0 --register-schedulable=true --register-with-taints=tke.cloud.tencent.com/uninitialized=true:NoSchedule --runtime-request-timeout=15m --serialize-image-pulls=false --v=2

me too. i tested this demo in minikube

The easiest way to run ambient is a kind cluster in an Ubuntu host. I've
already got it running.
On Sat, Sep 10, 2022 at 9:25 PM cobb-tx @.***> wrote:

me too. i tested this demo in minikube
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/40900#issuecomment-1242728376, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKCWIWEAOPFJOLOMEX7ZPLV5SD3NANCNFSM6AAAAAAQI2GHCM
.
You are receiving this because you authored the thread.Message ID:
@.***>

can this be reopened? I'm trying to test this against a run-of-the-mill k8s cluster running in a cloud service (digitalocean if that matters, their managed offering). I get the same error in the kubectl exec calls (upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: delayed connect error: 22) but I can't see any warnings in the ztunnel logs - it seems to have happily created the spiffe stuff.

clientVersion:
  buildDate: "2022-09-21T14:25:45Z"
  compiler: gc
  gitCommit: 5835544ca568b757a8ecae5c153f317e5736700e
  gitTreeState: clean
  gitVersion: v1.25.2
  goVersion: go1.19.1
  major: "1"
  minor: "25"
  platform: darwin/amd64
kustomizeVersion: v4.5.7
serverVersion:
  buildDate: "2022-08-17T18:47:37Z"
  compiler: gc
  gitCommit: 95ee5ab382d64cfe6c28967f36b53970b8374491
  gitTreeState: clean
  gitVersion: v1.24.4
  goVersion: go1.18.5
  major: "1"
  minor: "24"
  platform: linux/amd64

And in fact I notice that the error only occurs when hitting the product page through the ingress gateway host:
kubectl exec deploy/sleep -- curl -s http://istio-ingressgateway.istio-system/productpage | head -n1

But there's no error output in the ingress gateway logs either.


Does not work for .NET Core and .NET Framework on MS Visual Studio 2019

I successfully built Telegram.Td.dll with -DTD_ENABLE_DOTNET=ON and added a reference to it in my project. But I get different runtime errors depending on target framework and project type.
Console App .NET Core 3.1:
using System;
using Td = Telegram.Td;
using TdApi = Telegram.Td.Api;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            // disable TDLib log
            Td.Client.Execute(new TdApi.SetLogVerbosityLevel(0));
            if (Td.Client.Execute(new TdApi.SetLogStream(new TdApi.LogStreamFile("tdlib.log", 1 << 27))) is TdApi.Error)
            {
                throw new System.IO.IOException("Write access to the current directory is required");
            }
            Console.WriteLine("Hello World!");
        }
    }
}

Gives System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
Console App .NET Framework 4, with the same code: gives no errors, but nothing happens (no "Hello World!" message). And constantly consumes one processor core.
If I put a breakpoint on the first line of Main, it is never reached.
Windows Forms .NET Framework 4.7.2 (also tried .NET Framework 4): I created a form, put a button on it and wrote a click handler:
        private void button1_Click(object sender, EventArgs e)
        {
            // disable TDLib log
            Td.Client.Execute(new TdApi.SetLogVerbosityLevel(0));
            if (Td.Client.Execute(new TdApi.SetLogStream(new TdApi.LogStreamFile("tdlib.log", 1 << 27))) is TdApi.Error)
            {
                throw new System.IO.IOException("Write access to the current directory is required");
            }
            MessageBox.Show("Hello");
        }

It gives "Managed Debugging Assistant 'LoaderLock' has detected a problem" when I press the button at runtime.
If I change Exception Settings (Exception settings - Managed Debugging Assistants - uncheck "LoaderLock") then I get another error: "Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem".
Debug Options - check "Use Managed Compatibility Mode" - didn't help.
Perhaps it is related to this? https://docs.microsoft.com/en-us/cpp/dotnet/initialization-of-mixed-assemblies?redirectedfrom=MSDN&view=vs-2019

Have you tried to use and extend our C# example https://github.com/tdlib/td/tree/master/example/csharp?

Yes just now I tried it. Project (x64) builds and runs, but the same thing happens as with Console App .NET Framework 4: no output, one processor core consumed, and breakpoint at 'Main' never reached.

TDLib has no custom DllMain, doesn't change global locale and shouldn't call managed code from unmanaged.
Could you add
#pragma managed(push, off)
...
#pragma managed(pop)

around
https://github.com/tdlib/td/blob/f2cb3afaef62f2dba2a0dc3dc63e374beabcb2df/td/telegram/ClientDotNet.cpp#L7
https://github.com/tdlib/td/blob/f2cb3afaef62f2dba2a0dc3dc63e374beabcb2df/td/telegram/LogDotNet.cpp#L7
https://github.com/tdlib/td/blob/f2cb3afaef62f2dba2a0dc3dc63e374beabcb2df/td/tl/tl_dotnet_object.h#L11-L12
https://github.com/tdlib/td/blob/f2cb3afaef62f2dba2a0dc3dc63e374beabcb2df/tdutils/td/utils/port/CxCli.h#L9-L11
https://github.com/tdlib/td/blob/f2cb3afaef62f2dba2a0dc3dc63e374beabcb2df/tdutils/td/utils/port/CxCli.h#L15
https://github.com/tdlib/td/blob/f2cb3afaef62f2dba2a0dc3dc63e374beabcb2df/tdutils/td/utils/port/CxCli.h#L19-L21
and check whether the deadlock has gone after TDLib is rebuilt with these changes?

Unfortunately rebuilding TDLib x64 Release with these changes had no effect.

Could you try to find the exact cause of the deadlock following instructions from https://docs.microsoft.com/en-us/cpp/dotnet/initialization-of-mixed-assemblies?view=vs-2019#how-to-debug-loader-lock-issues?

I could not follow all the instructions. It seems that instructions are outdated and do not work for Visual Studio 2019 (i.e. ".load sos.dll" does not work, there is no "Configuration Properties" window, etc.)
I created simple C++ project which tries to load Telegram.Td.dll:
#include <iostream>
#include <Windows.h>

int main()
{
    HANDLE hlib = LoadLibrary("Telegram.Td.dll");
    DWORD err = GetLastError();
    std::cout << "hlib = " << hlib << ", err = " << err;
}

It prints hlib = 0, err = 193 (0x000000C1) (bad exe format). Loading tdjson.dll the same way was successful.
libcrypto-1_1-x64.dll, libssl-1_1-x64.dll, zlibd1.dll - all of them were put in the project folder.
Under the assumption that the problem is the absence of some dependencies I used Dependency Walker and Process Monitor and I found that it tries to load these files:
api-ms-win-core-fibers-l1-1-1.DLL
api-ms-win-core-localization-l1-2-1.DLL
api-ms-win-core-datetime-l1-1-1.DLL
api-ms-win-core-localization-obsolete-l1-2-0.DLL
api-ms-win-appmodel-runtime-l1-1-2.DLL
that are missing on my system.
BUT: tdjson.dll also tries to load them and is loaded successfully.
Process Monitor logs attached.
PMLogs.zip

I found out that example works for Windows Server 2012 R2, Windows 10.
Doesn't work for Windows 7.

api-ms-win-* aren't in fact missing. Instead Dependency Walker is outdated and can't locate them.

I don't know where I can get Windows 7 for testing, given it reached end of support already. There is also a big chance that it would work for me.

@levlam Windows 7
@mrbus mr_makss 7 years ago switched to Windows 10 and all is well.

@mrbus Could you try to check whether C# example цщклы for you in the latest TDLib 1.7.0?

@levlam I switched to Python and used other libraries. And eventually I changed my OS to Windows 10, so this issue is not actual for me now, and I can't test TDLib 1.7.0 on Windows 7. Sorry for not reporting this earlier.

@mrbus Thanks. Then this can be closed for now.


Breadcrumbs. Title for parent crumbs instead of uri path

Hi!
I have simple example with bread crumbs.
Repository: https://github.com/dmmax/dmmax.github.io
There is folder foo (with index.html) and subfolder bar (with index.html too).
In the current moment
Foo page has breadcrumbs:

Bar page has breadcrumbs:

But I want to show Foo title on Bar page.
e.g.: on Bar page breadcrumbs should such as: dmmax | The Foo qq | The Bar 1235 instead of dmmax | foo | The Bar 1235
Could you help me with it?

Breadcrumb support is experimental. It hasn't been fleshed out to work like you want. The way it works now is it takes the URL and uses that as the crumb title, not the page title.
You'll likely need a Jekyll plugin to do what you want.


Change the title: "Dart Packages"

"Pub Package Manager" seems a weird title. We should have Dart right there – this is the site for Dart Packages.
Right?

...I'd like to discuss this a bit before running with it. Just brainstorming.

Related observations:

Searching for "dart packages" gets https://pub.dartlang.org/packages as the first result, right before the domain root.
Searching for "dart libraries" have many related results, but none of them is pub.dartlang.org on the first page (not sure if this is a concern, but I expected at least one first-page result).
Search for "angular dart package" gets https://pub.dartlang.org/packages/angular as the first result, and presents angular2, Angular2_components, angular_ui... as they were sub-sections of it.
The prior search has the page title: "angular 1.1.2+2 | Pub Package Manager - Dart Pub" - The "Pub" name is duplicated, and I'm not sure if it is beneficial to include the version there, e.g. "angular library | Pub - Dart Package Manager" could be better.

Should this issue closed, since https://github.com/isoos/pub-dartlang-dart/commit/1adda949cf75c0652d51e595b7b8468a881f41d7 has landed?


pause on slide transition with opacity on background image

Am not exactly sure how to describe this, or understand what's going on, but ...
If I have a presentation, where a slide has a background image with the opacity set, there's a pause where one can see the image of the preceding slide.
Anything you (or I) can do to shorten that so it's not a distraction?

Can you provide a small sample presentation which has the issue you described?

Sorry I've been slow getting back to this. Two things:

I don't have the sample anymore, but behavior is apparent if you have
more than one slide background image with opacity set. But ....

I don't really think it matters in retrospect, because there are better
ways the get result I wanted.

On Mon, Sep 19, 2016, 4:55 AM Jan Raasch<EMAIL_ADDRESS>wrote:

Can you provide a small sample presentation which has the issue you
described?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/slara/generator-reveal/issues/80#issuecomment-247941343,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAEbnmpnWoyQELo7P85SnFGlDKRNrr2ks5qrk35gaJpZM4J79f9
.


fix tensor_packbits_cuda_kernel for when batch size is not a multiple of bit count

Fixed this issue.
The new kernel also makes sure that padding bits are all zeros. Although I think this isn't necessary for correct operation.
Also added __repr__  to PackBitsTensor which helps detect the problem or the lack of it and is also generally useful.

Thanks @mahdizaferanchi for fixing this bug! 🪲


Compatibility with cuda 11.x

Hi!
Thanks for sharing your code! That's awesome!
I encountered a compatibility issue while running the code.
I got a RTX30 series card so I ran conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch to make cuda compatible with the hardware.
However, errors occur when I trying to play with the simple example provided in tutorial.ipynb.
(torch) ➜  spvnas git:(master) ✗ python3 pam_test.py
Traceback (most recent call last):
  File "pam_test.py", line 60, in <module>
    model = spvnas_specialized('SemanticKITTI_val_SPVNAS@65GMACs').cuda()
  File "/home/pamphlett/spvnas/model_zoo.py", line 44, in spvnas_specialized
    model = model.determinize()
  File "/home/pamphlett/spvnas/core/models/semantic_kitti/spvnas.py", line 295, in determinize
    x = self.forward(x)
  File "/home/pamphlett/spvnas/core/models/semantic_kitti/spvnas.py", line 312, in forward
    x0 = point_to_voxel(x, z)
  File "/home/pamphlett/spvnas/core/models/utils.py", line 44, in point_to_voxel
    ], 1))
  File "/home/pamphlett/anaconda3/envs/torch/lib/python3.7/site-packages/torchsparse/nn/functional/hash.py", line 19, in sphash
    return torchsparse.backend.hash_cuda(coords)
AttributeError: module 'torchsparse.backend' has no attribute 'hash_cuda'

Any idea about this?
Thx :)

Hi, this seems to be a torchsparse issue, please follow the installation and troubleshooting steps specified here: https://github.com/mit-han-lab/torchsparse#installation and open an issue on that repo if you continue to have issues. Thanks!


Crash with scoped package (Can't resolve all parameters for ApplicationModule)

Environment

CLI: 6.7.4
Cross-platform modules: 6.5.8
Android Runtime: 6.5.1
iOS Runtime: 6.5.0
Plugin(s):
NativeScript-Angular: 8.21.0
Angular: 8.2.14

Describe the bug

After creating blank angular template, I have changed package.json to use scoped packages: @nativescript/angular' instead of nativescript-angularand@nativescript/coreinstead oftns-core-modules. Removed node_modules, platformsandhooks folders and reinstalled dependencies. Changed all the imports to use the scoped packages. Running application (tns run android`) causes crash with following error:
System.err: An uncaught Exception occurred on "main" thread.
System.err: Unable to start activity ComponentInfo{org.nativescript.testapp/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: Calling js method onCreate failed
System.err: Error: Can't resolve all parameters for ApplicationModule: (?).
System.err:
System.err: StackTrace:
System.err: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.testapp/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: Calling js method onCreate failed
System.err: Error: Can't resolve all parameters for ApplicationModule: (?).
System.err:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
System.err:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
System.err:     at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
System.err:     at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
System.err:     at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
System.err:     at android.os.Handler.dispatchMessage(Handler.java:107)
System.err:     at android.os.Looper.loop(Looper.java:214)
System.err:     at android.app.ActivityThread.main(ActivityThread.java:7356)
System.err:     at java.lang.reflect.Method.invoke(Native Method)
System.err:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
System.err: Caused by: com.tns.NativeScriptException: Calling js method onCreate failed
System.err: Error: Can't resolve all parameters for ApplicationModule: (?).
System.err:     at com.tns.Runtime.callJSMethodNative(Native Method)
System.err:     at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1286)
System.err:     at com.tns.Runtime.callJSMethodImpl(Runtime.java:1173)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1160)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1138)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1134)
System.err:     at com.tns.NativeScriptActivity.onCreate(NativeScriptActivity.java:19)
System.err:     at android.app.Activity.performCreate(Activity.java:7802)
System.err:     at android.app.Activity.performCreate(Activity.java:7791)
System.err:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1299)
System.err:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
System.err:     ... 11 more

The import in main.ts file looks like following:
import { platformNativeScriptDynamic } from "@nativescript/angular";

If I change it to:
import { platformNativeScriptDynamic } from "@nativescript/angular/platform";

everything works. As mentioned in this issue #1540 (actually in the solution mentioned in it), I guess it has something to do with importing reflect-metadata.
Do I need to also use more specific imports elsewhere to avoid any other issue (such as import { NativeScriptModule } from<EMAIL_ADDRESS>or is it ok to do just import { Something } from "@nativescript/angular" everywhere else?

@armpogart is possible to share or invite collaborator on project? I’d be happy to submit a PR to help you clear?

@NathanWalker I have tried scoped packages on a blank project before migrating my live application, so here is a zipped blank test project. Just run:
tns install
tns run android

and you will see the crash. It works only if you change the import in main.ts to:
import { platformNativeScriptDynamic } from "@nativescript/angular/platform";

TestApp.zip

@armpogart you have to use the --env.aot flag as mentioned here: https://github.com/NativeScript/nativescript-angular/wiki/Updating-and-developing-for-@nativescript-angular-v9-with-Ivy-or-without
With Angular 10, we will bake that flag into the webpack.config but for now that flag is mandatory (albeit optional since you can still disable ivy if needed)

@NathanWalker I see, but your guide and AOT flag is for Angular 9, I use Angular 8.2 in that project. Is it also mandatory to use AOT build for Angular 8?

@armpogart ah i see you mentioned Angular 8 -- I would try to keep AoT on all the time - it's likely it could also lead to an error like you mentioned there when omitting env.aot.

@NathanWalker I will try your suggestion a little bit later and report back here. But is it ok that everything is working fine without env.aot if I don't use scoped packages, I mean if I just blank angular template (which is currently using angular version 8) and run it, everything works. As soon as I change to scoped packages I start getting the error. Maybe it's just something wrong in scoped packages? Or is also connected with aot?
P.S. I wasn't simply using env.aot all the time (during development) as I guess the flag will increase compilation time by doing ahead of time compilation which will increase app performance obviously, but during development compilation time is more critical, especially for the larger projects (not just blank template).


(Bug) Updating not possible

After updating to lnbits 10.9 i only could update nostrmarket to 0.3 by deleting the dedicated manifest to this repo i had configured additionally to the lnbits-main-manifest. Before i got a 500 error.
Now that i am on 0.3 and 10.9 i cannot update any further without the same error.

Same on admin and superuser.
If i click open this happens

2023-07-10 19:17:32.88 | INFO | Downloading extension nostrmarket (0.3.3).
2023-07-10 19:17:33.30 | INFO | Extracting extension nostrmarket (0.3.3).
2023-07-10 19:17:33.35 | SUCCESS | Extension Nostr Market (0.3.3) installed.
2023-07-10 19:17:33.36 | DEBUG | running migration nostrmarket.4
2023-07-10 19:17:33.37 | WARNING | (sqlite3.OperationalError) Cannot add a column with non-constant default [SQL: ALTER TABLE nostrmarket.merchants ADD COLUMN time TIMESTAMP NOT NULL DEFAULT (strftime('%s', 'now'));] (Background on this error at: http://sqlalche.me/e/13/e3q8)
2023-07-10 19:17:33.38 | ERROR | HTTPException 500: Failed to install extension nostrmarket (0.3.3).
2023-07-10 19:17:33.39 | INFO | <IP_ADDRESS>:0 - "POST /api/v1/extension?usr=xy HTTP/1.1" 500

Bug fixed in 0.3.4.


jsmall multiple visualizer discrepancy

Open jsmall
Create a second visualizer

The problem is the Viewpoint Scales are not synced. Are they supposed to be or can they be different @clyne?
If they are supposed to be able to be different, the settings under Navigation > Viewpoint > Dataset Scale only allow the modification of the scales for Visualizer_No._1, no matter which one you have selected.
Also, if you were to save the above session and re-open it, now the visualizers have the same scaling applied.

They should be synced.


October FOSS Bash planning.

Angular Formly has been selected as the target of October's FOSS Bash!
This means that for one day in October, the denizens of Angular Buddies (the #1 Angular Slack group, join here) will hack their way through Angular Formly.
This issue is for planning out the day.  On the docket are:

[ ] When?  Ideally, @kentcdodds would be (mostly) available for the full day to answer questions, review PRs and hand out TODOs (same with @msc654 and @gkadillak ).
[ ] Goal.  We've found these things work a lot better with goals.  Ideally, there'd be a list of ways newcomers can help out.
[ ] Issue prepping.  Kent's the #1 person at prepping issues for newcomers, so this isn't a big worry.
[ ] Promo.

Details of last month's bash: https://gist.github.com/SomeKittens/bf24e8bd854bf79ea055

And don't forget @ckniffen and @benoror :-)

count with me :+1:

How about October 14th? I could probably have some stuff prepared by then.

14th's a Wednesday, I thought weekends might be best.

Ah, of course, that makes much more sense... How about the 10th?
On Thu, Sep 24, 2015 at 3:47 PM Randall Koutnik<EMAIL_ADDRESS>wrote:

14th's a Wednesday, I thought weekends might be best.
—
Reply to this email directly or view it on GitHub
https://github.com/formly-js/angular-formly/issues/483#issuecomment-143059376
.

--

Kent C. Dodds https://twitter.com/kentcdodds

10th works for me if it works for you.

10th it is, you're now featured on http://foss-hackday.github.io/
Let's talk goals.  There aren't very many open issues - perhaps you want to increase code coverage & hit 100%?  More examples?  Sky's the limit!

Thanks @SomeKittens! That sounds fine. I can't promise that I'll be available all day, but should be able to help most of the day.
I'll get a few issues set up. At a high level, here are some things that I'd like:

Investigate an Angular 2 version (for the more ambitious of contributors)
Increase Test Coverage (both in the main repo and in the bootstrap templates)
Identify performance bottlenecks and optimize for them <-- this one's really needed (and also for the more ambitious contributors)
Resolve existing issues
Record screencasts of features, write blogposts/tutorials, improve documentation, etc.
Write plugins for common use-cases

ng-messages integration
Repeating sections
Angular Material
JSON Schema support
Additional types for bootstrap that integrates with angular-ui-bootstrap
Other ideas here

@kentcdodds I thought there was ng-messages integration.

Nothing official. Just stuff in the examples page.

Hey, I had three family things come up for this weekend so I'm going to have to push this back two weeks. Is it alright if we move it to the 24th?

Haven't done much promotion so at this stage I think it's ok.

Once you join our slack @  angularBuddies type:
/join foss-hackday

to join us in our channel!


[PORT] add null string support in StringUtils

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3826

close: #3825
Support null string in Ellipsis and Hash method
Changed projects

Microsoft.Bot.Builder

StringUtils does not exist in js library currently. This would be migrated when porting of #2121 is ready.

Close this, use #2121 to track


How can i locate mouse cursor's position

I am making a fps game
now days, I make the camera for fps,
but mouse leave from the app
app doesn't track mouse
so i want to locate mouse cursor in application's center position
How can i do?

Was added to lime http://api.openfl.org/lime/ui/Mouse.html#warp (window can be accessed from here http://api.openfl.org/openfl/display/Stage.html#window).


Add describeWorkflowExecution

describeWorkflowExecution is an API that is used regularly for a large range of checks by the users, Temporal SDK should expose it as a part of the official WorkflowStub API.
Typical usages of describeWorkflowExecutions include checking the status of a workflow.
Related: #1028 https://github.com/temporalio/sdk-features/issues/17

Also related to https://github.com/temporalio/sdk-features/issues/17.
Whatever this is named, I think the result just needs to make sure it's wrapped in a friendly Java class that exposes the status and the underlying gRPC response. (can add more than just status though if you want)

duplicate of https://github.com/temporalio/sdk-java/issues/2265


Bad substitution

When running the script, this error results:
./audio_led_mode.sh: 29: ./audio_led_mode.sh: Bad substitution
This can be amended my changing the shebang from #!/bin/sh to #!/bin/bash.  By default on some distributions, #!/bin/sh points to dash, which is not compatible with this script.  Changing the shell to bash fixes the issue.

thanks for reporting!


Allow rule sets to specified after the command

In the interest of not caring about parameter order, I think the rule set (-R) command line option should be allowed either before or after the command (plan, run, etc).

Do we allow multiple rule sets to be specified and composite them together?


refactor: migrate globals to managed pointers in preparation for deglobalization

Additional Notes
In preparation of moving some Dash-specific globals to NodeContext (which cannot contain anything that isn't a pointer), many globals have been transformed into unique_ptrs (with the sole exception of CBLSWorker, which is a shared_ptr).
To reduce the amount of redundant reference passing, some classes were modified to make a CConnman object a member of the class, dereferenced from NodeContext during initialisation.
This could not be done for CSporkManager and CGovernanceManager as they both rely on Dash's flat database implementation which does not take objects that accept initialisation parameters kindly due to an implicit copy being triggered when dumping database components, so they need their database and management components split out before they can take any arguments.

pls see https://github.com/UdjinM6/dash/commit/f6e965cea393d4c9a406544359bcc354d923cd55
I'm not sure how to fix 6a89c3a (reverting/dropping it helps)

Hmm I think you reverted/dropped changes from my earlier suggestions 733b7b3c4fadda29488fa35c10cd75b296c8369a in the second to last force-push https://github.com/dashpay/dash/compare/81a98af39f7ef71cdcc756548a14158a5d09464c..aa43b9d09d79a789acab317be177df134f9830da so the build is broken again 🤷♂

linter fails
src/masternode/sync.h:54:5: warning: Class 'CMasternodeSync' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
[82](https://gitlab.com/dashpay/dash/-/jobs/2843071841#L82)Advice not applicable in this specific case? Add an exception by updating
[83](https://gitlab.com/dashpay/dash/-/jobs/2843071841#L83)IGNORED_WARNINGS in test/lint/lint-cppcheck-dash.sh
[84](https://gitlab.com/dashpay/dash/-/jobs/2843071841#L84)


suggestion for an alternative for the multi instance feature

Acknowledgement of preliminary instructions

[X] I have read and acknowledged the preliminary instructions.

What idea do you have?
can someone please suggest an alternative to the multi instance feature? other than the one by wearedevs, that one is bad compared to bloxstrap

Roblox Account Manager

True. Goated program.

google is free


light nodes

also @anatollupacescu if you could please add a PR description and a mention of the associated issue it resolves


Did the small changes for better readable

@MichaelYusko can you run the below commands locally on this branch? It should update with the fix from master for the failing test.
git pull --rebase
git push

@r0fls Yes, sure. I'll do that in 2-3 hours.

@r0fls Travis-CI tests passed, everything is ok. 😄


Add missing entries to syntax map

Following entries should be added to the syntax map:
"syntax_map": {
  "json (npm)": "json",
  "json key-value": "json"
}

There are probably a lot more too. You could open a PR to add some more entries to the syntax property. But the syntax map exists so you can add what you need to it, not to cover all possible variants.


⚠ Bofrost.be has degraded performance

In 3739bcf, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1143 ms

Resolved: Bofrost.be performance has improved in bbe8236 after 11 minutes.


Document config params

We feel we need more documentation on things like queueSize, discardingThreshold, etc as it's unclear how any of these behave.

@cosmin-marginean Hey Cos, thanks for raising the issue! For the queueSize and discardingThreshold, these are not unique to Logtail, but native to Logback instead. Here are the official docs: https://logback.qos.ch/manual/appenders.html#AsyncAppender. I updated our README with this link and a note - I'd close this if that's fine with you.

Yes, sorry, I just assumed there was a specific reason for listing these in the docs. Thanks I'll close this.


Darwin platform versions

Motivation for this change
Implement the reproducibility of #77632, without the warnings that were introduced by cctools (https://github.com/NixOS/nixpkgs/pull/93596#issuecomment-695186910), with support for cross compilation by moving sdk versions and deployment targets out of the darwin stdenv and onto targetPlatform.
Effectively reverts: #110140 by @holymonson. When working on aarch64-darwin the SDK version provided (and embedded in LC_BUILD_VERSION) controls some kind of compatibility layer, see gist, so I think we need to support an idea of "SDK version" even though nixpkgs generally treats darwin as a set of independent and overridable packages.
Also tries to define a platform definition structure for all darwin targets including ios. Currently these have platforms have equivalent attributes which I would like to unify with the rest of darwin. The extra configuration here pkgs/os-specific/darwin/xcode/sdk-pkgs.nix should be able to entirely removed, and instead be provided by the standard darwin stdenv and binutils.
Original PR: #77632
Related: #103053, #83180
Motivation: https://github.com/NixOS/nixpkgs/pull/105026#issuecomment-770341696
Tested:

[x] Default stdenv (clang 7)
[x] stdenv with clang 10
[x] stdenv with clang 11 (using #111701)

Untested:

[ ] ios cross

Motivating test case
The following set of test cases should include no information from the building host and produce no linker warnings.
See results in $(nix-build version-test-case.nix)/summary.

version-test-case.nix
let
  pkgs = import ./. {};
  inherit (pkgs) lib;

  ## Default stdenv
  stdenv = pkgs.stdenv;

  ## With clang 11
  # stdenv = pkgs.overrideCC pkgs.stdenv pkgs.buildPackages.clang_11;

  ## With clang 10
  # stdenv = pkgs.overrideCC pkgs.stdenv pkgs.buildPackages.clang_10;

  source = pkgs.writeText "main.c" ''
    int main() {}
  '';

  tests = {
    clangDefault = ''
      $CC -v -o test ${source}
    '';

    clangExplicit = ''
      $CC -v -mmacos-version-min=10.14 -o test ${source}
    '';

    ldDefault = ''
      $CC -o test.o -c ${source}
      $LD -L${pkgs.darwin.Libsystem}/lib -lSystem -o test test.o
    '';

    ldMacosVersion = ''
      $CC -o test.o -c ${source}
      $LD \
        -macos_version_min 10.14 \
        -L${pkgs.darwin.Libsystem}/lib -lSystem -o test test.o
    '';

    ldBothLegacyFlags = ''
      $CC -o test.o -c ${source}
      $LD \
        -macos_version_min 10.14 \
        -sdk_version 10.14 \
        -L${pkgs.darwin.Libsystem}/lib -lSystem -o test test.o
    '';

    ldSdkVersion = ''
      $CC -o test.o -c ${source}
      $LD \
        -sdk_version 10.14 \
        -L${pkgs.darwin.Libsystem}/lib -lSystem -o test test.o
    '';

    ldPlatformVersion = ''
      $CC -o test.o -c ${source}
      $LD \
        -platform_version macos 10.14 10.14 \
        -L${pkgs.darwin.Libsystem}/lib -lSystem -o test test.o
    '';
  };

  buildTest = name: testScript: stdenv.mkDerivation {
    inherit name testScript;
    passAsFile = [ "testScript" "buildCommand" ];

    buildCommand = ''
      set -u
      echo $testScriptPath
      mkdir $out
      NIX_DEBUG=3 $SHELL -x $testScriptPath 2>&1 | tee $out/build.log
      ${pkgs.darwin.cctools}/bin/otool -l test> $out/load_commands
    '';
  };
in
  pkgs.runCommand "all-tests" {
    passthru = lib.mapAttrs buildTest tests;
  } (
    ''
      mkdir $out
    '' +
    lib.concatStringsSep "\n" (
      lib.mapAttrsToList (name: script: ''
        ln -s ${buildTest name script} $out/${name}
      '') tests
    ) + ''
      cd $out
      {
        showCommand() {
          local cmdName=$1
          echo -ne "\t$cmdName: "
          awk "/$cmdName/ { show = 1 }; /Load command/ { show = 0 }; show" < $i | tr '\n' '\t'
          echo
        }

        for i in */load_commands; do
          echo $i
          showCommand LC_BUILD_VERSION
          showCommand LC_UUID
          showCommand LC_VERSION_MIN_MACOSX
        done

        echo

        echo "Linker warnings:"
        grep -nH 'warning' */build.log || true
      } > summary 2>&1
    ''
  )

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

FYI, I was working on #111658 which could support multiple versions of sdk (by generating several info lists). I'm not sure if you need it, but I will pause here.

With the debugging commit the evaluation error is visible:
darwinPlatform: unknown platform for x86_64-unknown-linux-gnu

Is there an idiom for platform configuration that doesn't apply to all platforms?

This ensures MACOSX_VERSION_MIN is set for the correct platform, but now I'm finding a significant downside. As is, x86_64-darwin uses clang 7 and aarch64-darwin uses clang 11. When cross-compiling for aarch64-darwin, MACOSX_DEPLOYMENT_TARGET=11.0. When clang 7 builds for the build platform it uses this environment variable. It's incorrect since it's for the wrong platform, and it's also an error since clang prior to 11 rejects values not starting with 10. It's easy to work around with NIX_CFLAGS_COMPILE_FOR_BUILD in a given package, but I'm considering adding -mmacos-version-min to cflags in the cc-wrapper.

This is ready for review. Still outstanding: how to represent the absence of value for darwin* flags on platforms that aren't darwin.

@thefloweringash This does not evaluate btw.

@thefloweringash This does not evaluate btw.

I didn't know a nice way to have the darwinPlatform be absent on platforms other than darwin. I had it as a throw which was triggering on linux platforms. I've made it a null, which doesn't quite seem correct but should at least not break unless it's actually used, and not silently fail if interpolated.

null seems fine to me.

@thefloweringash Are you going to change https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/darwin/xcode/sdk-pkgs.nix later then?
Also, was the MACOSX_DEPLOYMENT_TARGET issues resolved? This sounds like the sort of thing where we could do MACOSX_DEPLOYMENT_TARGET and MACOSX_DEPLOYMENT_TARGET_FOR_BUILD, and the build compiler would the "suffix salt" black magic to get the right one. (c.f. the pkg-config wrapper and PKG_CONFIG_PATH for the most self-contained example of that.)

Is this ready now?

@thefloweringash Are you going to change https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/darwin/xcode/sdk-pkgs.nix later then?

Updated to include this. I don't know of any example that uses it in the nixpkgs tree so I haven't tested it. If anyone that relies on cross compiling to iPhone has a chance to test it, it would be appreciated.

Also, was the MACOSX_DEPLOYMENT_TARGET issues resolved? This sounds like the sort of thing where we could do MACOSX_DEPLOYMENT_TARGET and MACOSX_DEPLOYMENT_TARGET_FOR_BUILD, and the build compiler would the "suffix salt" black magic to get the right one. (c.f. the pkg-config wrapper and PKG_CONFIG_PATH for the most self-contained example of that.)

I've now added support for the MACOSX_DEPLOYMENT_TARGET_FOR_BUILD variable, which required making a variable mangler that operated on a singular value.

Is this ready now?

I believe so.

@Ericson2314 feel free to merge if this looks good to you.

Took me a second to figure out what mangleVarSingle is for, but yeah looks good. Sometimes I wish we had build-cc, cc, and target-cc rather than these tools prefixed with concrete platforms, and then we wouldn't have to worry about conflicts. Thanks for handling the conflict case correctly.

(As to iOS cross, I will someday need to bump our stuff to use this version of Nixpkgs, but i don't have the phones to test with me. I like this design better so if there are regressions they should be plenty easy to fix and totally worth it :).)


⚠ Bofrost.fr has degraded performance

In f579f84, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1727 ms

Resolved: Bofrost.fr performance has improved in feaa4f5.


macos-12: build fails sporadically

Description
I'm building original qemu project with runs-onmacos-12 at Intel (fork: https://github.com/antmak/qemu/commits/build_test)
I have found that sometimes this builds successfully on
  Image: macos-12
  Version: 20230921.1

( https://github.com/antmak/qemu/actions/runs/7055665481/job/19206594318 )
But it fails on
  Image: macos-12
  Version: 20231115.2

(https://github.com/antmak/qemu/actions/runs/7055766788/job/19206720658 )
with error
[184/2373] Generating ui/dbus-display gdbus-codegen with a custom command
FAILED: ui/dbus-display1.h ui/dbus-display1.c
/usr/local/Cellar/glib/2.78.1/bin/gdbus-codegen ui/dbus-display1.xml --glib-min-required 2.64 --output-directory /Users/runner/work/qemu/qemu/build/ui --interface-prefix org.qemu. --c-namespace QemuDBus --generate-c-code dbus-display1
Traceback (most recent call last):
  File "/usr/local/Cellar/glib/2.78.1/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "/usr/local/Cellar/glib/2.78.1/share/glib-2.0/codegen/codegen_main.py", line 29, in <module>
    from . import dbustypes
  File "/usr/local/Cellar/glib/2.78.1/share/glib-2.0/codegen/dbustypes.py", line 22, in <module>
    from . import utils
  File "/usr/local/Cellar/glib/2.78.1/share/glib-2.0/codegen/utils.py", line 22, in <module>
    import distutils.version
ModuleNotFoundError: No module named 'distutils'

I suppose the cause is in runner image since you updated python environment from 3.11 to 3.12.
Also it could be affected by gdbus-codegen from GLIB (2.78.1 vs. 2.78.0)
For workaround and test purpose could you help me, how to specify runner-image version to 20230921.1 in my workflow?
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[X] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Image: macos-12, Version: 20231115.2, https://github.com/antmak/qemu/actions/runs/7055766788/job/19206720658
Is it regression?
yes
Expected behavior
like on Version: 20230921.1 , https://github.com/antmak/qemu/actions/runs/7055665481/job/19206594318
Actual behavior
fails on 20231115.2, 20231029.1
Repro steps
affected Workflow is in https://github.com/antmak/qemu/commits/build_test

Hello @antmak, MacOS image in rollout process. During next week problem should be gone.

Unfortunately, after further investigation, I found that rollout in your case doesn't help and in that case you should use setup-python action . Your behavior is expected so I am closing this issue. If you have additional questions feel free to ask.


DFU CHARACTERISTICS NOT FOUND

Hi, I'm having a problem with something, the package it seems.
I try to do the ota and it always fails with DFU FAILED: DFU CHARACTERISTICS NOT FOUND on both iOS and Android.
It works through nrf connect.
I can see the service being discovered by other ble packages.
No idea what might be wrong.
(I have tried setting enableUnsafeExperimentalButtonlessServiceInSecureDfu to true)

(my bad - what i needed was a packge for mcumgr -> closing)


Weird animation bug after exiting the camera on Android

On Android, inside of one of my tab I have this:
render() {
    const height = ((screenWidth-40)*this.state.imageHeight/this.state.imageWidth)
    const photo = this.state.imagePath ?
      <View style={{ flex:1, }}>
        <Image
          source={{ uri:this.state.imagePath }}
          resizeMode='contain'
          style={{
            height: height,
            width: screenWidth-40,
            alignSelf: 'center',
            marginBottom: 10,
          }}
        />
      </View>
     :
       <View style={{ flex:1, marginBottom: 10,}}>
         <Image
           source={require('./../../assets/images/fishii.png')}
           style={{
             height: 100,
             width: 100,
             backgroundColor:'#4285f4',
             alignSelf: 'center',
             borderRadius: 5,
           }}
         />
       </View>
    return (
      <View style={styles.container}>
        <Spinner visible={this.state.spinnervisible} />
        <KeyboardAwareScrollView ref='scrollContent'>
          <Text style={styles.title}>{'NEW FISH / NUEVO PESCADO'}</Text>
          { photo }

After taking a photo, it goes back to the app replacing the default photo by the new one.
During this process, the animation flickers and even slides to the next tab during a very brief moment of time. Any idea what could cause this weird issue?

I use version 0.7

How are you doing transition? Try to debug onScroll event. In snippet I dont see react-native-scrollable-tab-view


Fix e2e test failing due to owner flag.

Description

Fixes https://github.com/ovrclk/akash/issues/1324
Motivation and Context

[ ] I have raised an issue to propose this change (required)
[ ] My issue has received approval from the maintainers or lead with the design/approved label

How Has This Been Tested?

make test-e2e-integration

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I've read the CONTRIBUTION guide
[ ] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

do make test-e2e-integration and make test-k8s-integration pass locally?

do make test-e2e-integration and make test-k8s-integration pass locally?

Yes. I have verified both tests locally. https://gist.github.com/arijitAD/1bd5d31f25bc53554f6376abab2bbcb8


About pseudo_rna.pickle

Hello,
I hope you are doing well! I recently came across your project on GitHub, and I’m very impressed with your work on perturbation prediction.
I noticed that the data/my_data/pseudo_rna.pickle file of judges_prizes_helpers.py is missing from the repository, which is needed for running the code. If it’s not too much trouble, could you please share the file or let me know how I can access it? I would greatly appreciate your help!
Thank you for your time and for sharing this valuable resource.

Hi, thanks a lot for the kind words!
Here you have the data https://zenodo.org/records/10617221 (this is explained in the readme.md file of the repo). It contains the logFC using LIMMA.
Hope it helps

Hi, thanks a lot for the kind words!
Here you have the data https://zenodo.org/records/10617221 (this is explained in the readme.md file of the repo). It contains the logFC using LIMMA.
Hope it helps

Thank You!
Dear pablormier,
I hope this message finds you well. I wanted to take a moment to express my heartfelt gratitude for your incredible work on scape. As a graduate student, I have found your contributions to be extremely inspiring and valuable to my research.
Your timely responses to my questions have greatly helped me navigate some challenges, and I truly appreciate the support you provide to the community. Thank you once again for all your hard work and dedication!


IAsyncEnumerable and C#8.0

IAsyncEnumerable is not compatible with the current propositionfor C#8.0，will it be changed inthe future？ Considering it may be the most important imple for IAsyncEnumerable，we want compability！

+1 for compatibility. We can change it in the future as language support in C# for IAsyncEnumerable surfaces. Until then, the best option has been to define our own interface. Happy to explore other options as well.

@vturecek do you want to follow this up with an enhancement in the future?


Increase ilab network mtu from 1400 to 1500

This has been applied to alt-1 already, but not yet in production.
We were having issues with the dell supplied PXE rom not handling
fragmented packets correctly. The TFTP packets were being fragment
and as a result the system would not boot.
We have established that an MTU of 1500 does not result in fragmentation
to both internal and external hosts:
[centos@delete-me atftp-0.7.1]$ sudo ip l set dev em1 mtu 1500
[centos@delete-me atftp-0.7.1]$ ping <IP_ADDRESS> -c1 -M do -s 1472
PING <IP_ADDRESS> (<IP_ADDRESS>) 1472(1500) bytes of data.
1480 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.158 ms

--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.158/0.158/0.158/0.000 ms

external:
[centos@delete-me atftp-0.7.1]$ ping <IP_ADDRESS> -c1 -M do -s 1472
PING <IP_ADDRESS> (<IP_ADDRESS>) 1472(1500) bytes of data.
1480 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=55 time=6.43 ms

--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 6.436/6.436/6.436/0.000 ms

See instructions in https://github.com/SKA-ScienceDataProcessor/alaska-kayobe-config/pull/73 for how to apply.

This change has now been applied to production, and appears to be working correctly.


Flatten widget tests by toolkit

Redwood includes two widget schemas:

redwood-layout
redwood-lazylayout

It’s possible we’ll add more in the future: redwood-animations, redwood-lottie, etc.
For each we support a handful of target widget toolkits:

compose-ui
dom
uiview
view

At the moment only redwood-layout has good snapshot tests for uiview. This is made possible by the KotlinHostingXCTestCase mechanism in redwood-layout-uiview. I’d like to add snapshot tests for redwood-lazylayout without much copy-paste and without much build complexity.
I propose flattening all tests for each toolkit. The resulting Gradle module structure would be something like this:

redwood-widget-tests (renamed from redwood-layout-shared-test)
redwood-widget-tests-composeui
redwood-widget-tests-view
redwood-widget-tests-uiview
redwood-widget-tests-view

This structure makes it simple to reuse KotlinHostingXCTestCase for lazylayout tests. The drawback of this is you can’t run just the tests for lazylayout without running the tests for layout.

Yep, that’s exactly it. Trying SPM feels like a better solution, but I’m not ready to shave that yak! I’ll do something quick & dirty for now to unblock and close this out.

Copy/paste! Two copies is fine for now.
SPM also would simplify CI and the nasty xcodebuild invocations.


Updated images

Updated images for Kube-resilience and GCP faults
Signed-off-by: Smriti S<EMAIL_ADDRESS>

Preview environment: https://ci.pr.harness.io/pr-647


Trigger - Phpmyadmin

How i can listen a trigger in node.js ? İ added on phpmyadmin, Trigger page. How i can listen changes like to postgresql ?

Hi @MertOtrk I'm not very familiar with phpMyAdmin or PostgreSQL, so I don't really understand what your question is. Perhaps you can make a PR to add the feature if that is a thing?

Hello @dougwilson i need to listen changes. İ have a game, i trying to listen all changes in user table. İ cant check in every second, so i will use "trigger" feature. İts same to PostgreSQL.  How i can do this in mysql ?

I don't think it is part of the MySQL protocol.


Error when trying to perform internal boundary product with numpy array

NameError: name 'tag' is not defined

https://github.com/IBM/simulai/blob/012200d5f8363ad83e511ff953840833e7379dbd/simulai/mesh.py#L134
The error occurs when the function tries to access the tag variable in the line vector_ = np.array(vector)[:, tag]  tag variable is not defined anywhere in the code.

In this version, I have removed the tag variable and added a check to ensure that the input is a 1-D array or a tuple. If the input is a multi-dimensional array, it will raise an error indicating that the input must be a 1-D array or a tuple.
def internal_boundary_product(self, vector):
    try:
        vector_ = np.array(vector)
        if len(vector_.shape) > 1:
            raise Exception("The input must be a 1-D array or a tuple.")
        if isinstance(vector_, np.ndarray):
            product_list = (vector_,)
        elif isinstance(vector_, tuple):
            product_list = vector_
        else:
            raise Exception("The input must be a numpy array or a tuple.")
        return list(product(*product_list))
    except Exception as e:
        print("An error occurred: ", e)

    def internal_boundary_product(self, vector):
        """
        Calculates the internal boundary product of a given vector.

        Parameters
        ----------
        vector : numpy.ndarray or tuple
            The input vector for which the internal boundary product is to be calculated.

        Returns
        -------
        list
            The list of internal boundary product of the input vector.

        Raises
        ------
        Exception
            If the input is not a 1-D numpy array or a tuple.

        Examples
        --------
        # Example 1: Using a 1-D numpy array
        >>> vector = np.array([1, 2, 3])
        >>> obj.internal_boundary_product(vector)
        [(1,), (2,), (3,)]

        # Example 2: Using a tuple
        >>> vector = (1, 2, 3)
        >>> obj.internal_boundary_product(vector)
        [(1,), (2,), (3,)]

        # Example 3: Using a 2-D numpy array
        >>> vector = np.array([[1, 2, 3], [4, 5, 6]])
        >>> obj.internal_boundary_product(vector)
        An error occurred: The input must be a 1-D array or a tuple.
        """
        try:
            vector_ = np.array(vector)
            if len(vector_.shape) > 1:
                raise Exception("The input must be a 1-D array or a tuple.")
            if isinstance(vector_, np.ndarray):
                product_list = (vector_,)
            elif isinstance(vector_, tuple):
                product_list = vector_
            else:
                raise Exception("The input must be a numpy array or a tuple.")
            return list(product(*product_list))
        except Exception as e:
            print("An error occurred: ", e)

#74


Filter by multiple newspapers

Currently only possible one by one (newseye style), to replace by checkboxes or multiselect?

use checkboxes like on cibleplus?

Implemented in dev with a dropdown. A bit less sexy than the simple list, but the functionality is there (css can be improved later).
You can now (un)select multiple newspapers with the CTRL key (command key on Mac). This should play nicely with other filters.
@anjacque could you test before I replicate for months and days of the week ?

New test with checkboxes: https://dev.camille-ulb-kbr.be/?query=*&sortcrit=relevance&paper=JB421&paper=JB555&paper=JB567

This is really nice, now: thanks for your tenacity! :-)
An idea to be discussed later: we could add a "(Un)Select all" button, which could allow to go faster if the user only wants to (un)select one or two newspaper(s) (the same could be done for other filters with checkboxes). But this "(Un)Select all" button should work without activating the filter, otherwise it could be problematic.

Added in #50, closing now.


Adding Dashboard toggle fullscreen button

SUMMARY
Dashboard can recieve url parameter standalone toggle fullscreen mode or not, expose this function to Dashboard header dropdown
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
adding button in dashboard dropdown

Dashboard in fullscreen mode

TEST PLAN
Adding unit test to getDashboardUrl_spec.js
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #10840 into master will decrease coverage by 0.09%.
The diff coverage is 58.33%.

@@            Coverage Diff             @@
##           master   #10840      +/-   ##
==========================================
- Coverage   65.57%   65.48%   -0.10%
==========================================
  Files         809      809
  Lines       38038    38048      +10
  Branches     3561     3566       +5
==========================================
- Hits        24945    24915      -30
- Misses      12987    13024      +37
- Partials      106      109       +3

Flag
Coverage Δ

#cypress
55.35% <50.00%> (-0.47%)
:arrow_down:

#javascript
61.58% <58.33%> (-0.01%)
:arrow_down:

#python
61.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...src/dashboard/components/HeaderActionsDropdown.jsx
68.88% <33.33%> (-5.48%)
:arrow_down:

...set-frontend/src/dashboard/util/getDashboardUrl.js
88.88% <83.33%> (-11.12%)
:arrow_down:

...et-frontend/src/SqlLab/reducers/getInitialState.js
33.33% <0.00%> (-16.67%)
:arrow_down:

...rontend/src/SqlLab/components/TabbedSqlEditors.jsx
77.27% <0.00%> (-5.20%)
:arrow_down:

...rontend/src/SqlLab/components/SqlEditorLeftBar.jsx
44.00% <0.00%> (-4.00%)
:arrow_down:

...end/src/SqlLab/components/TemplateParamsEditor.jsx
88.57% <0.00%> (-2.86%)
:arrow_down:

superset-frontend/src/SqlLab/actions/sqlLab.js
60.25% <0.00%> (-2.36%)
:arrow_down:

superset-frontend/src/SqlLab/reducers/sqlLab.js
37.75% <0.00%> (-1.66%)
:arrow_down:

...erset-frontend/src/SqlLab/components/SqlEditor.jsx
52.12% <0.00%> (-1.22%)
:arrow_down:

...rontend/src/SqlLab/components/AceEditorWrapper.tsx
55.91% <0.00%> (-1.08%)
: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 136f90f...5e8aaf5. Read the comment docs.

Could you attach a screenshot showing what the dashboard looks like after clicking the button?

@etr2460 HI, I append a image to PR comment. thanks for you remind

I think "standalone" is a better term... I would reserve "fullscreen" for some sort of Element.requestFullscreen() implementation...
Or, you could consider adding that functionality in this PR to make the functionality better fit the name.

Actually, @zhaoyongjie I'm curious what your use case is here... do you want to share the link to others in "standalone mode" or is it that you want a version for TV/presentation purposes (i.e. "presentation mode")?

FWIW, Tableau has a Presentation Mode on desktop app, but a Full Screen button on web.

They also removed the main menu on the dashboard page and replaced it with a back button.


Rule Proposal: check for extraneous prop-types

It may be interesting to have a rule that is the opposite of 'react/prop-types', a rule that check if there's prop-types declared which are not used during the render.

https://github.com/yannickcr/eslint-plugin-react/issues/226

Yep, duplicate of #226.


fix: node18 native blob support

Node 18 ships with native Fetch that also exports its own Blob implementation. If the native fetch is used then it complains if it receives the fetch-blob polyfil instead of its own Blob implementation. This PR fixes this issue.

So I have been testing it a bit more and I am not sure what was the original issue about, as I can't replicate the premise that native fetch does not accept the blob-polyfill anymore 😳 So closing this PR. Will see if the issue will re-appear or not.


Fix zeroctl copy : vdisk has tlog support if it has non empty tlogServerClusterId

Basically do the same thing as #479 for alpha-8, but copy tlog code has been changed a lot in master, so need different PR

This PR is no longer required due to the merging of the original PR (#479).


Themes sub-heading vanishing from the Command Palette

The Themes sub heading vanishes sometimes, and the selection indicator goes out of place (its position is probably getting miscalculated).
Steps to reproduce:

Open command palette
Type "theme"

Thanks for the heads up!
The problem was with my logic, using the index of the filtered commands instead of the actual array size.
- if (i === 0)
+ if (answer.length === 0)

No worries mate! @cristicretu


Allow  and  snippets (React)

First of all, thank you for this addon!
Before I'd installed this addon, I was playing with @storybook/addon-info. I really liked the autogenerated code and props table snippet from this addon.
So I was thinking, it would be really cool if we could do something like this in the README.md:
# Avatar

### Usage

This code is autogenerated based on the code in the `storiesOff#add` function:

<!-- CODE -->

### Preview

<!-- STORY -->

### Properties

A Markdown table with all props generated from the defaultProps and propTypes:

<!-- PROPS_TABLE -->

@ChristiaanScheermeijer Nice idea!
I will definitely do it in next release. Planning to do it at the start of next week

Will be released with https://github.com/tuchk4/storybook-readme/issues/118

@ChristiaanScheermeijer release at<EMAIL_ADDRESS>Here is docs

Here is Story
<!-- STORY -->

Here is Props table
<!-- PROPS -->

Here is docs after props table

feature added at 5.0.0

@tuchk4 Are there any plans to support <!-- CODE --> so that we can handle the use case the description of this issue mentions?


marun.edu.tr mails - Marmara university

Marmara University in Turkey now uses addresses with the extension "marun.edu.tr". Therefore, a new registration is required.

@musabeytekin I am sorry, the domain marun.edu.tr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


PD: Temp Deck - Set temp

User Story
As a PD user, I should be able to create a protocol step that tells the temperature module to go to a temperature and then hold that temperature
UI Design
New step list: https://zpl.io/aR9ljQN
Set temp: https://zpl.io/adYlqE7
Hint on temp step creation: https://zpl.io/aMjyZ5d
Acceptance Criteria

[ ] The temp module should only accepts round numbers. It should not be possible to enter temp values with any decimal places.
[ ] The range of accepted temperatures should be from 0 to 95 degrees Celsius

Implementation details
Field validation rules: https://docs.google.com/spreadsheets/d/1VSF7sWyoKtad_pzNirqaoymBTax8rqWMNId2xl5pIWU/edit#gid=0

Let's have this ticket represent the form. At this point we're just missing preventing decimal input.
Hooking up the form to step-generation is for another ticket, #4693


Alpha tech recommendations

Create a secure service which protects users’ privacy:

Regularly maintain and update the code base and dependencies to ensure it remains efficient, and secure.

Choose the right tools and technology:

Regularly maintain and update the code base to ensure it remains efficient, secure, and aligned with evolving standards.
Implement a proactive approach to managing dependencies by regularly checking for updates and applying them promptly to mitigate security risks and maintain compatibility.

Use and contribute to open standards, common components and patterns:

Regularly update GOV.UK Frontend Components to ensure compatibility with evolving standards and accessibility requirements.
Maintain up-to-date documentation for all implemented components, APIs, and dependencies to facilitate smooth collaboration and knowledge transfer within MOJ Digital.

Operate a reliable service:

Implementing robust monitoring systems to continually assess and maintain data quality.
Explore enhancements in data entry and ingestion processes which could further optimise data integrity and reliability.

Scope any further testing that may be required and contact the relevant teams

Created a doc to keep track of what's been done and what hasn't - we can use this as a starting point for the next assessment
https://justiceuk.sharepoint.com/:w:/r/sites/DataCatalogue/Shared Documents/General/Beta assessment notes.docx?d=w23a1be3c11a2431c88bffa7f55e90b04&csf=1&web=1&e=6qrwNN
Tickets to follow....


Failed to crop - wrong number of arguments (1 for 3, 4, or 5)

Hi, nice fork from the orginal one.
I have this issue
POST /users.json
def create
@user = User.new(user_params)
respond_to do |format|
  if @user.save

Request
Parameters:
{"utf8"=>"✓",
"authenticity_token"=>"MRa4sEXNc5+sfOkPMuy49YhR76Ykkixb5FPO9HK/s+k8uxAibLPWHHA940Zp0sXhZ+WAP1uew5tSNQIknk2MAQ==",
"user"=>{"avatar"=>#<ActionDispatch::Http::UploadedFile:0x007fa93a231be0 @crop_x="135.46",
@crop_y="100.72666666666666",
@crop_w="538.3666666666667",
@crop_h="618.2533333333333",
@tempfile=#Tempfile:/var/folders/_0/q8fjlt_537x1qf7f8jx500dc0000gn/T/RackMultipart20151217-63314-9yhro2.jpg,
@original_filename="andreas-2.jpg",
@content_type="image/jpeg",
@headers="Content-Disposition: form-data; name="user[avatar]"; filename="andreas-2.jpg"\r\nContent-Type: image/jpeg\r\n">,
"avatar_cache"=>""},
"commit"=>"Crop"}
My private controller for user looks like this
private
# Use callbacks to share common setup or constraints between actions.
def set_user
@user = User.find(params[:id])
end
# Never trust parameters from the scary internet, only allow the white list through.
def user_params
  params.require(:user).permit(:avatar, {avatars: []}, :avatar_cache, :favatar_crop_x, :avatar_crop_y, :avatar_crop_w, :avatar_crop_h)
end

end

Hello.
May i see what in AvatarUploader and how they mounted to User model?
And what Rails version you use?

Hi, sure here is the demo repo I have try
https://github.com/vjandrei/rails4_carrierwave-crop-on-fly_demo

In AvatarUploader you need set sizes, like this:
process crop: [100, 100]

instead of
process crop: :avatar

I change it and now I get Failed to crop - undefined method `to_f' for :avatar:Symbol
def create
@user = User.new(user_params)
respond_to do |format|
if @user.save
format.html {
Request
Parameters:
{"utf8"=>"✓",
"authenticity_token"=>"9aUTr0zJ+WtK7wssYVnI36tyIHGtStaMpawJ0ZxyT7z4CLs9Zbdc6JauAWU6Z7XLRMZP6NJGOUwTysUBcIBwVA==",
"user"=>{"avatar"=>#<ActionDispatch::Http::UploadedFile:0x007fe26f40ef58 @crop_x="90.30666666666667",
@crop_y="159.7733333333333",
@crop_w="531.4200000000001",
@crop_h="531.42",
@tempfile=#Tempfile:/var/folders/_0/q8fjlt_537x1qf7f8jx500dc0000gn/T/RackMultipart20151217-65724-6hl0p7.jpg,
@original_filename="andreas-2.jpg",
@content_type="image/jpeg",
@headers="Content-Disposition: form-data; name="user[avatar]"; filename="andreas-2.jpg"\r\nContent-Type: image/jpeg\r\n">,
"avatar_cache"=>""},
"commit"=>"Crop"}

show me stacktrace please

Here is app/controllers/users_controller.rb:28:in `create'

You have 2 places where you are use crop
in file app/uploaders/avatar_uploader.rb in line #12 replace
 process crop: :avatar

to
 process crop: [800, 600]

and in line #49 replace
  version :thumb do
  	process crop: :avatar  ## Crops this version based on original image
  	resize_to_limit(100,100)
  end

to
  version :thumb do
  	process crop: [100,100]  ## Crops this version based on original image
  	resize_to_limit(100,100)
  end

For correct work, you should use array of sizes
I check this on my computer, and this work

Great now it works! How about one think. Do I need the crop.html.erb file?
Now after the file upload first crop submit it will redirect to to crop.html.erb ?

I just figured out that one my self :) thanks for the help!

You are welcome


Is there a rule to allow optional fields

Is there a rule to allow optional fields? Meaning only validate the field if it exist

If I understand your case correctly, consider such example, maybe this can help:
const validator = new Validator({},{ name: 'required' });
validator.passes();

We cant say return true, the name is optional. As you dynamically construct your data object - the same you can construct rules object (new Validator(data, rules)`).
As other solution, you can review rules from the required section, like required_with, required_without. Probably some of them can fit your solution.

I believe the fields are validated only if they exist.
Unless you add required if a field doesn't exist it will pass any validation.

Use present rule


Only text changes - no shape created (for all functions) in Sketch 51.3

When I select text, only the text changes (white with shadow), but there is no corresponding change to the shape or color. Connect doesn't work at all. This is in Sketch version 51.3

Hi @frandiam, this plugin is usually updated to support the latest Sketch app version (for example, it works now in 52.4). You could maybe go through commits history and see if there is some older version of the plugin which worked with some specific version of Sketch. For example in your case, I would try with the previous plugin version (2.2.3) which worked in Sketch 50 (which doesn't necessarily mean that it works with 51.3), but after that it was updated to work with Sketch 52.3 and that's the latest plugin version (2.2.4). I hope that helps you!


Question regarding configuration setPreferNestedProperties(boolean enabled)

Hi, I'd like to know a bit more about this configuration option: setPreferNestedProperties(boolean enabled).
The documentation says:

Sets whether nested properties were preferred when ModelMapper were building the type map with implicit mapping. When true (default), ModelMapper will prefer looking for nested properties for a mapping definition. This option should be disabled when you are trying to map a model contains circular reference.
modelMapper. createTypeMap(SourceTree. class, DestinationTree. class,
modelMapper. getConfiguration().copy().setPreferNestedProperties(false));

As I understand from the line above the mapping of circular references should be disabled. Does it still mean that implicit mapping still should work for regular objects with deep level structure or only top level properties will be mapped ignoring the 2, 3, 4, ... level?

It should work for deep level structure even with the prefer nested properties was disabled

Thanks for the reply. Yes, I saw this behavior but wasn't sure if that's expected.


Endorser's label fix on endorsed response screen

Previously we were showing the response's author details for the endorsed response as well instead of endorser's, which was wrong.
This PR fixes that issue.
Fixes: https://openedx.atlassian.net/browse/MA-1186

Wrong
Correct

quick review @1zaman @bguertin @BenjiLee

:+1:


US Phone numbers

Hi folks,
This is a lovely project. I forked it and made a slight adjustment for it to work for US phone numbers, as they're usually formatted "0<PHONE_NUMBER>" or "(000) 000-0000". Perhaps worth considering having a different directive for such formats?
Cheers,
Kapil

Hi @kapilkale ;
I want to apply it for Turkish phone numbers since they are +90 (XXX) XXX-XX-XX . I think there should be a parameter to format.

us phone numbers implemented on #49


storage_drivers/ontap_test.go is failing

onto_test.go is failing due to a "json: error calling MarshalJSON for type json.RawMessage: unexpected end of JSON input" error in encodeConfig
i.e:

    configMissingStorageDriverName := &CommonStorageDriverConfig{
            Version:           1,
            StorageDriverName: "", // emtpy on purpose
            Debug:             false,
            DisableDelete:     false,
    }

The missing members are StoragePrefixRaw and SnapshotPrefixRaw.  I have a fix for this by adding the missing members.  I'm still working to understand specifically why this is causing the failure.
I have a few questions related to this:

Should ValidateCommonSettings also verify StoragePrefixRaw and SnapshotPrefixRaw since they are part of the CommonStorageDriverConfig struct?
Can someone show me an example of what these fields would typically look like when being supplied in the configFile?

Test Failure:

Dougs-MacBook-Air:storage_drivers doug$ go test
DEBU[0000] Running storage_drivers.TestOntap_ValidateCommonSettings...
--- FAIL: TestOntap_ValidateCommonSettings (0.00s)
ontap_test.go:43: Did not validate storage driver name
ontap_test.go:57: Did not validate version number
ontap_test.go:71: Expected to have a good config object, unexpected error: Cannot decode json configuration error: unexpected end of JSON input
DEBU[0000] Running storage_drivers.TestOntapNas_Init...
DEBU[0000] OntapNASStorageDriver#Name()
DEBU[0000] Running storage_drivers.TestOntapNas_Initialize...
DEBU[0000] OntapNASStorageDriver#Initialize(...)
DEBU[0000] Running storage_drivers.TestOntapSan_Init...
DEBU[0000] Running storage_drivers.TestOntapSan_Initialize...
DEBU[0000] OntapSANStorageDriver#Initialize(...)
DEBU[0000] Running TestStorageDrivers...
FAIL
exit status 1

A1) It would be nice to test all 3 states:

No prefix entry specified at all (should get the default prefix per storage driver).  Golang itself doesn't support null strings which is why we have this Raw datatype handling.
Explicitly set to empty:  "storagePrefix": ""
Set to a non-default value:  "storagePrefix": "rippy_"

A2) Here's some examples:
Without a prefix;  ontap prefix default of netappdvp_ should be used
{
    "version": 1,
    "storageDriverName": "ontap-nas",
    "managementLIF": "<IP_ADDRESS>",
    "dataLIF": "<IP_ADDRESS>",
    "svm": "nfs_vs",
    "username": "vsadmin",
    "password": "Cei1sha8ipeo",
    "aggregate": "aggr1"
}

With an empty prefix (last line);  no prefix should be used
{
    "version": 1,
    "storageDriverName": "ontap-san",
    "managementLIF": "<IP_ADDRESS>",
    "svm": "iscsi_vs",
    "username": "vsadmin",
    "password": "Tho5Aghai5th",
    "aggregate": "aggr1",
    "storagePrefix": ""
}

With a non-default prefix (last line)

{
"version": 1,
"storageDriverName": "ontap-san",
"managementLIF": "<IP_ADDRESS>",
"dataLIF": "<IP_ADDRESS>",
"svm": "iscsi_vs",
"username": "vsadmin",
"password": "Tho5Aghai5th",
"aggregate": "aggr1",
"storagePrefix": "rippy_"
}

Thanks!  I'll add these test cases when I submit the fix for this.

Thi issue can be closed


As a DevOps, I would like to make sure that filenames respect organisation naming conventions

nice diagram!
Some of the filenames have inconsistent cases when we expect lowercase everywhere. Maybe an additional check to add to repo standards?

Originally posted by @rngadam in https://github.com/ai-cfia/howard/pull/65#pullrequestreview-1917831702
TODO :
Add a check that validates file naming convention according to :
https://github.com/ai-cfia/dev-rel-docs/blob/main/Naming-Conventions/NAMING-RESOURCES.md

that's probably an older file that should be edited to point to the ADR instead:
https://github.com/ai-cfia/dev-rel-docs/blob/main/adr/008-naming-convention.md


Flesh out Device, add Entity

In my own toy application, I wanted to ensure that the Source and Destination that I had were associated. Reading through the CoreMIDI docs, it seemed like I wanted a Device, but there wasn't a way to get one, and nothing useful to be done with it once I got one in rust. Hopefully, with this pull request, this is no longer the case.
I tried to stick to the style of the project as it stands, but I may have taken excessive liberties in certain places. The code (although mostly boilerplate) is also largely untested at this stage, so there are probably still bugs (particularly around unsafe code, especially around raw pointers).

Closing, as I've both discovered errors in code I've written in this PR, and obviated the need for the features added in my personal project.

Hi @jparoz, I appreciate your feedback, and I am sorry for not being able to respond sooner. I am a bit busy with other things lately.
That has been my first project in the unsafe world, binding to external libs, and one of the things I've found more difficult is to properly test everything. Coming from the JVM world and used to things like Mockito, I really missed to have something similar in Rust.


Bottle app running on Paste or CherryPy or any other server cannot handle chunked input

I am trying to run this curl command:
curl -H'Transfer-Encoding: chunked'<EMAIL_ADDRESS>-F'text={"key": "value"}'<EMAIL_ADDRESS>localhost:8085/upload
against this application:

import paste
from bottle import Bottle, route, error, post, get, response, request, template
app = Bottle()
@app.post('/upload')
def upload():
print "Files: ", request.files['image'].filename, "|", request.files['audio'].filename
print "Forms: ", request.forms['text']
print "Content-Length: ", request.headers['Content-Length']
print "Content-Type: ", request.headers['Content-Type']
print "Contents of File [", request.files['image'].name, "]: ", request.files['image'].file.readlines()
print "Contents of File [", request.files['audio'].name, "]: ", request.files['audio'].file.readlines()
return {"message": "OK"}

When I use the internal wsgiref server in Bottle to run this code as:
app.run(host='localhost', port=8085, reloader=True)
the files upload OK and the output gets printed but if I use the third-part server ('paste' for example) as
app.run(server='paste', host='localhost', port=8085, reloader=True)
then I get an error saying "Error while parsing chunked transfer body."
What am I doing wrong?
Thanks,
Amit

Hi,
I have tested the code and the problem is there. I suspect that it is due to wsgi server, with cherrypy bottle uses CherryPyWSGIServer that is a subclass of HTTPServer, not sure if this server can manage chunked transfers. According to this issue in flask (https://github.com/pallets/flask/issues/367) WSGI cannot process chunked encoding.  So some trick has to be performed.
Cherrypy has a class for deal with chunked  encoding :  class cherrypy.wsgiserver.ChunkedRFile(rfile, maxlen, bufsize=8192)https://cherrypy.readthedocs.io/en/3.2.6/refman/wsgiserver/init.html
But not sure if can be used in bottle.
Here more info about how Content-Length is managed in the default WSGI server used by bottle: https://www.python.org/dev/peps/pep-3333/#handling-the-content-length-header
Here more about transfer encoding (w3c)https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6.1

You are not doing anything wrong. See #700
WSGI requires servers to parse chunked transfers and provide the WSGI application with a continuous stream of data. Most WSGI servers do that, but some (e.g. paste and gevent) fail to remove the Transfer-Encoding header afterwards. Bottle sees the header and tries to parse the chunked data a second time, which fails because the data is no longer chunked.
In short: Paste is lying to bottle about the transfer encoding. The fault is still on our side: The WSGI spec does not require a server to remove these headers. Bottle should not try to parse chunked transfers in WSGI environments and completely ignore the header.


[BUG] ReactModal__Body--open not removed when using css animation, and "fast click" on modal trigger button

Summary:
When css animation added and open modal with toggle button, and then I'm doing like "fast click" on the trigger button, ReactModal__Body--open will not removed from the body

Expected behavior:
The ReactModal__Body--open class would removed from the body though "fast click" the trigger button
Link to example of issue:
https://codepen.io/firzx77/pen/PrZOEY

Any update on this issue ?


Random Results when Generating Image after a CSS background change

When I generate an image, just before I call html2canvas I change the background color of a div. 90% of the time it is fine. But for some users the background stay the same.
It feels like the image generation is happening before the CSS changes comes into effect.

Is this still an issue with v1.0.0? If so, could you please share an example on jsfiddle.


Odd (undefined) in front of file name when running extension in browser

Testing #9767
Note the 'undefined' at the start of the file name. It's not part of the file name. Happens to all files open in browser. Probably a core issue?

I think this is a vscode-test-web problem. Doesn't happen in insiders.vscode.dev:

Only a problem in testing. Closing.


Cannot upgrade gui from 1.5.2 to 1.6.1

Describe the bug
When upgrading on linux via: python3 -m pip install --upgrade 'maestral[gui]'
I get the following error:
ERROR: Could not find a version that satisfies the requirement PyQt6-Qt6>=6.2.3 (from PyQt6->maestral-qt>=1.6.1; sys_platform == "linux" and extra == "gui"->maestral[gui]) (from versions: none)
ERROR: No matching distribution found for PyQt6-Qt6>=6.2.3 (from PyQt6->maestral-qt>=1.6.1; sys_platform == "linux" and extra == "gui"->maestral[gui])

To Reproduce
ran upgrade command above
System:

Maestral version:  1.6.1
Python version: 3.8.10
OS: Ubuntu 20.04 LTS

It's probably a bit premature to start using qt6. Not many distributions carry it, so for linux at least, this effectively prevents people from updating.

This looks like a duplicate of #649. Could you try updating pip first?

On NixOS we don't carry qt6 yet, so we will have to stay with 1.5.x for the foreseeable future.

upgrading pip worked. Thanks!


[4.2 04-30-2018][SE-0210]  Add a MemoryLayout<T>.offset(of:) method for getting the offset of inline storage

Explanation: Implement SE-0210 "Add an offset(of:) method to MemoryLayout", a minor extension to key paths.
Scope: New API for key paths, which only affects the standard library.
Radar/SR Issue: rdar://problem/38915805
Risk: Almost zero risk; this is new API that did not require changes anywhere else in the standard library or compiler.
Testing: New tests for this functionality; compiler regression tests.
Reviewer: @jckarter

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - f5577ad980865f0c6549d24f4906a70777a4f4b9

@swift-ci please test macOS platform

@swift-ci please test macOS

@swift-ci please nominate

@swift-ci please nominate


Parse Error in command

Here is a screenshot of the command I attempted to alias and the response I received.

I can tell from the emoji in the screenshot, that you use an older version. Does this still happen with a more recent version of alium?

Upon further inspection, the command you saved is erroneous. The ; && indeed is wrong and should throw an error.


Add PHP 8.4 to CI matrix

@simPod This pull request seems to be blocked because the checks composer-normalize and php-cs-fixer are now required. I can not seem to bypass this, and it seems like I can not access the setting that would make them not required. Do you have permissions I do not have in the project, or am I looking in the wrong place?

If you have access to the settings, it could be that they use the new rulesets feature located in https://github.com/webonyx/graphql-php/settings/rules

Yeah, I am getting a 404 for that page. Summoning @vladar, can you extend my permissions?

It's here
https://github.com/webonyx/graphql-php/settings/branch_protection_rules/12748505
why are they not running 🤔

I've removed those Required rules, try force pushing to trigger creation of new actions.

https://github.com/webonyx/graphql-php/blob/0420ef7c19347606f56ff096f62f9f7d489fb1aa/.github/workflows/test.yml#L4
It should have pull_request too

Fixed it :)

Removed it, those required checks need to be removed... or, the auto format thing needs to be revisited.

merged in https://github.com/webonyx/graphql-php/pull/1639
I've also cleanup all autoformats from required checks. Should be fine now.


[Bug]: Infinite Authentication Redirect In Node Dev App

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
App
Expected behavior
App should have started, authenticated and redirected once.
Actual behavior
Infinite authentication redirect. Same issue in both Chrome and Edge.
Stack trace
backend | [shopify-api/INFO] Creating new session | {shop: ..., isOnline: false}
backend | [shopify-api/INFO] Registering webhooks | {shop: ...}
[followed by the part below, which is in an infinite loop]
backend | [shopify-app/INFO] Running ensureInstalledOnShop
backend | [shopify-app/INFO] App is installed and ready to load | {shop: ...}
backend | [shopify-app/INFO] Running validateAuthenticatedSession
backend | [shopify-app/INFO] Running ensureInstalledOnShop
backend | [shopify-app/INFO] App is installed and ready to load | {shop: ...}
backend | [shopify-app/INFO] Request session has a valid access token | {shop: ...}
backend | [shopify-app/INFO] Running validateAuthenticatedSession
Reproduction steps
I created a nodejs shopify dev app using the CLI and went through all the steps. When going to the app link (ngrok), the authentication is stuck in an infinite redirect.
Note that I have not changed anything in the project files from the template-- they are coming directly from the template populated from the shopify CLI (npm init @shopify/app@latest). The only change I made after creating the app with the CLI was setting @shopify/app and @shopify/cli versions to 3.3.3 in dev-app/package.json (to fix vulnerability issues).
Operating System
Windows 10
Shopify CLI version (check your project's package.json if you're not sure)
3.3.3
Shell
No response
Node version (run node -v if you're not sure)
18.12.1
What language and version are you using in your application?
Node v18.12.1

@submergeme could you try creating a new app with the latest version of the CLI?

Okay, I figured out the issue. The problem was on my end, due to CLI not finishing the initialization from template.

@submergeme ran into the same problem, may I know exactly how to solve this? thanks


KV#of parameters  marked with @Nullable, even though nullability is encapsulated in type variables KeyT and ValueT

On KV#getKey, there is the annotation @Nullable. That annotation is missing on KV#getValue, so I would assume that this means the value cannot be null. However, in KV#of, the parameter value is annotated with @Nullable and no further null checks are done.
I would assume that KV#getValue should also be marked with @Nullable, or that the annotation @Nullable on the parameter value in the constructor and in KV#of should be removed.
Imported from Jira BEAM-6277. Original Jira may contain additional context.
Reported by: jancallewaert.

This has been fixed. The nullability or non-nullability of K and V is parametric.


Allow having multiple GPX files opened

Sometimes it would be very helpful to be able to have several local GPX (or Geojson or KML files) opened for example for tracing tracks from multiple GPS units. Would it be possible to implement this feature?

I agree this would be useful.

Tagging @vershwal to think about this

I'm attempting this feature on my local machine. Will let you know if I make any progress.

I'm attempting this feature on my local machine. Will let you know if I make any progress.


Post benchmark CI on PR

Description
Run benchmark and post the result on comment. Triggered only if a PR made to master branch. See https://github.com/yasirroni-dummy/cvxpy/pull/3 for example.
This approach as suggested in https://github.com/yasirroni-dummy/cvxpy/pull/3.
Here, I'm not using cvxpy/benchmark repository yet.
This PR need to be merged first to be able to be used. See https://github.community/t/pull-request-target-not-triggering-workflow/163924/5 for more info.
Type of change

[x] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[x] CI

Contribution checklist

[ ] Add our license to new files.
[ ] Check that your code adheres to our coding style.
[ ] Write unittests.
[ ] Run the unittests and check that they’re passing.
[ ] Run the benchmarks to make sure your change doesn’t introduce a regression.

Hi @yasirroni! Thanks for your interest in helping with CVXPY's benchmarking. My understanding is that most of this code will be merged into a separate repo via this PR: https://github.com/cvxpy/benchmarks/pull/, so I'm going to close this PR for now. Once @phschiele's PR is merged on the benchmarks repo I encourage you to create a GitHub Issue there where you describe the idea behind this PR. If we agree that the idea works given our plans for the benchmarks repo, then we can merge these changes there.
Thanks again for taking the initiative with this. If anything I said above sounds confusing, please reach out to us on Discord!


cp-kafka-connect Prometheus jmx is not accessible

Cannot access the Promethus jmx port without modifying the service after creation
this could be changed by adding setting of a metrics port in the service here: https://github.com/confluentinc/cp-helm-charts/blob/master/charts/cp-kafka-connect/templates/service.yaml#L11
using the values set: https://github.com/confluentinc/cp-helm-charts/blob/master/charts/cp-kafka-connect/values.yaml#L74-L82
otherwise the create kubernetes service must be edited to add the port to connect to prometheus

Fixed? #261


Ubuntu repo out of date

I installed dbeaver over the ubuntu repo and everytime I start dbeaver I get notified of a new update, but it won't update with apt.
My system: Kubuntu 18.04 (amd64)
apt source: http://ppa.launchpad.net/serge-rider/dbeaver-ce/ubuntu bionic main
I've seen this happen before with hotfixes, but the minor and patches usually get updated reasonably fast, but I'm still on 6.2.2 and get notified about 6.2.3 on every start.
Thanks for the great software, keep it up (to date ;)).

Thanks for the bug report. We'll fix it with 6.2.4 release

Currently it's out of date again.

This keeps happening. Honestly not that big of a problem, that I'm a version behind for a little bit, but every time I open DBeaver I get a notification about an update that I might want to download...
But I don't really care about downloading updates, when it should be taken care of by an apt upgrade...