text:
feat(components): add clear button to the textarea component

Closes #2348
Closes #2112
📝 Description
Currently, the input component has a clear button function, while the textarea component does not
⛳ Current behavior (updates)
The textarea component does not have a clear button
🚀 New behavior
Add Clear button functionality for the textarea component。If there is no content in the textarea, the clear button will not be displayed. If there is content, the clear button will be displayed after the content. Click the clear button to clear the text in the textarea and call the callback function
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information

Summary by CodeRabbit

New Features

Added a clearable feature to the Textarea component, allowing users to easily clear the text using a clear button.
Enhanced the Textarea story with a new Clearable variant, increasing interactivity and usability.

Tests

Introduced tests to ensure that the clearable Textarea component works as expected, including verification of the clear button functionality and the onClear event handler.

@IsDyh01  kindly run pnpm changeset  command  before commit to add the changeset file  then again add, commit push

Ok, I will deal with these problems as soon as possible

The scrollbar style seems to come with the browser, and you can't change its position, such as padding and margin

Actually it's possible if you change the padding of the outer container. However, we'll revisit the design first. Please check with the failed test case first.

This commit fixes the test case failed issue, makes the textarea component support isClearable prop, and finally adds docs to the component

@IsDyh01 Just discussed with the designer, here's the new design.

if clearable is true, the clear button will be placed at the top right. please notice the icon is different. see below for the svg code.
the clear button will be horizontally aligned with the label and the scrollbar won't be overlap with it.

You may check the below screenshot for reference.

The clear button svg:
<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg">
  <path
    d="M14.0071 3.8847L14.0087 3.88486C14.0648 3.8902 14.1093 3.93884 14.108 3.99818C14.0999 4.04945 14.0549 4.08666 14.0067 4.08666H14.0066H14.0064H14.0063H14.0062H14.0061H14.006H14.0059H14.0057H14.0056H14.0055H14.0054H14.0053H14.0052H14.005H14.0049H14.0048H14.0047H14.0046H14.0045H14.0044H14.0042H14.0041H14.004H14.0039H14.0038H14.0037H14.0036H14.0034H14.0033H14.0032H14.0031H14.003H14.0029H14.0028H14.0027H14.0025H14.0024H14.0023H14.0022H14.0021H14.002H14.0019H14.0018H14.0017H14.0015H14.0014H14.0013H14.0012H14.0011H14.001H14.0009H14.0008H14.0007H14.0005H14.0004H14.0003H14.0002H14.0001H14H13.9999H13.9998H13.9997H13.9996H13.9995H13.9993H13.9992H13.9991H13.999H13.9989H13.9988H13.9987H13.9986H13.9985H13.9984H13.9983H13.9982H13.9981H13.9979H13.9978H13.9977H13.9976H13.9975H13.9974H13.9973H13.9972H13.9971H13.997H13.9969H13.9968H13.9967H13.9966H13.9965H13.9964H13.9962H13.9961H13.996H13.9959H13.9958H13.9957H13.9956H13.9955H13.9954H13.9953H13.9952H13.9951H13.995H13.9949H13.9948H13.9947H13.9946H13.9945H13.9944H13.9943H13.9942H13.9941H13.9939H13.9938H13.9937H13.9936H13.9935H13.9934H13.9933H13.9932H13.9931H13.993H13.9929H13.9928H13.9927H13.9926H13.9925H13.9924H13.9923H13.9922H13.9921H13.992H13.9919H13.9918H13.9917H13.9916H13.9915H13.9914H13.9913H13.9912H13.9911H13.991H13.9909H13.9908H13.9907H13.9906H13.9905H13.9904H13.9903H13.9902H13.9901H13.99H13.9899H13.9898H13.9897H13.9896H13.9895H13.9894H13.9893H13.9892H13.9891H13.989H13.9889H13.9888H13.9887H13.9886H13.9885H13.9884H13.9883H13.9882H13.9881H13.988H13.9879H13.9878H13.9877H13.9876H13.9875H13.9874H13.9873H13.9872H13.9871H13.987H13.9869H13.9868H13.9867H13.9866H13.9865H13.9864H13.9863H13.9862H13.9861H13.986H13.9859H13.9858H13.9857H13.9856H13.9855H13.9854H13.9853H13.9852H13.9851H13.985H13.9849H13.9848H13.9847H13.9846H13.9845H13.9844H13.9843H13.9842H13.9841H13.984H13.9839H13.9838H13.9837H13.9836H13.9835H13.9834H13.9833H13.9832H13.9831H13.983H13.9829H13.9828H13.9827H13.9826H13.9825H13.9824H13.9823H13.9823H13.9822H13.9821H13.982H13.9819H13.9818H13.9817H13.9816H13.9815H13.9814H13.9813H13.9812H13.9811H13.981H13.9809H13.9808H13.9807H13.9806H13.9805H13.9804H13.9803H13.9802H13.9801H13.98H13.9799H13.9798H13.9797H13.9796H13.9795H13.9794H13.9793H13.9792H13.9791H13.979H13.9789H13.9788H13.9787H13.9786H13.9785H13.9784H13.9783H13.9782H13.9781H13.9781H13.978H13.9779H13.9778H13.9777H13.9776H13.9775H13.9774H13.9773H13.9772H13.9771H13.977H13.9769H13.9768H13.9767H13.9766H13.9765H13.9764H13.9763H13.9762H13.9761H13.976H13.9759H13.9758H13.9757H13.9756H13.9755H13.9754H13.9753H13.9752H13.9751H13.975H13.9749H13.9748H13.9747H13.9746H13.9745H13.9744H13.9743H13.9742H13.9741H13.974H13.9739H13.9738H13.9737H13.9736H13.9735H13.9734H13.9733H13.9733C10.4314 3.7333 6.88973 3.59909 3.36755 3.94858C3.36742 3.94859 3.36729 3.9486 3.36717 3.94862L2.00875 4.0818C2.00861 4.08181 2.00848 4.08182 2.00835 4.08183C1.94717 4.08747 1.90326 4.04725 1.89811 3.99449C1.8929 3.9411 1.93182 3.89052 1.99126 3.88486L1.99237 3.88475L3.35187 3.75147C3.35194 3.75146 3.35201 3.75145 3.35208 3.75145C3.96457 3.69218 4.57811 3.65256 5.19909 3.6125L5.51656 3.59202L5.56806 3.27809L5.708 2.42509C5.76399 2.08568 5.81767 1.81209 5.98475 1.60624C6.12965 1.42771 6.42122 1.23333 7.12 1.23333H8.86667C9.56355 1.23333 9.85752 1.43445 10.0046 1.61915C10.1739 1.83176 10.2261 2.10927 10.2786 2.43103L10.2785 2.43103L10.2789 2.4334L10.42 3.26694V3.61839L10.7978 3.63938C11.8728 3.6991 12.9403 3.77868 14.0071 3.8847Z"
    fill="#A1A1AA"
    stroke="#A1A1AA"
    strokeWidth="0.8"
  />
  <path
    d="M12.2134 5.56667C12.3292 5.56667 12.4438 5.61405 12.5285 5.70064C12.6088 5.78957 12.6542 5.90963 12.6474 6.03693C12.6474 6.03722 12.6473 6.03752 12.6473 6.03782L12.2342 12.8669C12.1959 13.3993 12.1525 13.8463 11.9087 14.1798C11.69 14.4792 11.2352 14.7733 10.14 14.7733H5.86004C4.76563 14.7733 4.31057 14.4779 4.09155 14.1776C3.8475 13.843 3.80414 13.3957 3.76583 12.8668L3.35272 6.03052C3.35271 6.03034 3.3527 6.03016 3.35269 6.02998C3.34597 5.90978 3.39108 5.78807 3.47441 5.69749C3.54714 5.61844 3.66453 5.56667 3.7867 5.56667H12.2134ZM6.8867 12.2333H9.1067C9.60095 12.2333 10.0067 11.8276 10.0067 11.3333C10.0067 10.8391 9.60095 10.4333 9.1067 10.4333H6.8867C6.39246 10.4333 5.9867 10.8391 5.9867 11.3333C5.9867 11.8276 6.39246 12.2333 6.8867 12.2333ZM6.33337 9.56667H9.6667C10.161 9.56667 10.5667 9.16092 10.5667 8.66667C10.5667 8.17242 10.161 7.76667 9.6667 7.76667H6.33337C5.83912 7.76667 5.43337 8.17242 5.43337 8.66667C5.43337 9.16092 5.83912 9.56667 6.33337 9.56667Z"
    fill="#A1A1AA"
    stroke="#A1A1AA"
    strokeWidth="0.8"
  />
</svg>;

ok，I will modify it as soon as possible.

currently behavior

@IsDyh01 the case without label fails

can endContent and clearButton appear at the same time in the textarea？endContent has a higher priority in the input.

I'm very sorry for the late revision. I had something to do in the last two weeks

I've merged the latest code

@wingkwong I've merged the latest code.

@IsDyh01 the clear button should be visible only when the textarea has some content

please take a look at the input behavior https://nextui.org/docs/components/input#clear-button

I already took care of it

mark it on hold until the doc structure revamp pr got merged to beta branch

@IsDyh01 I added some comments

ok, I will modify it as soon as possible.

Hey @IsDyh01 thanks for this contribution, however, I'm closing this PR in favor of this one https://github.com/nextui-org/nextui/pull/4172 (I had to some a couple of fixes)

authors: IsDyh01 abhinandan-verma jrgarciadev wingkwong


text:
Create header middleware

I've been adding the lines below in all my php files, as I'm now using Route, I figure I have to create a middleware that does this, but I do not know how to append the header in the server response.
header("Access-Control-Allow-Origin: *");
header("Content-Type: application/json; charset=UTF-8");
header("Access-Control-Allow-Methods: POST");
header("Access-Control-Max-Age: 3600");
header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With");

The headers are not the same for all routes, so I can not just add the above code in index.php.

You can do that just follow the example below.
// This is middleware will execute when match `/api/v1` in uri
$route->before('/api/v1', function (){
    header("Access-Control-Allow-Origin: *");
    header("Content-Type: application/json; charset=UTF-8");
    header("Access-Control-Max-Age: 3600");
    // You can check here if method == 'POST' add some headers or add another middleware for specifc uri
});

// This is middleware only execute when match `/api/v1/user` in uri
$route->before('/api/v1/user', function (){
    header("Access-Control-Allow-Methods: POST");
    header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With");
});

$route->group('/api/v1', function() {
    $this->post('/api/v1/user', function() {
         // Create user
     });
});

I did not have time to try, I thought this would not be possible, as I read in the documentation that the "header" function should be first of all in the code. Thank you.

source: gharchive/issue

authors: nezamy noloop

repo: nezamy/route

license: MIT

license_type: permissive

license_source: github-api


text:
Agent监控TrueNAS的硬盘出现错误

我使用TrueNAS手动部署了nezha agent，希望能够监控NAS的硬盘使用量
使用了./nezha-agent edit 来更改监控的硬盘
TrueNAS设置：

一个存储池，里面有四个数据集
我希望能监控存储池的使用量，一开始我是这么选的：

发现监控上只显示128k/1.51T
总量正确，但是已使用不对

然后尝试选择所有数据集

但是显示仍然错误

已使用正确，但是总剩余量错误
最后尝试选择所有挂载数据的区域

仍然存在问题

希望能够得到解决

是因为你用的zfs存储池的关系，每个挂载点的总量就是你的zfs存储池容量

repo: nezhahq/agent


text:
配置项保存失败，部分UI配色问题！

配置项需要多次保存才能生效。建议把dash的系统设置放到管理页，新建一个tab。在网络信息里面的红色跟绿色的色值太相近，麻烦去adobe检查一下安全配色，色盲或者色弱体验真的很差。

Please report at https://github.com/nezhahq/admin-frontend/issues

authors: MrShellad uubulb

repo: nezhahq/nezha


text:
Memory error

Hi,
Thanks for devloping this nice SNP pipeline, .
I have used bactmap on ~200 samples using conda .  bactmap crashed  however every time with an error related to the memory load on the system. I used with the following setting in the command line --max_memory 1.GB --max_cpus  but didn't help.
This was my full command
 nextflow run nf-core/bactmap --input samplesSheet_01Feb2022_160557.tsv --reference <ref> -profile conda --trim --outdir results_bactmap -resume --raxmlng --genome_size 1.9m --max_memory 1.GB --max_cpus 2
I am working on a Centos machine with 1008G ram and 112 cpus.
I appreciate your help. Thank you,

Hi @MostafaYA
I think the problem maybe one of the processes is causing a memory problem.
Can I suggest a couple of things

Try reducing the number of parallel tasks to 50 using -qs 50 in the command line
Post the full error here to help diagnose the problem

Thanks.

Hi
Are there other users running things on the server? I wonder if the memory is being consumed by other processes. As you say it looks like there is not enough memory.
Can you diagnose this by installing htop and looking at the available memory when Nextflow is running

only me is the current user

Looking at this I think you have too little swap for the amount of memory you have on your machine
You need at least 32Gb - see https://askubuntu.com/questions/594054/how-much-swap-should-i-take-for-1gb-to-8tb-of-ram-on-14-04-or-higher

Thank you very much - this will have to be solved by our IT then.
N.B. the label "bug" was unintentionally added to this thread and I have no clue how to remove it.

Closing as seems resolved. Please re-open if needed.

authors: MostafaYA andersgs antunderwood

repo: nf-core/bactmap


text:
Neon.Service: document Kubernetes startupProbe/livelinessProbe

I just noticed that Kubernetes implements redinessProbe and startupProbes in addition to a livenessProbe:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#types-of-probe
Here's the relevant summary of how these work:
livenessProbe:

    Indicates whether the container is running. If the liveness probe fails, the kubelet kills the container,
    and the container is subjected to its restart policy. If a container does not provide a liveness probe,
    the default state is Success.

readinessProbe:

    Indicates whether the container is ready to respond to requests. If the readiness probe fails, the
    endpoints controller removes the Pod's IP address from the endpoints of all Services that match
    the Pod. The default state of readiness before the initial delay is Failure. If a container does not provide
    a readiness probe, the default state is Success.

startupProbe:

    Indicates whether the application within the container is started. All other probes are disabled if a
    startup probe is provided, until it succeeds. If the startup probe fails, the kubelet kills the container,
    and the container is subjected to its restart policy. If a container does not provide a startup probe,
    the default state is Success.

I'm not entirely sure why people would use a readinessProbe instead of a startupProbe.  startupProbes are nice because they prevent both readinessProbe and livenessProbe probes from running until the startup probe has succeeded.  Using readinessProbe instead can mean that the readinessProbe may fail before the node is ready resulting in the pod being terminated.
JEFF UPDATE: I think I understand readinessProbe now: I believe this can be used to temporarily take a running pod offline so that it no longer receives external requests without having Kubelet terminating  it.
I think our current health-check script can work for all of these probes so this is really a documentation update, where we should recommend that NeonService applications be configured with both a startupProbe and a livenessProbe.

So we will need a bit of a code change to handle redinessProbe.  NeonServiceStatus is currently defined as:
    /// <summary>
    /// Enumerates the possible <see cref="NeonService"/> running states.
    /// </summary>
    public enum NeonServiceStatus
    {
        /// <summary>
        /// The service has not been started.
        /// </summary>
        [EnumMember(Value = "not-started")]
        NotStarted = 0,

        /// <summary>
        /// The service is in the process of starting but is not yet
        /// fully initialized.
        /// </summary>
        [EnumMember(Value = "starting")]
        Starting,

        /// <summary>
        /// The service is running and ready for traffic.
        /// </summary>
        [EnumMember(Value = "running")]
        Running,

        /// <summary>
        /// The service is running but is not healthy.
        /// </summary>
        [EnumMember(Value = "unhealthy")]
        Unhealthy,

        /// <summary>
        /// The service has terminated.
        /// </summary>
        [EnumMember(Value = "terminated")]
        Terminated
    }

We need to add another state: NotReady.  When set, this means that the pod is running but is not ready to accept external requests.  We'd then need to modify the health-check script to return healthy for either the Running or NotReady states.
We also need to generate a new ready-check script that returns healthy for Running or NotReady and not ready for anything else.

DONE

repo: nforgeio/neonKUBE


text:
AWS cluster deployment is not working

Cluster prepare is unable to connect to the cluster instances.  The generated sysadmin password is not working for SSH and it's also not working when logging in via the serial console.
I suspect that the boot script is not being executed when booting the instances from the AWS node image.  Perhaps cloud-init is disabled?

The boot script used for AWS is incorrect.  The script is exiting when the /etc/neonkube/cloud-init/disabled file exists.  This file is to be honored by the neon-init service, not cloud-init boot scripts.

FIXED


text:
cluster prepare/setup: Increase default parallelization for cloud deployments

We currently default max-parallelization=6 for cluster deployments.  In addition, for XenServer (and Hyper-V if/when we support Windows Server deployment), we limit VM creation to one at a time per host machine (due to this mostly being a file copy operation so parallelizing multiple VM creation on the same  might even slow things down (that would almost certainly be true for spinning disks).
The current parallelization default of 6 was set several years ago when we were doing Docker Swarm.  The rationale was that for on-premise, we wanted to limit how much network traffic cluster setup would generate on the local LAN.  A side benefit at the time was that this made throttling by upstream services like Linux package repos less likely.
This is less important now, since most of the required components are already baked into the node images.  We still apply Linux security patches during setup, but we proxy those on the control plane nodes so we should be mostly loading packages just once per cluster.

[x] Let's keep the max-parallelization concept but increase the default to 25 parallel operations for on-premse clusters and 100 (our current max cluster size) for cloud clusters.

DONE


text:
Fix README syntax

Fixes the object syntax in the first example

Please pull this in I also copy pasted from the readme and noted the missing comma.

Doh! Thank you and sorry for the delayed response.

source: gharchive/pull-request

authors: AnandChowdhary MarshallRJ nfriedly

repo: nfriedly/express-slow-down


text:
maintain statistics to be used as query hints

1 query hint would be what the full set of "visibility" possibilities are (or at least whether there is more than 1 visibility per adapter). If there is only 1 visibility throughout, then the whole row iterator is unnecessary.
another query hint is whether there is ever a duplicate per adapter-index pair (or perhaps the max number of duplicates)
another query hint is the filled tiers (some tiers may not have any data, the base case of point-timestamps only would just be a single tier). We only need to query the tiers that have data.

Visibility Query Hint: Need a little more clarification on this hint.  Is the result of the whole row iterator where each column is separated into key/value pairs expected to change?
I was thinking the whole row iterator can be replaced to minimize the duplication column family and visibility for each column qualifier.
(2) Dedup: perhaps just a flag to turn duplicate checking off.  Without duplicate checking, we may see opportunity to replace the Row ID with something smaller at query time.
(3) Filled tiers: makes sense to me.

This is related to #48 but includes more statistics that could improve query

authors: rfecher rwgdrummer

repo: ngageoint/geowave

license_source: bigquery


text:
Function "exists" not working for symlink

I use symlink for certificate letsencrypt
ln -s /etc/letsencrypt/live/example.com/fullchain.pem /etc/nginx/certs/example.com.crt
ln -s /etc/letsencrypt/live/example.com/privkey.pem /etc/nginx/certs/example.com.key
Function "exists" can not find a certificate.

This won't work because inside the container, your host's /etc/letsencrypt/archive folder is not available.
While /etc/letsencrypt/live/example.com is a real folder, /etc/letsencrypt/live/example.com/fullchain.pem is a symlink to /etc/letsencrypt/archive/example.com/fullchain??.pem (where the ?? is whatever version of cert is your current one). Same with the privkey.pem file. That symlink cannot be followed from within the container.
You could make a hard-link (ln without the -s) to the cert file, but you would have to recreate that every time your certificate is updated.
What would be great would be if this container would use the /etc/letsencrypt structure to find the certificates. The /etc/letsencrypt folder from the host (or shared volume with one of the many letsencrypt maintenance containers) could be mounted in this container, and the certificates could be indicated and found within that folder, using the /etc/letsencrypt/live/$LETSENCRYPT_HOST path, and the symlink to the right ../../archive/ folder could be followed.
Even with this, the container (or at least nginx within) needs to be restarted when the certificates are renewed, but at least the path doesn't need to be re-linked to keep it whole. Perhaps some other trigger to drop and reload that domain's config could be added.

authors: jekewa pvlg

repo: nginx-proxy/docker-gen


text:
Program terminates with stacktrace if clients fail to initialize

Describe the bug
The program ends with a nil reference error if any of the clients in the initialization data collector section. We need to verify the errors the client constructors might return.
To Reproduce
Steps to reproduce the behavior:

Create a wrong .kube/config data.
Run the  plugin

Expected behavior
Program should gracefully fail and indicate the error reason.

I am unable to reproduce this.
I cloned a working .kube/config and deleted an item e.g.: client-certificate-data:
 kic-0: namespaces "kic-0" is forbidden: User "system:anonymous" cannot get resource "namespaces" in API group "" in the namespace "kic-0"
or certificate-authority-data::
kic-0: Get "https://10.146.180.184:443/api/v1/namespaces/kic-0": tls: failed to verify certificate: x509: “kube-apiserver” certificate is not trusted
 Error: Some namespaces do not exist```

authors: dareste mrajagopal


text:
Add syntax highlight to code blocks

Our current code blocks (converted from the previous doc) doesn't define the language for syntax highlight.
    {
      "addr": "22",
      "proto": "tcp",
      "name": "ssh"
    }

resulting in a generic code block:

By adding the code block with language, we can enable syntax highlight
 \```json
 {
     "addr": "22",
     "proto": "TCP",
     "name": "ssh"
 }
 \```

@sudobinbash @russorat I want to contribute in improving the docs, can you assing this issue to me?

i think is is working. closing for now

authors: nabin-nath russorat sudobinbash

repo: ngrok/ngrok-docs


text:
how to write html code inside .ts component file in angular formly

{
  template: `
    <div class="mt-2" *ngIf="imageFileName">
        <img [src]="model.image.value"  width="60px" height="60px" alt="">
    </div>
  `
},

it's not possible due to Angular limitation on that part (require to use Angular compiler in browser),
so instead use one of the following solutions:
1- create a custom component type https://formly.dev/guide/custom-formly-field
2- use expressionProperties: https://github.com/ngx-formly/ngx-formly/issues/2057#issuecomment-579724475
3- use inline type (available in v6) https://github.com/ngx-formly/ngx-formly/issues/2710#issuecomment-792260405

repo: ngx-formly/ngx-formly


text:
Multicheckbox - Angular 9

We are using ngx-formly form in our Angular 9 application. We have some issues with formly multicheckbox implementation. Since the multicheckbox value gets as an Object/ key-value pair. We convert it to a string with JSON.stringify to save it to the DB(pstgres). And while retrieving we parse it and pass it to the model. This is kind of working but some times values are saved in numerics. Need some help figuring out this issue and if anything can be done to make the code look better. Formly version:
"@ngx-formly/bootstrap": "^5.10.14",
"@ngx-formly/core": "^5.10.14",
"@ngx-formly/material": "^5.10.20",
"@ngx-formly/schematics": "^5.10.14"
To stringify Multicheckbox value:
 stringifyMuticheckboxValue(model) {
    const values = Object.keys(model);
    values.map((value) => {
      if (Object.prototype.toString.call(model[value]).slice(8, -1) === 'Object') {
        model[value] = JSON.stringify(model[value]);
      }
    });
  }

And while retrieving:
 export function parseMultiCheckBoxValue(model) {
      if (!!model[formField]
        && isObject(model[formField])) {
        model[formField] = JSON.parse(model[formField]);
      }
    }
![9H7JE](https://user-images.githubusercontent.com/68946863/203270465-d1c075d2-56a0-49b3-a820-ba8451850cfe.png)

This may not be the correct implementation for multicheckbox, need some help here, sometimes the value gets saved as below.

Instead use array value which is supported by Multicheckbox, set array to type property:
{
  templateOptions: {
+   type: 'array'
  }
}

authors: aitboudad tonedeafcoder


text:
Custom named exports were specified for @toast-ui/editor/dist/esm/index.js but it does not appear to be a CommonJS module

Describe the bug
I am trying to build a react-library using the editor. I'll customize this editor, styles, etc and used it across multiple projects.
I am using https://www.npmjs.com/package/create-react-library to build the package.
To Reproduce
Steps to reproduce the behaviour:

Install https://www.npmjs.com/package/create-react-library
npx create-react-library custom-editor
cd ustom-editor
npm i @toast-ui/editor-plugin-chart @toast-ui/editor-plugin-code-syntax-highlight @toast-ui/editor-plugin-color-syntax @toast-ui/editor-plugin-table-merged-cell @toast-ui/editor-plugin-uml @toast-ui/react-editor katex mermaid --save-dev
npm start
custom-editor/index.js

import React from 'react'
import { Editor } from '@toast-ui/react-editor'

export default function EditorComponent() {
  return (
    <Editor
      initialValue='hello react editor world!'
      previewStyle='vertical'
      height='600px'
      initialEditType='markdown'
      useCommandShortcut
    />
  )
}

Expected behaviour
It should load the editor but it's raising the below error
(commonjs plugin) Error: Custom named exports were specified for /home/rahul/Desktop/projects/temp/editor/tui/node_modules/@toast-ui/editor/dist/esm/index.js but it does not appear to be a CommonJS module
Error: Custom named exports were specified for /home/rahul/Desktop/projects/temp/editor/tui/node_modules/@toast-ui/editor/dist/esm/index.js but it does not appear to be a CommonJS module
    at transformCommonjs (/home/rahul/Desktop/projects/temp/editor/tui/node_modules/@rollup/plugin-commonjs/dist/index.js:753:13)
    at Object.transformAndCheckExports (/home/rahul/Desktop/projects/temp/editor/tui/node_modules/@rollup/plugin-commonjs/dist/index.js:1144:25)
    at Object.transform (/home/rahul/Desktop/projects/temp/editor/tui/node_modules/@rollup/plugin-commonjs/dist/index.js:1309:48)
    at /home/rahul/Desktop/projects/temp/editor/tui/node_modules/rollup/dist/shared/node-entry.js:13117:25

Screenshots

@ats1999
sorry for late reply, it is a ESM build. Are you in an SSR environment?

Yes. SSR environment causes this.

@jwlee1108


text:
Question: Is it possible to include list view

Hi,
Please, It would be great the possibility to include list view (day or week mode) like Fullcalendar does.

https://fullcalendar.io/releases/fullcalendar/3.9.0/demos/list-views.html
Thank you so much for your work and your time to read this!! ;)
Regards

Please refer to the #213 at this time.

authors: dongsik-yoo marcosesperon


text:
Query Parameters Being Converted to Lowercase

we rely on query parameters to determine the source of an function call (i.e. /api/example?source=Nike) but somewhere along the line Nike gets converted to nike, this seems to be a recent change that we first noticed about a week ago.

Hi @elitan, yes this is only happening in production (even with the latest version of the nhost CLI), what can we do to address this if it's a production gateway issue?

repo: nhost/hasura-auth


text:
File selection for check-file-format.sh seems over-broad and potentially misconfigured

Here we run a diff to see what files we need to check against editorconfig to make sure everything's aligned.
However there are two problems.  The first is that this is a script we run in a pre-commit hook, but it checks all files changed since the divergence with the origin/main branch.  That means we run it repeatedly on any file we've ever changed on our current branch, not just the changes we're trying to commit.  That the script calls docker run... once per file that's ever changed in a loop makes this slow for even fairly short histories, especially if the upstream has had merges from others since we branched.
The second problem is that it assumes origin/main points at something controlled.  In my current checkout, origin points at a fork, and the nhs-england-tools/repository-template repo is called upstream.  In my case, it should be comparing to upstream/main.  This makes it worse because inevitably my fork is behind, so it adds more files to the changed list.
I think this should just be calling git diff --name-only without the branch comparison.  If it's getting called in every git commit, there's no sense in re-checking all the files changed in the branch.  We only need to check what's changed in this commit specifically.

On further reflection, I think there's another problem lurking here.  We're using git diff to identify the changed files, but unless pre-commit is doing something funky that's not what we want.  It ignores staged changes.  What I think we actually need is git diff --cached.

Thanks @regularfry for reporting this issue.
With regard to comparing changes to the origin/main by default, this is necessary because it is also run as a GitHub Action where only branches can be compared. The check file format script has been implemented to be consistent in its behaviour both as a commit hook and when run as a GitHub action. If this behaviour causes an issue for a forked repository, a workaround could be to export BRANCH_NAME=upstream/main, commit the changes, then unset BRANCH_NAME.
The command
files=$( (git diff --diff-filter=ACMRT --name-only ${BRANCH_NAME:-origin/main}; git diff --name-only) | sort | uniq )

selects all the staged files and modified files in the working tree. The last part of it, git diff --name-only) | sort | uniq, indeed seems unnecessary. Let's remove it.
What causes the slowness of this script is that a docker container is spun up for each file that has to be checked. Running the git diff from within the container addresses this issue and speeds up the execution. Thanks for the PR.

Responded over here

I think, introducing the mode switch/parameter is a good suggestion.
Let's make it simple - I like your original suggestion of using git from within the container. We should do that. Implementing this approach simplifies the check execution since passing filenames from outside the container might not be as trivial as it seems, especially when considering challenges like handling and escaping spaces in file names.
Here are the modes I envision being implemented:

check=all - check all files
check=staged-changes - check only the files that are currently staged
check=working-tree-changes- check only the files that have been modified in the working tree
check=branch - check files changed compared to the canonical branch (origin/main)

Subsequently, the git precommit hook will execute check=staged-changes ./scripts/githooks/check-file-format.sh and the GitHub action will call  check=branch ./scripts/githooks/check-file-format.sh

authors: regularfry stefaniuk

repo: nhs-england-tools/repository-template


text:
Addressing other current challenges to modern analytics adoption

On top of issues around the basics of getting open source tools installed onto Trust machines, there are further topics that must be addressed in order to move towards the analytics vision set out in the Goldacre Report, the NHSX Open Source policy and the NHSD RAP Community.
This include but are not limited to:

Open code: publication of code in public repositories,
Synthetic data: the creation and authorisation of synthetic/dummy datasets in order to improve reproducibility (amongst other things),
Balancing analytics processes and software engineering.

Added a starter page on open code - will work on the others in the coming days.

repo: nhs-r-community/statements-on-tools


text:
Complex list

What?

A list of cards, basically (for instance, the GP appointment history or test results history)
These can variously include clickable and non-clickable cards; sometimes there are no cards at all (though this should maybe be a different pattern altogether)

More information

some examples:

repo: nhsuk/nhsapp-frontend


text:
Splash or Launch screen

What
We need a way to help users understand they are beginning their journey on the app
Why
Splash or launch screens are the first visual element a user sees when they launch apps.
While a splash or launch screen doesn't provide any feature, what they do is help set user expectations of the interactions they are about to have. This is where the user first encounters the brand, the software version and several cues to let them know the app is loading itself. This helps manage user expectations, allows the software to properly ready itself and transition into an onboarding flow.
In the NHS app, we  have a mixed situation where we don't have one for iOS or rather we have just a blue screen. On Android, we do have splash screens, but we have skipped this part of the app onboarding process in favour of speed which to the user renders as if we do not have a splash screen.
Splash screens tend to have around 2 to 5 seconds depending on the complexity of the app, ours renders in less than 1 second which is too quick.

The current splash screen we have on the android version of the app seen in photo above
User behaviour insights
In our usability testing done on 13 and 14 of November 24. We set the splash screen to an est. 2 seconds. We saw no issues with users feeling like the app was slow or attempting to interrupt the biometric sequence. We think the presence of the splash screen communicates to the user that the app is preparing itself and the transition to biometric seem to put the user in a wait which was the intended outcome. In some cases, when the splash screen transitioned to biometric, we saw the user pick up the phone to bring it closer to their face, which meant the app was communicating the right message in the correct sequence
Details
Google describes splash screens as:

The splash screen experience brings standard design elements to every app launch, but it's also customisable so your app can maintain its unique branding.

Launch screens can be displayed upon an app’s launch from the home screen when an app loads, instead of displaying a blank screen. Displaying a launch screen can decrease the sense of a long load time, and has the potential to add delight to the user experience

Additional latency is often associated with launching an app on a cold start. Adding an animated icon to your splash screen has obvious aesthetic appeal and provides a more premium experience. User research shows that perceived startup time is less when viewing an animation.

Apple describes it as:

Launching begins when someone opens your app or game, includes an initial download, and ends when the first screen is ready. After launching completes, you might offer an
onboarding
experience, which can give people a high-level view of your app or game.

Every iOS app must provide a launch screen, a screen that displays while your app launches. The launch screen appears instantly when your app starts up and is quickly replaced with the app’s first screen.You create a launch screen for your app in your Xcode project in one of two ways:

Information property list
User interface file
To make the app launch experience as seamless as possible, create a launch screen with basic views that closely resemble the first screen of your app.For guidelines about designing a launch screen, see
Launching in the Human Interface Guidelines

Reference
https://developer.android.com/develop/ui/views/launch/splash-screen
https://m2.material.io/design/communication/launch-screen.html#branded-launch
https://developer.apple.com/design/human-interface-guidelines/launching
https://developer.apple.com/videos/play/wwdc2017/816

XML file for Android

    <style name="NHSAppTheme" parent="Theme.AppCompat.Light.NoActionBar" />

    <style name="NHSAppTheme.Starting" parent="Theme.SplashScreen">
        <!-- Set the splash screen background, animated icon, and animation duration. -->
        <item name="windowSplashScreenBackground">@color/nhsukblue</item>

        <!-- Use windowSplashScreenAnimatedIcon to add either a drawable or an
             animated drawable. One of these is required. -->
        <item name="windowSplashScreenAnimatedIcon">@drawable/bg_splashscreen</item>

        <!-- Set the theme of the Activity that directly follows your splash screen. -->
        <!-- Required -->
        <item name="postSplashScreenTheme">@style/NHSAppTheme</item>
        <item name="android:windowLayoutInDisplayCutoutMode">default</item>
        <item name="android:windowTranslucentStatus">true</item>
        <item name="android:windowTranslucentNavigation">true</item>

    </style>


text:
Add the search functionality back and remove duplicate sitemap entry

Reverts nhsuk/nhsuk-service-manual#264
Remove duplicate entry from the XML sitemap
Temporarily remove the password from the staging environment for user testing

Looks good.

authors: AdamChrimes theonlymojo

repo: nhsuk/nhsuk-service-manual


text:
Fix bug where user can't type disabled option into combobox

Pull Request
🤨 Rationale
Fixes #2252
👩💻 Implementation
The options getter should not revert to returning all the options (i.e. _options) when filteredOptions is empty. Doing so can lead to setting a selectedIndex that points to an option that is filtered out or disabled.
🧪 Testing
Added new tests
✅ Checklist

[x] I have updated the project documentation to reflect my changes or determined no changes are needed.

@atmgrifter00 it looks like there were changes since your last review, could you give it another check JIC?

authors: m-akinc rajsite

repo: ni/nimble


text:
Investigate the failure of a 2D pipeline from Jan 24, 2023

This issue was reported by Bryan H. on January 24, 2023 as a part of ticket https://jira.niaid.nih.gov/browse/HEDWG2-714
"Also one of the 2D samples failed, but it's nothing but jpg files"
UI Path:
https://hedwig.niaid.nih.gov/sessions/U2Vzc2lvbjoyODQ1/samples
File path:
\ai-fas12.niaid.nih.gov\RMLEMHedwigProd\Projects\LID\marcotrigianoj2\marcotrigianoj2-2023-0123-HCV-E1\Cryo-TEM-2023-0123-sfconE1-H114-4E3
Pipeline run
https://prefect1.hedwig-workflow-api.niaidprod.net/default/task-run/84348407-669d-47e8-b4bb-cde0d7941575?logs

This is the error message:
FileNotFoundError: [Errno 2] No such file or directory: '/gs1/Scratch/macmenaminpe_scratch/tmp89xqtu8w'

Looks like a problem with the file system maybe?
Unclear. Ran workflow again, and directory appears to be there as expected.

authors: NetaFG philipmac


text:
🛑 Authinator is down

In 76b127f, Authinator (https://www.authinator.com) was down:

HTTP code: 403
Response time: 119 ms

Resolved: Authinator is back up in 3a0448a.

repo: nickadam/status


text:
Fix clean up releases

Updated the command to clean up releases so it does not potentially find release directories else where on the server that it shouldn't be cleaning up.
Fixes #1

merged,thx.

authors: nickfan robertvrabel

repo: nickfan/envoy-deployscript

license: mit


text:
ci: remove travis in favor of github actions

The only additional thing required should be a token placed in the
settings for goveralls
closes #36
https://github.com/mattn/goveralls#github-actions
https://github.com/actions/setup-go/issues/31

Looks good :+1:
I've removed the Travis-CI integration and have added a secret called COVERALLS_TOKEN for the Coverall token. Please update the workflow to suit the new secret name.

Looks good +1
I've removed the Travis-CI integration and have added a secret called COVERALLS_TOKEN for the Coverall token. Please update the workflow to suit the new secret name.

Done! I wasn't able to test this locally due to restrictions with Act (the images they use are inaccurate), so hopefully things work without issue but happy to fix whatever isn't working as expected.

I would have thought a Actions runner would have been triggered but it didn't :thinking:

I'll merge and see what happens.

Oops, I see that error, the cov file needs to be swapped, I believe.
Looks to be working though, besides that!

Sweet, can you also replace the build badge in the readme with the new one for Actions?

Sweet, can you also replace the build badge in the readme with the new one for Actions?

Sure thing, doing so now. I do agree that it should have kicked something off, and was looking for it initially but it never happened.


text:
Like Errors

Hello,
With the latest update, i cannot get this to run now.
it just
Starting operations - 17:44:56 29/06/2017
Current daily count:

All operations: 0
Like news feed: 0
Likes: 0
Follows: 0
Unfollows: 0
Comments: 0

Finishing operations...
Waiting 147 seconds
----UPDATE--
I think I was getting that error because it was actually time for the bot to sleep. I have changed the times to 10:00 and 10:00. Now for it working and liking tags, many errors such as this
Error: 'ascii' codec can't decode byte 0xd8 in position 7: ordinal not in range(128). Trying again with coding...  Error: 'ascii' codec can't decode byte 0xd8 in position 7: ordinal not in range(128)
Refilling bucket - looking for "coffee" posts...  Error: global name 'e' is not defined. Trying again with instapassport...  found 17 new.
---update 2--
seems as if adding some foreign characters in tags_to_avoid break the bot

Hi @inhaletime , thanks for the feedback.
Yes it's most likely that the foreign characters are causing the errors. Although the global name e will be fixed in the next update.
I will try to fix the ascii issue, could you give me some of the tags you used that had these characters?

Hi, I have troubles with emojis in the comments what may is connected to this problem here. Since the Instagram-Servers are currently not working in my country, I can't send any screenshots. But when they were working, I tried diffrent emojis and charsets but every time I received the same error. Without emojis, everything seems to work fine. Maybe it'd be possible to use something like this, to prevent these charset errors completly???

authors: eliareutlinger inhaletime nickpettican

repo: nickpettican/InstaBot


text:
Send PASS before USER and NICK when connecting.

"The password can and must be set before any attempt to register the connection is made.  Currently this requires that clients send a PASS command before sending the NICK/USER combination..." -- https://tools.ietf.org/html/rfc1459#section-4.1.1

Nice catch, thanks!

authors: allonhadaya nickvanw

repo: nickvanw/ircx


text:
Clarification on volume and mute

Adding this as a feature request as it's not really a 'bug', but would be great if you could clarify the use of the mute/volume options.  What I'd like to achieve is that when viewing the iOS 'remote', the volume up/down links to iPhone volume up/down and controls whichever activity is active on the Harmony being controlled (as opposed to just the TV).
How should the options be set to achieve that?

Hi, this should be the case , volume and remote are linked to the current input of tv (so current activity on harmony) . Can you share your config and log in debug while pressing the up/ down volume ?

Testing further, but I think it’s now mostly working.  Suspect I had a mis-configuration on the Harmony side which I hadn’t realised until looking deeper (meaning Harmony wasn’t controlling Sonos on certain activities).  I’ll continue testing activities and report back if I find any issues.

authors: nicoduj twynne

repo: nicoduj/homebridge-harmony

license: Unlicense


text:
Error code 128 Cant install plug in

npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master git://github.com/nicoduj/harmony-websocket.git /root/.npm/_cacache/tmp/git-clone-5236a626
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-5236a626': Permission denied
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-02-12T18_56_29_734Z-debug.log

Hi,
It is a git issue . On latest version I had to reference a fork of a lib. I made a pull request but still not accepted f I’m the maintainer.
You can try this meanwhile : https://gist.github.com/taoyuan/bfa3ff87e4b5611b5cbe

https://gist.github.com/taoyuan/bfa3ff87e4b5611b5cbe did not work as well :(

And with something like : sudo npm install -g --unsafe-perm homebridge-harmony ?

sudo chown -R $USER /usr/local && npm install -g homebridge-harmony

For me this worked:

sudo  /usr/bin/git clone --depth=1 -q -b master git://github.com/nicoduj/harmony-websocket.git /home/homebridge/.npm/_cacache/tmp/git-clone-342321d7

cd /usr/lib/node_modules

sudo -E -n npm --no-update-notifier install --unsafe-perm homebridge-harmony@latest

For me this worked:

sudo  /usr/bin/git clone --depth=1 -q -b master git://github.com/nicoduj/harmony-websocket.git /home/homebridge/.npm/_cacache/tmp/git-clone-342321d7
cd /usr/lib/node_modules
sudo -E -n npm --no-update-notifier install --unsafe-perm homebridge-harmony@latest

Thanks a lot it worked for me too

none of this sis working for me at all

Back to official dependency in 0.3.91 so it should solve this issue

authors: Krocko felkahlout nicoduj roberkane212 rogatec


text:
Stream Deck Extension seems not to post any Actions

Hello,
i dont know if it is a User error or something else but i added the Extension to the Deck and also the Extension in VSC.
In the Status bar it shows me Deck | Connected | Active
but when i press for example Insert Snippet nothing happens.
I will attach you the Logs if u need anything else say it i looked for around 30min where the problem could be but didnt get it working.
Thanks in advance and Kind regards
C

2021-03-25 20:22:52.5562|DEBUG|BarRaider.SdTools.Logger|Logger Initialized 2021-03-25 20:22:52.5944|INFO|BarRaider.SdTools.Logger|Starting server ws://127.0.0.1:48969 2021-03-25 20:22:52.6822|INFO|BarRaider.SdTools.Logger|Plugin Loading - 6 Actions Found 2021-03-25 20:22:53.0134|INFO|BarRaider.SdTools.Logger|Plugin version: 5.1.3 2021-03-25 20:22:53.0174|INFO|BarRaider.SdTools.Logger|Connecting to Stream Deck 2021-03-25 20:22:55.0859|INFO|BarRaider.SdTools.Logger|Connected to Stream Deck 2021-03-25 20:22:55.0859|INFO|BarRaider.SdTools.Logger|GlobalSettingsManager initialized 2021-03-25 20:25:24.6764|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:25:30.2255|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:25:36.6577|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:26:27.0817|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:26:27.1685|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:26:27.9514|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:26:28.1425|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:26:28.2984|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:26:51.5408|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:30:06.6341|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:30:13.1293|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:30:13.5472|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:30:13.7159|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:30:13.8723|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:30:35.9219|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"9ce30780-83b9-404f-92d5-4ce73f45dd041616700226627\"}"} 2021-03-25 20:31:07.7967|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:33:29.1759|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:35:12.1578|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:35:12.3503|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:35:12.4962|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:35:12.6702|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:35:12.8313|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:35:12.9925|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:35:55.5322|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:36:28.3538|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:36:57.2831|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:37:27.4812|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:38:11.0802|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:38:34.9628|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:39:03.2094|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:39:07.7030|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:39:21.8772|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:39:59.1952|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:40:17.0259|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:41:17.2183|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:41:21.8659|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"} 2021-03-25 20:42:43.2010|INFO|BarRaider.SdTools.Logger|{"id":"ChangeActiveSessionMessage","data":"{\"sessionId\":\"38df7750-2ff9-4763-a2c8-24510557e7691616700640892\"}"}

To add some info i didnt change Port or IP Adress

Hey,
Could you try another action like Execute command or Execute terminal command also send the extension output from vs code.
Extension output:

[25.3.2021, 21:48:03] Connecting to Stream Deck
[25.3.2021, 21:48:03] Registering session d2e949fe-97fb-48e5-bc1f-1bdf0f01e5771616705282557
[25.3.2021, 21:48:03] Connected to Stream Deck.
[25.3.2021, 21:48:03] Message received, ActiveSessionChangedMessage.: {"id":"ActiveSessionChangedMessage","data":"{"sessionId":"d2e949fe-97fb-48e5-bc1f-1bdf0f01e5771616705282557"}"}
[25.3.2021, 21:48:22] Message received, ExecuteTerminalCommandMessage.: {"id":"ExecuteTerminalCommandMessage","data":"{"command":"help"}"}
[25.3.2021, 21:48:26] Message received, ActiveSessionChangedMessage.: {"id":"ActiveSessionChangedMessage","data":"{"sessionId":"d2e949fe-97fb-48e5-bc1f-1bdf0f01e5771616705282557"}"}
[25.3.2021, 21:48:54] Message received, ActiveSessionChangedMessage.: {"id":"ActiveSessionChangedMessage","data":"{"sessionId":"d2e949fe-97fb-48e5-bc1f-1bdf0f01e5771616705282557"}"}
[25.3.2021, 21:49:13] Message received, ActiveSessionChangedMessage.: {"id":"ActiveSessionChangedMessage","data":"{"sessionId":"d2e949fe-97fb-48e5-bc1f-1bdf0f01e5771616705282557"}"}
[25.3.2021, 21:50:32] Message received, ActiveSessionChangedMessage.: {"id":"ActiveSessionChangedMessage","data":"{"sessionId":"d2e949fe-97fb-48e5-bc1f-1bdf0f01e5771616705282557"}"}
[25.3.2021, 21:50:38] Message received, ActiveSessionChangedMessage.: {"id":"ActiveSessionChangedMessage","data":"{"sessionId":"d2e949fe-97fb-48e5-bc1f-1bdf0f01e5771616705282557"}"}
[25.3.2021, 21:50:38] Message received, ActiveSessionChangedMessage.: {"id":"ActiveSessionChangedMessage","data":"{"sessionId":"d2e949fe-97fb-48e5-bc1f-1bdf0f01e5771616705282557"}"}
[25.3.2021, 21:50:56] Message received, ActiveSessionChangedMessage.: {"id":"ActiveSessionChangedMessage","data":"{"sessionId":"d2e949fe-97fb-48e5-bc1f-1bdf0f01e5771616705282557"}"}
[25.3.2021, 21:51:02] Message received, ActiveSessionChangedMessage.: {"id":"ActiveSessionChangedMessage","data":"{"sessionId":"d2e949fe-97fb-48e5-bc1f-1bdf0f01e5771616705282557"}"}
[25.3.2021, 21:51:24] Message received, ExecuteTerminalCommandMessage.: {"id":"ExecuteTerminalCommandMessage","data":"{"command":"help"}"}
[25.3.2021, 21:51:41] Message received, ExecuteTerminalCommandMessage.: {"id":"ExecuteTerminalCommandMessage","data":"{"command":"help"}"}
[25.3.2021, 21:51:58] Message received, ExecuteTerminalCommandMessage.: {"id":"ExecuteTerminalCommandMessage","data":"{"command":"help"}"}
[25.3.2021, 21:52:10] Message received, InsertSnippetMessage.: {"id":"InsertSnippetMessage","data":"{"name":"Hello Darling"}"}

Execude Commands seems to work good

The snippet message was received:
[25.3.2021, 21:52:10] Message received, InsertSnippetMessage.: {"id":"InsertSnippetMessage","data":"{"name":"Hello Darling"}"}.
This snippet was created by you or another extension? If it was provided by an extension what is the extension name?

Extension Visual Studio Code by Nicollas R.
5.1.3 - 15.06.2020

Extension Visual Studio Code by Nicollas R.
5.1.3 - 15.06.2020

Not my extension I mean the extension that contributed snippets to vs code.
Create a new file, change language mode to Javascript, wait for extensions activation and then create an action like the one above:

It should work and create a for loop like this:

Here's the "For Loop" snippet definition:
{
  "For Loop": {
    "prefix": ["for", "for-const"],
    "body": ["for (const ${2:element} of ${1:array}) {", "\t$0", "}"],
    "description": "A for loop."
  }
}

Here you can find more about creating or inspecting extensions that contribute snippets to the IDE.

authors: Clankcoll nicollasricas

repo: nicollasricas/streamdeckvsc


text:
Вынести ВСЕ блоки в отдельную библиотеку, по умолчанию в сборку не брать

Но хочется иметь возможность быстро взять в сборку блок из библиотеки (скажем, консольной командой добавлять в сборку 1 или много блоков).

отдельно собирать библиотеку, отдельно — проектные страницы
консольной командой создавать 1 или несколько блоков
консольной командой добавлять 1 или несколько блоков в проект
консольной командой убирать 1 или несколько блоков из проекта

Сейчас осваиваю webpack и планирую всё перетащить на реакт или вью

Может видели, недавно наткнулся на такую статью https://nystudio107.com/blog/an-annotated-webpack-4-config-for-frontend-web-development
Вдруг чем-то полезно будет.
На винде у меня правда не собрался проект))

authors: nicothin npofopr

repo: nicothin/NTH-start-project

license: WTFPL


text:
about 08-asvspoof-activelearn

Dear author,
when I tried to run the bash script in the 08 project, I saw the following error in the training log.
(pytorch-1.7) ming@LAPTOP-EMOK5QV6:/mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn$ bash 00_demo.sh model-AL-NegE config_AL_train_toyset 01

=======================================================
Step1. Preparation: load environment and get toy data
Conda environment fairseq-pip2 has been installed

=======================================================

=======================================================
Step3. training on toy set
bash 01_train.sh 01 config_AL_train_toyset model-AL-NegE/config_AL_train_toyset/01 16 5 2 0.000001 /mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/seed_model/w2v-ft-gf_trained_network.pt
cd model-AL-NegE/config_AL_train_toyset/01
Training starts
Please monitor the log trainig: /mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/model-AL-NegE/config_AL_train_toyset/01/log_train

python main.py --model-forward-with-file-name --num-workers 4 --epochs 2 --no-best-epochs 100 --batch-size 16 --lr 0.000001 --seed 01 --module-config config_AL_train_toyset --active-learning-cycle-num 5 --active-learning-new-sample-per-cycle 16 --trained-model /mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/seed_model/w2v-ft-gf_trained_network.pt >log_train 2>log_train_err
Training process finished
Trainig log has been written to /mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/model-AL-NegE/config_AL_train_toyset/01/log_train

=======================================================
Step4. score the toy data set
ls: cannot access 'model-AL-NegE/config_AL_train_toyset/01/trained_network*.pt': No such file or directory
(pytorch-1.7) ming@LAPTOP-EMOK5QV6:/mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn$ bash 00_demo.sh model-AL-NegE config_AL_train_toyset 01

=======================================================
Step1. Preparation: load environment and get toy data
Conda environment fairseq-pip2 has been installed

=======================================================

=======================================================
Step3. training on toy set
bash 01_train.sh 01 config_AL_train_toyset model-AL-NegE/config_AL_train_toyset/01 16 5 2 0.000001 /mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/seed_model/w2v-ft-gf_trained_network.pt
cd model-AL-NegE/config_AL_train_toyset/01
Training starts
Please monitor the log trainig: /mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/model-AL-NegE/config_AL_train_toyset/01/log_train

python main.py --model-forward-with-file-name --num-workers 4 --epochs 2 --no-best-epochs 100 --batch-size 16 --lr 0.000001 --seed 01 --module-config config_AL_train_toyset --active-learning-cycle-num 5 --active-learning-new-sample-per-cycle 16 --trained-model /mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/seed_model/w2v-ft-gf_trained_network.pt >log_train 2>log_train_err
Training process finished
Trainig log has been written to /mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/model-AL-NegE/config_AL_train_toyset/01/log_train

=======================================================
Step4. score the toy data set
ls: cannot access 'model-AL-NegE/config_AL_train_toyset/01/trained_network*.pt': No such file or directory

in /08-asvspoof-activelearn/model-AL-NegE/config_AL_train_toyset/01/log_train_err
Traceback (most recent call last):
  File "main.py", line 276, in <module>
    main()
  File "main.py", line 162, in main
    model = prj_model.Model(trn_set.get_in_dim(), \
  File "/mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/model-AL-NegE/config_AL_train_toyset/01/model.py", line 292, in __init__
    self.m_front_end = FrontEnd(self.v_feat_dim,
  File "/mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/model-AL-NegE/config_AL_train_toyset/01/model.py", line 109, in __init__
    self.ssl_model = SSLModel(mpath, ssl_out_dim)
  File "/mnt/d/UNI/IFM/project-NN-Pytorch-scripts/project/08-asvspoof-activelearn/model-AL-NegE/config_AL_train_toyset/01/model.py", line 56, in __init__
    md, _, _ = fq.checkpoint_utils.load_model_ensemble_and_task([mpath])
AttributeError: module 'fairseq' has no attribute 'checkpoint_utils'

I want to know why? And I would like to ask how to use the pre-trained model in the downloaded folder project08-seed-model.tar to evaluate the wild data set?It would be great if you could offer some advice, I look forward to hearing from you. have a beautiful day
Best regards,
Ming

@Tianming40 Sorry for the late reply. It is a busy period for paper submission.

AttributeError: module 'fairseq' has no attribute 'checkpoint_utils'
This looks like an issue with fairseq installation.

Could you check the version of fairseq?
(fairseq-pip2) $: python -c "import fairseq;print(fairseq.__version__)"
1.0.0a0+862efab

I would like to ask how to use the pre-trained model in the downloaded folder project08-seed-model.tar to evaluate the wild data set?

I think you can follow the demo script here to execute the inference.
https://github.com/nii-yamagishilab/project-NN-Pytorch-scripts/blob/e269196d8bf3d3730bedc284b720e481ea7f16ca/project/08-asvspoof-activelearn/00_demo.sh#L104
I don't have clever ideas on how to make pre-trained models work in the wild. It is usually very challenging.
Maybe you can fine-tune the model with some development set data from that domain?


text:
Game over and achievements don't work

Describe the bug
Game over doesn't work same as achievements.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Describe what you expected to happen instead of the error.
Screenshots
If possible, add screenshots to help explain your problem.
*Version

Version [e.g. 1.0]

Additional context
So the game doesn't recognize when you've come to the top of the box and doesn't end in a game over. Also doesn't recognize achievements when they are achived.

Thanks for feedback!
I haven't encountered this issue, but i released a newer version that should eliminate all possibilities for such error to happen.
If you encounter this issue again please report it.

repo: niilopoutanen/UnityTetris


text:
fix: missing country flag

Resolves this issue where country flag is missing due to broken image link.
It's recommended to hold your assets internally within your package as much as possible

@mikiol60 can please help me with CSS files like where should i put that flag.png and also can i have that file as i tried but i am not able to get success

Here is the link to the image.
https://user-images.githubusercontent.com/20545357/90998272-b5b86280-e591-11ea-992b-c422d78070e2.jpg
Download it and put it anywhere you want.
Then head to your app.component.css/scss and add
:host ::ng-deep .flag {
background-image: url('../assets/image/flags.jpg') !important;
}

Hi @mikiol60 i have placed image inside images folder and copy mentioned css in app.component.css still getting issue.
Please find below image for your reference.

@Coder-Himanshu The fix  i mentioned is not supposed to remove that error. The error likely will be there but the flag images should visible though

Ok is there any solution to resolve this ? or any other package ?

Try this as an option.

authors: Coder-Himanshu mikiol60 mikiolGLP

repo: nikhiln/ngx-international-phone-number


text:
Doesn't work on macOS Catalina

Bug Summary 🐞
When calling workflow from extarnal trigger or keyword, I receive this window:

I have the Gatekeeper disabled.
macOS v10.15

That's not good. If you go to Security & Privacy and system prefs, it sometimes gets a prompt here you have to accept:

Let me know if that works. If it doesn't I have no idea.

It doesn't appear here, @nikitavoloboev
Moreover, I have "Allow apps downloaded from:" set to "Anywhere"

Posted on forum, perhaps someone has a solution.

If you go to Security & Privacy and system prefs, it sometimes gets a prompt here you have to accept

That’s for allowing blocked Kernel Extensions.

Moreover, I have "Allow apps downloaded from:" set to "Anywhere"

You really shouldn’t; App Store and identified developers is generally enough. Any app that doesn’t work with that, you can right-click and chose Open. I’m unsure if that works with compiled binaries in Catalina.

This fixed the issue for me. Thank you, @nikitavoloboev

authors: nikitavoloboev skibitsky vitorgalvao

repo: nikitavoloboev/alfred-web-searches


text:
cannot draw img tag on safari

i try export export pdf using html2canvas & jspdf but in safari not draw img tag.

You can try https://github.com/qq15725/modern-screenshot


text:
Add command-line options

Rationale

Developers sometimes forget to update the changelog: let's make it easier.

Primary changes

Added option --init

Creates a new changelog if it does not already exist
Looks for repository value in package.json to create the first URL in the changelog

Added option --check

Fails if the changelog does not have any changes under [Unreleased]
Otherwise exits normally without updating the changelog
Logic: if there is a ### heading under ## [Unreleased] (according to "Keep a Changelog"), then we know there are some changes. Caveat: if there are changes that are NOT directly under [Unreleased], the check will fail.

Updated README.md with new options

Other changes

Updated development dependencies
Refactored source code to use sync methods

This tool does not need async behavior

Refactored test scripts

Using fixtures in separate files for readability

Added new test scripts to cover new functionality
Added pre-commit hook for linters and tests:

I forgot to run Prettier/ESLint before commiting :)

Version
Minor version update: new functionality with no breaking changes.

Should we retain support for node 4, 6, 8?

Coverage remained the same at 100.0% when pulling 56c02ddb2f3fdbf9c1139eb9088fcd227ab85d43 on karniol:karniol-update into b5e9c0fa9cff9256e2dc31d184fc063c910e9d1f on nikolajevp:master.

authors: coveralls karniol

repo: nikolajevp/changelog-updater


text:
🛑 LabBricks is down

In 8ab107b, LabBricks (https://labbricks.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LabBricks is back up in 93abd97 after 18 minutes.

repo: nikolasibalic/status


text:
Consider adding unit and functional tests

Unit and functional tests would be nice 😸

This is something i'm hoping to whip up in the following days. Your PR is always welcome :)

authors: Tynael niladam

repo: niladam/laravel-visits


text:
Basic pipeline creation and "hello world" rendering

New modules: pipeline, render, resampling, vertex
Ported the pipeline creation and rendering code from my other project
A basic "hello world" shader was written to test the pipeline
Fixed an issue with bytes padding, it was impossible to see before but we have to remove the padding manually from the buffer data (see transfer.rs)
Cleaned up data_layout()

The resampling pipeline does not do what it says it does yet.
The program now outputs this image with the resolution specified in main.rs

Thanks for the comments ! I'll do another commit tomorrow to address most of them

repo: nilgoyette/diffusion-slice-rs


text:
Add support of "relationships" in resource creation.

Support "relationships" in resource creation like shown here: http://jsonapi.org/format/#crud-creating

I think it's not easily possible, because this library doesn't know how it has to assign the realtionships, for example if there is a database involved in retrieving the associated resources.

authors: GSokol HennerM

repo: nilportugues/php-json-api


text:
compiler hints causing EPC protocol errors

On some installations nimsuggest outputs Hints before outputting port:
config/nim.cfg(53, 3) Hint: added path: '/home/michal/.babel/pkgs/' [Path]
config/nim.cfg(54, 3) Hint: added path: '/home/michal/.nimble/pkgs/compiler-0.11.3' [Path]
config/nim.cfg(54, 3) Hint: added path: '/home/michal/.nimble/pkgs/nimble-0.6.2' [Path]
config/nim.cfg(54, 3) Hint: added path: '/home/michal/.nimble/pkgs/c2nim-0.9.8' [Path]
config/nim.cfg(54, 3) Hint: added path: '/home/michal/.nimble/pkgs/nimenv-0.0.1' [Path]
config/nim.cfg(54, 3) Hint: added path: '/home/michal/.nimble/pkgs/nimsuggest-0.1.0' [Path]
config/nim.cfg(54, 3) Hint: added path: '/home/michal/.nimble/pkgs/docopt-0.6.1' [Path]
config/nim.cfg(54, 3) Hint: added path: '/home/michal/.nimble/pkgs/' [Path]
Hint: used config file '/home/michal/apps/nim/config/nim.cfg' [Conf]
30005

This causes emacs-side EPC to think that something went wrong and abort session. Invoking nimsuggest with '--hint[Conf]=off' '--hint[Path]=off' args fixes this issue.
The issue seems to be related to 8f65981c439f0270f7c9dc23c1f36b26f0256b01, but I couldn't find compiler/nimsuggest versions on which this issue is absent.

Yeah, gotta reorder the next free port and the print earlier again :-/

I don't exactly know where these hints come from, could you place markers (e.g. echo "foo") in the nimsuggest code and see which line they come from?

These messages come from loadConfigs. Workaround like this is possible:
diff --git a/nimsuggest.nim b/nimsuggest.nim
index 500fae3..cf3c05f 100644
--- a/nimsuggest.nim
+++ b/nimsuggest.nim
@@ -337,7 +337,10 @@ proc handleCmdLine() =
           "Cannot find Nim standard library: Nim compiler not in PATH")
     gPrefixDir = binaryPath.splitPath().head.parentDir()

+    let originalOptions = gOptions
+    gOptions = gOptions - {optHints}
     loadConfigs(DefaultConfig) # load all config files
+    gOptions = originalOptions
     # now process command line arguments again, because some options in the
     # command line can overwite the config file's settings
     extccomp.initVars()

I think the proper solution is using connectToNextFreePort and printing the port before loadConfigs and pass the socket around - the OS can do the buffering for us until we're ready.

@reactormonk not quite, we have 3 seconds to print and accept connection on port. Which might be not the case sometimes.
I experimented with temporary disabling output (dup to other fd), and then restoring it. But I don't remember state of it right now ;/

@pigmej ah fuck. So WA with disabling output and then get yours going?

I'm closing this issue because now nimsuggest for epc sets --verbosity:0 when
it uses suggest options (sug, con, def, use, and dus).
Please re-open or make new issue if you still have this issue.

authors: pigmej reactormonk yuutayamada zielmicha

repo: nim-lang/nimsuggest


text:
[#230] Update publish_docs_to_wiki workflow to use publish_wiki of github_action_workflow repository

Close https://github.com/nimblehq/android-templates/issues/230
What happened 👀
The Nimble team has published a publish-github-wiki-action to support our team NOT creating a publishing wiki workflow manually. We should use it as an advantage.
Insight 📝
Now we only need to have a step to call publish-github-wiki-action
Proof Of Work 📹

@nimblehq/android-chapter Can anyone give one more review/approval? 💯

@manh-t We can't merge this pull request yet unfortunately 😢
@bterone suggests we wait until v1.0 (he's working on it now), because of this unresolved PR

@manh-t We can't merge this pull request yet unfortunately 😢
@bterone suggests we wait until v1.0 (he's working on it now), because of this unresolved PR

@Tuubz I see 😭 so I will take the next train then.

authors: Tuubz manh-t

repo: nimblehq/android-templates


text:
[Integrate] As a user, I can use shortcut key to create a shortened link

Why

With the shortcut: ⇧+⌘+L to quickly make a shortened link. This action automatically copies the shortened link that has just been made to the clipboard as well.

Acceptance Criteria
Check the clipboard memory.

In case it's empty -> Do nothing
In case there is a text, check if the text is

not a link -> Do nothing
a link:

call API to create shortened link
Open the app's overlay to inform the user that the link has been created.

@vnntsu Which screen is the Open the app's overlay 🤔 Just open the pop over screen right?

oh I first think we should show a message after creating a link on the bottom of the overlay view. What do you think?

Cool, I'll try to see if there's an easy way to show auto close popup. Or else I suggest using Notification.

authors: blyscuit vnntsu

repo: nimblehq/shorten-link-mac


text:
🛑 Nimbus9 Switch/Sensor API is down

In e7546ce, Nimbus9 Switch/Sensor API (https://api.nimbus9.io/v2/switch-sensor/health) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nimbus9 Switch/Sensor API is back up in b9f48ad.


text:
Allow multiple data types for an argument

@Goggin, these changes should address the issues we discussed with certain computer object names being identified as hashes.
Rather than assign the argument a data type, it assigns it a list of possible data types, so a plugin can operate on any argument that matches its supported data type, even if that wouldn't be the first data type as detected previously.
In order to confirm that test were still passing, I had to update update nose to nose2.  According to https://nose.readthedocs.io/en/latest/, nose is in maintenance mode.  nose2 appears to be the successor, and running nose2 -v shows that all tests are passing.
Let me know if you have any questions or want to go over this together.

@Goggin I've added back in the Python 2 ConfigParser import.  Let me know if things look good.

repo: ninfo-py/ninfo


text:
Minor doc fixes

Three tweaks to the docs, including PDF.  See individual patches.

thanks!

authors: martine nico

repo: ninja-build/ninja


text:
[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 08:33:29 on 2023.04.27
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 1, errors out: 0
Original problem ID: 20021
Event details in Zabbix: http://192.168.232.99/tr_events.php?triggerid=23483&eventid=20021

Problem has been resolved in 3m 0s at 08:36:29 on 2023.04.27
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 20021


text:
Release 0.1.15

We could've released it long ago, as a fair amount of features have been included. Let's exercise the release process with the current status.

I've drafted the release here. Should we perhaps merge #171 and #172 before releasing in order to include the fixes for the ruff and Sphinx issues? Also, a naive question: Is there a mechanism to automatically generate the binaries for the release, or is it okay if I drag and drop some generated locally?

I think that adding something like this would be beneficial.

I think that adding a GitHub action for generating the package and uploading it to pypi (something like this) would be beneficial.
EDIT: edited for clarity.

It seems like a good idea. I've created a new issue about it and will start working a PR to implement this.

We normally do this with circle, paired with uploading a docker image -- in this case that doesn't seem necessary.
The other reason for doing it from circle is that we do run more tests there (we pay credits for it) and therefore, a GHA may push a new release with tests failing.

Ok thanks, I've close the issue related to this #178 . Can you provide more details on how I can use this to add the files for the release?

@effigies considering that #182 and #179 for the automated releases have been merged, do you think we can proceed with cutting the release?

Yes, please don't wait on me. LMK if you need help.

Yes, please don't wait on me. LMK if you need help.

I have a quick question: should I update eddymotion/CHANGES.rst before pushing the tag? The file seems to have been automatically generated during the initial release, but I'm not entirely sure how it works.

For a given tag ($TAG):
bash .maint/update_changes.sh $TAG
# review CHANGES.rst, make any updates for clarity, add release notes
# I generally group the entries by FIX, ENH, RF, DOC, STY, MNT, CI
git add CHANGES.rst
git commit -m "REL: $TAG"
git tag -a -F CHANGES.rst -e
# Remove ==== from second line, remove everything below the current changelog

For a given tag ($TAG):
bash .maint/update_changes.sh $TAG
# review CHANGES.rst, make any updates for clarity, add release notes
# I generally group the entries by FIX, ENH, RF, DOC, STY, MNT, CI
git add CHANGES.rst
git commit -m "REL: $TAG"
git tag -a -F CHANGES.rst -e $TAG
# Remove ==== from second line, remove everything below the current changelog

Thanks a lot! I've pushed the tag. It should soon trigger the GitHub action that requests reviews from maintainers before publishing the package.

Actually, is it mandatory for the tag to have exactly the same number as the release number? Otherwise, I'll remove my tag and push it with the number following the last tag.

Yes, the tag should match the release.
Also, you should push main and the tag:
git push upstream main $TAG

It worked! https://pypi.org/project/eddymotion/0.1.15/

authors: arokem effigies esavary oesteban

repo: nipreps/eddymotion


text:
MAINT: Upgrade Docker to FSL 6

Local test passed, so let's see how this goes.

For reference, here are a few reports of a subject using flirt -bbr
current master (5929041): https://3428-53175327-gh.circle-artifacts.com/0/tmp/ds210/derivatives/fmriprep/sub-02.html
fsl6: https://3427-53175327-gh.circle-artifacts.com/0/tmp/ds210/derivatives/fmriprep/sub-02.html
I don't think this is as controversial as initially believed.

The problem is FSL bet - it easily gets stuck with long paths if I recall correctly. I thought there was an open issue on nipype, but I can't seem to find it. Was the problem perhaps addressed?

does d3a4d33 address the name concerns, or were you referring to something different?

@oesteban Just a bump on this. Should be a very quick yes/no.

@mgxd Can you open PRs (they won't need to be merged) in niworkflows, sdcflows and smriprep? Let's give their CIs a chance to find errors, too.

Okay, I think we've tested with all dependencies...

authors: effigies mgxd oesteban

repo: nipreps/fmriprep


text:
Embedded screenshots in docs are very large

Was just looking at the docs and the screenshots now take up considerable more space than I remember.
For example: https://pysurfer.github.io/auto_examples/plot_fmri_activation.html
Here's how it looks to me with my Chrome set to 100% zoom:

Doesn't seem limited to that example.
Did this change when the docs moved to sphinx-gallery? Can the size of the embedded image be controlled (as I assume it used to be?) Having the figures spill over into the sidebar looks messy.

Yes this would have happened when going to sphinx-gallery.
I don't think there is a way to control the size in SG, as its output matches the one you would get running the script, in this case a 800x800 image.
Once https://github.com/sphinx-gallery/sphinx-gallery/pull/210 lands in SG we can fix this with max-width: 100% in the CSS.

authors: larsoner mwaskom

repo: nipy/PySurfer


text:
Update flyway-core to 7.11.1

Updates org.flywaydb:flyway-core from 7.5.4 to 7.11.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.flywaydb", artifactId = "flyway-core" } ]

labels: library-update, semver-minor

Superseded by #160.

repo: niqdev/caliban-extras


text:
Release

Tested changes and happy with release:

[ ]  @tjholm
[ ]  @jyecusch
[ ]  @HomelessDinosaur
[ ]  @davemooreuws
[ ]  @raksiv

Please note any additional changes to be made as part of the discussion. Also note the GCP stack to contain a small breaking change project -> gcp-project-id in new stack files.

Codecov Report
Patch coverage: 2.62% and project coverage change: -8.04 :warning:

Comparison is base (407f5b6) 28.50% compared to head (a15bde3) 20.46%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #475      +/-   ##
==========================================
- Coverage   28.50%   20.46%   -8.04%
==========================================
  Files          54       31      -23
  Lines        4936     1920    -3016
==========================================
- Hits         1407      393    -1014
+ Misses       3398     1504    -1894
+ Partials      131       23     -108

Flag
Coverage Δ

unittests
20.46% <2.62%> (-8.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/codeconfig/codeconfig.go
8.75% <0.00%> (+1.00%)
:arrow_up:

pkg/codeconfig/function.go
0.00% <0.00%> (ø)

pkg/codeconfig/server.go
0.00% <0.00%> (ø)

pkg/codeconfig/uprequest.go
0.00% <0.00%> (ø)

pkg/project/config.go
0.00% <0.00%> (ø)

pkg/project/function_helpers.go
38.09% <ø> (+3.31%)
:arrow_up:

pkg/utils/paths.go
0.00% <0.00%> (ø)

pkg/project/options.go
60.00% <69.23%> (-2.50%)
:arrow_down:

pkg/project/types.go
8.76% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Have tested with latest providers and looks good for deployments and local runs as well.
Main thing to implement would be implemeting better error handling from the providers, currently the raw Grpc message gets output:
e.g.
rpc error: code = InvalidArgument desc = Bad stack configuration: config items should not contain more than one runtime config

authors: codecov-commenter tjholm

repo: nitrictech/cli


text:
No status icons in Fedora 27/Wayland

Nitroshare is completely invisible on Fedora 27, because it uses Wayland, and Gnome doesn't implement status icons under Wayland.

No, gnome is completely deprecating status icons. It'll disappear from Xorg too, since it won't exist in GTK 4 at all.
Notifications are the ones that appear at the top of the screen, and if they are persistent, they'll reside in the box which is opened when you click at the center of the top bar (beside the calendar). However, some apps, e.g. music players, can also add a box there to control music playback.
So, I see 2 solutions: 1. Implementing support for adding nitroshare to that area, like what music players do.
2. Implementing a gnome shell extension exclusively for nitroshare, so that it is integrated in the top bar.
I'd suggest the first option.
Hey, actually the icon doesn't even appear in Fedora 27 using Xorg already!

authors: hedayat techtonik

repo: nitroshare/nitroshare-desktop


text:
Support flutter app not in root of workspace

My flutter app isn't in the root directory of the workspace. It would be great if it could detect that based on the location of the pubspec.yaml, or be able to specify the root path as a setting.

@davestimpert hey! Thanks for filling this suggestion. I will take this up in the upcoming days, there's already been some work in progress.

authors: davestimpert nivisi

repo: nivisi/vscode-dart-build-runner-tools


text:
all-the-icons font is not installed

I installed the emacs-doom as flake using home-manager
{
  inputs = {
    ...
    nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
  };

  outputs = { home-manager, nixpkgs, nix-doom-emacs, ... }@inputs: {
    nixosConfigurations = {
      ...
    };
    homeConfigurations =
      let
        ...
      in {
        koiuo = home-manager.lib.homeManagerConfiguration {
          pkgs = nixpkgs.legacyPackages."x86_64-linux";
          modules = [
            nix-doom-emacs.hmModule
            ./users/koiuo/home.nix
            ...
          ];
        };
      };
  };
}

I used test/doom.d as my private config.
Upon startup emacs won't display any icons.
Doing M-x all-the-icons-install-fonts fixes the issue.
Seems like this package should be installed by the module.

It installs it for the whole user. NixOS provides fonts.fonts and a emacs-all-the-icons-fonts.
It'd be neat if fontconfig had a environment variable for extra font paths and all-the-icons.el knew about it but otherwise this is not feasible from our environment. (excluding the optional HM module)
Maybe upstream is willing?

@ckiee , I'd highly appreciate an explanation why icons were broken after the installation then, and what would be the correct way to fix the issue on NixOS.
It's my first time installing emacs, and it doesn't help, that I do this on NixOS (here the procedure is quite different from other OSes).
Thanks in advance

@koiuo Let's both try nix run github:nix-community/nix-doom-emacs and see if it's consistent.
On my system (with a ~3week old nixos-unstable) I have:
ckie@cookiemonster ~ -> fc-list | rg 'all-the-' | head -n1
/nix/store/0r2jnr8nn2gzag3ga7ww737h7iw5wf6z-emacs-all-the-icons-fonts-5.0.0/share/fonts/all-the-icons/weathericons.ttf: Weather Icons:style=Regular
ckie@cookiemonster ~ -> fc-list | rg 'all-the-' | rg home
ckie@cookiemonster ~ ->

Same in Doom: (describe-font)
name (opened by): -unknown-all-the-icons-normal-normal-normal-*-16-*-*-*-*-0-iso10646-1
       full name: all-the-icons:pixelsize=16:foundry=unknown:weight=normal:slant=normal:width=normal:scalable=true
       file name: /nix/store/0r2jnr8nn2gzag3ga7ww737h7iw5wf6z-emacs-all-the-icons-fonts-5.0.0/share/fonts/all-the-icons/all-the-icons.ttf

See the relevant section of my NixOS config.

Ok, I think I see now what was the issue: I had my emacs daemon running, perhaps (?) since the time I tried vanilla emacs (I suppose the doom-emacs hmModule won't kill an already running daemon).
Anyway, I removed the fonts installed by the emacs, update the font cache, restarted the deamon, and now all the outputs on all the steps look similar to yours, and icons are displayed almost fine (they aren't loaded at once, only after some interaction with emacs. But that doesn't seem to be a concern of this module).
Thanks for your time!

Welcome to NixOS! ❤

authors: ckiee koiuo

repo: nix-community/nix-doom-emacs


text:
Add vim-repeat

This PR adds the following: https://search.nixos.org/packages?channel=24.05&show=vimPlugins.vim-repeat&from=0&size=50&sort=relevance&type=packages&query=vim-repeat.
Thanks in advance.

Since vim-repeat has no configuration at all, I am not sure what to do with settingsExample. Help needed please :-)

Can you run:
# These two commands will squash everything into one commit
# You could also do this interactively using `git rebase upstream/main -i`
git reset --soft b243f6aab4511cdcb71189948ce557eb3d4617e2
git commit --amend --no-edit

# This assumes you have our repo configured as a remote named "upstream":
# It will rebase your changes on top of ours
git fetch upstream
git rebase upstream/main

# This will push the changes
git push --force-with-lease

Can you run:
# These two commands will squash everything into one commit
# You could also do this interactively using `git rebase upstream/main -i`
git reset --soft b243f6aab4511cdcb71189948ce557eb3d4617e2
git commit --amend --no-edit

# This assumes you have our repo configured as a remote named "upstream":
# It will rebase your changes on top of ours
git fetch upstream
git rebase upstream/main

# This will push the changes
git push --force-with-lease

Done.

I don't see any issues. If you're able to squash & rebase that'd be amazing 😁

Sure. Gladly.

I don't see any issues. If you're able to squash & rebase that'd be amazing 😁

Done.

@mergifyio queue

authors: MattSturgeon refaelsh

repo: nix-community/nixvim


text:
Feature request: 增加伪粗体以支持「楷体」与「仿宋」字体加粗

https://github.com/typst/typst/issues/394
https://github.com/typst/typst/issues/725

可以先用一下 https://github.com/csimide/cuti 这个伪粗体包。

感谢！目前还没来得及更新。

已经更新。

repo: nju-lug/nju-thesis-typst


text:
Variant lijnstijlen en kleuren: "NLCS varianten" publiceren

Te onderzoeken en bespreken met Expertcommissie:
Is het mogelijk om bij NLCS meerdere "varianten" te publiceren op het linked data platform, bijvoorbeeld voor een vakgebied Netbeheer of Stedelijk Spoor, waarbij de objecten identiek zijn maar de lijnstijlen en kleuren verschillen?
Of is het wenselijker om varianten te publiceren per type tekening? Bijvoorbeeld een "opleveringsmeting " of een "bestekstekening"?

Behoud één standaard. We krijgen deze al niet eens op orde.
Laat de leveranciers een 'presentatie' modus ontwikkelen, waardoor met 1 druk op de knop de layout 'aan te passen is' naar het gewenste resultaat. Als de 'bron' niet de 'bron' blijft, kunnen we net zo goed stoppen met de bibliotheek aanbieden.
Zelfde behoeften zijn er vanuit ALLE hoofgroepen, iedere afdeling heeft eigen wensen.... de kunst is om dit vanuit 1 bron werkbaar te maken.
Resume: niet doen.

Besproken 12-12-2023: Aydemir bespreekt dit met Elisabeth om standpunt in te nemen.

Besproken 29-01-2024: Actie blijft staan

Besproken 11-03-2024: Actie blijft staan

Besproken in werkgroep Stedelijk Spoor, is wel lange termijn wens om presentaties te kunnen wisseleln afhankelijk van type tekening; dit vraagt echt een structurele aanpassing aan NLCS en de applicaites, dus voor  lange termijn roadmap

repo: nl-digigo/NLCS


text:
abstract object/array type out so that arbitrary types can be used

This pull request fixes some conflicts from #169, but is basically the work of @erichkeane (thanks for that!). I only fixed a conflict and added documentation.
Changes: The container types object_t and array_t can now be set to any container provided that it is aliased to a type with 2 template arguments (object_t - defaulting to std::map<Key,T>) and 1 argument (array_t - defaulting to std::vector<T>).
As the public API changes in a subtle way, the feature can be added in 2.0.0 at the earliest.

+1, glad I could help!

There is a conceptual problem: using an incomplete type in an unordered_map (here: using std::unordered_map<std::string, basic_json> within the basic_json class) is undefined behavior and the code does not compile with GCC 5. The issue already occurred before, but it seems that std::map (or at least its implementation in GCC and Clang) is more robust as no hashes are calculated.
Possible solution (http://stackoverflow.com/a/8487164/266378):

The solution here is to have an unordered map to a pointer:

That is, changing std::unordered_map<std::string, basic_json> to std::unordered_map<std::string, std::shared_ptr<basic_json>>.

As noted earlier, there is a conceptual issue that needs to be addressed separately.

authors: erichkeane nlohmann

repo: nlohmann/json


text:
Update parser.hpp   #4037 Improve wording of parse_error exception  done

I have corrected the parse_error documentation

The MR lacks tests, an explanation, and amalgamation.


text:
Porting to Python 3 only version

Disabled py27 from toxenv
Remove __future__ imports
Remove @python_2_unicode_compatible decorators
Blacked the .py files except for nltk/test/**/*

The errors from the CI build for this PR comes from the main develop branch failing, after fixing with https://github.com/nltk/nltk/pull/2336 and merging the fixes to this PR, the test should check out.
On the local test:
$ tox -v py36
...
Ran 645 tests in 810.081s

OK (SKIP=36)
____________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)

Moving forward 😃
Merging this would cut ties with Python 2.x

This is great @alvations!

authors: alvations stevenbird

repo: nltk/nltk


text:
Relax URL validation

What does this MR do?
Relax URL validation
Why was this MR needed?
Does not take into account some special cases like localhost, and it's not very useful to make a strict URL validation here since we use request later.

@Chocobozzz thanks a lot for your PR. IMHO, checking protocol only does not make ensure as string as URL. Current Regex should accept https://localhost:{port} as valid url. If not let's make URL regex to accept localhost as valid URL. waiting eagerly to hear from you.

@nmrony I'm sorry but I won't have time to update my PR. But you're right, it would be better to add localhost as accepted domain in the regex!

authors: Chocobozzz nmrony

repo: nmrony/hlsdownloader


text:
.mov files not uploaded

This appears when uploading:
2019/07/16 20:05:45 not a media file: /home/kentabussi/Documents/Photos/P6130019.MOV: skipping file...

Yes, this is due to prescreening (#66). We are working to remove prescreening on #44 .

authors: Autotren pacoorozco

repo: nmrshll/gphotos-uploader-cli


text:
Add -webkit- where its needed

I was experiencing problems with Safari (8.0.3) when it was not doing anything at all or few other glitches, I found out that -webkit- is only added automatically to 'transition' and no other properties, so I added manually and now works like a charm :)

Could you verify with the demo link (http://nnattawat.github.io/flip/) with Safari (8.0.3)? My understanding is that .css() automatically adds those prefix (-webkit-, -o-, -moz-).

Shoot exactly, it does on the example page, with simple html rotating, for some reason in our app it did nothing.... I will get back to you with specifics, I saw some autoprefixer gem and similar stuff in gemfile, hopefully I would be able to track what disabled that :( thx mate :)

authors: nnattawat redrick

repo: nnattawat/flip


text:
Style/personal info form

✅ 작업 사항

기본 정보 폼 & 미리보기 간격 조절 , 전화 & 문자 svg 변경

📸 스크린샷

🧑💻 기타

고생하셨습니다!

repo: nninyeong/challenge-b


text:
[wait for #1437] [optimizer] Make optimizer independent of weight

Cleanup optimizer interface where some extra interfaces have been
removed, and arguments interface has been updated.
Further, the dependency on weight header has been removed, and added an
optimizer context interface which provides an interface to weight
related tensors required by the optimizer.
Update the interface for the layer.h setProperty.
Signed-off-by: Parichay Kapoor pk.kapoor@samsung.com

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1449. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

:octocat: cibot: @kparichay, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1449-202107301539150.72320008277893-ff7627005682f43a2d249d0442714c2f1cca6e9f/.

:octocat: cibot: @kparichay, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1449-202108020953030.3744649887085-c921e70185c2693f40d8dd88a7a2aa7601c2157b/.

authors: kparichay taos-ci

repo: nnstreamer/nntrainer


text:
[Wait for #2443][TensorV2] Addition support

This PR adds support for performing the addition operation on two tensors.
Changes proposed in this PR:

TensorV2 includes member functions to perform tensor addition.
FloatTensor and HalfTensor take TensorV2 as input/output to perform addition.

Self-evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test:   [X]Passed [ ]Failed [ ]Skipped

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2460. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.