text:
sniffing 的一个 Bug

在使用 BifrostV 代理迅雷时，开启传入探测（sniffing）后，迅雷无法下载，在关闭传入探测（sniffing）后，迅雷正常下载
这个问题在 v2rayNG 上也同样出现了
查看日志，发现嗅探出 res.res.res.res 这个域名，但经过上网查询，发现没有这个后缀的域名
应该是 sniffing 嗅探出了问题

吸血雷别用，qbittorrent多好用，https://www.johnrosen1.com/qbt/

吸血雷别用，qbittorrent多好用，https://www.johnrosen1.com/qbt/

内网环境我只能找到迅雷了，你说的那个要公网的

吸血雷别用，qbittorrent多好用，https://www.johnrosen1.com/qbt/

内网环境我只能找到迅雷了，你说的那个要公网的

no,内网只是速度比公网慢而已，大不了去要个公网ip，又不是什么难事。

关闭


text:
v2ray不能访问网络

提交 Issue 之前请先阅读 Issue 指引，然后回答下面的问题，谢谢。
除非特殊情况，请完整填写所有问题。不按模板发的 issue 将直接被关闭。
如果你遇到的问题不是 V2Ray 的 bug，比如你不清楚要如何配置，请使用Discussion进行讨论。

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

你的使用场景是什么？比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。
通过v2rayU的vmess代理访问谷歌

你看到的不正常的现象是什么？（请描述具体现象，比如访问超时，TLS 证书错误等）
谷歌访问失败

你期待看到的正确表现是怎样的？
手机端同样配置能访问谷歌

请附上你的配置（提交 Issue 前请隐藏服务器端IP地址）。
客户端配置:
{
"log": {
"error": "",
"loglevel": "info",
"access": ""
},
"inbounds": [
{
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"udp": false,
"auth": "noauth"
},
"port": "1081"
},
{
"listen": "127.0.0.1",
"protocol": "http",
"settings": {
"timeout": 360
},
"port": "1088"
}
],
"outbounds": [
{
"mux": {
"enabled": false,
"concurrency": 8
},
"protocol": "vmess",
"streamSettings": {
"wsSettings": {
"path": "/serv",
"headers": {
"host": "us.nettt.xyz"
}
},
"tlsSettings": {
"allowInsecure": true
},
"security": "tls",
"network": "ws"
},
"tag": "proxy",
"settings": {
"vnext": [
{
"address": "us.nettt.xyz",
"users": [
{
"id": "DF074072-2D7A-653A-4FF2-750DB83789A8",
"alterId": 1,
"level": 0,
"security": "aes-128-gcm"
}
],
"port": 443
}
]
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"domainStrategy": "AsIs",
"redirect": "",
"userLevel": 0
}
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {
"response": {
"type": "none"
}
}
}
],
"dns": {},
"routing": {
"settings": {
"domainStrategy": "AsIs",
"rules": []
}
},
"transport": {}
}

请附上出错时软件输出的错误日志。在 Linux 中，日志通常在 /var/log/v2ray/error.log 文件中。
rocess outbound traffic > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://us.nettt.xyz/serv):  > dial tcp: lookup us.nettt.xyz on 192.168.3.1:53: read udp 192.168.0.113:60725->192.168.3.1:53: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://us.nettt.xyz/serv):  > dial tcp: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://us.nettt.xyz/serv):  > dial tcp: lookup us.nettt.xyz on 192.168.3.1:53: read udp 192.168.0.113:51958->192.168.3.1:53: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://us.nettt.xyz/serv):  > dial tcp: operation was canceled] > v2ray.com/core/common/retry: all retry attempts failed
2020/03/10 16:39:13 [Info] [4226428636] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled
2020/03/10 16:39:13 [Info] [4226428636] v2ray.com/core/transport/internet/websocket: creating connection to tcp:us.nettt.xyz:443
2020/03/10 16:39:14 [Info] [4226428636] v2ray.com/core/transport/internet/websocket: creating connection to tcp:us.nettt.xyz:443
2020/03/10 16:39:14 [Info] [4184944925] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled
2020/03/10 16:39:14 [Info] [4184944925] v2ray.com/core/transport/internet/websocket: creating connection to tcp:us.nettt.xyz:443
2020/03/10 16:39:14 [Info] [4226428636] v2ray.com/core/transport/internet/websocket: creating connection to tcp:us.nettt.xyz:443
2020/03/10 16:39:15 [Info] [4184944925] v2ray.com/core/transport/internet/websocket: creating connection to tcp:us.nettt.xyz:443
2020/03/10 16:39:15 [Info] [4184944925] v2ray.com/core/transport/internet/websocket: creating connection to tcp:us.nettt.xyz:443
2020/03/10 16:39:15 [Warning] [4226428636] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://us.nettt.xyz/serv):  > dial tcp: lookup us.nettt.xyz on 192.168.3.1:53: read udp 192.168.0.113:51958->192.168.3.1:53: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://us.nettt.xyz/serv):  > dial tcp: operation was canceled] > v2ray.com/core/common/retry: all retry attempts failed
2020/03/10 16:39:16 [Warning] [4184944925] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://us.nettt.xyz/serv):  > dial tcp: lookup us.nettt.xyz on 192.168.3.1:53: read udp 192.168.0.113:51958->192.168.3.1:53: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://us.nettt.xyz/serv):  > dial tcp: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://us.nettt.xyz/serv):  > dial tcp: operation was canceled] > v2ray.com/core/common/retry: all retry attempts failed

这个ip：192.168.3.1:53 如何获取的

这个ip：192.168.3.1:53 如何获取的

这是你网关作为本地DNS了吧，cat /etc/resolv.conf

cat /etc/resolv.conf

感谢就是这个问题，已经解决

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Updated to be compatible with bashio

Updated to use bashio library. (Fixing: Failed to create server: Invalid host name)
Fixed '/libasound_module_pcm_pulse.so: No such file or directory' issue.
Updated to use latest hassioaddons/base:8.0.1.
Changes were testing on a rpi3.

Hi,
I use rpi3+, Hassio Home Assistant 0.113.3
I have updated the latest addon
avahi-daemon 0.7 exiting.
./run: line 7: /usr/lib/hassio-addons/base.sh: No such file or directory
./run: line 16: hass.debug: command not found
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
Failed to create server: Invalid host name
avahi-daemon 0.7 exiting.
./run: line 7: /usr/lib/hassio-addons/base.sh: No such file or directory
./run: line 16: hass.debug: command not found
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
Failed to create server: Invalid host name
avahi-daemon 0.7 exiting.
./run: line 7: /usr/lib/hassio-addons/base.sh: No such file or directory
./run: line 16: hass.debug: command not found
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
Failed to create server: Invalid host name
avahi-daemon 0.7 exiting.
./run: line 7: /usr/lib/hassio-addons/base.sh: No such file or directory
./run: line 16: hass.debug: command not found
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
Failed to create server: Invalid host name
avahi-daemon 0.7 exiting.
./run: line 7: /usr/lib/hassio-addons/base.sh: No such file or directory
./run: line 16: hass.debug: command not found
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
Failed to create server: Invalid host name
avahi-daemon 0.7 exiting.
./run: line 7: /usr/lib/hassio-addons/base.sh: No such file or directory
./run: line 16: hass.debug: command not found
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
Failed to create server: Invalid host name
avahi-daemon 0.7 exiting.
./run: line 7: /usr/lib/hassio-addons/base.sh: No such file or directory
./run: line 16: hass.debug: command not found
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
Failed to create server: Invalid host name
avahi-daemon 0.7 exiting.
./run: line 7: /usr/lib/hassio-addons/base.sh: No such file or directory
./run: line 16: hass.debug: command not found
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
Failed to create server: Invalid host name
avahi-daemon 0.7 exiting.
./run: line 7: /usr/lib/hassio-addons/base.sh: No such file or directory
./run: line 16: hass.debug: command not found
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
Failed to create server: Invalid host name
avahi-daemon 0.7 exiting.

Thanks for fixing it @adymanis I don't use this addon myself anymore so I was struggling to find time for that.

source: gharchive/pull-request

authors: adymanis v3rm0n vudev


text:
Forgot password button is not visible in bakery app

Hi,
I am trying to learn the  JAVA framework. In the source code of vaadin bakery app, there is call to setForgotPasswordButtonVisible(true); in the constructor of LoginView.java. But no forgot password button is shown in the app.

Hello @sudipta1411,
If you take a look to the code before the call you mentioned, there's one i18n.setForm(new LoginI18n.Form());, which basically creates an empty object and that's why no text is being set to the i18n.form.forgotPassword property, therefore causing it to show empty on the page (you can even inspect that the button is present there).
You can either remove the line i18n.setForm(new LoginI18n.Form()); or make a call to i18n.getForm().setForgotPassword("button text");.

Ok. Thanks for replying. I have inspected that. I thought it was the default behaviour

repo: vaadin/vaadin-login


text:
Update and verify directions for getting running on M1.

@danpopnyc
Ok, went through and verified with a clean install.
Signed-off-by: Ville Aikas vaikas@chainguard.dev

seeing an issue with the mysql image

machine is running no issues after running new steps! :)

Woot Woot, and just to double-check, the error with mysql not coming up was running with release.yaml vs. release-arm.yaml?

correct.  runs perfectly after changing to release-arm.yaml

Visual confirmation

authors: danpopnyc vaikas

repo: vaikas/sigstore-scaffolding


text:
Simple loading of trees from json and refreshing.

Hi,
I've set up a minimal example where I get some json
data and initialize a jstree with it.
The data is coming from a file which is selected using
an input field, so I would like to update the tree whenever
I specify the name of a new file. My code looks as follows.
var filename = document.getElementById("filename").value;
$.getJSON(filename, function(json) {

    console.log(json);

    $("#tree")
    .jstree({
        "core" : {
            "themes" : {
                "stripes" : false,
                "dots" : true
            },
            "check_callback" : true,
            "data" : json
        },
        "plugins" : [ ]
    });

    var tree = $('#tree').jstree(true);
    tree.refresh();
});

The problem is that it works only the first time, then it seems to not refresh.
The console.log shows that the json data is there correctly.
I just do not know how to refresh the tree with the new data.
I have searched the web and found that many people experienced the same issue
but I was not able to find a working solution.
Please help, thanks.
-Giulio

This is not jstree related, but anyway:
You have initialized the tree with some static JSON, so when you refresh it - it will still be the same. If you want to use a new JSON - either recreate the whole tree with the new JSON (instead of invoking refresh), or set core.data to a function, which in turn checks the input value, loads the file and returns the new JSON.

Thanks for the reply, but how do I recreate the tree with the new json?
Can you provide an example?

authors: jermp vakata

repo: vakata/jstree

license: mit

license_source: bigquery


text:
Visibility Layers

Objective
The objective of this PR is to solve the following problems with a holistic redesign of instances.
Closes #342, #362, but deviates greatly from the solution described in the issue.

If an entity is within the view distance of a client, packets for that entity are sent to the client unconditionally. However, there is often a need to limit the visibility of entities to certain clients depending on the situation. Some examples:

You have a minigame with spectators and players. Spectators can see both players and spectators, but players can only see players and not spectators.
An entity or set of entities is used as a makeshift GUI, only visible to the client using the GUI.
The server has many separate "arenas" that have identical chunk data, and you wish to share the chunk data across arenas to save memory.
You want to make a player truly invisible and potentially have some other entity take its place.

It is possible to work around the problem by using invisibility effects or sending packets manually. But these are hacky solutions that are incomplete, inefficient, and inconvenient.

Updating clients involves looking up every chunk in the client's view distance every tick for every client. This wastes CPU time and doesn't scale well with larger view distances[^1].

Sometimes we want to broadcast packets to all clients matching some condition. Conditions could include...

If a chunk position is within the client's view.
If the client is within a certain radius of some position.
If the client is not some specific client (self exclusion).

It isn't really possible to add all of these conditions in an efficient way using the current design.

Solution
Split the existing Instance component into two new components: ChunkLayer and EntityLayer. Chunk layers contain all of the chunks in a world along with some global configuration, like the world's dimension. Entity layers contain Minecraft entities. A LayerBundle containing both is provided for convenience. Both ChunkLayer and EntityLayer implement the common Layer trait.
The key idea is this: Clients can only view one chunk layer[^2], but can view any number of entity layers. These are the VisibleChunkLayer and VisibleEntityLayers components respectively. The client will receive entity packets from only the layers it can see. Clients can add and remove entity layers at any time to spawn and despawn the entities in the layer.
Every layer contains a "message buffer" for broadcasting information to all viewers. Every message contains a "key" and a payload of bytes (its meaning depends on the message). Clients walk through the list of messages (parallelized over all clients) and use this to update themselves.
There are a few things done to make this faster:

The messages are sorted by their "key" and then deduplicated by merging payloads together. For instance, messages sending packet data on the condition that a certain chunk position is in view will be merged together if the chunk position is the same. Now there's only one memcpy instead of two.
Messages are split into two categories: "global" and "local". Local messages are those that have some spatial condition to them. Local messages are put in a bounding volume hierarchy so that large swaths of messages do not need to be examined by clients.

TODOs

[ ] More unit tests and fix bugs.
[x] Add missing docs.
[ ] Reimplement valence_anvil.
[ ] Reimplement weather module.
[ ] Reimplement valence_world_border.

[^1]: At least the work is completely parallelized ¯\_(ツ)_/¯.
[^2]: Viewing multiple chunk layers has some technical problems and I don't see it as a design worth pursuing.

I'm working on a capture the flag example to try out the API. I'll post it as a PR when it's done.

I'v made a simple example for though who want :
Playground

code
use std::f64::consts::TAU;

use glam::{DQuat, EulerRot};
use valence::client::despawn_disconnected_clients;
use valence::log::LogPlugin;
use valence::network::ConnectionMode;
use valence::prelude::*;

#[allow(unused_imports)]
use crate::extras::*;

type SpherePartBundle = valence::entity::cow::CowEntityBundle;

const SPHERE_CENTER: DVec3 = DVec3::new(0.5, SPAWN_POS.y as f64 + 2.0, 0.5);
const SPHERE_AMOUNT: usize = 200;
const SPHERE_MIN_RADIUS: f64 = 6.0;
const SPHERE_MAX_RADIUS: f64 = 12.0;
const SPHERE_FREQ: f64 = 0.5;

const SPAWN_POS: BlockPos = BlockPos::new(0, 100, -16);

/// Marker component for entities that are part of the sphere.
#[derive(Component)]
struct SpherePart;

#[derive(Component)]
struct Main;

#[derive(Component)]
struct LayerSwitcherState(bool);

#[derive(Component)]
struct LayerSwitcherPos(BlockPos);

#[derive(Bundle)]
struct LayerSwitcherBundle {
    state: LayerSwitcherState,
    pos: LayerSwitcherPos,
    layer: EntityLayerId,
}

impl LayerSwitcherBundle {
    fn new(layer: EntityLayerId, pos: BlockPos) -> Self {
        Self {
            state: LayerSwitcherState(false),
            pos: LayerSwitcherPos(pos),
            layer,
        }
    }
}

const LAYER_SWITCHERS_POS: [BlockPos; 4] = [
    BlockPos::new(-1, SPAWN_Y, -1),
    BlockPos::new(1, SPAWN_Y, -1),
    BlockPos::new(-1, SPAWN_Y, 1),
    BlockPos::new(1, SPAWN_Y, 1),
];

const SPAWN_Y: i32 = 64;

pub fn build_app(app: &mut App) {
    app.insert_resource(NetworkSettings {
        connection_mode: ConnectionMode::Offline,
        ..Default::default()
    })
    .add_plugins(DefaultPlugins.build().disable::<LogPlugin>())
    .add_systems(Startup, setup)
    .add_systems(EventLoopUpdate, (update_sphere, update_visible_layers))
    .add_systems(Update, (init_clients, despawn_disconnected_clients))
    .run();
}

fn setup(mut commands: Commands, server: Res<Server>) {
    commands.spawn((EntityLayer::new(&server), Main));

    // Spawn 4 EntityLayers, one for each quadrant and get there IDs.
    let layer_ids = (0..4)
        .map(|_| commands.spawn(EntityLayer::new(&server)).id())
        .collect::<Vec<_>>();

    // Setup layers switchers.
    // create a bundle layer switcher with there positions.
    let layer_switchers = [
        LayerSwitcherBundle::new(EntityLayerId(layer_ids[0]), LAYER_SWITCHERS_POS[0]),
        LayerSwitcherBundle::new(EntityLayerId(layer_ids[1]), LAYER_SWITCHERS_POS[1]),
        LayerSwitcherBundle::new(EntityLayerId(layer_ids[2]), LAYER_SWITCHERS_POS[2]),
        LayerSwitcherBundle::new(EntityLayerId(layer_ids[3]), LAYER_SWITCHERS_POS[3]),
    ];

    // Spawn the layer switchers.
    commands.spawn_batch(layer_switchers);

    commands.spawn_batch([0; SPHERE_AMOUNT].iter().enumerate().map(move |(i, _)| {
        (
            SpherePartBundle {
                layer: EntityLayerId(layer_ids[i % 4]),
                ..Default::default()
            },
            SpherePart,
        )
    }));
}

fn init_clients(
    mut commands: Commands,
    server: Res<Server>,
    biomes: Res<BiomeRegistry>,
    dimensions: Res<DimensionTypeRegistry>,
    mut clients: Query<
        (
            &mut EntityLayerId,
            &mut VisibleChunkLayer,
            &mut VisibleEntityLayers,
            &mut Position,
            &mut GameMode,
        ),
        Added<Client>,
    >,
    main_entity_layer: Query<Entity, (With<EntityLayer>, With<Main>)>,
) {
    for (
        mut layer_id,
        mut visible_chunk_layer,
        mut visible_entity_layers,
        mut pos,
        mut game_mode,
    ) in &mut clients
    {
        let entity_layer = main_entity_layer.single();

        let mut chunk_layer = ChunkLayer::new(ident!("overworld"), &dimensions, &biomes, &server);
        init_chunk_layer(&mut chunk_layer);
        let chunk_layer_id = commands.spawn(chunk_layer).id();

        layer_id.0 = entity_layer;
        visible_chunk_layer.0 = chunk_layer_id;
        visible_entity_layers.0.insert(entity_layer);
        pos.set([0.0, SPAWN_Y as f64 + 1.0, 0.0]);
        *game_mode = GameMode::Creative;
    }
}

fn init_chunk_layer(chunk_layer: &mut ChunkLayer) {
    for z in -5..5 {
        for x in -5..5 {
            chunk_layer.insert_chunk([x, z], UnloadedChunk::new());
        }
    }

    for z in -25..25 {
        for x in -25..25 {
            chunk_layer.set_block([x, SPAWN_Y, z], BlockState::GRASS_BLOCK);
        }
    }

    // set_block the redstone lamps.
    for pos in LAYER_SWITCHERS_POS.iter() {
        chunk_layer.set_block(*pos, BlockState::REDSTONE_LAMP);
    }
}

// Add more systems here!

fn update_visible_layers(
    mut dig_events: EventReader<DiggingEvent>,
    mut clients: Query<(&mut VisibleEntityLayers, &VisibleChunkLayer)>,
    mut layer_switchers: Query<(&mut LayerSwitcherState, &EntityLayerId, &LayerSwitcherPos)>,
    mut chunk_layers: Query<&mut ChunkLayer>,
) {
    for dig_event in dig_events.iter() {
        for (mut state, layer, pos) in layer_switchers.iter_mut() {
            if pos.0 == dig_event.position {
                state.0 = !state.0;
                if let Ok((mut layers, chunk_layer_id)) = clients.get_mut(dig_event.client) {
                    if let Ok(mut chunk_layer) = chunk_layers.get_mut(chunk_layer_id.0) {
                        chunk_layer.set_block(
                            pos.0,
                            BlockState::REDSTONE_LAMP.set(
                                PropName::Lit,
                                if state.0 {
                                    PropValue::True
                                } else {
                                    PropValue::False
                                },
                            ),
                        );
                    }

                    if state.0 {
                        layers.0.insert(layer.0);
                    } else {
                        layers.0.remove(&layer.0);
                    }
                }
            }
        }
    }
}

fn update_sphere(
    settings: Res<CoreSettings>,
    server: Res<Server>,
    mut parts: Query<(&mut Position, &mut Look, &mut HeadYaw), With<SpherePart>>,
) {
    let time = server.current_tick() as f64 / settings.tick_rate.get() as f64;

    let rot_angles = DVec3::new(0.2, 0.4, 0.6) * SPHERE_FREQ * time * TAU % TAU;
    let rot = DQuat::from_euler(EulerRot::XYZ, rot_angles.x, rot_angles.y, rot_angles.z);

    let radius = lerp(
        SPHERE_MIN_RADIUS,
        SPHERE_MAX_RADIUS,
        ((time * SPHERE_FREQ * TAU).sin() + 1.0) / 2.0,
    );

    for ((mut pos, mut look, mut head_yaw), p) in
        parts.iter_mut().zip(fibonacci_spiral(SPHERE_AMOUNT))
    {
        debug_assert!(p.is_normalized());

        let dir = rot * p;

        pos.0 = SPHERE_CENTER + dir * radius;
        look.set_vec(dir.as_vec3());
        head_yaw.0 = look.yaw;
    }
}

/// Distributes N points on the surface of a unit sphere.
fn fibonacci_spiral(n: usize) -> impl Iterator<Item = DVec3> {
    let golden_ratio = (1.0 + 5_f64.sqrt()) / 2.0;

    (0..n).map(move |i| {
        // Map to unit square
        let x = i as f64 / golden_ratio % 1.0;
        let y = i as f64 / n as f64;

        // Map from unit square to unit sphere.
        let theta = x * TAU;
        let phi = (1.0 - 2.0 * y).acos();
        DVec3::new(theta.cos() * phi.sin(), theta.sin() * phi.sin(), phi.cos())
    })
}

fn lerp(a: f64, b: f64, t: f64) -> f64 {
    a * (1.0 - t) + b * t
}

@Bafbi I'm unable to reproduce the desync you're seeing using your example. I've repeatedly hit the lamps in different ways and everything seems OK so far. What steps did you do to arrive at the screenshot?

@rj00a ngl, I have no idea, I couldn't reproduce it either but I'm sure it was with this code.

Something I would also really like to have is the possibility to put directly the Entity of a client  in the EntityLayerId component, that would mean that only this client can see this entity. This would be much more practical than to having to manage a layer for each client.

I put what I have so far for the ctf exmaple in #426.
Currently, there is a bug where new players on a team are unable to see existing players. I don't think I'm doing anything too weird in the team joining system, so I'm inclined to think it could be a bug in this PR.
Also, it would be nice if we could make cloning entities to other layers a bit easier. Something where it clones the entity's appearance as it currently is, and then only updates position, rotation, etc automatically.

Something I would also really like to have is the possibility to put directly the Entity of a client in the EntityLayerId component

If you insert an EntityLayer component on the client itself, you will get exactly the behavior you're looking for.

Also, it would be nice if we could make cloning entities to other layers a bit easier. Something where it clones the entity's appearance as it currently is, and then only updates position, rotation, etc automatically.

The flecs ECS library has a feature that lets you inherit components from other entities. It uses a special relationship the query engine understands, called IsA. Components from the child entity take precedence over the parent entity. https://ajmmertens.medium.com/a-roadmap-to-entity-relationships-5b1d11ebb4eb#cc02
The bevy devs have plans to add entity relationships to bevy_ecs so we might be getting this feature in the near future. Once it's in, I don't think there's anything special we need to do on our end to make this work.

The visibility bug that's happening in the ctf example is happening because the packets to create the new entity with the same uuid arrive before the destroy packets for the old ones.

The visibility bug that's happening in the ctf example is happening because the packets to create the new entity with the same uuid arrive before the destroy packets for the old ones.

Should be fixed now. This also fixed the issue where cows were disappearing in the cow sphere example 😃

Just rebased the ctf example, I can confirm it's fixed.

Alright, this should be ready to go.
@dyc3 If you'd like to merge the ctf example we can do that now.

Hmm mysterious CI failures.

The CI failures might be related to Testing many_players. Maybe it's getting OOM killed?

repo: valence-rs/valence


text:
Python client has missing exports

Describe the bug
Some symbols aren't exported, so not available for a user
Expected Behavior
.
Current Behavior
.
Reproduction Steps
.
Possible Solution
No response
Additional Information/Context
No response
Client version used
1.1
Engine type and version
N/A
OS
N/A
Language
Python
Language Version
N/A
Cluster information
No response
Logs
No response
Other information
No response

@Yury-Fridlyand please verify the list of exports required for the Python release.  We need to define the list of Symbols required for the release in this issue.  Symbols like the BaseClient and BaseTransaction are not required.

There must be a better way to indicate that than run tests.

Any ideas? Please post in the PR.

What about generating a list of exported Symbols from all *.py files (with the exception of protobuf) and comparing with the __init__.py list.  It's possible that we're missing Symbols in the IT tests.
cc: @ikolomi

That's almost what I did semi-manually. I used imports in tests as a reference.

Is it possible to use import from glide and import from glide.file?
The test can't use glide as a complete module?

@Yury-Fridlyand
can you attach the output of that test in to a txt and attach it here?

BitFieldGet
BitFieldIncrBy
BitFieldOverflow
BitFieldSet
BitmapIndexType
BitOffset
BitOffsetMultiplier
BitOverflowControl
BitwiseOperation
OffsetOptions
SignedEncoding
UnsignedEncoding
ClosingError
RequestError
Script
Limit
ListDirection
ConditionalChange
ExpireOptions
ExpiryGetEx
ExpirySet
ExpiryType
ExpiryTypeGetEx
FlushMode
FunctionRestorePolicy
InfBound
InfoSection
InsertPosition
UpdateOptions
OrderBy
AggregationType
GeoSearchByBox
GeoSearchByRadius
GeoSearchCount
GeospatialData
GeoUnit
InfBound
LexBoundary
RangeByIndex
RangeByLex
RangeByScore
ScoreBoundary
ScoreFilter
ExclusiveIdBound
IdBound
MaxId
MinId
StreamAddOptions
StreamClaimOptions
StreamGroupOptions
StreamPendingOptions
StreamReadGroupOptions
StreamReadOptions
TrimByMaxLen
TrimByMinId
ClusterTransaction
Transaction
GlideClientConfiguration
GlideClusterClientConfiguration
ProtocolVersion
ServerCredentials
OK
TimeoutError
TEncodable
TFunctionStatsSingleNodeResponse
TResult
GlideClient
GlideClusterClient
TGlideClient
AllNodes
AllPrimaries
ByAddressRoute
RandomNode
Route
SlotIdRoute
SlotKeyRoute
SlotType
BaseClientConfiguration
GlideClusterClientConfiguration
NodeAddress
PeriodicChecksManualInterval
PeriodicChecksStatus
ReadFrom
CoreCommands
GlideClientConfiguration
GlideClusterClientConfiguration
ProtocolVersion
OK
TEncodable
ConfigurationError
BaseClient
GlideClient
GlideClusterClient
TGlideClient
ClusterScanCursor
ObjectType
ProtocolVersion
RequestError
GlideClient
GlideClusterClient
BitFieldGet
BitFieldSet
BitmapIndexType
BitOffset
BitOffsetMultiplier
BitwiseOperation
OffsetOptions
SignedEncoding
UnsignedEncoding
Limit
ListDirection
OrderBy
ExpiryGetEx
ExpiryTypeGetEx
FlushMode
FunctionRestorePolicy
InsertPosition
AggregationType
GeoSearchByBox
GeoSearchByRadius
GeospatialData
GeoUnit
InfBound
LexBoundary
OrderBy
RangeByIndex
ScoreBoundary
ScoreFilter
IdBound
MaxId
MinId
StreamAddOptions
StreamClaimOptions
StreamGroupOptions
StreamReadGroupOptions
TrimByMinId
BaseTransaction
ClusterTransaction
Transaction
ProtocolVersion
OK
TResult
TSingleNodeRoute
SlotIdRoute
SlotType
GlideClient
GlideClusterClient
TGlideClient
Level
Logger

what about json.py?  We aren't exporting any commands from json.py

This is a superset of all (i believe) symbols that the python wrapper has. Each symbols should be examined and exported if required by the interface:
`(.env) ikolomin@u2d2e243c3f8c57:~/valkey-glide/python/python/glide$ python print_symbols.py
Symbol Table for: ./routes.py
Scope: module - top
Symbols: ['SlotType', 'Route', 'AllNodes', 'AllPrimaries', 'RandomNode', 'SlotKeyRoute', 'SlotIdRoute', 'ByAddressRoute']
Symbol Table for: ./glide_client.py
Scope: module - top
Symbols: ['BaseClient', 'GlideClusterClient', 'GlideClient', 'TGlideClient']
Symbol Table for: ./protobuf_codec.py
Scope: module - top
Symbols: ['ProtobufCodec', 'PartialMessageException', 'Exception']
Symbol Table for: ./exceptions.py
Scope: module - top
Symbols: ['GlideError', 'Exception', 'ClosingError', 'RequestError', 'TimeoutError', 'ExecAbortError', 'ConnectionError', 'ConfigurationError']
Symbol Table for: ./logger.py
Scope: module - top
Symbols: ['Level', 'Logger']
Symbol Table for: ./init.py
Scope: module - top
Symbols: ['PubSubMsg']
Symbol Table for: ./constants.py
Scope: module - top
Symbols: ['OK', 'DEFAULT_READ_BYTES_SIZE', 'T', 'TOK', 'TResult', 'TRequest', 'TClusterResponse', 'TSingleNodeRoute', 'TJsonResponse', 'TEncodable', 'TFunctionListResponse', 'TFunctionStatsSingleNodeResponse', 'TFunctionStatsFullResponse', 'TXInfoStreamResponse', 'TXInfoStreamFullResponse']
Symbol Table for: ./config.py
Scope: module - top
Symbols: ['NodeAddress', 'ReadFrom', 'ProtocolVersion', 'BackoffStrategy', 'ServerCredentials', 'PeriodicChecksManualInterval', 'PeriodicChecksStatus', 'BaseClientConfiguration', 'GlideClientConfiguration', 'GlideClusterClientConfiguration']
Symbol Table for: ./async_commands/transaction.py
Scope: module - top
Symbols: ['TTransaction', 'BaseTransaction', 'Transaction', 'ClusterTransaction']
Symbol Table for: ./async_commands/stream.py
Scope: module - top
Symbols: ['StreamTrimOptions', 'TrimByMinId', 'TrimByMaxLen', 'StreamAddOptions', 'StreamRangeBound', 'MinId', 'MaxId', 'IdBound', 'ExclusiveIdBound', 'StreamReadOptions', 'StreamGroupOptions', 'StreamReadGroupOptions', 'StreamPendingOptions', 'StreamClaimOptions']
Symbol Table for: ./async_commands/cluster_commands.py
Scope: module - top
Symbols: ['ClusterCommands']
Symbol Table for: ./async_commands/bitmap.py
Scope: module - top
Symbols: ['BitmapIndexType', 'OffsetOptions', 'BitwiseOperation', 'BitEncoding', 'SignedEncoding', 'UnsignedEncoding', 'BitFieldOffset', 'BitOffset', 'BitOffsetMultiplier', 'BitFieldSubCommands', 'BitFieldGet', 'BitFieldSet', 'BitFieldIncrBy', 'BitOverflowControl', 'BitFieldOverflow']
Symbol Table for: ./async_commands/init.py
Scope: module - top
Symbols: []
Symbol Table for: ./async_commands/sorted_set.py
Scope: module - top
Symbols: ['InfBound', 'AggregationType', 'ScoreFilter', 'ScoreBoundary', 'LexBoundary', 'RangeByIndex', 'RangeByScore', 'RangeByLex', 'GeospatialData', 'GeoUnit', 'GeoSearchByRadius', 'GeoSearchByBox', 'GeoSearchCount']
Symbol Table for: ./async_commands/standalone_commands.py
Scope: module - top
Symbols: ['StandaloneCommands']
Symbol Table for: ./async_commands/command_args.py
Scope: module - top
Symbols: ['Limit', 'OrderBy', 'ListDirection', 'ObjectType']
Symbol Table for: ./async_commands/core.py
Scope: module - top
Symbols: ['ConditionalChange', 'ExpiryType', 'ExpiryTypeGetEx', 'InfoSection', 'ExpireOptions', 'UpdateOptions', 'ExpirySet', 'ExpiryGetEx', 'InsertPosition', 'FlushMode', 'FunctionRestorePolicy', 'CoreCommands']
Symbol Table for: ./async_commands/server_modules/json.py
Scope: module - top
Symbols: ['JsonGetOptions']`
Produced by the following code:
`import os
import fnmatch
import symtable
Function to print only module-level symbols, excluding those starting with '_', lowercase letters, or imported symbols
def print_module_symbols(table):
if table.get_type() == 'module':
# Filter symbols to exclude those starting with _ or lowercase letters, and imports
symbols = [
s.get_name() for s in table.get_symbols()
if not (s.get_name().startswith('_') or s.get_name()[0].islower() or s.is_imported())
]
print(f"Scope: {table.get_type()} - {table.get_name()}")
print(f"Symbols: {symbols}")
Function to process a single Python file
def process_python_file(file_path):
with open(file_path, 'r') as f:
code = f.read()
try:
    # Create a symbol table for the file
    symbol_table = symtable.symtable(code, file_path, 'exec')

    # Print only the module-level symbol table
    print(f"\nSymbol Table for: {file_path}")
    print_module_symbols(symbol_table)
except Exception as e:
    print(f"Error processing {file_path}: {e}")

Get the path of the running script
current_file = os.path.abspath(file)
Walk through the current directory and subdirectories, ignoring .env, protobuf, and the running file
for root, dirs, files in os.walk('.', topdown=True):
# Exclude the .env and protobuf directories
dirs[:] = [d for d in dirs if d not in ['.env', 'protobuf']]
# Process each Python file (*.py), excluding the running script
for file_name in fnmatch.filter(files, '*.py'):
    file_path = os.path.join(root, file_name)

    # Ignore the current running file
    if os.path.abspath(file_path) == current_file:
        continue

    process_python_file(file_path)

`

I manually cleaned output from @ikolomi's script and feed into my script, so those are missing in python/python/glide/__init__.py:
BaseClient
BaseTransaction
ClusterCommands
DEFAULT_READ_BYTES_SIZE
Exception
JsonGetOptions
Level
Logger
ObjectType
PartialMessageException
ProtobufCodec
Route
StandaloneCommands
T
TClusterResponse
TEncodable
TFunctionListResponse
TFunctionStatsFullResponse
TFunctionStatsSingleNodeResponse
TGlideClient
TJsonResponse
TOK
TRequest
TResult
TSingleNodeRoute
TTransaction
TXInfoStreamFullResponse
TXInfoStreamResponse

My PR includes most of these, but I intentionally skipped json-related things. Should I include them?

authors: Yury-Fridlyand acarbonetto avifenesh ikolomi

repo: valkey-io/valkey-glide


text:
🛑 PMANG is down

In 8544260, PMANG (https://www.pmang.jp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PMANG is back up in cd1c0e1 after 1 hour, 50 minutes.

repo: valofe/upptime


text:
The app crashes when the user taps on the “Moonpay” link on the “Add Funds” screen.

Frequency: 100%
Repro on build version: Android Internal Build V1.11.0(1004294337)
Does not repro version Test Flight Build V1.11.0(47)
Repro on devices: Samsung Galaxy A5(7.0),  Samsung Galaxy J7 pro (8.0)
Does not repro devices iPhone XR(14.4)
Testing Account:   (+49) 4976 78 / Backup Key
Pre-condition: Users should login with Germany Country phone number.
Repro Steps:

Launch the application & login with a test account.
Now tap on Hamburger Menu & tap on “Add & Withdraw” option.
Now go to the “Add Funds” section & select “Celo dollar(cUSD)” from Select digital Currency field & “Debit card or bank account” from Pay with field.
Now enter $20 in the amount field & tap on Next button.
Now tap on the Moonpay link.
Observed that,
Current Behavior:  The app crashes & the user gets blocked to complete the transaction.
Expected Behavior:  Users should be able to proceed transactions without any crash.
Impact: User gets blocked to complete the transaction.
Investigation: Also we have observed crashes when a user taps on the “Ramp” link on Add Funds screen.
Attachment: CrashOnMoonpay.mp4
Crash Log: celo_logs .txt

The above ticket is duplicate of https://github.com/valora-inc/wallet/issues/70

repo: valora-inc/wallet


text:
Load CLI config as a part of the context object

Is your feature request related to a problem? Please describe.
We use glocal CLI config on so many places so Instead of calling a load function everywhere we load and store the global CLI config as a part of the context object at the beginning
Describe the solution you'd like
Load and store the CLI config as object on Context class

This is a general refactor idea - closing as it is better discussed in a wider context

authors: DavidMinarsch angrybayblade

repo: valory-xyz/open-aea


text:
Detectron2 to Caffe

@zhiqwang

Why did you include the detectron2 tag in this repo
Have you converted detectron2 instance segmentation into caffe or onnx

Hi, @deepseek

Why did you include the detectron2 tag in this repo

I'm working in embedding detectron2 to this repo.

Have you converted detectron2 instance segmentation into caffe or onnx

Now I can convert ssd and its series model from pytorch to caffe using brocolli, but the pytorch version of inisis's 0.4.0, which is incompatible in most environment, I want to upgrade it to pytorch 1.3+ in this repo.

Thank!

authors: deepseek zhiqwang

repo: vanillapi/demonet


text:
Time reactive ui #9

created a night_time.html with a moon which when u hover over, winks at you
redirects to this page between 2am-5am and back to index.html after 5am
@vansh-codes

@vansh-codes i made some changes, is it possible to revert the merge?
i think it'll be better if i change the website to the moon winking when someone clicks the contact button during a given time
or do you like the way it is now? the whole website will change during the given time in the current code

Would be better if you create new PR

authors: hana-maria vansh-codes

repo: vansh-codes/ChaosWeb


text:
Update MicrosoftRouter endpoint

A recent PR added a few www prefixes to some providers endpoints; in the case of Microsoft, it breaks it.
This PR remove the invalid www from the Microsoft oAuth login host.

Hi, any chance to get this merged soon?

repo: vapor-community/Imperial


text:
Ksync watch crashes quite often after few minutes run

I was running ksync watch in foreground and it keeps crashing and have to manually restart it.
Crash is always due to some connection error that happens.
ERRO[0299] lost connection to cluster                    ContainerName=
LocalPath=/home/ubuntu/www/topaz LocalReadOnly=false Name=on-rodent Namespace=local Pod= Reload=false RemotePath=/topaz RemoteReadOnly=false Selector="[version=ad429a7-20190415-052641]"

Please suggest what could be the reason?
Can we add some auto restart in case of connection failures instead of aborts that happen. We can abort it when there have been n restarts due to connection issues in certain time or we should leave this for the user to manage by some other systemd or supervisor process?

Looks like you have a shaky connection to your cluster. The connection code has to maintain sockets and does do re-tries before failing. As you saw, cycling the process recreates the connection, so placing it under process management should give you more resiliency in this case.

I see the time to crash after a exact interval. Is it because of some configuration issue in Kubernetes. Something automatically times out and closes connection? Like kubectl exec has a timeout which kicks you out of shell.
I am in AWS, provisioned the cluster using kops.

Hmm, good question. It would be hard to say what it is exactly without looking at your setup.

Happening in many in our company. Any way i can print some error in code and find out the reason for loss? Anyway to debug?

That makes sense, you may want to look at some of the other issues/docs that address this. TL;DR is that you might want to use a process supervisor.
Related to the final point here https://github.com/vapor-ware/ksync#troubleshooting

@timfallmk @grampelberg Around 30 developers are using ksync for local development. And every one of them have complained about the crash. We should really find the root cause and fix it.
ERRO[0505] lost connection to cluster                    ContainerName= LocalPath=/Users/alok87/code/practo/heimdall LocalReadOnly=true Name=heimdall Namespace=bug Pod= Reload=false RemotePath=/www/app RemoteReadOnly=false Selector="[product=heimdall]"

I'd bet that there's something related to keep-alive and how you've got the connection configured to your remote cluster. ksync isn't doing anything special with that connection, so maybe some looking around at client-go watches getting timed out would help?
The easiest solution to this is what @timfallmk suggests - just have the OS restart watch. It was kinda meant to do that to begin with. If you're on OSX, watch can be added to launchctl or systemd if you're on linux.

authors: alok87 grampelberg timfallmk

repo: vapor-ware/ksync


text:
JobData naming collision warning

We should provide a console warning when multiple jobs are registered with the same JobData name to help prevent collisions during decoding.

Fixed in #8

repo: vapor/jobs


text:
acecore DM support

acecore cant be used in DMs yet. has to be fixed also checking if the guild id is present and if not disable a few commands in DMs

maybe also adding a bool to the command structure if it should even be registered with the empty string that makes it global (also DMs then) but if not it could make the command registering a lot faster eliminating rate limits

repo: vaporvee/acecore


text:
Frames are being dropped due to low threshold.

Looking to improve the data points we get after processing thresholds.
Looks like some frames are lost due to threshold being small.
Also, trying to see if we can improve on accuracy. Not sure if this is a issue. Would be good to benchmark the outcome.

@vardanagarwal - Let me know your thoughts on how we can proceed. I do see an accuracy issue as well.
Looking at 2 use cases.

Still video
Video with predetermined movement

I have tried changing the
thresh = cv2.erode(thresh, None, iterations=20)
thresh = cv2.dilate(thresh, None, iterations=20)
thresh = cv2.medianBlur(thresh, 3)

As I increase the iterations, I do see that I get a lot more data points. The accuracy seem to be looked at.

I guess we can create some videos and manually annotate them first. This would make the benchmarking process much easier. Then we can find some metrics like MIOU with different processing operations to find the best one.
For the thresholding portion, the first thing I will do is to separate the thresholds for the left and right eye as if the lighting is on one side then it highly impacts it. The next thing we can do to automate the thresholds is to use some type of calibration function which would check various thresholds and find the most suitable one.

Any ideas on how to collaborate better? I am in PST.

I am sorry I don't know the full form of PST. I have added a video in the folder eye_tracker. Along with that, you can find its annotations having points for the center of the eyeballs.
Regarding collaboration, do you have any ideas with which we can move forward.

My bad. PST stands for Pacific Standard Time. I will look at the sample video you have added.

The video looks great but looks like it has too many variations. I can create a PR with a simpler video with no head tilt and just simple eye movements.

Okay, that will work.

@vardanagarwal - Please take a look at this - https://github.com/ctippur/Proctoring-AI/tree/master/eye_tracking. If it is ok, I can create a PR.

Yeah it is okay.

PR - https://github.com/vardanagarwal/Proctoring-AI/pull/26
Feel free to merge. I have added some rough benchmarking that we can try and validate.

@vardanagarwal Thanks for merging.
Here is what I did so far.

Changed to read from file

cap = cv2.VideoCapture("eye_tracking/center_left_center.mp4")

Rotate the image after reading

frame_count=0
frame_max_count=int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
right_x=[]
right_y=[]
left_x=[]
left_y=[]
while(frame_count < 10):
    ret, img = cap.read()

    if ret is False:
        img=cv2.rotate(img, cv2.ROTATE_90_CLOCKWISE)

Changed contouring to return cx and cy

Observation:
Interestingly, process_thresh seem to be processing be frames that what I have input. I am controlling the frames to restrict to just 10. I seem to be getting 20 cx's
S

Observation#2:
if I remove ```cv2.createTrackbar('threshold', 'image', 75, 255, nothing)
```countouring ``` returns None.

@vardanagarwal let me know if we can go on a call or webex (I can set it up)

Yeah sure! We can do that. I'll explain the code to you as well of how it working at the moment.

@vardanagarwal I have tried to reach out to you on LinkedIn. Hope I reached the right person.

please upload the requirements file for this project, and noted in readme file " what python version in used "

I am unable to get this project to run perfectly. Can anybody give me the steps to run ?

authors: Havish123 ctippur rushabh-wadkar vardanagarwal

repo: vardanagarwal/Proctoring-AI


text:
Search bar bug

Issue reference:
Search Bug Filter issue resolved. #11
Proposed changes:
The Search Bar was previously working if you type all lower case which is not the expected behavior. I have fixed 2 issues:

Filter products irrespective of case.

Filter products if the search string is a substring of the product's name.

Type of change:

[ ] Bug fix (non-breaking change which fixes an issue)

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented on my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings

Current working behavior.

Why did you update the react-scripts dependencies 🤔 Is there any problem starting the dev-server?
I can see you added some new lines to the components and files. Now two things:

You should follow the existing code style.
Why are you doing changes in the files where it is not required? The files src/components/Contact/index.js and src/components/context/filter_context.js have nothing to do with the actual filter logic. The only file that was meant to be changed was the filter_reducer.js
Also try to comment only on the parts which are hard to understand. Array.includes() is very common and doesn't need to be commented 👍

Now,

Remove the extra lines in the above files I mentioned.
Remove the comment you added in the reducer.
Also, If there is a problem with the dependencies, create a new issue. For now, just revert that 👍.

Okay, I do the required changes I did update the react-scripts because in my local machine it was not working. Ok, I do as instructed.

What was the issue?

The local server was failing to run.

Wait then, let me check.

Should I make the changes that you asked for and again commit ??

wait for now, let me check the issue 👍

Hmm, since react-scripts@5 is not causing any breaking change, we can have that, no need to change.
Also I have tested the PR, works fine 👍
Just make the other changes 👍

Okay

Hey, I have made the commits. Have a look and thanks for the opportunity

@sagnik2001 comments bhi to hatana tha 🙂

Done, sorry missed out that previously thanks

Great 🎉, Thanks for your contribution @sagnik2001
Stay tuned, more issues will be added. Also, if you find anything that could be improved, create an issue 👍
Also, the backend and the admin panel will soon be added, I'll be happy to see you contributing to them too 😅
You can join the discord channel also (finally we have it now 😅)
Happy contributing 🥳


text:
npm ERR! Missing script: "frontend-build-all"

RazorSvelte.csproj in the Carbon UI template
<PreBuildEvent>npm run frontend-build-all --color=always</PreBuildEvent>
should be changed to
<PreBuildEvent>npm run fe-build-all --color=always</PreBuildEvent>

I don't maintain the Carbon UI template anymore. It's just an example. The master branch contains a modified Bootstrap template which I do maintain.

repo: vb-consulting/RazorSvelte


text:
Замечание по аудиту

https://github.com/vbondarevsky/Connector/blob/1a8e8bccfe4457efd6ea0f9876431485751543c4/src/CommonModules/КоннекторHTTP/Ext/Module.bsl#L456
До выполнения метода Вычислить надо устанавливать безопасный режим всегда, иначе в кластере с включенными профилями безопасности будет выброшено исключение.

@vbondarevsky без условного вызова будет ошибка платформенной проверки на обращении к модулю, которого не существует в конфигурациях без БСП.
Проще УстновитьБезопасныйРежим(Истина) перед Вычислить поставить.

Читы)
Но выглядит прикольно.

repo: vbondarevsky/Connector


text:
Select number of jobs provided to Vivado

BUILD_JOBS = ?

Fixed in d6370abaee8dc87af609b6b81e5cbcb5d8b1c11f

repo: vborchsh/make-fpga


text:
Upgrading PHP to 7.1 / 7.2

Is there a preferred way to upgrade the environment to php 7.1 or php 7.2?
Currently php 7.0 is bundled with the box. According to http://php.net/supported-versions.php - 7.1 ends active support on Jan 1, 2019 which isn't terribly far away.
Thanks

+1

@lzivadinovic
Thanks for your clarification.
We will update it. (I am very happy if you can send PR. 😊 )

@miya0001 Its not a problem for me to write pre-step where php version could be read from site.yml and box configured according to selected version. What i dont like in that approach is that user first downloads vccw box with already installed php7.0 (https://github.com/vccw-team/vccw-xenial64/blob/master/provision/playbook.yml#L62 ) and then modifies that installation. Also, i really dont see the point in using pre-packed box at all it kills modularity if you want to, for example, change php version. Also its just a hassle to update box when bento/ubuntu-16.04 box is updated, you could simply use ubuntu/xenial64\bionic64 as base and do a provisioning here (only downside i see there is longer up time, by i guess no more than 2 minutes :) ) But its your approach.
If its ok for you to change php version while provisioning later on (i.e. setting up php version in site.yml in this repo) i could send you PR and i would be glad to contribute to project. Proposed soluion is following:

Add new environmental variable for selecting desired version of php from ondrej
Install and reconfigure php with appropriate php.ini for that specific version of php
if version of php is left at standard php7.0 i could just skip initial php install/configure role

Tell me if you agree on proposed solution and ill send you a PR in few days.

@Izivadinovic  @miya0001  @harkor  @jgraup
Guys, but how do we set what PHP to use in the default.yml ?  before we hit vagrant reload --provision?
That's the place to set it right?
using this doesint work,
composers:

phpunit/phpunit:7.3
squizlabs/php_codesniffer:~2.0
wp-coding-standards/wpcs:*

it just makes version like this:
7.0.26-2+ubuntu16.04.1+deb.sury.org+2

Try to see this solution if it works.
https://github.com/vccw-team/change-php-version

according to following article:
https://qiita.com/miya0001/items/2499917d7ec3bc905781
the solution is to execute following command on guest:
curl https://raw.githubusercontent.com/vccw-team/change-php-version/master/run.sh | bash -s -- 7.3

and create following file on "Vagrantfile" directory:
provision-post.sh
#! /usr/bin/env bash

set -ex

curl https://raw.githubusercontent.com/vccw-team/change-php-version/master/run.sh | bash -s -- 7.3

@harkor

If I update with apt-get install, use 7.2 instead of 7.0, restart apache, the mailcatcher doesn't work anymore.

You need to change the 'sendmail_path' as follows.
/etc/php/7.2/apache2/php.ini
sendmail_path = /usr/bin/env catchmail -f some@from.address
and
sudo service apache2 restart

according to following article:
https://qiita.com/miya0001/items/2499917d7ec3bc905781
the solution is to execute following command on guest:
curl https://raw.githubusercontent.com/vccw-team/change-php-version/master/run.sh | bash -s -- 7.3

and create following file on "Vagrantfile" directory:
provision-post.sh
#! /usr/bin/env bash

set -ex

curl https://raw.githubusercontent.com/vccw-team/change-php-version/master/run.sh | bash -s -- 7.3

Hi @amaguri1505 Just wondering if you know about what have happened to the Xdebug after updating the PHP. Because in my case, there is no Xdebug installed and I am having a hard time trying to figure out how to reconfigure the settings for it to work. If you have to know, do you mind sharing with me any helpful resources? Thank you!

I know this is old but I really need to figure out how to update php version so newer themes will run locally.
@litone01 in your post above you say to run that execute that curl command, from my vagrant dir?
then I create the provision-post.sh file in my vagrant directory as well? Then run vagrant provision?
Sorry a little new to vagrant boxes so I yu could over explain the answer  I might be able to get it to work.

I know this is old but I really need to figure out how to update php version so newer themes will run locally.
@litone01 in your post above you say to run that execute that curl command, from my vagrant dir? then I create the provision-post.sh file in my vagrant directory as well? Then run vagrant provision?
Sorry a little new to vagrant boxes so I yu could over explain the answer I might be able to get it to work.

@brianmdesigns Nope it is not my post (I am just quoting the previous reply) :( It has been a long time and I have not been using PHP and wordpress for some time, so I cant really recall the solution I adapted at that time. Maybe you can use google translation and follow this link https://qiita.com/miya0001/items/2499917d7ec3bc905781, which is also from the discussion above.

@brianmdesigns
Do you want to use PHP versions?

I just want to know of a way to load the latest php version
On Tue, Jan 25, 2022, 8:50 PM Takashi Hosoya @.***>
wrote:

@brianmdesigns https://github.com/brianmdesigns
Do you want to use PHP versions?
—
Reply to this email directly, view it on GitHub
https://github.com/vccw-team/vccw/issues/333#issuecomment-1021779307,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO6H5IM6ABM3UUJ7WTRCPLDUX5HPDANCNFSM4FOIXQYA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@brianmdesigns
@litone01
The current version of VCCW does not seem to be able to upgrade PHP.
This is because the version of Ubuntu os is old.
I think we need to upgrade Ubuntu os.

Hmmm ok will  that be happening or do we just pick a new box.  I like how
VCCW has one config file with all the variables. I use VVV too but I just
enjoy the flow of VCCW a little better.  So is there any way to add PHP
variables in the site.yml and maybe update the Ubuntu box?
On Tue, Jan 25, 2022 at 11:40 PM Takashi Hosoya @.***>
wrote:

@brianmdesigns https://github.com/brianmdesigns
@litone01 https://github.com/litone01
The current version of VCCW does not seem to be able to upgrade PHP.
This is because the version of Ubuntu os is old.
I think we need to upgrade Ubuntu os.
—
Reply to this email directly, view it on GitHub
https://github.com/vccw-team/vccw/issues/333#issuecomment-1021855191,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO6H5IL2HROMSSSSGZLRTV3UX53K5ANCNFSM4FOIXQYA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@brianmdesigns
I have tried the following box files.
Unfortunately, if we change the box file, we will also need to change the playbook configuration files.
It will be a very big change and take time.

https://app.vagrantup.com/generic/boxes/ubuntu1804
https://app.vagrantup.com/ubuntu/boxes/bionic64
https://app.vagrantup.com/giusetavera/boxes/wplamp

You can use PHP7.4 if you do the following.
The following tasks are installed PPA( Personal Package Archive ) at your own risk.
vagrant up
vagrant ssh
sudo add-apt-repository ppa:jczaplicki/xenial-php74-temp
sudo apt-get update
https://raw.githubusercontent.com/vccw-team/change-php-version/master/run.sh | bash -s -- 7.4

@brianmdesigns

it just seems like VCCW is going to be obsolete then
if the PHP version isnt updated.

Yes, I think so too.
But VCCW is running on the Virtualbox.
Virtualbox does not support Apple silicon Mac.
In order to continue using VCCW, someone needs to change from Virtualbox to Docker.
Currently it is not scheduled.

repo: vccw-team/vccw


text:
⚠ Spryr has degraded performance

In 95c3f49, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 9648 ms

Resolved: Spryr performance has improved in 78f8eea after 7 minutes.

repo: vcsphere/upptime


text:
ERROR: failed to solve: process "/bin/sh -c pip3 install --upgrade awscli" did not complete successfully: exit code: 1

ERROR: failed to solve: process "/bin/sh -c pip3 install --upgrade awscli" did not complete successfully: exit code: 1

New version 1.1 removes the need for AWSCLI altogether. Please try V1.1 and let me know if any issues remain.

authors: ofermend sunddytwo

repo: vectara/vectara-answer


text:
Add OpenAPI specification plugin

This PR adds a first cut at an OpenAPI specification and a playground for using the OAS via the docs website

I added @cjcenizal as a reviewer as well here

repo: vectara/vectara-docs


text:
Android app icon shows one unread message permanently

HI,
I have an Android 8 device where the Riot app icon (Riot 0.8.21 installed via PlayStore) reports one unread message although there aren't any unread messages.
Edit: Maybe related to https://github.com/vector-im/riot-web/issues/6617 ?

same issue on my android 6

Is it better with Riot 0.8.26?

@bmarty No, still present with 0.8.28a

riot web has the problem as well.

@bjonnh Does reinstalling Riot solve the problem? Was the case for one of my homeserver users.

yes

DoctorSubtilis notifications@github.com writes:

yes

No, in my case, I had to go into the list of channels, find the old RIOT
android channel and click on it to read the message and then it
disappeared (on all platforms).
However, the channel itself still comes back from time to time on riot
android as an "Empty room" and sometimes on the web version as the real
named one. I did "leave room" in both, but it still tends to reappear and then
disappear by itself. Really weird, it is as if it was still subscribed
on my matrix account somewhere.

I think I have have a similar issue. Even after deleting element's app data and reinstalling the one unread message is shown permanently, even before logging in. I suspect old data from riot is still installed on the phone, but as it is not rooted I cannot verify. How can I check for the existence (and get rid) of the old riot-data?

authors: DoctorSubtilis bjonnh bmarty r4dh4l tycho-kirchner

repo: vector-im/riot-android


text:
Error on Windows with 64bit version generators

Setting a Win64 version of Visual Studio CMake generators gives errors.
Expected result
The extension call properly the generator.
Actual condition
The extension show an MSBuild error message, about wrong parameters.
Will put proper output tomorrow.
Workaround
Using the official GUI or the command-line everything works fine.

Probably same problem like here. Sounds like it - duplicate?

Could be related to the linked issue, but the sub-toolsets thing has always been a real pain.

Can anyone reproduce this issue using the new Kits features?

Eh, closing for inactivity.

@vector-of-bool sorry, didn't work here for a while; will double-check tonight (I suppose).

I didn't test extensively, but I was able to reconfigure 2 projects with Win64 compilers.
It was hard due to the previously generated configuration; after some cleanup with VSCode closed, it worked well.

authors: FoxDevilsWild ItachiSan vector-of-bool

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


text:
Puncturing convolutional code at rate 1/2 to get rate 3/4

Hi,
I am trying to execute the readme.md example for convolutional coding at code rate 3/4. The generator matrix [5, 7] for R=1/2 is used and punctured with [[1,0,1],[1,1,0]] to get R=3/4. But the BER values of viterbi decoded outputs are higher than that of uncoded output. Also the size of the coded bits is as per 1/2 rate and not 3/4. Is it an issue with the 'conv_encode' function or am I missing any steps in between?
Also is there any method to get the coding rate 3/4 using generator matrix?
import numpy as np
import commpy.channelcoding.convcode as cc
import commpy.modulation as modulation

def BER_calc(a, b):
  num_ber = np.sum(np.abs(a - b))
  ber = np.mean(np.abs(a - b))
  return int(num_ber), ber

N = 100 #number of symbols per the frame
message_bits = np.random.randint(0, 2, N) # message

M = 2 # modulation order (BPSK)
k = np.log2(M) #number of bit per modulation symbol
modem = modulation.PSKModem(M) # M-PSK modem initialization

generator_matrix = np.array([[5, 7]]) # generator branches
trellis = cc.Trellis(np.array([2]), generator_matrix) # Trellis structure
punctureMatrix=np.array([[1,0,1],[1,1,0]])

rate = 3/4 # code rate
L = 7 # constraint length
m = np.array([L-1]) # number of delay elements

tb_depth = 5*(m.sum() + 1) # traceback depth

EbNo = 5 # energy per bit to noise power spectral density ratio (in dB)
snrdB = EbNo + 10*np.log10(k*rate) # Signal-to-Noise ratio (in dB)
noiseVar = 10**(-snrdB/10) # noise variance (power)

N_c = 10 # number of trials

BER_soft = np.zeros(N_c)
BER_hard = np.zeros(N_c)
BER_uncoded = np.zeros(N_c)

for cntr in range(N_c):

  message_bits = np.random.randint(0, 2, N) # message
  coded_bits = cc.conv_encode(message_bits, trellis,puncture_matrix=punctureMatrix) # encoding
  modulated = modem.modulate(coded_bits) # modulation
  modulated_uncoded = modem.modulate(message_bits) # modulation (uncoded case)

  Es = np.mean(np.abs(modulated)**2) # symbol energy
  No = Es/((10**(EbNo/10))*np.log2(M)) # noise spectrum density

  noisy = modulated + np.sqrt(No/2)*\
      (np.random.randn(modulated.shape[0])+\
       1j*np.random.randn(modulated.shape[0])) # AWGN

  noisy_uncoded = modulated_uncoded + np.sqrt(No/2)*\
      (np.random.randn(modulated_uncoded.shape[0])+\
       1j*np.random.randn(modulated_uncoded.shape[0])) # AWGN (uncoded case)

  demodulated_soft = modem.demodulate(noisy, demod_type='soft', noise_var=noiseVar) # demodulation (soft output)
  demodulated_hard = modem.demodulate(noisy, demod_type='hard') # demodulation (hard output)
  demodulated_uncoded = modem.demodulate(noisy_uncoded, demod_type='hard') # demodulation (uncoded case)

  decoded_soft = cc.viterbi_decode(demodulated_soft, trellis, tb_depth, decoding_type='unquantized') # decoding (soft decision)
  decoded_hard = cc.viterbi_decode(demodulated_hard, trellis, tb_depth, decoding_type='hard') # decoding (hard decision)

  NumErr, BER_soft[cntr] = BER_calc(message_bits, decoded_soft[:message_bits.size]) # bit-error ratio (soft decision)
  NumErr, BER_hard[cntr] = BER_calc(message_bits, decoded_hard[:message_bits.size]) # bit-error ratio (hard decision)
  NumErr, BER_uncoded[cntr] = BER_calc(message_bits, demodulated_uncoded[:message_bits.size]) # bit-error ratio (uncoded case)

mean_BER_soft = BER_soft.mean() # averaged bit-error ratio (soft decision)
mean_BER_hard = BER_hard.mean() # averaged bit-error ratio (hard decision)
mean_BER_uncoded = BER_uncoded.mean() # averaged bit-error ratio (uncoded case)

print("Soft decision:\n{}\n".format(mean_BER_soft))
print("Hard decision:\n{}\n".format(mean_BER_hard))
print("Uncoded message:\n{}\n".format(mean_BER_uncoded))

PS: The package and libraries are from the Github cloned version.

did you find the issue in the library itself or what ?

authors: SalmaEasa mpaparna

repo: veeresht/CommPy


text:
Create size slider

Story
As a user
I want a order size slider
So that I can size my order without manually typing out numbers
Acceptance Criteria

[ ] I can set the size I want on a slider (sketch is stolen from Binance, ignore, use the one on the leverage)
[ ] When I set my size on the slider the written size in the ticket updates on screen
[ ] If i set my size manually in written text the slider moves to reflect this
[ ] In isolated margin mode:

[ ] When I have no open position the max size on the slider is the position size that would use up all my remaining general account as margin, eg. MAX = balance in general account / margin factor
[ ] When I am making an existing position larger then same approach as above
[ ] When I am flipping an existing position then the max is the amount needed to use all my balance on the other side, eg. MAX = (current margin that would be returned to you + balance in general account) / margin factor

[ ] In cross mode ... do not show the size slider for now (work being done in Core to simplify this THEN we can show it)

Tasks

[x] UX (if needed)
[x] Design (if needed)
[x] Team and stakeholder review
[x] Specs reviewed and created or adjusted
[ ] Implementation
[ ] Testing (unit and/or e2e)
[ ] Code review
[ ] QA review

Sketch

Additional details / background info

Moved the cross margin onto #5963

repo: vegaprotocol/frontend-monorepo


text:
Added Polish translations

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[X] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Full Polish translation

Quality check
Before creating this PR, have you:

[X] Followed the code style guideline as described in CONTRIBUTING.md
[X] Verified that the change work in Release build configuration
[X] Checked all unit tests pass

Just one question, in translation files I saw texts for "Lorem Ipsum generator", why they are there, and no generator is accessible from the UI? :)

repo: veler/DevToys


text:
Update japanese translation.

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] UI change (please include screenshot!)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[x] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Update japanese translation.

Other information

Quality check
Before creating this PR, have you:

[x] Followed the code style guideline as described in CONTRIBUTING.md
[x] Verified that the change work in Release build configuration
[x] Checked all unit tests pass

Thank you for this. :)

authors: niyari veler


text:
[SPM] The problem with incorrect interaction with Swift Package Manager

When we have Synx and Swift PM in our Project, every time the utility runs, it affects the SPM dependencies. Synx renaming and moving the SPM dependencies.

This is the first problem, because every time the SPM returns all modifications back, as they were not applied correctly. And Synx next renames it, and so on in a circle, every time.
The second problem is that there is no way to exclude the interaction of synx with SPM, thereby making this utility inapplicable on projects that use SPM.

Open Project, SPM updated dependencies, and rename it as correct.

Run Synx, Synx renamed SPM dependencies.

Xcode 12.1
MacOS Catalina 10.15.7

To work around this problem, you can install a newer version of xcodeproj. I'm using this in a project:
gem 'xcodeproj', github: 'CocoaPods/Xcodeproj', ref: 'c8ab614079b338e38e987671e1e74319168bf61f'
Works like a charm for me :)

Also see this PR: https://github.com/CocoaPods/Xcodeproj/pull/799

Unfortunately, there hasn't been a new release of Xcodeproj yet, so you'll have to install this by ref.

authors: JanNash stolyarenkokswing

repo: venmo/synx


text:
main: Fix CLI quickstarts

See https://github.com/veracruz-project/veracruz/pull/309 for more info
I've cherry-picked this commits onto main, but am not in a position to test on Nitro at the moment.
I think these should eventually be moved to Linux and added to CI, but in the meantime this PR gets them into a better state.

+1+1 = +1 reached, merging.

authors: dominic-mulligan-arm geky

repo: veracruz-project/veracruz


text:
Provider: Crystallize

Headless eCommerce provider: https://crystallize.com/

Hey there! Thank you for opening this issue. We have decided to take Next.js Commerce in a new direction and will be closing out current PRs and issues due to this change. Please see this PR for more details: https://github.com/vercel/commerce/pull/966

authors: TommySorensen leerob

repo: vercel/commerce


text:
Remove numpy from nextjs-flask to fix broken builds

Description
pip fails to install this dependency on Python 3.12

Stacktrace: https://gist.github.com/sup/f0ff6eb90c03fbe7bd4329b0202dbbb8
Issue: https://github.com/vercel/examples/issues/946

While fixing the root cause of the error is certainly one way of going about it, numpy is not even used for the hello-world Flask app this ships with. To simplify things, this commit removes numpy as a dependency entirely.
Demo URL
https://automaton-seven.vercel.app/
Type of Change

[ ] New Example
[x] Example updates (Bug fixes, new features, etc.)
[ ] Other (changes to the codebase, but not to examples)

New Example Checklist
Not applicable

[ ] 🛫 npm run new-example was used to create the example
[ ] 📚 The template wasn't used but I carefuly read the Adding a new example steps and implemented them in the example
[ ] 📱 Is it responsive? Are mobile and tablets considered?

@dferber90 It's a bit quiet around here, but can I interest you in a review of a simple fix for a broken example? 👀

Thank you @sup! I was out of office and just came back 👍

repo: vercel/examples


text:
feat(account page): update user full name

Feature
This feature was request in this issue #28
https://user-images.githubusercontent.com/1596614/160174916-ee6d9b5a-25da-47f3-9cfb-c3e72625961e.mov
Closes #28
Could you review this PR? @leerob @thorwebdev

Hi @tdeitz , I dont get this error. This error show when call a function and pass it a parameter that doesn't match any of its specified overloads.
I will update my branch to solve these conflicts, they updated supabase dependencies.
Hope help you.

@irvile thanks very much for the reply. I'm a Typescript amateur (at best), so my debugging ability is pretty limited for now. Appreciate the branch update, thanks again :)

@tdeitz done! This error that you commented show up because the new version of supabase v2, don't accept Type as the last version( supabase.from<UserDetails>)
Welcome! Its a pleasure help. Let me know if you have any other issue. I tested right now and supabase and stripe works fine.

@irvile thanks so much, really appreciate your efforts, can't wait to have a look! :)

Hello,
is there any blocker for this PR to be merged ?

authors: adrientiburce irvile tdeitz

repo: vercel/nextjs-subscription-payments


text:
Remove options.fetcher default value

Refs: https://github.com/vercel/swr-site/pull/174#issuecomment-956166833

📝 Changed routes:

/docs/options.en-US
/docs/options.es-ES

(view full size)
(view full size)

/docs/options.ja
/docs/options.ko

(view full size)
(view full size)

/docs/options.ru
/docs/options.zh-CN

(view full size)
(view full size)

Commit 43865f1e20d5247671c7413c451016cf621bfd17 (https://swr-site-gn6wbqo03.vercel.sh).

Thank you!

authors: leader22 shuding vercel-team

repo: vercel/swr-site


text:
Preload docs - Correction to code.

In the react example, the dependency array passed to the useEffect had useId instead of userId .

Description

[ ] Adding new page
[x] Updating existing documentation
[ ] Other updates

@Rajarshi07 Good catch, thank you! Could you update all other languages as well?

Thank You. I'm on it. I'll submit a PR once done.


text:
chore(docs): update github actions versions to support node 20

Description
This pull request updates the versions of GitHub Actions in the documentation, as well as in the example workflows. Node 16 is deprecated, and #7224 is missing the update of actions in the docs. Hopefully, nothing else was overlooked here.

Allow CI Workflow Run

[ ] approve CI run for commit: e5cf01d14e74844e31cf7629d98b50400d7f2f15

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

authors: ijjk robinsmith-source

repo: vercel/turbo


text:
Remove nohash-hasher dependency

Description

Testing Instructions

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#8605  👈
#8604
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bgw and the rest of your teammates on  Graphite

Merge activity

Jun 26, 3:19 AM EDT: Graphite rebased this pull request as part of a merge.


text:
Cache broken symlinks

Describe the feature you'd like to request
turbo should cache broken symlinks. Just because a target doesn't exist yet doesn't mean we should cache the pointer that someone created. If nothing else, it will aid in debugging why the link is broken, rather than missing.
Describe the solution you'd like
The walk of files to cache should not exempt broken symlinks
Describe alternatives you've considered

I think this is implemented now.

repo: vercel/turborepo


text:
Add support for Storyblok CMS.

This adds support for using Storyblok as a CMS with Storybloks GraphQL api.

Nice! This looks awesome @lisilinhart 🙌

Will you let me know once you've signed the CLA?
Could you share a read-only env var I could add here to test this with the preview URL?

Nice! This looks awesome @lisilinhart 🙌

Will you let me know once you've signed the CLA?
Could you share a read-only env var I could add here to test this with the preview URL?

Hi @leerob,

I signed and sent the CLA just now
I also added two small commits since yesterday: The first was just an additional query on the speakers to display their talk. The second one is a link in the README to directly duplicate the example space, so the space is already set up in Storyblok. This should make getting the project running pretty easy. You can try it with this link if you have a Storyblok account: Duplicate Virtual Event Space.
Finally the public token to test with your Preview URL: X8vjZHTJiZq71qr5roMiHAtt

Hi @leerob,

I signed and sent the CLA just now
I also added two small commits since yesterday: The first was just an additional query on the speakers to display their talk. The second one is a link in the README to directly duplicate the example space, so the space is already set up in Storyblok. This should make getting the project running pretty easy. You can try it with this link if you have a Storyblok account: Duplicate Virtual Event Space.
Finally the public token to test with your Preview URL: X8vjZHTJiZq71qr5roMiHAtt

@cla-bot check

@cla-bot check

@cla-bot check

@cla-bot check

authors: leerob lisilinhart matheuss

repo: vercel/virtual-event-starter-kit


text:
[WIP] Implement Tor

Tor running on device.
Might change the Tor dependency...

WE FINALLY DID IT! <3

authors: SwenVanZanten marpme

repo: vergecurrency/vIOS


text:
trial_specification_demo.ipynb notebook test failure

Expected Behavior
Run GitHub action Test Metis Python package and notebooks on unchanged code, action succeeds.
Actual Behavior
https://github.com/verilylifesciences/site-selection-tool/runs/2017133803?check_suite_focus=true
Please note that a PR was just merged, which triggered the GitHub Action, but the code is unchanged since the prior run of the GitHub Action which was successful for the PR.
https://github.com/verilylifesciences/site-selection-tool/actions/runs/579750192
Steps to Reproduce the Problem

Navigate to https://github.com/verilylifesciences/site-selection-tool/actions?query=workflow%3A"Test+Metis+Python+package+and+notebooks"
Click on "Run Workflow"
Choose branch "main"

I can reproduce with the steps given, but not locally. I tried

Running jupyter notebook and "run all cells". It works as expected.
Running jupyter nbconvert --to notebook --execute trial_specification_demo.ipynb. It runs without incident.

Running the workflow fails at main (f3c805a), but also at the previous commit (b0f0ad7) where it previously passed. This suggests that something in the outside world has changed (as with #25, the OpenCovid issue we ran into previously), but if that were the case I'd expect to be able to reproduce locally. I tried reinstalling the requirements packages on the off chance that something in those packages had changed, but still could not reproduce locally.
Any suggestions for how to debug further? At this point it seems like the path forwards is to iteratively push changes to a branch and run the workflow :-/.

The problem is also reproducible on Terra. If you like you can make a clone of https://app.terra.bio/#workspaces/verily-metis/Site-selection-tool-for-vaccine-trial-planning and use %debug to step through the code.

Thanks! I can reproduce on Terra.

authors: deflaux geraschenko

repo: verilylifesciences/site-selection-tool


text:
Same clientId connecting to two topics is losing messages

Summary
When the same client connects to two different topics, it doesn't receives all the published messages anymore.
Environment

VerneMQ Version: erlio/docker-vernemq:latest, id: 55a857f7b481
OS: MacOS
VerneMQ configuration (vernemq.conf) or the changes from the default: None, using default

Expected behavior
If the clientId is subscribed to two or more topics, it should receive all the messages for both of them.
Actual behaviour
Note: keep in mind I am using mosquitto_sub and mosquitto_pub to test this.
First, I create two mosquitto_sub processes:
$  mosquitto_sub -i cid -h localhost -p 1883 -t test -v

And, in a second terminal:
$  mosquitto_sub -i cid -h localhost -p 1883 -t testtest -v

So, now I have a client id subscribed to two different topics: test and testtest.
I have a small shell script that publishes messages to test:
for i in {1..2}; do
    for j in {1..10}; do
        mosquitto_pub -i `date | md5` -h localhost -p 1883 -t test -m "$i-$j"
    done;
done;

When I run it, the output in the test topic changes every time and, very often, doesn't contain all the published messages:
test 1-7
test 1-8
test 1-9
test 1-10
test 2-1
test 2-2
test 2-3
test 2-4
test 2-5
test 2-6
test 2-7
test 2-8
test 2-9
test 2-10

From the moment I kill the second terminal, the client starts receiving all the messages:
test 1-1
test 1-2
test 1-3
test 1-4
test 1-5
test 1-6
test 1-7
test 1-8
test 1-9
test 1-10
test 2-1
test 2-2
test 2-3
test 2-4
test 2-5
test 2-6
test 2-7
test 2-8
test 2-9
test 2-10

So, here are my questions:

Why are two process with the same ID allowed to connect? I would assume that this is just not possible.
Ok, so we have two processes running under the same clientId. How are the connections being handled by the cluster? I would expect the cluster to send the messages to the connection that is actually listening to that topic.
If, in another terminal, I run exactly the same command from the first one (meaning mosquitto_sub -i cid -h localhost -p 1883 -t test -v, same clientId and topic), I see that, actually, the messages are being splitted in between the two processes. Why? Given that it's not a shared topic, I would expect them both to receive all the messages. Or does the split happens exactly because they share the same clientId?
Given that I would expect a second process with same cliendId to fail to connect, are you aware of some mosquitto_sub or mosquitto_pub weirdness that I should take into account when testing?

Thanks

Hi
According to the MQTT spec two different clients are not allowed to connect with the same client-id. So in this case VerneMQ will disconnect the client that already was connected. You can see this behaviour if you add the -d flag to the mosquitto_sub commands where each client is disconnected because the other connected and then it reconnects and disconnects the other one.
The issue here is that unless you use the -d flag you don't see that mosquitto_sub actually reconnected.

Interesting. I didn't know about this option in mosquitto_sub. Thank you for enlightening me. :)
So, actually, the reason of why it doesn't get all the messages is merely because once one connects, the other disconnects. I should have guessed, but wasn't aware of the -d option. I was definitely expecting mosquitto_sub to just fail with an error message or so.
Lesson here is: check the documentation of the tool you are using. :)
Now it is clear.
Thanks! 👍

authors: larshesel ricardoatsouza

repo: vernemq/vernemq


text:
Cleaner OSGi support

Would like to see better/cleaner support for OSGi.

separation of API and implementation bundles

Thanks.
@vietj for your group post request for suggestions.
https://groups.google.com/forum/#!topic/vertx/duFVIcSR0zg

Seperation of API and implementation is a topic that has popped up a few times, one thing to be careful is that this could break the semver API. This requires good thinking on how to do it with minimal impact if applicable to 3.x code base.

@pmlopes I agree, it is not an easy task.
it's a good practice for non OSGi projects too, I found it useful practice on other platforms and languages.

Related to #139

Due to lack maintainers and proper testing OSGi metadata is removed from all modules on master.
Which makes this issue not fixable.

authors: gadieichhorn pmlopes


text:
Avoid duplicated qids/skolemids in datatype height axioms

I was doing some experiments with QI, and I noticed that all datatype height axioms share the same :qid prelude_datatype_height, and :skolemid skolem_prelude_datatype_height. Having duplicated qids for different quantifiers complicates the analysis a bit, so I am proposing an update here.

This looks fine. Do you also want to include the type name in case multiple types have the same field?

@Chris-Hawblitzel Thanks for bringing that up. I am not sure if I am reading it correctly, but it seems like the datatype name is pre-pended to the field at when calling datatype_height_axioms?
https://github.com/verus-lang/verus/blob/eb988fe4a8600e012822fa0d6b0b5d94a14f0c23/source/vir/src/datatype_to_air.rs#L463
As a result the current quantifier (on this branch) looks like the following:
(assert
 (forall ((x adts!Vehicle2.)) (!
   (=>
    (is-adts!Vehicle2./Car x)
    (height_lt (height (Poly%adts!Car. (adts!Vehicle2./Car/0 x))) (height (Poly%adts!Vehicle2.
       x
   ))))
   :pattern ((height (Poly%adts!Car. (adts!Vehicle2./Car/0 x))))
   :qid prelude_datatype_height_adts!Vehicle2./Car/0
   :skolemid skolem_prelude_datatype_height_adts!Vehicle2./Car/0
)))

repo: verus-lang/verus


text:
How can I fix System.Numerics.Vectors conflict?

I am currently using CSharpMath 0.3.0 in my Xamarin.Forms application, because when I am trying to update it to 0.5.1, there is a System.Numerics.Vector conflict, and the LaTeX won't render. I don't know if these 2 things are related, but regardless can I do anything about this to fix it (to get it to render the LaTeX)?

I seem to have the same issue. Would be nice to know the fix to this.

I have also noticed that it makes the place for the render but not showing up. It's the basic Xamarin template with the 0.5.1. CSharpMath.

If anyone is wondering, if you are using CSharpMath above 0.4.0 you also need to add SkiaSharp as a nugget package to render LaTeX

repo: verybadcat/CSharpMath


text:
Reduce number of worker threads from default (500)

Reduce the number of worker threads will have a positive impact on
the memory consumption.

This changes the default. That is considered ok also for the large installations we already have?

It should be more than enough as long as the queries are not very expensive (<100ms).

It's not uncommon that we tell people to increase the number of threads in this pool, which indicates that reducing it will cause problems, so I don't think we can do this.
I think we could change to prestart just 100 of the 500 threads though. We need to introduce a new setting for that.

@bratseth this changes the number of threads for the config server only, nothing else.

Ah, ok nm then  :-)

authors: bjorncs bratseth hmusum

repo: vespa-engine/vespa


text:
Show log output during build

Stop using travis_wait as it hides log output during build

Nice workaround

authors: bjorncs gjoranv


text:
fix: Missed context argument in resources.CloudConfigSecret.delete() call

2023-10-10 04:06:21.169 7 ERROR oslo.service.loopingcall [-] Fixed interval looping call 'magnum.service.periodic.ClusterUpdateJob.update_status' failed: TypeError: init() missing 1 required positional argument: 'cluster' 2023-10-10 04:06:21.169 7 ERROR oslo.service.loopingcall Traceback (most recent call last):
2023-10-10 04:06:21.169 7 ERROR oslo.service.loopingcall   File "/var/lib/kolla/venv/lib/python3.9/site-packages/oslo_service/loopingcall.py", line 150, in _run_loop
2023-10-10 04:06:21.169 7 ERROR oslo.service.loopingcall     result = func(*self.args, **self.kw)
2023-10-10 04:06:21.169 7 ERROR oslo.service.loopingcall   File "/var/lib/kolla/venv/lib/python3.9/site-packages/magnum/service/periodic.py", line 72, in update_status
2023-10-10 04:06:21.169 7 ERROR oslo.service.loopingcall     cdriver.update_cluster_status(self.ctx, self.cluster)
2023-10-10 04:06:21.169 7 ERROR oslo.service.loopingcall   File "/var/lib/kolla/venv/lib/python3.9/site-packages/magnum_cluster_api/driver.py", line 161, in update_cluster_status
2023-10-10 04:06:21.169 7 ERROR oslo.service.loopingcall     resources.CloudConfigSecret(self.k8s_api, cluster).delete()
2023-10-10 04:06:21.169 7 ERROR oslo.service.loopingcall TypeError: init() missing 1 required positional argument: 'cluster'

hey @MagnusR -- thanks for your contribution, do you think you could help checking out the black fix, if not i call follow up and merge it
thanks!

authors: MagnusR mnaser

repo: vexxhost/magnum-cluster-api


text:
Fix cookie problem between main and blog

When the domain not set to the same, the cookie will lose.

common 有点迷……应该改成 cookie/domain 之类的东西。。

嗯，是有点...不过我考虑的是通用部分...而且其实这个端口并没什么用....

authors: MascoSkray vfleaking

repo: vfleaking/uoj


text:
previous link of Google Java Style Guide is dead

the link to Google Java Style Guide

http://google-styleguide.googlecode.com/svn/trunk/javaguide.html

is broken . after googling i found this link

https://google.github.io/styleguide/javaguide.html

which means they shifted this guide from svn to github.

Thanks!

authors: ghishadow vhf

repo: vhf/free-programming-books


text:
Can't get user access token

assume I'm doing something wrong but can't workout how to get a user access token. I'm making a request with
curl https://graph.facebook.com/oauth/access_token?client_id=MYAPPID&client_secret=MYAPPSECRET&grant_type=client_credentials

and using that as the access token but then requests are getting oauth errors. Might also have my FB app setup incorrectly.

@mortocks here's the url for getting an access token https://github.com/vhpoet/facebook-cli/blob/daa51715708ee968e5a6cb874981fba9e1dc5f22/auth.js#L26-L30

authors: mortocks vhpoet

repo: vhpoet/facebook-cli


text:
Add support for QRR type in structured remittance information

Addresses #9

Looks good to me and we were able to test it successfully

authors: andre-m-dev tobischo


text:
有关多个手机同时操作的问题

大佬，你好，我想问下，如果我的电脑上同时插入多个手机，能否批量同步操作功能呢， 就一个同一个操作点击，在多个手机上同时运行。

抱歉，暂不支持群控。

抱歉，暂不支持群控。

老板，咱们有支持群控功能的计划没？💕💕💕

authors: onlyWYY viarotel xiamo008

repo: viarotel-org/escrcpy


text:
fast-syntax-highlighting error when install

Installing zdharma/fast-syntax-highlighting@v1.2... Error! Activate logging and try again.

Thank you!

repo: viasite-ansible/ansible-role-zsh