text:
Clearing date does not trigger 'changeDate' event

Clearing date from textbox does not trigger 'changeDate'
My code
    ko.bindingHandlers.datepicker = {
        init: function (element, valueAccessor) {
            var $element = $(element);
            $element.addClass("datepicker");
            $element.datepicker({
                format: ko.dateFormat,
                weekStart: 1
            });

            $element.on("changeDate", function (e) {
                valueAccessor()(e.date);
            });
        },
        update: function (element, valueAccessor) {
            var $element = $(element);
            var value = ko.utils.unwrapObservable(valueAccessor());
            $element.datepicker("setValue", value);
        }
    };

datepicker 'hide' event works for me it covers both changeDate and blur event on input,
if datepicker is not hiding by it self,
try change event to $(this).datepicker('hide'); and then use hide event

authors: AndersMalmgren PradeepBodige

repo: uxsolutions/bootstrap-datepicker


text:
Goals?

Hi, could you please let me know where is the goal coordinates of each environment specified?
Thanks

hi @ngthanhtin
It is in the README.
The goal is to proceed as fast as possible 60m in positive x-direction without colliding into obstacles and exiting a pre-defined bounding box. The parameters of the goal location and the bounding box can be found here.

source: gharchive/issue

authors: ngthanhtin yun-long

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Backup Uq is down

In e0d9d07, Backup Uq ($BACKUP_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Backup Uq is back up in e126fdb after 41 minutes.


text:
🛑 Vultr Object is down

In 8ad3709, Vultr Object ($VULTR_OBJECT) was down:

HTTP code: 502
Response time: 314 ms

Resolved: Vultr Object is back up in 658173c after 12 minutes.


text:
v2ray增加MT7621的多线程调用

大大，我在使用小米路由器3G上也碰到了这个问题，MT7621处理器运行v2ray只有单线程调用，表现为使用Chrome浏览单个youtube视频最大码率是15mps，CPU占用25%；但如果浏览两个youtube视频最大码率分别分12mbps和11mpbs，CPU占用50%，总码率为23mps。证明v2ray对单个浏览只调用一个线程，无法完全发挥MT7261的处理性能。对比斐讯N1盒子，浏览单个youtube视频最大码率能到360-400mps,CPU占用能跑满。
所以希望v2ray添加MT7621多线程调用。

刚刚我看了另一个贴，才知道这CPU有多么烂，单核心性能上和台式电脑差距了16倍性能。。

那个是openssl的成绩，要真能让单核达到那个成绩，其实也够用了，64字节包的速度也有近9MB/s了 ，目前v2ray的实现还达不到那个成绩，只有2.5MB/s，能把三线程用起来估计可以到5MB/s，就能满足大部分4K视频流的需求了。
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
aes-256 cbc       8271.81k     8993.15k     9169.56k     9223.82k     9212.60k     9237.09k
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-10.35  sec  3.12 MBytes  2.53 Mbits/sec                  sender
[  5]   0.00-10.35  sec  2.45 MBytes  1.98 Mbits/sec                  receiver

OpenSSL bindings for Go 替代 Go crypt原装加密库也许能提高性能到openssl benchmark的水平，近9MB/s的单核解密速度看4K视频足够，多线程加解密功能也许也能借助OpenSSL开启。
https://github.com/Jarijaas/openssl

一个树莓派价格也不贵，还可以有更好的性能，其他的程序也都可以跑在上面，原来的路由器还能继续工作。

据说MT7621的无法多线程是因为MT7621没有硬件FPU，所以v2ray用的是FPU模拟器，这个FPU模拟器不支持多线程调用。不知道是不是这个原因

那个是openssl的成绩，要真能让单核达到那个成绩，其实也够用了，64字节包的速度也有近9MB/s了 ，目前v2ray的实现还达不到那个成绩，只有2.5MB/s，能把三线程用起来估计可以到5MB/s，就能满足大部分4K视频流的需求了。
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
aes-256 cbc       8271.81k     8993.15k     9169.56k     9223.82k     9212.60k     9237.09k
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-10.35  sec  3.12 MBytes  2.53 Mbits/sec                  sender
[  5]   0.00-10.35  sec  2.45 MBytes  1.98 Mbits/sec                  receiver

是的，MT7621经过优化后的性能不差的。MT7621有点特殊，youtube只能单线程调用速度会慢些，但Netflix可以多线程调用速度快
v2ray(v4.24.1) ws+TLS模式，TLS算法改用ECDHE-PSK-CHACHA20-POLY1305，这比AES-128-GCM速度提升20%。
Youtube的速度能到18mbps，youtube只能单线程跑，但这个速度能刚好放4K视频了。
Netflix可以多线程，速度到30mbps。这个速度看4K视频非常顺畅。
如果是K2p或NEWwifi3，使用breed超频到1200Mhz，速度还有提升，
单线程速度能到24mbps，多线程速度能到40mbps，性能已经相当可观了。
所以只要优化好，MT7621是完全能满足4K播放需求的

mt7621做tls加解密性能是不行，可也上个树莓派4b放旁边，主路由不变，轻松上百兆，预算也比软路由少很多，有兴趣可以试试我的这种方式 https://github.com/felix-fly/openwrt-raspberry/blob/master/guide.md @ttmi9002

我只想说MT7621 OC 1.1Ghz shadowsocks四线程油管50000Kbps+

authors: 1265578519 CalmLong felix-fly nobk ntgeralt ttmi9002


text:
更新到2.12.1之后，重新配置了配置文件，无法打开网页，出现Failed to read response from tcp

你正在使用哪个版本的 V2Ray？（如果服务器和客户端使用了不同版本，请注明）
客户端服务端均为2.12.1

你的使用场景是什么？比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。
通过chrome使用v2ray打开google等国外网站

你看到的不正常的现象是什么？

V2Ray v2.12.1 (One for all) 20161226
An unified platform for anti-censorship.
2016/12/30 00:57:03 [Warning]V2Ray started.
2016/12/30 00:57:55 [Warning]VMess|Outbound: Failed to read response from udp:8.8.4.4:53: EOF
2016/12/30 00:58:03 [Warning]VMess|Outbound: Failed to read response from tcp:www.google.com:443: EOF
2016/12/30 00:58:10 [Warning]VMess|Outbound: Failed to read response from udp:8.8.8.8:53: EOF
2016/12/30 00:58:14 [Warning]VMess|Outbound: Failed to read response from tcp:www.google.com:443: EOF
2016/12/30 00:58:17 [Warning]VMess|Outbound: Failed to read response from tcp:www.google.com:443: EOF
2016/12/30 00:58:20 [Warning]VMess|Outbound: Failed to read response from tcp:toolbarqueries.google.com:80: EOF
2016/12/30 00:58:20 [Warning]VMess|Outbound: Failed to read response from tcp:api.ipinfodb.com:80: EOF
2016/12/30 00:58:20 [Warning]VMess|Outbound: Failed to read response from tcp:xml.alexa.com:80: EOF
2016/12/30 00:58:20 [Warning]VMess|Outbound: Failed to read response from tcp:api.mywot.com:80: EOF
2016/12/30 00:58:20 [Warning]VMess|Outbound: Failed to read response from tcp:www.google.com:443: EOF
2016/12/30 00:58:23 [Warning]VMess|Outbound: Failed to read response from tcp:dev.visualwebsiteoptimizer.com:443: EOF
2016/12/30 00:58:23 [Warning]VMess|Outbound: Failed to read response from tcp:api.ipinfodb.com:80: EOF
2016/12/30 00:58:23 [Warning]VMess|Outbound: Failed to read response from tcp:xml.alexa.com:80: EOF
2016/12/30 00:58:23 [Warning]VMess|Outbound: Failed to read response from tcp:api.mywot.com:80: EOF
2016/12/30 00:58:23 [Warning]VMess|Outbound: Failed to read response from tcp:toolbarqueries.google.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:api.ipinfodb.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:api.mywot.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:toolbarqueries.google.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:xml.alexa.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:api.mywot.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:api.ipinfodb.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:toolbarqueries.google.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:xml.alexa.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:api.ipinfodb.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:api.mywot.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:xml.alexa.com:80: EOF
2016/12/30 00:58:25 [Warning]VMess|Outbound: Failed to read response from tcp:toolbarqueries.google.com:80: EOF

你期待看到的正确表现是怎样的？
正常打开google

请附上你的配置文件。
服务端是根据这个链接修改的，客户端是把以前的配置文件修改了一下。
服务端：
服务端.txt

{
  "log": {
    "access": "/var/log/v2ray/access.log",
    "error": "/var/log/v2ray/error.log",
    "loglevel": "warning"
  },
  "inbound": {
    "port": 8888,
    "protocol": "vmess",
    "settings": {
      "clients": [
        {
          "id": "XXXX",
          "level": 1,
          "alterId": 100
        }
      ]
    },
    "streamSettings": {
      "network": "kcp"
    }
  },
  "inboundDetour": [
    {
      "port": 8889,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "XXXX",
            "level": 1,
            "alterId": 100
          }
        ]
      }
    },
    {
      "port": 8890,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "XXXX",
            "level": 1,
            "alterId": 100
          }
        ],
        "detour": {
          "to": "detour-kcp"
        }
      },
      "streamSettings": {
        "network": "kcp"
      }
    },
    {
      "port": 8891,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "XXXX",
            "level": 1,
            "alterId": 100
          }
        ],
        "detour": {
          "to": "detour-tcp"
        }
      }
    },
    {
      "protocol": "vmess",
      "port": "8892-9446",
      "tag": "detour-kcp",
      "settings": {},
      "allocate": {
        "strategy": "random",
        "concurrency": 3,
        "refresh": 5
      },
      "streamSettings": {
        "network": "kcp"
      }
    },
    {
      "protocol": "vmess",
      "port": "9446-9999",
      "tag": "detour-tcp",
      "settings": {},
      "allocate": {
        "strategy": "random",
        "concurrency": 3,
        "refresh": 5
      }
    },
    {
      "protocol": "shadowsocks",
      "port": 10000,
      "settings": {
        "method": "aes-256-cfb",
        "password": "123456",
        "udp": false
      }
    }
  ],
  "outbound": {
    "protocol": "freedom",
    "settings": {}
  },
  "outboundDetour": [
    {
      "protocol": "blackhole",
      "settings": {},
      "tag": "blocked"
    }
  ],
  "routing": {
    "strategy": "rules",
    "settings": {
      "rules": [
        {
          "type": "field",
          "ip": [
            "0.0.0.0/8",
            "10.0.0.0/8",
            "100.64.0.0/10",
            "127.0.0.0/8",
            "169.254.0.0/16",
            "172.16.0.0/12",
            "192.0.0.0/24",
            "192.0.2.0/24",
            "192.168.0.0/16",
            "198.18.0.0/15",
            "198.51.100.0/24",
            "::1/128",
            "fc00::/7",
            "fe80::/10"
          ],
          "outboundTag": "blocked"
        }
      ]
    }
  },
  "transport": {
    "tcpSettings": {
      "connectionReuse": true
    },
    "kcpSettings": {
      "mtu": 1350,
      "tti": 20,
      "uplinkCapacity": 12,
      "downlinkCapacity": 100,
      "congestion": false,
      "readBufferSize": 1,
      "writeBufferSize": 1,
      "header": {
        "type": "none"
      }
    }
  }
}

客户端：
客户端.txt
{
  "log": {
    "loglevel": "warning"
  },
  "inbound": {
    "port": 8888,
    "listen": "127.0.0.1",
    "protocol": "socks",
    "settings": {
      "auth": "noauth",
      "udp": false,
      "ip": "127.0.0.1"
    }
  },
  "outbound": {
    "protocol": "vmess",
    "settings": {
      "vnext": [
        {
          "address": "x.x.x.x",
          "port": 8888,
          "users": [
            {
              "id": "XXXX",
              "alterId": 100,
              "security": "aes-128-gcm"
            }
          ]
        }
      ]
    },
    "streamSettings": {
      "network": "kcp"
    }
  },
  "outboundDetour": [
    {
      "protocol": "freedom",
      "settings": {},
      "tag": "direct"
    }
  ],
  "dns": {
    "servers": [
      "8.8.8.8",
      "8.8.4.4",
      "localhost"
    ]
  },
  "routing": {
    "strategy": "rules",
    "settings": {
      "domainStrategy": "IPIfNonMatch",
      "rules": [
        {
          "type": "field",
          "port": "1-52",
          "outboundTag": "direct"
        },
        {
          "type": "field",
          "port": "54-79",
          "outboundTag": "direct"
        },
        {
          "type": "field",
          "port": "81-442",
          "outboundTag": "direct"
        },
        {
          "type": "field",
          "port": "444-65535",
          "outboundTag": "direct"
        },
        {
          "type": "chinasites",
          "outboundTag": "direct"
        },
        {
          "type": "field",
          "ip": [
            "0.0.0.0/8",
            "10.0.0.0/8",
            "100.64.0.0/10",
            "127.0.0.0/8",
            "169.254.0.0/16",
            "172.16.0.0/12",
            "192.0.0.0/24",
            "192.0.2.0/24",
            "192.168.0.0/16",
            "198.18.0.0/15",
            "198.51.100.0/24",
            "203.0.113.0/24",
            "::1/128",
            "fc00::/7",
            "fe80::/10"
          ],
          "outboundTag": "direct"
        },
        {
          "type": "chinaip",
          "outboundTag": "direct"
        }
      ]
    }
  },
  "transport": {
    "kcpSettings": {
      "uplinkCapacity": 12,
      "downlinkCapacity": 100
    }
  }
}

你没有发现客户端出口为8888的指定了加密方式aes-128-gcm而服务端出口为8888的还是默认的aes-256-cfb吗

@wtlusvm 我把客户端的加密方式改为aes-128-cfb依然是同样的错误，加密方式删掉仍然是同样的错误log，另外官网上好像有说服务器能自动识别加密方式

@hetykai 客户端，kcpsetting中tti默认是50，服务端指定了是20

@wtlusvm 把客户端的tti设置为20依然不行。
我把客户端的streamSettings的配置删掉就行了。但是我本来是想通过kcp来连接的，结果kcp无法联通。而且服务器的8888端口依然是kcp，客户端的outbound设置却是tcp，不知道为什么这样反而能联通。。。是不是客户端的kcp协议有点问题呢。
还有以前版本的v2ray我的kcp协议也从来没有配通过。。

建议你看看v2ray客户端建立的是TCP还是UDP连接（Windows在资源管理器下看），不可能出现服务端是TCP客户端是KCP这种事情的。最好把多余的动态端口之类的删掉，两边就一个KCP连接，从简单着手开始配置

Closing due to inactivity.

authors: DarienRaymond hetykai wtlusvm


text:
chore: PiT - Update to Vaadin v24.4

Created by PiT Script when testing v24.4.0.alpha8.
Do not merge until v24.4.0 GA is released.

This could be safely closed after https://github.com/vaadin/platform/pull/5142/files is merged and released

Seems to work fine without exclusion with v24.4.0.alpha10.
Both dev and production mode start without errors

Converted to a draft to not merge accidentally.

source: gharchive/pull-request

authors: manolo mcollovati mshabarov

repo: vaadin/base-starter-flow-quarkus

license: Unlicense


text:
Project generated with Hilla CLI using flag --empty fails to start

Describe the bug
A new Hilla project created with the Hilla CLI using the flag --empty fails to start due to an error:
[INFO] --- hilla-maven-plugin:2.5.7:prepare-frontend (default) @ hilla-project-with-no-menu-and-one-empty-view ---
[WARNING] could not create Dir using jarFile from url file:/Users/rwilby/.m2/repository/com/vaadin/vaadin-dev-server/24.3.7/vaadin-dev-server-24.3.7.jar. skipping.
java.util.zip.ZipException: zip file is empty
    at java.util.zip.ZipFile$Source.zerror (ZipFile.java:1781)
    at java.util.zip.ZipFile$Source.findEND (ZipFile.java:1562)
    at java.util.zip.ZipFile$Source.initCEN (ZipFile.java:1657)
    at java.util.zip.ZipFile$Source.<init> (ZipFile.java:1495)
    at java.util.zip.ZipFile$Source.get (ZipFile.java:1458)
    at java.util.zip.ZipFile$CleanableResource.<init> (ZipFile.java:724)
    at java.util.zip.ZipFile.<init> (ZipFile.java:251)
    at java.util.zip.ZipFile.<init> (ZipFile.java:180)
    at java.util.jar.JarFile.<init> (JarFile.java:345)
    at java.util.jar.JarFile.<init> (JarFile.java:316)
    at java.util.jar.JarFile.<init> (JarFile.java:282)
    at org.reflections.vfs.Vfs$DefaultUrlTypes$1.createDir (Vfs.java:215)
    at org.reflections.vfs.Vfs.fromURL (Vfs.java:103)
    at org.reflections.vfs.Vfs.fromURL (Vfs.java:95)
    at org.reflections.Reflections.lambda$scan$2 (Reflections.java:176)
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept (ForEachOps.java:184)
    at java.util.HashMap$KeySpliterator.forEachRemaining (HashMap.java:1715)
    at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:509)
    at java.util.stream.ForEachOps$ForEachTask.compute (ForEachOps.java:291)
    at java.util.concurrent.CountedCompleter.exec (CountedCompleter.java:754)
    at java.util.concurrent.ForkJoinTask.doExec (ForkJoinTask.java:387)
    at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec (ForkJoinPool.java:1312)
    at java.util.concurrent.ForkJoinPool.scan (ForkJoinPool.java:1843)
    at java.util.concurrent.ForkJoinPool.runWorker (ForkJoinPool.java:1808)
    at java.util.concurrent.ForkJoinWorkerThread.run (ForkJoinWorkerThread.java:188)

[ERROR] Failed to execute goal dev.hilla:hilla-maven-plugin:2.5.7:prepare-frontend (default) on project hilla-project-with-no-menu-and-one-empty-view: Could not execute prepare-frontend goal.: Error occured during goal execution: Failed to extract files from jarFile '/Users/rwilby/.m2/repository/com/vaadin/vaadin-dev-server/24.3.7/vaadin-dev-server-24.3.7.jar' to directory '/Users/rwilby/Documents/workspaces/hilla/hilla-project-with-no-menu-and-one-empty-view/frontend/generated/jar-resources'

Expected-behavior
A new Hilla project created with the Hilla CLI using the flag --empty should start without error.
Reproduction
npx @hilla/cli init --empty hilla-project-with-no-menu-and-one-empty-view
cd hilla-project-with-no-menu-and-one-empty-view
./mvnw

System Info
Hilla: 2.5.7
Hilla CLI: 2.0.1
Java: 21.0.2
OS: macOS Sonoma 14.4.1 (23E224)

Works for me with the provided instructions.
The error indicates that .m2/repository/com/vaadin/vaadin-dev-server/24.3.7/vaadin-dev-server-24.3.7.jar is corrupted in your local Maven repository. You could try deleting that file so that Maven will download it again.

Thank you, @Legioth. Deleting the file .m2/repository/com/vaadin/vaadin-dev-server/24.3.7/vaadin-dev-server-24.3.7.jar resolved the problem.

repo: vaadin/hilla


text:
提示缺少provider （GenericFileProvider）。

你好，我是从ionic的官方网站下载这个插件（ionic cordova plugin add cordova-plugin-app-update）编译、打包apk没有问题，就是启动的时候提示：
java.lang.RuntimeException: Unable to get provider com.vaenow.appupdate.android.GenericFileProvider: java.lang.ClassNotFoundException: Didn't find class "com.vaenow.appupdate.android.GenericFileProvider" on path: DexPathList[[zip file "/data/app/io.ionic.starter-C_gmVFHX147_QL9W4pJZqw==/base.apk"],nativeLibraryDirectories=[/data/app/io.ionic.starter-C_gmVFHX147_QL9W4pJZqw==/lib/arm64, /system/lib64, /system/vendor/lib64]] at android.app.ActivityThread.installProvider(ActivityThread.java:6410)
我什么都没改，其实这个文件是有的。而且plug.xml的配置也有。请问知道是什么原因吗？

相同的问题, 想问是否有办法？？

authors: amberenjoy chessliu

repo: vaenow/cordova-plugin-app-update-demo

license: mit

license_source: bigquery


text:
Cannot read property 'checkAppUpdate' of undefined

Hi,
I am using Ionic version 1 with angularJS.
My Code:-
I am reading the version from a XML file in my server and if there is any change in version then i am updating. that will come in later part of code, but can u please tell me what i am doing wrong?
var updateUrl = "C:/Users/pratik_pattanayak/version.xml";
this.AppUpdate.checkAppUpdate(updateUrl).then(function (response){
     console.log(response);
})

Please try
+ window.AppUpdate.checkAppUpdate
- this.AppUpdate.checkAppUpdate

With window.AppUpdate.checkAppUpdate also getting same error.

Please make sure you have correctly installed the plugin.

I can see cordova-plugin-app-update folder in my plugins folder. it has res, src, www,  LICENSE, package.json, plugin.xml, readme.md and syncfromdemo.sh

Can u also explain how to remove the plugin and add again?

cordova plugin remove xxxx.xxx.xxx

more cordova docs: https://cordova.apache.org/

repo: vaenow/cordova-plugin-app-update


text:
ci: fix pre-commit session

pre-commit session is not currently running:
https://github.com/vaibhavjainwiz/caikit-nlp-client/actions/runs/6736309915/job/18311386232#step:8:15

Fixed in 80a5669

repo: vaibhavjainwiz/caikit-nlp-client


text:
When Resizer allocates Image/AcquisitionData triggers a warning

at this line the Resizer triggers a deprecation warning.

In practice at this line it should be enough to add the parameter suppress_warning=True

repo: vais-ral/CCPi-Framework


text:
why skip some points in test model,and why are the predicted results and ground_truth the same?

In my test process:
Processing IMG_400.jpg ...
In data_reader.create_heatmap: Error in annotations; 1 point(s) skipped.
Processing IMG_44.jpg ...
Processing IMG_54.jpg ...
In data_reader.create_heatmap: Error in annotations; 1 point(s) skipped.
Processing IMG_59.jpg ...
Processing IMG_65.jpg ...
In data_reader.create_heatmap: Error in annotations; 2 point(s) skipped.
My predicted results' paths is "/home4/shuai/projects/LSC-CNN/dataset/stpartb_dotmaps_predscale0.5_rgb_ddcnn++_test/test/1/"
I notice that  the predicted counts and ground_truth is the same results.
Can you answer my question?Thanks.

Hi,
Since you don't have the dataset already dumped, it will do it.
For testing, you need to run the command again.

repo: val-iisc/lsc-cnn


text:
Feat/accordion

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/valentingavran/anglify/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Codecov Report

Merging #185 (48787f2) into develop (1f6d013) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #185   +/-   ##
========================================
  Coverage    55.54%   55.54%
========================================
  Files           89       89
  Lines         1750     1750
  Branches       204      204
========================================
  Hits           972      972
  Misses         751      751
  Partials        27       27

Continue to review full report at Codecov.

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

authors: codecov-commenter sterapps

repo: valentingavran/anglify


text:
ng2-bootstrap pagination pageChanged triggered multiple times

Hi all,
I open this issue following a question on StackOverflow. See http://stackoverflow.com/questions/35081261/ng2-bootstrap-pagination-pagechanged-triggered-multiple-times/.
We saw that the pageChanged event is fired three times at the initialization of the pagination component. We expected to have only one.
After investigating a bit, it's linked to the use of a TypeScript setter for the page property with a custom event. Because Angular2 fires events asynchronously (see this issue: https://github.com/angular/angular/issues/6311), setting values to the page property fires event after the component initialization
We saw an inited property but it doesn't seem to be useful in this context...
We wonder if it's a normal behavior or a bug.
Here are some proposals to only have one events fired at the component startup:
(file node_modules/ng2-bootstrap/components/pagination/pagination.ts):

Update the set page block to trigger events only when the inited property is true:
  public set page(value) {
    this._page = (value > this.totalPages) ? this.totalPages : (value || 1);

    if (this.inited) { // <---------------
      this.pageChanged.next({
        page: this._page,
        itemsPerPage: this.itemsPerPage
      });
    }
  }

Update the ngOnInit method not to set the inited property to true at its end:
  ngOnInit() {
    (...)
    //this.inited = true;
  }

Set the inited property to true at the end of the first call of the writeValue:
  writeValue(value:number) {
    this.page = value;
    this.pages = this.getPages(this.page, this.totalPages);

    if (!this.inited) {
      this.inited = true;
    }
  }

Thanks very much for your feedback!
Thierry

Hi,
I've discovered this bug today as well. However, I believe that 'pageChanged' event shouldn't be fired even on component init but only if page is really changed. I've sent pull request for this bug.
Thanks,
Krzysztof

Agreed! +1
Thanks very much!
Thierry

authors: krzysztofsaja templth


text:
chore: testing bridge interactions

Optimism.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.72%. Comparing base (357539f) to head (1c515d3).

Additional details and impacted files
@@                     Coverage Diff                     @@
##           addressing_issues_56_27     #169      +/-   ##
===========================================================
+ Coverage                    97.14%   97.72%   +0.57%
===========================================================
  Files                           22       22
  Lines                         1718     1716       -2
  Branches                       386      385       -1
===========================================================
+ Hits                          1669     1677       +8
+ Misses                          49       39      -10

Flag
Coverage Δ

unittests
97.72% <100.00%> (+0.57%)
:arrow_up:

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

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

authors: codecov-commenter kupermind

repo: valory-xyz/autonolas-tokenomics


text:
Question/Feature Request: Adding multiple elements into a single cell

Hi, I using easytable from past few months, it is amazing. But, I found difficulty in adding multiple elements to a single cell. Like, adding multiple differently styled text in same cell and adding both image and text in same cell. I tried creating a custom cell following the Q/A in readme but was unable to do the bove things. Dont know if this feature is not present or I was not able to get the thing even it is possible.

Hi @KVSRAKESH
glad you like the library.
It's possible to create a cell type of its own in order to achieve what you want. But that's a bit more involved. Maybe check out the different cell type implementations for a little inspiration. You can modify what is drawn by a custom drawer class and there you can access the content stream with the coordinates of the current cell.
Best,
Stefan

authors: KVSRAKESH vandeseer

repo: vandeseer/easytable


text:
Are there any plans to integrate Advanced Credit and Debit Card payments?

Reference: https://developer.paypal.com/docs/business/checkout/advanced-card-payments/
Allows users to include credit card fields directly on the website while still using Paypal as a payment gateway.

Hi Robert Lee, thanks for opening the issue
.
Yes, it definitely makes sense, but we don't yet plan to implement this in the current iteration. I add it to the backlog

repo: vanilophp/paypal


text:
UI doesn't show all training data

I've trained on several hundred items, but the UI only shows the first 25. Confirmed that even after I add another one in the UI, it says there are 25, and if I delete one - still stays 25 :).

This is vanna-flask, specifically.

Ah, here's the offending code in app.py
"df": df.head(25).to_json(orient='records'),

Thanks -- this is a duplicate of this issue:
https://github.com/vanna-ai/vanna/issues/182

authors: michaelnatkin zainhoda

repo: vanna-ai/vanna


text:
Feat: Improve design of error 404 page

Describe the feature
Hi @vansh-codes
Description:
The current error page displays a generic message ("The future of GitHub is here" and similar phrases) that does not align with our branding and user experience standards. A more visually appealing and informative error page is needed to enhance user engagement and provide clearer guidance.
Proposed Changes:

Visual Design: Create a more modern, cohesive design that matches our overall website aesthetic.
User Guidance: Include helpful links (e.g., home page, contact support) and a friendly message.
Branding Elements: Incorporate our logo and color scheme to maintain brand consistency.

Additional Notes:
A well-designed error page can significantly improve user experience and reduce frustration.
Add ScreenShots

I can make it look better
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm GSSOC'24 Extd registered Contributor
[X] I'm Hacktoberfest registered Contributor
[X] I want to work on this issue

Hi @vansh-codes
This is the final design, tell me how it looks

Also if you have a logo in mind please tell me I shall induce that logo in the page.

Use illustrations instead of image, everything else is fine

Hi @vansh-codes

This is the final design, waiting for PR approval.

Yeah works! create a PR and dont forget to mention this issue in your PR

repo: vansh-codes/Gityzer


text:
🛑 Makro is down

In 744910c, Makro (https://makro.zakaz.uz) was down:

HTTP code: 503
Response time: 1726 ms

Resolved: Makro is back up in 6837fdf.

repo: vanyakosmos/zakaz-uptime


text:
autoreplace {} (Even if there is no prefix)

/* Замена {table} */
        if($this->prefix) {
            $query = \preg_replace_callback('~{(.*?)}~', array($this, 'tableClb'), $this->pattern);
        }else{
            $query=$this->pattern;
        }

lifehack

Можно поподробнее?

В запросе конкатенируется  фигурная скобка
SELECT CONCAT('{',123,":adsf",'}');
Ожидаю, что будет {123:adsf}
Однако фигурные скобки пропали
Начал рыть - понял, что пускай даже префикс не указан - автозамена по фигурным все равно осуществляется
и получается 123:adsf

@eliarhsamos, да, но если я пишу запрос SELECT * FROM {table} я предполагаю, что будет вставлено имя таблицы, вне зависимо от того, как на верхнем уровне настроен префикс. А так замены не будет.

@vasa-c но в выше приведенном примере на казалось бы обычном запросе - фигурные пропадают. Как с этим штатными средствами бороться?

@eliarhsamos, понял. Как сказал @vasa-c, {table} должно разворачиваться вне зависимости от того установлен prefix или нет.
Вижу пока только одно решение - не использовать фигурные скобки.
Если в CONCAT нет имен колонок то можно так
$db->query("SELECT CONCAT(?l)", array(array('{',123,":adsf",'}')));
Если же есть, то
$db->query("SELECT CONCAT(?, ?, ?c, ?)", array('{',123,":adsf",'}'));

@eliarhsamos ну а если там знак вопроса будет? Весь смысл библиотеки, как раз, чтобы сырыъ данных в шаблоне не было.
Вобще эти {} древнее легаси, не знаю, пользуется ли кто, можно и убрать.

@mkedo видимо, да
@vasa-c знака вопроса там заведомо нет, нужно было создать json-подобный вариант
часть вещей уже под 5.7 mysql работают, часть нет
нужен стык
https://dev.mysql.com/doc/refman/5.7/en/json.html
и осуществляется что-то вроде
mysql> INSERT INTO t1 VALUES('{"key1": "value1", "key2": "value2"}');
где данные уже через плейсхолдеры обрабатываются
а вот обертка подается напрямую

authors: eliarhsamos mkedo vasa-c

repo: vasa-c/go-db


text:
Update http4s-blaze-server, http4s-circe, ... to 0.21.14

Updates

org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-dsl

from 0.21.7 to 0.21.14.
GitHub Release Notes - Version Diff
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.http4s" } ]

labels: library-update, semver-patch

Superseded by #125.

Superseded by #125.

repo: vasilmkd/docker-stats-monitor


text:
Identify failed tasks

When I submit tasks by trunks the task ID's are eg M40_*. Then some substeps fail like this at the end of the runs:
INFO: Waiting for the completion of 1 task.
INFO: Waiting for the completion of 1 task.
INFO: Waiting for the completion of 1 task.
INFO: Waiting for the completion of 1 task.
INFO: Waiting for the completion of 1 task.
ERROR: [extract]: [62afb2903d996b7b]:
Failed to execute Rscript .sos/extract_638_b5a9d3cf.R
exitcode=1, workdir=/scratch/midway2/gaow/TempDir/fine-mapping/output, task=62afb2903d996b7b
---------------------------------------------------------------------------
[cac36feb845db9fc]:
Failed to execute Rscript .sos/extract_6097_efc31ff9.R
exitcode=-11, workdir=/scratch/midway2/gaow/TempDir/fine-mapping/output, task=cac36feb845db9fc
---------------------------------------------------------------------------
[067903bce45d0096]:
Failed to execute Rscript .sos/extract_9978_79cb0740.R
exitcode=-11, workdir=/scratch/midway2/gaow/TempDir/fine-mapping/output, task=067903bce45d0096
---------------------------------------------------------------------------
[15303ef13b2e193f]:
Failed to execute Rscript .sos/extract_10494_49bbcd7c.R
exitcode=-11, workdir=/scratch/midway2/gaow/TempDir/fine-mapping/output, task=15303ef13b2e193f

You see some exit code 1, some -11. But when I try to see the error message:
[MW] sos status d67e0fa110b41344 -v4
d67e0fa110b41344	missing

and grep d67e0fa110b41344 *.err doesnt show anything. I had to
cat *.err

and notice for myself that
slurmstepd-midway2-0332: error: *** JOB 62643844 ON midway2-0332 CANCELLED AT 2019-09-23T10:39:56 DUE TO TIME LIMIT ***

How can I track this more directly?

The problem here is that d67e0fa110b41344 is a subtask and you have to see its status from its master.  Right now sos status is not clever enough to look for subtasks.

As mentioned in this comment it would be great if for at the master task level the stderr file information can be available from sos status -v4. I will use that comment to follow up on it and close this ticket for now.

authors: BoPeng gaow

repo: vatlab/sos


text:
uncaught type error

hello,
I'm getting this error and neither the thumbnail nor the video information are loaded
Uncaught TypeError: Cannot read property 'split' of undefined
at o (lazyframe.min.js:1)
at i (lazyframe.min.js:1)
at n (lazyframe.min.js:1)
at t (lazyframe.min.js:1)
at testconfiltros.php:987

nevermind, fixed it ... it was a dailymotion video causing disruption...

repo: vb/lazyframe


text:
Kitap Çevirmen tablosu oluşturulacak

Okulun internetine bağlıysanız 172.21.54.3/phpmyadmin e girin kenarda GT2MTE yazan yere tıklayın sonra SQL sekmesine tıklayarak ilgili tablonun CREATE TABLE MySql kodunu yazın.
Okulun internetine bağlı değilseniz http://vpn.uludag.edu.tr adresinden uludağ vpn'i indirip bağlanıp sonra 172.21.54.3/phpmyadmin e girin kenarda GT2MTE yazan yere tıklayın sonra SQL sekmesine tıklayarak ilgili tablonun CREATE TABLE MySql kodunu yazın.

sorun Çevirmen tablosundan kaynaklanıyormuş, Çevirmen tablosunun @merveKahramann tarafından düzenlenmesiyle sorun çözüldü.

repo: vbguluzar/otomasyon


text:
Out of date ImGui API

Hi,
Due to the ImGui API being out of date, when one adds the demo window to the engine, lots and lots of validation errors are output. This is easily overcome by pulling the newest version of imgui and adapting the CMake file accordingly. But I thought I should say something here about it.

fixed in vkguide 2


text:
Updates from IBM style

add to trailing columns: rule and comments
add examples gathered from IBM Cloud docs Vale rules and IBM Style and Word usage.
Also update some existing examples to better match guidance.

@vburckhardt can you take another look for any obvious changes that shouldn't go in? Carolyn made some updates to this PR. If ok, you can merge.

repo: vburckhardt/markdown-llm-corrector


text:
"go get" is deprecated, how to install go-sdl2

In the document, it says I can install by

go get -v github.com/veandco/go-sdl2/{sdl,img,mix,ttf}

But, with Go 1.18, the command results in" 'go get' is no longer supported... "

Then I try

go install -v github.com/veandco/go-sdl2/{sdl,img,mix,ttf}@v0.4.0

But it results in "package github.com/veandco/go-sdl2/sdl is not a main package ..."

How to install go-sdl2 with Go 1.18?

Thank you.
I'm new to Go and not familiar with Go module.
I'll try “go mod init [module name]”.

I have learnt go module these days. The "go mod init - go get" way works.
Thank you again.
I still do not understand "go install" now.
With git module, "go get" works fine. I didn't use "go install" and don't understand what does "go install"  do.


text:
索引中doc id异常

HI，集群部分节点报错，类似如下，导致节点崩溃。
gamma_index_ivfpq.cc:1370 invalid indexed count [50356746] vector size [50356745]
...
rocksdb_raw_vector.cc:123 rocksdb multiget error:NotFound: , key=0065131892
...
rocksdb_raw_vector.cc:123 rocksdb multiget error:NotFound: , key=0076158566
...
但当前集群数据量只有5000万，id为什么会远高于文档数，麻烦帮忙看下？
version: 3.2.7
index: hnsw + ivfpq

看着像是load的时候索引数量大于load的向量数导致失败，load的时候会检查向量数量和正排数量是否一致，看看是否之前有插入失败的情况

doc id远高于文档数，是因为删除较多吧
On Mon, Apr 11, 2022 at 1:51 PM realdalabengba @.***>
wrote:

HI，集群部分节点报错，类似如下，导致节点崩溃。
rocksdb_raw_vector.cc:123 rocksdb multiget error:NotFound: , key=0065131892
...
rocksdb_raw_vector.cc:123 rocksdb multiget error:NotFound: , key=0076158566
...
但当前集群数据量只有5000万，id为什么会远高于文档数，麻烦帮忙看下？
version: 3.2.7
index: hnsw + ivfpq
—
Reply to this email directly, view it on GitHub
https://github.com/vearch/vearch/issues/633, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJIEIH4YCJLAQSEPNZHXZLVEO4WLANCNFSM5TCBVWZA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

authors: Maslino realdalabengba zcdb

repo: vearch/vearch


text:
Clarify key backup details when backup exists but is not trusted

This ports the wording changes from Riot Web
https://github.com/matrix-org/matrix-react-sdk/pull/2917.
"Use key backup" as button text feels like it's telling me I haven't set it up
at all. This changes to "Connect this device ..." which seems more reassuring
and applies for both the "add to backup" and "restore from backup" use cases.
This also updates the backup status text for the case where a backup exists, but
it's not being used by the current device so that it's much more clear that you
have a backup at least.

Pull Request Checklist

[x] UI change has been tested on both light and dark themes
[x] Pull request is based on the develop branch
[x] Pull request updates CHANGES.rst
[x] Pull request includes screenshots or videos of UI changes
[x] Pull request includes a sign off

Thanks @jryans for pointing out this change.
Did you change the wording in the banner on riot-web too?
With this PR, we still display it like this:

Would it be cleared like that (if yes, don't do it, I can push my commit on this PR):

@manuroe At the moment, we have not changed the in-room recovery reminder for Riot Web, so it still says "Use Key Backup" similar to your iOS example, but thanks for mentioning this! I think it improves readability and understanding to replace all the "Use ..." strings with "Connect ...", so I recommend adding your suggested commit here.
I filed https://github.com/vector-im/riot-web/issues/9542 for Riot Web to also update these remaining strings to say "Connect ...".

authors: jryans manuroe

repo: vector-im/riot-ios


text:
CMakeTools extension was unable to be initialized: AssertionError: Error in script usage.

I'm not sure what brought this on, but CMakeTools is now giving me errors when trying to do anything. It was working fine before, and on my other computer it also works fine... Although I'm not sure if it has a different version installed.
This error occurs on start-up:
shell.ts:445 Invalid backend promise: Error: Invalid backend promise
    at new CMakeToolsWrapper (C:\Users\Marco\.vscode\extensions\vector-of-bool.cmake-tools-0.10.0\out\src\wrapper.js:46:40)
    at C:\Users\Marco\.vscode\extensions\vector-of-bool.cmake-tools-0.10.0\out\src\extension.js:17:23
    at Generator.next (<anonymous>)
    at C:\Users\Marco\.vscode\extensions\vector-of-bool.cmake-tools-0.10.0\out\src\extension.js:7:65
    at __awaiter (C:\Users\Marco\.vscode\extensions\vector-of-bool.cmake-tools-0.10.0\out\src\extension.js:3:12)
    at activate (C:\Users\Marco\.vscode\extensions\vector-of-bool.cmake-tools-0.10.0\out\src\extension.js:15:12)
    at Function.t._callActivateOptional (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:418399)
    at Function.t._callActivate (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:418184)
    at c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:417959
    at Object.m [as _notify] (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:39252)

This error occurs on trying to configure:
shell.ts:445 Error in script usage. The correct usage is:: AssertionError: Error in script usage. The correct usage is:
    at Console.assert (console.js:95:23)
    at output.split.map.filter.reduce (C:\Users\Marco\.vscode\extensions\vector-of-bool.cmake-tools-0.10.0\out\src\environment.js:74:21)
    at Array.reduce (native)
    at C:\Users\Marco\.vscode\extensions\vector-of-bool.cmake-tools-0.10.0\out\src\environment.js:72:14
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\Marco\.vscode\extensions\vector-of-bool.cmake-tools-0.10.0\out\src\environment.js:4:58)

Possibly related to issues #170, #183 and #184 .

It is likely duplicate of #181.
I suspect that there is some parts of VS 2015 are installed (Windows 8.1 development or similar) which cause vcvarsall fail with unexpected message.
Unfortunately CMake Tools treat this as a fatal error.
If you have VS 2017, you could try removing VS140COMNTOOLS environment variable before running VS Code to work around this problem.

Yep, that works. Do you know if removing that env var permanently will screw up anything else? I dont have VS 2015/14.0 installed (or the build tools), so not sure why its set anyway.

Do you know if removing that env var permanently will screw up anything else

Only if you have something which depends on it. E.g. some project which has scripts as build system.
AFAIK msbuild doesn't use it.
Besides, Developer command prompt initializes them again in the session.

Nope, don't have anything I know of that needs it. Thanks for your help!

repo: vector-of-bool/vscode-cmake-tools


text:
Corrupted data

The following machines are incorrectly associated with HMs :
1195, 1209, 1190, 1212, 1203, 1206, 1200, 1215
What they are in fact is TMs 93 to 100 for ORAS.

The ids you listed don't seem to correspond to anything in machines.csv. In any case, i think the problem you're talking about was fixed by #206.

authors: magical ticowiko

repo: veekun/pokedex


text:
Week2_JournalSubmission

Need to provide the view URL of CFD sheet in the pdf submission

Sharable link to CFD:
https://docs.google.com/a/sjsu.edu/spreadsheets/d/1OzbvimxE5VUqhppBHR95Fy-u8pqR8w5FVHgj1v7eXGI/edit?usp=sharing


text:
Status of this project

Just a quick question: is this project still being maintained? Any future plans? It looks really cool, but there doesn't seem to be too much activity in the repo?

There is no current activity on the project, but I believe it may resume in the summer or fall. Paging @arvind who can provide a more definitive answer.

It would be great if it would resume! I am in awe of all the stuff you guys created, and feel one could create some really powerful integrations for julia. I've sketched some ideas in https://github.com/vega/voyager/issues/745#issuecomment-353530784 and https://github.com/vega/vega-lite/issues/1472#issuecomment-353682418.

Yes, It would be great to know if there is plan (or not) to continue Lyra.

Hi folks, thanks for the continued interest (and apologies for the delayed response). Yes, we expect to resume work on Lyra this summer.
We were frustratingly close to a Lyra 2.0 release back in 2016 but, unfortunately, needed to reprioritize our efforts towards, among other things, releasing Vega-Lite 2.0.
The good news is that work will not go to waste — it laid a very solid foundation that will make rebuilding momentum behind this project much easier. Our primary task will be to update Lyra’s model to Vega 3/Vega-Lite 2, which should be a fairly straightforward process (aides, hopefully, by migrating the codebase to TypeScript). And once we do, we can begin to build on it much more quickly than before.

Great news! I'm looking forward to test it.
Thanks for the update.

Excellent!

Thanks for checking in @davidanthoff! Returning to Lyra is high on our priority list but, unfortunately, we don’t have any updates yet.

Good timing @sigfried. We’ve just restarted work on Lyra. We don’t have a timeline yet for when work should be complete porting it over to the latest versions of Vega and Vega-Life, but doing so is one of the highest priority items on our agenda!

authors: TomBor arvind davidanthoff jheer

repo: vega/lyra


text:
Asset breakdown in portfolio page & sidebar

Story
As a user
I want to see the breakdown of my assets and how they're used in portolfio screen
So that I know where my assets are allocated
Acceptance Criteria

[x] There is a view on portfolio page per asset giving the split by account
[x] This can for now be shown as another tab in the asset mgmt panel until we find a better long term home for it ... it should be called "Assets"
[x] This work is common to this and the sidebar work ... it should be the same everywhere like everything in this asset mgmt component

Sketch
Contained in here in teh ASSETS section.  We will use the expanded full version for now.
https://www.figma.com/file/ywcCZvXdvG28bg0AmCY9mF/Console-v3?type=design&node-id=6158-40256&mode=design&t=ABCsSihKRELNzJxI-0
Additional details / background info

I'm closing this because the PR is already merged on Matt's stuff and in FG ... and we now have other tickets for snags etc.

repo: vegaprotocol/frontend-monorepo


text:
chore: update vega version so that new config options can be merged d…

I want to be able to use KeepHashesDurationForTestOnlyDoNotChange in the system-tests but the templating won't merge the fields unless the version of the vega package pulled in is up to date.

It fails to start with error: ERROR	core	node/node.go:194	problem starting blockchain	{"error": "loading tendermint genesis document: error reading GenesisDoc at /home/runner/.vegacapsule/testnet/tendermint/node2/config/genesis.json: block.TimeIotaMs must be greater than 0. Got 0"}
Is it because we need to align with a different version of config?

It fails to start with error: ERROR core node/node.go:194 problem starting blockchain {"error": "loading tendermint genesis document: error reading GenesisDoc at /home/runner/.vegacapsule/testnet/tendermint/node2/config/genesis.json: block.TimeIotaMs must be greater than 0. Got 0"}
Is it because we need to align with a different version of config?

I've literally got no idea.

It fails to start with error: ERROR core node/node.go:194 problem starting blockchain {"error": "loading tendermint genesis document: error reading GenesisDoc at /home/runner/.vegacapsule/testnet/tendermint/node2/config/genesis.json: block.TimeIotaMs must be greater than 0. Got 0"}
Is it because we need to align with a different version of config?

I've literally got no idea. It looks like it has failed in the last few merges to develop as well.

authors: karlem wwestgarth

repo: vegaprotocol/vegacapsule


text:
First step in refactoring

As discussed in issue no 393 long time ago about refactoring the Useful Resources section:

Move the Video category into Useful Resources section
Remove the head titles Main account and Useful videos

Additional refactoring:

Move Raspberry Pi & ARM in accordance to alphabetical order

Additional steps:

[ ] Add Blogs section: Put all the "Blog of ..." here as well as newsletters
[ ] Move Valuable Docker Links into Awesome Lists section:

Thanks @veggiemonk . Didn't expect the fast merge. Will open another PRs for those additional steps as described above, if it is OK.

@devhkr Well done.
If you don't want people to merge your PRs, well ... don't make PR 😄
Another way to solve a step by step PR like this is to:

from master, create a branch called refactor-resources: git checkout -b refactor-resources
form that branch  refactor-resources, create another branch: git checkout -b refactor-resources-first
Make changes and commit to refactor-resources-first
Create a PR from refactor-resources-first to refactor-resources.

This way, master is unchanged and we can easily review and comment on your PR, merge them one by one. Once everything is done, we can create a PR from refactor-resources to master and fix any eventual conflict to finally merge it.
I just advice on what I use at work which seems to work fine. I hope it helps.

authors: devhkr veggiemonk

repo: veggiemonk/awesome-docker


text:
deterministic import names

Expected Behaviour
Generated code should be deterministic.
Even when the types specified by typemap.json are in several packages with the same name or same final dir of their import path.
Actual Behavior
gqlgen does detect this situation :+1: and reacts by giving each package with the same name a unique name when imported by suffixing a number.  So if we have "foobar/types" with package name "types" and "bazfoo/types" with package name "types", gqlgen will make imports roughly like:
import (
    // other stdlib stuff

    types "foobar/types"
    types1 "bazfoo/types"

The trouble is... it seems to do this semirandomly :-1:  So when using gqlgen repeatedly, the git diff of the results sometimes results in a bunch of
-   types "foobar/types"
-   types1 "bazfoo/types"
+   types "bazfoo/types"
+   types1 "foobar/types"

as well as every method on the Resolvers interface and so on also having that unhelpful diff.
If one changes the names of the packages internally, but leaves them in the same paths -- e.g. files under "foobar/types" path now declare "package foobartypes" -- gqlgen doesn't change behavior; looks like it bases all the names on the last segment of the import path.  I think it should probably use the declared package name instead.
This isn't a correctness issue, exactly, because it's all internally consistent and doesn't affect anything outside of that generated file, but it definitely makes for some uggo diffs, and makes the Resolvers interface a lot harder to read.
Ideally, gqlgen would use the declared package names, and then if names still have uniqueness issues, use sort on the imports before doing the name suffixing.

Looks like it's Imports.addPkg that's responsible for the name decollisioning, and unfortunately it's in part because NamedTypes is a map that the loop iterating over the addPkg function is random.

The code generated definitely should be stable across builds, so this is definitely a bug.
It might be better to do a decollision pass after loading the program instead of on addPkg. I think chasing randomness out of the callers is probably going to be more fragile than centralizing this constraint.
This would also mean it happens pretty late, well after the program has been loaded and the package names would be available.
There's also a bit of a data loop here:

you need the list of imports (order doesn't matter yet) to load the program (all the user defined types etc)
you need to load the program to get the package name, to sort the imports.

I'm pretty busy currently with the new parser and probably wont get around to this for a bit, but I'm open to a PR :).

woofdah.  I can give it a shot, but it might be a little complex for me.
Late decollisioning might still be reasonable, since it's valid to do so per file.  But I'm just sort of devil's-advocating that; it's a pretty useless distinction given that gqlgen isn't making a ton of different files with different sets of imports.
I looked at the code a bit... I haven't used tools.go.loader.* before so I'm kind of out of my depth, but one of my first impressions was... Shouldn't Ref.Package perhaps be called ImportPath ?

authors: eric-am vektah

repo: vektah/gqlgen


text:
Add system & greeting parameters to chat decorator signature

There is a demand to pass the system and greeting arguments when to the chat decorator instead of writing them within the docstring class.
Curerntly the signature shows :

However if we pass system and greeting, it does work and initialize the chat with the passed system.

This works because we pass kwargs.
Let's add system as a parameter for the decorator signature.

Done in #120

repo: vendi-ai/declarai


text:
How to de-cluster on single tap

HI
I am using this package and right now I wnat to expand cluster when i single click on cluter markers.
Please tell me how to do this?
i'm using   onClusterPress={ (coordinates) => this.animate(coordinates) }
animate = (coordinates) => {
    console.log(coordinates)
  }

I am getting following in log::

@DikshaDeep use the older version 1.2.6 of this package
First of all uninstall the current version of this package and install  older version. For older version run the following command from terminal
npm install react-native-map-clustering@1.2.6  --save

then you will get the lat and long
onClusterPress={ (coordinates) =>  console.log(coordinates) }

I released new version of this library.
Now, de-clustering is default behaviour when pressing cluster 🎉

authors: DikshaDeep salimakhtar92 venits

repo: venits/react-native-map-clustering


text:
Grant networking capabilities to sandboxee

This is useful for the DPU work.
There are security implications but the sandbox is allowing every syscall anyway. The real solution is to specify sandbox2 policies as an extension of the global policies.
Edit: Don't trust the PR ID, this PR is harmless :innocent:

Just signing off the commit

repo: veracruz-project/veracruz


text:
Enhancements to page content styles needed

Page title not included in render
Page content comes from a field powered by a wysiwyg editor. I think styles should be in place for base typegraphy elements like h1-h6, p, ul, ol and a tags.

Thanks @okbel, merged here: https://github.com/vercel/commerce/pull/383. Closing issue.

repo: vercel/commerce


text:
Module not fount dns, dgram, ,,,

I get this error when doing follow the guide
const fetch = require('@zeit/fetch-cached-dns')(require('node-fetch'))
Module not found: Can't resolve 'dns' in 'C:\Sony\work\saostar\saostar-fe-pc\node_modules\native-dns-cache'

Is there already an solution for this issue? I got the same error.

dns and dgram are standard library https://nodejs.org/api/dgram.html https://nodejs.org/api/dns.html
Which node, npm/yarn versions  are you using? And which OS? in node console, does require('dgram') and require('dns') work?

authors: JoepdeJong hoangphuc17 jamo

repo: vercel/fetch-cached-dns


text:
Redirect to npmjs.com when a package is not found locally

Is your feature request related to a problem? Please describe.
I'm always frustrated when I click on a package dependency and all I get is this:
{
  "error": "File not found"
}

Describe the solution you'd like
I would like to see a redirection to npmjs.com, whenever a package is not found locally.
Describe alternatives you've considered
An alternative option would be to display a page with a little notice, indicating that the requested package does not exist locally, but on npmjs.com.

@axelrindle I don't get it. Could you elaborate?

Was thinking about same type of feature request.
I'm using verdaccio only for scoped modules not to cache the official npm modules (at least for now).
My scoped modules depend on some official modules but as those are not cached on verdaccio, clicking on them in the webui results in:
Error 404 - debug
Oops, The package you are trying to access does not exist.

Would be nice that in the webui you immediately include the npmjs link with a little icon next to it to indicate that it is an external link.
This would mean you would have to identify those modules prior to rendering the page.
Or alternatively, as suggested by @axelrindle, redirect requests for non-cached modules to npmjs.

One option would be to handle that 404 within web ui logic and fetch the data from upstream direct via browser.

@juanpicado Do I still need to elaborate or has it become clear by what @coolsp and @bufferoverflow mentioned?

@axelrindle

I'm always frustrated when I click on a package dependency and all I get is this:

I wonder how is that possible since any npm client will download all dependencies (unless the process fails) and should be not possible to click around UI and get a 404.

An alternative option would be to display a page with a little notice, indicating that the requested package does not exist locally, but on npmjs.com

verdaccio is just a proxy, it fetch only when a npm CLI request, verdaccio never acts on his own. The UI only represents what's remains on storage. Futhermore, npmjs is just a registry (the default one) and we cannot hook verdaccio to specific registry and it relies on what's on uplink configuration.
If you are getting 404 please elaborate some reproduce steps, perhaps I'm missing something.

Steps to reproduce:

Setup verdaccio as scoped private repository only, in config.yaml
-Remove any uplinks under uplinks
-Remove any proxies under packages
-Set a scope under web (e.g.: @coolsp)
Publish a private scoped module with a dependency to a public module (e.g. debug)
-npm publish @coolsp/myprivate --registry https://:4873
Logon to the webui
Click on module @coolsp/myprivate
Click in right-pane on dependency (e.g. debug)

Error 404 - debug
Oops, The package you are trying to access does not exist.

Quod erat demonstrandum

Thanks @coolsp I'll try later and I'll let you know what I found.

Any update/progress on this one?

@coolsp, unfortunately, no, this ticket was wrongly tagged.

It's not possible to install any dependencies that not available in local with a private only registry, so i think it should be a 404 page when trying to access dependencies.

Showing a 404 is a bad user-experience and leaves users with the impression something is broken hence bad reputation on Verdaccio.
To make a better UX and prevent the feeling of it being broken I would:

Forward the link to the standard registry, npmjs.com (e.g.: https://www.npmjs.com/package/debug) or make it configurable.

Or even better:

Identify the dependency is not within the private registry when generating the view
Include and show and external link (🔗) next to the dependency
When clicked, open a new tab in the browser (<a ... target="_blank"> ) showing the details of the external dependency.
or
Pull data from npmjs.com into Verdaccio page (not sure what type of open-APIs are available to do so, should be possible with a bit more work).

@coolsp There is an API, documented over here. It's just the npm registry which can be used to fetch data in JSON format (example).

https://github.com/verdaccio/verdaccio/issues/888#issuecomment-410606953

Confirmed.

Showing a 404 is a bad user-experience and leaves users with the impression something is broken hence bad reputation on Verdaccio.
To make a better UX and prevent the feeling of it being broken I would:

Forward the link to the standard registry, npmjs.com (e.g.: https://www.npmjs.com/package/debug) > or make it configurable.

The problem I see here is according to your provided steps, actually the fact to remove all packages Setup verdaccio as scoped private repository only, in config.yaml you are restricting users to access any package, either public or private. See the error in the UI while you can see 404 in the UI.

So, the error here is the UX experience, we should display correctly the error.
Or even better:

Pull data from npmjs.com into Verdaccio page (not sure what type of open-APIs are available to do so, should be possible with a bit more work).

I have the same thoughts https://github.com/verdaccio/verdaccio/issues/888#issuecomment-410590569 and if the permissions are correct, the dependency should be already on the storage.
So, I'll delegate this to the UI contributors (cc: @ayusharma @priscilawebdev ) to display properly the error according to the HTTP STATUS code.

Still a bad UX...
See my suggestions: #888 (comment)

authors: Meeeeow axelrindle bufferoverflow coolsp juanpicado

repo: verdaccio/verdaccio