[Worldgen Bug] Conformation of terrain are randomized every time game is restarted.

I use Fabric v.1.11.1 on MC 1.16.5 and API v.0.30.3, and mod version is v.0.9.1-pre-1.16.4/5
First, i'll note something: this freaky worldgen bug happens with this mod alone installed, but i used Xaero's World Map after testing, in order to give an idea of what i'm talking about.
In Betterend v.0.9.1-pre, the conformation of terrain features are randomized everytime the game is restarted (yeah, the game, not the world). Luckly, this doesn't happen to biomes, but the result of this bug are pretty damn jarring. I'll describe this throug my use of Xaero's World Map.
-Image 1: this is how the terrain looks before restarting the game;
-Image 2: this is how the terrain looks before restarting the game and after loading new chunks. You can see these "cuts" that generated a bit farther in newly loaded chunks after a new game session, as if the mod tried generating these structures again and not "finishing" generating them.
Examples of how bad this looks: example 1 and example 2. This happens with all the custom terrain features, all the trees included. I don't know if this depends from the Minecraft's experimental worldgen feature, but i wish this didn't happen, i was having fun with this mod. The only temporary solution is by using a tool for deleting individual chunks and regenerating these biome areas between islands whole and not broken, if this doesn't feel right. Any way to fix this?

After dome research looks like this is a bug of MC itself - chunk have wrong state when they are saved/loaded. It is potentially possible to solve, but it will require large amount of work

Summary - bug is a core MC bug related to wrong chunk status saving and multithreading, looks like it will be not possible to fix. Probably 1.18 or later this bug will be fixed from MC itself


Alter class name of Edge type can drive to issues on graph navigation

if a class of type Edge is renamed, the out(?) and in(?) navigation function will stop to work, because they rely on the fact that the name of the out/in field in the vertexes are the same of the Edge type, as today is a good solution disable the alter for Edge types.

+1 for this solution.

Implemented. Supported "UNSAFE" in case the user wanna force it.


Research on how to prune graphnode

There are 2 way to prune data from DB. First, set GRAPH_ETHEREUM_CLEANUP_BLOCKS in env is prune cached block. But system may slow down by download repeatedly block.
Second way is delete row manually, according maintainer, we can delete row manually but they recommended shutdown graphnode temporarily during remove old data.
So, I'll try second way. Because I think we might be needed cached block.

The Graph Node seems it should have all historical data.


Logs view revamp:

Download button is synced with main theme

Logs are now in a scrollable Table.

Scrollbar is revamp to be synced with main theme

info.html had a bad class for FIRMWARE

Added spaces for packet logging because of overlapping text in info.html

TaskWeb now replace spaces with   and format logs for being viewable and remove the last line.

CSS was edited for being responsible with the type of screen.

Test made in local.

I think the sanitize function should be restricted to sanitizing a string for HTML display. Inserting the table tags should be done outside this function.
I'm gonna work on that now

It would be nice not having to hardcode the table headers in the CSS file... Do you think there is another way of managing the responsive design?

We could add table a class then managing with classes directly

=> table tag are not hardcoded anymore.


Cannot resolve references

For some good reasons I'm caching the schema locally so I don't need to retrieve it from an URL. What I need is simply to resolve the references inside schema. I did:
$schema = retrieve_schema_from_local_cache();
$ref_resolver = new JsonSchema\RefResolver();
$ref_resolver->resolve($schema);

Unfortunately, I'm getting:
JsonSchema\Exception\InvalidSchemaMediaTypeException: Media type application/schema+json expected in JsonSchema\Uri\UriRetriever->confirmMediaType() (line 64 of json-schema/src/JsonSchema/Uri/UriRetriever.php).

What I'm doing wrong?

I'm also wondering how to use the RefResolver. The Validator::check() method doesn't seems to trigger anything related to references. I'd expect it to automatically resolve all references and run a full validation.
I'll keep reading the source code, I'm hitting this issue just now. Leaving a comment to follow up :)

Closed with https://github.com/justinrainbow/json-schema/releases/tag/2.0.0
Please see updated README


Can't start Nuimo WebSocket Server

Can you elaborate on step 1. Start Nuimo WebSocket Server.
Tried opening up in xcode and building, but getting failed to build.  Would be great if there was a ready made build of this.
Thanks

Found the issue.  Needed to install cocoapods, then run 'pod install'  Once i did there was an issue preventing the build due to no target being set for the pods.
I can't push to the repo, so here's the fix.  'Podfile' should be updated to this:
use_frameworks!

target 'NuimoWebSocketServer' do
   pod 'NuimoSwift'
   pod 'PocketSocket'
end

Thanks for reporting @yougotashovel, Podfile is now updated to be compatible with Cocoapods 1.0 release


Pretrained Model Links are not valid

Hi,
The models links are no longer valid now.
Pretrained models on Google Landmarks v2 and Places 365
PRETRAINED_MODELS = {
'resnet18_places'  : '1DnEQXhmPxtBUrRc81nAvT8z17bk-GBj5',
'resnet50_places'  : '1zsY4mN4jJ-AsmV3h4hjbT72CBfJsgSGC',
'resnet101_places' : '1E1ibXQcg7qkmmmyYgmwMTh7Xf1cDNQXa',
'vgg16_places'     : '1UWl1uz6rZ6Nqmp1K5z3GHAIZJmDh4bDu',
'resnet18_gldv2'   : '1wkUeUXFXuPHuEvGTXVpuP5BMB-JJ1xke',
'resnet50_gldv2'   : '1UDUv6mszlXNC1lv6McLdeBNMq9-kaA70',
'resnet101_gldv2'  : '1apiRxMJpDlV0XmKlC5Na_Drg2jtGL-uE',
'vgg16_gldv2'      : '10Ov9JdO7gbyz6mB5x0v_VSAUMj91Ta4o'
}

hello, thanks for pointing it out, I will fix broken links soon

thanks for the response.

Hello @iceiceyaphets , sorry for the delay. You can now find those models at this link
https://www.dropbox.com/sh/qe3kc2ic187huh9/AACSLRkvnrx8wgmDxZCdThyka?dl=0


Issue 96: Improve error msgs for calicoctl command failures

This pull request is a fix for issue #96
See issue for details of fix.

We don't want details of etcd leaking into calicoctl. I think you should define new exceptions in datastore.py and catch those in calicoctl.
At some point we want to move docker bits out of calicoctl into a separate module too, but not just yet.

LGTM other than the one comment above. I'd prefer not to be adding more docker specific code to calicoctl.py but it's OK for now. The etcd point still stands though,

Added a generic DatastoreError that is currently just raised after catching an EtcdException (with the message passed through).  Could no doubt do better here though.
Use a decorator to decorate all datastore public methods to handle general exception catching.

That's a lot of decorators. Not sure if this is really the right approach but I think it's fine to merge for now.


Token Independence Compatibility

When running in V9 with Token Independence I receive the following error. I have also reported this issue with the Token Independence module Git.
TypeError: Cannot read properties of undefined (reading 'ActorName')
[Detected 2 packages: token-independence, perfect-vision]
    at populateSynthetics (helper.js:53)
    at independence.js:9
    at Function._call (foundry.js:294)
    at Function.call (foundry.js:279)
    at Canvas.draw (foundry.js:19879)
    at async Canvas.🎁Canvas.prototype.draw#perfect-vision (canvas.js:345)
    at async Scene.view (foundry.js:17642)
    at async Game.initializeCanvas (foundry.js:5615)
    at async Game.setupGame (foundry.js:5484)
    at async Game._initializeGameView (foundry.js:6434)
    at async Game.initialize (foundry.js:5380)
onError	@	foundry.js:316
🎁call_wrapped	@	libWrapper-wrapper.js:502
🎁Hooks.onError#lib-wrapper	@	listeners.js:137
🎁Hooks.onError#0	@	libWrapper-wrapper.js:182
_call	@	foundry.js:298
call	@	foundry.js:279
draw	@	foundry.js:19879

Did you confirm that the error does not happen if PV is disabled? Doesn't really look like an error that would be caused by PV.

Apologies, you are correct, the error still occurs with PV disabled.


[BUG] pod deepflow-server-XXX CrashLoopBackOff

Search before asking

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

DeepFlow Component
Server
What you expected to happen
### Expected Behavior
pod deepflow-server-598fb4cdf8-qmhnr  in running status.
### Actual Behavior:
pod deepflow-server-598fb4cdf8-qmhnr CrashLoopBackOff
[root@master ~]# kubectl get pods -A
NAMESPACE              NAME                                             READY   STATUS                             RESTARTS        AGE
deepflow               deepflow-agent-gqzmc                        1/1     Running                             0                      15h
deepflow               deepflow-app-846c6645cb-gfgg8        1/1     Running                             0                      15h
deepflow               deepflow-clickhouse-0                          1/1     Running                             0                      15h
deepflow               deepflow-grafana-764cfb5bc6-9hjnf    1/1     Running                             2 (15h ago)      15h
deepflow               deepflow-mysql-7db57b44f4-4fz47     1/1     Running                             0                       15h
deepflow               deepflow-server-598fb4cdf8-qmhnr     0/1     CrashLoopBackOff            6 (5m2s ago)   12m
How to reproduce
helm repo add deepflow https://deepflowio.github.io/deepflow
helm repo update deepflow
helm install deepflow -n deepflow deepflow/deepflow --create-namespace --set global.allInOneLocalStorage=/opt/deepflow/data
DeepFlow version
### The result is go to error.
container not found ("deepflow-server")
[root@master ~]# kubectl exec -it -n deepflow deploy/deepflow-server -- deepflow-server -v
error: unable to upgrade connection: container not found ("deepflow-server")
[root@master ~]# kubectl exec -it -n deepflow ds/deepflow-agent -- deepflow-agent -v
Defaulted container "deepflow-agent" out of: deepflow-agent, configure-sysctl (init)
8265-3d888cab7e15db5d4f5a51eacf7703acc60ff7a9
Name: deepflow-agent community edition
Branch: v<IP_ADDRESS>
CommitId: 3d888cab7e15db5d4f5a51eacf7703acc60ff7a9
RevCount: 8265
Compiler: rustc 1.69.0 (84c898d65 2023-04-16)
CompileTime: 2023-05-18 01:56:26
[root@master ~]#
DeepFlow agent list
The result of "deepflow-ctl agent list" is go to error.
connection refused
[root@master ~]# deepflow-ctl agent list
curl (http://<IP_ADDRESS>:30417/v1/vtaps/) failed, (Get "http://<IP_ADDRESS>:30417/v1/vtaps/": dial tcp <IP_ADDRESS>:30417: connect: connection refused)
Kubernetes CNI
calico
Operation-System/Kernel version
[root@master ~]# awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release
"CentOS Linux 7 (Core)"
[root@master ~]# uname -r
3.10.0-1160.el7.x86_64
Anything else
the version of deepflow
[root@master ~]# helm search repo deepflow
NAME                   	CHART VERSION	APP VERSION	DESCRIPTION
deepflow/deepflow      	6.2.606      	6.2.6      	An automated observability platform for cloud-n...
deepflow/deepflow-agent	6.2.606      	6.2.6      	An automated observability platform for cloud-n...
pods "deepflow-mysql-7db57b44f4-4fz47" error logs
[root@master ~]# kubectl logs deepflow-mysql-7db57b44f4-4fz47 -n deepflow
Defaulted container "mysql" out of: mysql, hostpath-chown (init)
2023-07-13 01:09:28+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.31-1.el8 started.
2023-07-13 01:09:28+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2023-07-13 01:09:28+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.31-1.el8 started.
2023-07-12T17:09:29.023383Z 0 [Warning] [MY-011068] [Server] The syntax 'slave_skip_errors' is deprecated and will be removed in a future release. Please use replica_skip_errors instead.
2023-07-12T17:09:29.025094Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2023-07-12T17:09:29.025134Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.31) starting as process 1
2023-07-12T17:09:29.035433Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-07-12T17:09:30.291788Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-07-12T17:09:31.003028Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2023-07-12T17:09:31.003110Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2023-07-12T17:09:31.161769Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2023-07-12T17:09:31.161889Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.31'  socket: '/var/lib/mysql/mysql.sock'  port: 30130  MySQL Community Server - GPL.
2023-07-12T17:10:10.201372Z 11 [Warning] [MY-010055] [Server] IP address '<IP_ADDRESS>' could not be resolved: Name or service not known
2023-07-12T17:10:23.315007Z 22 [Warning] [MY-010055] [Server] IP address '<IP_ADDRESS>' could not be resolved: Name or service not known
2023-07-13T08:04:29.550395Z 8524 [Warning] [MY-010055] [Server] IP address '<IP_ADDRESS>' could not be resolved: Name or service not known
pods "deepflow-server-598fb4cdf8-qmhnr" error logs
[root@master ~]# kubectl logs deepflow-server-598fb4cdf8-qmhnr  -n deepflow
2023/07/13 16:16:13 ENV K8S_NODE_NAME_FOR_DEEPFLOW=master; K8S_NODE_IP_FOR_DEEPFLOW=<IP_ADDRESS>; K8S_POD_NAME_FOR_DEEPFLOW=deepflow-server-598fb4cdf8-qmhnr; K8S_POD_IP_FOR_DEEPFLOW=<IP_ADDRESS>; K8S_NAMESPACE_FOR_DEEPFLOW=deepflow
2023-07-13 16:16:13.089 [INFO] [deepflow-server] main.go:120 deepflow-server config: {LogFile:/var/log/deepflow/server.log LogLevel:info ContinuousProfile:{Enabled:false ServerAddress:http://deepflow-agent/api/v1/profile ProfileTypes:[cpu inuse_objects alloc_objects inuse_space alloc_space] MutexRate:5 BlockRate:5 LogEnabled:true}}
2023-07-13 16:16:13.090 [INFO] [kubernetes] watcher.gen.go:1004 Endpoints watcher starting
2023-07-13 16:16:13.091 [INFO] [querier] querier.go:47 ==================== Launching DeepFlow-Server-Querier ====================
2023-07-13 16:16:13.091 [INFO] [querier] querier.go:48 querier config:
log-file: /var/log/querier.log
log-level: info
listen-port: 20416
clickhouse:
user-name: default
user-password: ""
host: deepflow-clickhouse
port: 9000
timeout: 60
connect-timeout: 2
max-connection: 20
profile:
log-file: /var/log/profile.log
log-level: info
listen-port: 20419
flame_query_limit: 1000000
querier:
host: <IP_ADDRESS>
port: 20416
deepflow-app:
host: deepflow-app
port: "20418"
prometheus:
qps-limit: 100
series-limit: 100
auto-tagging-prefix: df_
request-query-with-debug: false
language: en
otel-endpoint: http://<IP_ADDRESS>:38086/api/v1/otel/trace
limit: "10000"
time-fill-limit: 20
2023-07-13 16:16:13.091 [INFO] [controller] controller.go:72 ==================== Launching DeepFlow-Server-Controller ====================
2023-07-13 16:16:13.091 [INFO] [controller] controller.go:73 controller config:
log-file: /var/log/controller.log
log-level: info
listen-port: 20417
listen-node-port: 30417
master-controller-name: ""
grpc-max-message-length: 104857600
grpc-port: "20035"
ingester-port: "20033"
grpc-node-port: "30035"
kubeconfig: ""
election-name: deepflow-server
reporting-disabled: false
billing-method: license
pod-cluster-internal-ip-to-ingester: 0
df-web-service:
enabled: false
host: df-web
port: 20106
timeout: 30
mysql:
database: deepflow
host: deepflow-mysql
port: 30130
user-name: root
user-password: deepflow
timeout: 30
drop-database-enabled: false
auto_increment_increment: 1
redis:
resource_api_database: 1
resource_api_expire_interval: 3600
dimension_resource_database: 2
host: []
port: 6379
password: deepflow
timeout: 30
enabled: false
cluster_enabled: false
clickhouse:
database: flow_tag
host: deepflow-clickhouse
port: 9000
user-name: default
user-password: ""
timeout: 30
roze:
port: 20106
timeout: 60
spec:
vtap_group_max: 1000
vtap_max_per_group: 10000
az_max_per_server: 10
data_source_max: 15
data_source_retention_time_max: 24000
monitor:
health_check_interval: 60
health_check_port: 30417
health_check_handle_channel_len: 1000
license_check_interval: 60
vtap_check_interval: 60
exception_time_frame: 3600
auto_rebalance_vtap: true
rebalance_check_interval: 300
vtap_auto_delete_interval: 3600
warrant:
warrant: warrant
port: 20413
timeout: 30
manager:
cloud_config_check_interval: 60
task:
resource_recorder_interval: 60
cloud:
cloud_gather_interval: 30
kubernetes_gather_interval: 30
aliyun_region_name: cn-beijing
aws_region_name: cn-north-1
genesis_default_vpc: default_vpc
hostname_to_ip_file: /etc/hostname_to_ip.csv
dns_enable: false
http_timeout: 30
debug_enabled: false
recorder:
cache_refresh_interval: 60
deleted_resource_clean_interval: 24
deleted_resource_retention_time: 168
resource_max_id_0: 64000
resource_max_id_1: 499999
genesis:
aging_time: 86400
vinterface_aging_time: 300
host_ips: []
local_ip_ranges: []
exclude_ip_ranges: []
queue_length: 60
data_persistence_interval: 60
multi_ns_mode: false
single_vpc_mode: false
ignore_nic_regex: ^(kube-ipvs)
statsd:
enabled: true
host: <IP_ADDRESS>
port: 20033
trisolaris:
listen-port: "20014"
loglevel: info
tsdb-ip: ""
chrony:
host: ntp.aliyun.com
port: 123
timeout: 1
self-update-url: grpc
remote-api-timeout: 30
trident-type-for-unkonw-vtap: 3
platform-vips: []
node-type: master
region-domain-prefix: ""
clear-kubernetes-time: 600
nodeip: ""
vtapcache-refresh-interval: 300
metadata-refresh-interval: 60
node-refresh-interval: 60
gpid-refresh-interval: 9
vtap-auto-register: true
default-tap-mode: 0
billingmethod: license
grpcport: 20035
ingesterport: 20033
podclusterinternaliptoingester: 0
grpcmaxmessagelength: 104857600
tagrecorder:
timeout: 60
mysql_batch_size: 1000
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.

using env:	export GIN_MODE=release
using code:	gin.SetMode(gin.ReleaseMode)

I0713 16:16:13.092383       1 leaderelection.go:248] attempting to acquire leader lease deepflow/deepflow-server...
 We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
2023-07-13 16:16:13.091 [WARN] [grpc] grpc_session.go:96 Sync from server <IP_ADDRESS> failed, reason: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp <IP_ADDRESS>:20035: connect: connection refused"
[GIN-debug] Listening and serving HTTP on :20417
2023-07-13 16:16:13.092 [INFO] [config] grpc_server_instrance.go:83 New ServerInstranceInfo ips:[<IP_ADDRESS>] port:20035 rpcMaxMsgSize:41943040
2023-07-13 16:16:13.092 [WARN] [config] config.go:248 get clickhouse endpoints(deepflow-clickhouse) failed, err: can't find my clickhouse endpoint now, pleate wait later...
2023-07-13 16:16:13.092 [WARN] [config] grpc_server_instrance.go:78 No reachable server
2023-07-13 16:16:13.100 [INFO] [kubernetes] watcher.gen.go:1024 Endpoints watcher started
2023-07-13 16:16:13.108 [INFO] [querier] querier.go:63 init opentelemetry: otel-endpoint(http://<IP_ADDRESS>:38086/api/v1/otel/trace)
[GIN-debug] [WARNING] Running in "debug" mode.  We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on :20416
I0713 16:16:13.114974       1 leaderelection.go:258] successfully acquired lease deepflow/deepflow-server
2023-07-13 16:16:13.115 [INFO] [election] election.go:204 master/<IP_ADDRESS>/deepflow-server-598fb4cdf8-qmhnr/<IP_ADDRESS> is the leader
2023-07-13 16:16:18.093 [INFO] [router.health] health.go:55 stage: Election init, time cost: 5.001202601s
2023-07-13 16:16:18.097 [INFO] [election] election.go:147 check leader finish, leader is master/<IP_ADDRESS>/deepflow-server-598fb4cdf8-qmhnr/<IP_ADDRESS>
2023-07-13 16:16:18.105 [INFO] [db.migrator.mysql] migrator.go:82 upgrade if db version is not the latest
2023-07-13 16:16:18.106 [INFO] [db.migrator.mysql] migrator.go:89 current db version: , expected db version: <IP_ADDRESS>
2023-07-13 16:16:18.106 [ERRO] [db.migrator.mysql] migrator.go:94 current db version is null, need manual handling
2023-07-13 16:16:18.106 [ERRO] [controller] master.go:67 migrate mysql failed
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Generally, mysql initialization fails due to poor disk performance or deepflow database table initialization fails. Try to log in mysql with root:deepflow to see if it can log in successfully. And add the following fields in the values - the custom files, update deepflow - server, if not successful landing, the empty mysql data directory/opt/deepflow/data/deepflow - mysql, Then add the following field to values-custom and update

it.
一般是因为磁盘性能较差导致mysql初始化失败或者deepflow的数据库表初始化失败，使用 root:deepflow 尝试登陆 MySQL，看看是否能登陆成功，如果能登陆成功，则drop掉deepflow database，并在values-custom文件中添加如下字段，更新deepflow-server，如果不能成功登陆，则清空mysql数据目录 /opt/deepflow/data/deepflow-mysql，然后在values-custom中添加如下字段，并更新

mysql:
  livenessProbe:
    failureThreshold: 20
  readinessProbe
    failureThreshold: 20

server:
  livenessProbe:
    failureThreshold: 20
  readinessProbe
    failureThreshold: 20

Can you tell me the path of the the values - the custom files?I can't find it.

pod deepflow-server-598fb4cdf8-qmhnr in running status. but pod deepflow-grafana-764cfb5bc6-g8ksn goes to CrashLoopBackOff.
### The log of deepflow-grafana-764cfb5bc6-g8ksn as follw:
[root@master network-scripts]# kubectl logs deepflow-grafana-764cfb5bc6-g8ksn -n deepflow
logger=settings t=2023-07-13T22:56:27.97595358+08:00 level=info msg="Starting Grafana" version=9.5.2 commit=cfcea75916 branch=HEAD compiled=2023-05-04T17:56:30+08:00
logger=settings t=2023-07-13T22:56:27.976324451+08:00 level=warn msg=""sentry" frontend logging provider is deprecated and will be removed in the next major version. Use "grafana" provider instead."
logger=settings t=2023-07-13T22:56:27.976359215+08:00 level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini
logger=settings t=2023-07-13T22:56:27.976368955+08:00 level=info msg="Config loaded from" file=/etc/grafana/grafana.ini
logger=settings t=2023-07-13T22:56:27.976376553+08:00 level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana/"
logger=settings t=2023-07-13T22:56:27.976383969+08:00 level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana"
logger=settings t=2023-07-13T22:56:27.976391606+08:00 level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins"
logger=settings t=2023-07-13T22:56:27.976399275+08:00 level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning"
logger=settings t=2023-07-13T22:56:27.976406419+08:00 level=info msg="Config overridden from command line" arg="default.log.mode=console"
logger=settings t=2023-07-13T22:56:27.976413854+08:00 level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana/"
logger=settings t=2023-07-13T22:56:27.976420745+08:00 level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana"
logger=settings t=2023-07-13T22:56:27.976427609+08:00 level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins"
logger=settings t=2023-07-13T22:56:27.976434486+08:00 level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning"
logger=settings t=2023-07-13T22:56:27.976441691+08:00 level=info msg="Config overridden from Environment variable" var="GF_SECURITY_ADMIN_USER=admin"
logger=settings t=2023-07-13T22:56:27.976456697+08:00 level=info msg="Config overridden from Environment variable" var="GF_SECURITY_ADMIN_PASSWORD=*********"
logger=settings t=2023-07-13T22:56:27.976463785+08:00 level=info msg=Target target=[all]
logger=settings t=2023-07-13T22:56:27.976483527+08:00 level=info msg="Path Home" path=/usr/share/grafana
logger=settings t=2023-07-13T22:56:27.9764919+08:00 level=info msg="Path Data" path=/var/lib/grafana/
logger=settings t=2023-07-13T22:56:27.976498508+08:00 level=info msg="Path Logs" path=/var/log/grafana
logger=settings t=2023-07-13T22:56:27.976505276+08:00 level=info msg="Path Plugins" path=/var/lib/grafana/plugins
logger=settings t=2023-07-13T22:56:27.976519699+08:00 level=info msg="Path Provisioning" path=/etc/grafana/provisioning
logger=settings t=2023-07-13T22:56:27.976526142+08:00 level=info msg="App mode production"
logger=sqlstore t=2023-07-13T22:56:27.976833126+08:00 level=info msg="Connecting to DB" dbtype=mysql
logger=migrator t=2023-07-13T22:57:07.997415897+08:00 level=error msg="alert migration failure: could not get migration log" error="failed to check table existence: dial tcp: lookup deepflow-mysql on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:35053-><IP_ADDRESS>:53: i/o timeout"

看起来是无法解析 deepflow-mysq，检查下coredns 和容器网络是否有问题，比如 跨节点能发ping 通pod ip

为什么服务器接入deepflow-agent后，在grafana页面的DeepFlow_Server没有显示数据，都是提示no data
[root@master deepflow]# systemctl status deepflow-agent
● deepflow-agent.service
Loaded: loaded (/usr/lib/systemd/system/deepflow-agent.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2023-07-13 12:10:22 EDT; 9min ago
Main PID: 31869 (deepflow-agent)
Tasks: 30
Memory: 10.9M
CGroup: /system.slice/deepflow-agent.service
└─31869 /usr/sbin/deepflow-agent
Jul 13 12:10:22 master systemd[1]: Started deepflow-agent.service.
[root@master deepflow]# kubectl get pods -A
NAMESPACE              NAME                                         READY   STATUS    RESTARTS      AGE
deepflow               deepflow-agent-k4dmt                         1/1     Running   0             17m
deepflow               deepflow-app-846c6645cb-qt8x8                1/1     Running   0             17m
deepflow               deepflow-clickhouse-0                        1/1     Running   0             17m
deepflow               deepflow-grafana-764cfb5bc6-j87mk            1/1     Running   2 (16m ago)   17m
deepflow               deepflow-mysql-6fd78f7f8b-5mszw              1/1     Running   0             17m
deepflow               deepflow-server-659fd75dc-l2tcj              1/1     Running   2 (16m ago)   17m
kube-system            calico-kube-controllers-79568db7f8-84rbk     1/1     Running   0             19m
kube-system            calico-node-44sxp                            1/1     Running   0             19m
kube-system            coredns-567c556887-9dd4b                     1/1     Running   0             24m
kube-system            coredns-567c556887-w5j7p                     1/1     Running   0             24m
kube-system            etcd-master                                  1/1     Running   0             24m
kube-system            kube-apiserver-master                        1/1     Running   0             24m
kube-system            kube-controller-manager-master               1/1     Running   0             24m
kube-system            kube-proxy-jsfl5                             1/1     Running   0             24m
kube-system            kube-scheduler-master                        1/1     Running   0             24m
kubernetes-dashboard   dashboard-metrics-scraper-6d9cd57f74-j9825   1/1     Running   0             22m
kubernetes-dashboard   kubernetes-dashboard-6788559d58-2qbx4        1/1     Running   0             22m

谢谢，coredns的问题解决了。grafana也有数据，但是我看到deepflow-clickhouse-0日志有报错和grafana数据查询语句报错，能帮我看下是什么问题吗？
grafana数据查询语句报错：
Error: tag tag.host 未在deepflow_agent_ebpf_collector, deepflow_system中找到
deepflow-clickhouse-0日志报错：
2023.07.14 17:08:14.126486 [ 383 ] {9c72d210-c008-47a9-9f52-a8c42bfacec5}  TCPHandler: Code: 62. DB::Exception: Syntax error: failed at position 2 ('FROM'): FROM deepflow_system.deepflow_agent_tcp_packet_sender PREWHERE time >=<PHONE_NUMBER> AND time <=<PHONE_NUMBER> LIMIT 100.  (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below):

DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, bool) @ 0xa3ec73a in /usr/bin/clickhouse
DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, bool, unsigned long, unsigned long) @ 0x1626b55f in /usr/bin/clickhouse
? @ 0x1511427f in /usr/bin/clickhouse
DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::shared_ptrDB::Context, bool, DB::QueryProcessingStage::Enum) @ 0x15113e77 in /usr/bin/clickhouse
DB::TCPHandler::runImpl() @ 0x15c0b88c in /usr/bin/clickhouse
DB::TCPHandler::run() @ 0x15c1fe99 in /usr/bin/clickhouse
Poco::Net::TCPServerConnection::start() @ 0x1898af73 in /usr/bin/clickhouse
Poco::Net::TCPServerDispatcher::run() @ 0x1898c2cd in /usr/bin/clickhouse
Poco::PooledThread::run() @ 0x18b4ea29 in /usr/bin/clickhouse
Poco::ThreadImpl::runnableEntry(void*) @ 0x18b4c2e2 in /usr/bin/clickhouse
? @ 0x7f2ffa638609 in ?
clone @ 0x7f2ffa55d133 in ?

看下grafana报错吧

已经采集agent一个星期了，还是没看到数据


[Feature request] Can you plz add an .exe file in release section

Can you plz add an .exe file in release section
because I am have a bit of a problem while installing th e.msixbundle file
thanks
:)

Notepads is a UWP app not win32 app, so there is no .exe executable.


spring-cloud-contract-verifier MockMvc requestParameters generation does not support parameters that need encoding

Problem
Currently when using the groovy DSL and adding request parameters,

org.springframework.cloud.contract.spec.Contract.make {
  request {
    method 'GET'

    urlPath( '/incomingFiles'){
    	queryParameters {
    	//this is a hack for this test see also pluggable architecture test generator https://cloud.spring.io/spring-cloud-contract/spring-cloud-contract.html
                                        parameter 'filter': 'hello'
                                        parameter 'filter2': 'world'
                                        parameter 'filter3': '{\\"___other___\\":\\"day\\"}'
		}
    }
    headers {
    	header('Accept': 'application/json;charset=UTF-8')
  	}
  }
response {
  status 200
  body("""
         [{
           "id":4
           //some more fields
          }]
  """)
  headers {
    header('Content-Type': 'application/json;charset=UTF-8')
  }
 }
}

something like this is generated:
ResponseOptions response = given().spec(request)
					.get("/somePath?filter=hello&filter2=world&filter3={\"___other___\":\"day\"}")
//this call leads to an exception because of the json that needs to be encoded which is not done when

just appending it to the path.
while the javadoc of MockMvc states the following:

Perform a GET request to a path. Normally the path doesn't have to be fully-qualified e.g. you don't need to specify the path as http://localhost:8080/path. In this case it's enough to use /path.
Parameters:
path The path to send the request to.
pathParams The path parameters. E.g. if path is "/book/{hotelId}/{roomNumber}" you can do get("/book/{hotelName}/{roomNumber}", "Hotels R Us", 22);.

Solution
if something like this would be generated it would work.
//this would work and in the rest controller it would also arrive propperly decoded
ResponseOptions response = given().spec(request)
					.get("/incomingFiles?filter={filter}&filter2={filter2}&filter3={filter3}","hello","world","{\"___other___\":\"day\"}");

Question
I already added a patch to the spring-cloud-contract-verifier project, but I wonder how to contribute this, should I just open a pull request?

Yeah sure, please open a pull request and let's talk there :)

see https://github.com/spring-cloud/spring-cloud-contract/pull/171

Thanks - BTW can you elaborate more on this
//this is a hack for this test see also pluggable architecture test generator https://cloud.spring.io/spring-cloud-contract/spring-cloud-contract.html

you can ignore or delete this (was a comment to myself when I was trying to play with the DSL), it is possible to "hack" the dsl by providing the correct strings and to bring an encoded queryParameter into the url string
so you could write something like this in the dsl
request {
method 'GET'
urlPath( '/someURL'){

parameter 'filter': '{json}", "{\"any\":\"9999\"} '
}
}

ah I get it... ok let's focus on fixing the bug :)

solved in https://github.com/spring-cloud/spring-cloud-contract/pull/171


New install turns off LEDs when room is dark

My first build was about 4 years ago, has been running fine. I recently pulled all the latest changes due to the URL change, re-inserted all my parameters, and built to the same HUZZAH board. All seems to work the same except the lowest brightness threshold.
In the past, the map brightness would lower to a certain point (50) and just stay there, no matter how dark the room got. Now though, the light reading seems to bounce above/below some unknown boundary, so the whole map constantly turns on and off. It's not rebooting; it's fully colored, then off, then fully colored again. This is easiest to repro by walking past the map, as my shadow can change the ambient light just enough, but it also does this when I'm sitting across the room, which is pretty distracting.
My settings used to be
#define MIN_BRIGHTNESS 50
#define MAX_BRIGHTNESS 255
#define MIN_LIGHT 1
#define MAX_LIGHT 1024
I've tried changing the MIN_LIGHT to 16 as suggested in the sketch, but this seems to make the map turn off in even brighter light (worse). Setting MIN_LIGHT to 0 seems to help, but doesn't solve it.
How can I set the map to never turn completely off, yet retain the auto-brightness functionality?

Any ideas?


Button focus is not clearly visible (blue on blue)

Environment Details:
VSCode Version : 1.24.0
OS Version : Win10
Additional Details:
MAS Violated : MAS 2.4.7
Repro Steps:

Navigate to Status Bar at the bottom and move to notifications.
Move to any notification that appears at the screen.
Navigate to any button inside the notification.

Actual:
The focus is not marked using dotted-lines/rectangle to indicate the focus on the buttons. Only color changes to mark the focus on the buttons.
Expected:
The focus should be visible using dotted-lines/rectangle to indicate the focus on the buttons.
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/Pages/browse-fixes.aspx
User Impact:
Low vision/visually impaired users should be able to distinguish the focused element.
MAS Reference:
MAS2.4.7 - https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={3b98b04f-4fab-4d3e-81af-a0906a34849c}
Attachment For Reference:
A11y_VSCode_StatusBar_Keyboard_NotificationButtonsFocusVisibility.pptx
Does this issue occur when all extensions are disabled?: Yes

@AccessibilityTestingTeam-TCS we have a high contrast theme for people that want a much stronger focus indication, isn't that sufficient?

Agreed focus visibility is working for High contrast theme. But all low vision users may not be comfortable in using only one theme(here High Contrast). Other users using "Light Visual Studio" will again face issues in focus visibility. Switching themes may not be always a good option. Dotted-lines/rectangle to indicate focus can serve purpose for all of the themes listed.

There is a border around the button when it gets focus but the border (blue) color collides with the blue background of the button. It may work better in other themes.

@bpasero do we plan to do something here? If no we should close as invalid and explain why
@misolori fyi since it is a contrast issue

I am happy for suggestions.

@bpasero we did start showing the outline with an offset in the extension viewlet:

We could try the same thing with our primary buttons:

@misolori I actually like that if we can make it so that it really only shows up on focus but e.g. not when clicking (this might be a bit tricky to get right).

Gives me a bit of a blurry effect. Definetly would not like to get it on click.
THough might be one of those things that I need to really try out to get a complete impression


Linked calendar event should be editable

Hello, I would like to suggest the next feature.
When you edit a linked event (.ics and others) by default, you cannot edit it. Because of course there is no way to edit third party calendars due to API constraints. But instead, what you want to do is to have an ability to write down notes on this event locally. Otherwise, you have to do it in a different not and cannot link it with an event.
What should be happened:

When you edit a linked event, a new not is created on the same destination folder as local events.
Linked note to event may have a prefix or meta key with "linked calendar" value.
If a linked calendar event is removed, the linked note is still persisted.

Thanks in advance.

I have an alternative proposal. It may not be possible to edit linked calendars but you could export your local Obsidian calendar to an ics file (which the FullCalendar JS library supports I think).
Getting the ics file into Google Calendar (or whatever you use) and getting it to update is another matter but definitely something you can DIY. You should be able to set up something like Google Drive to host the file if you want to go for the easy way, although the calendar will probably update pretty slowly.
Really as long as you have an ics file you can self-host the calendar pretty easily with like a raspberry pi.

@FelixBrakel I don't need to export it. I want to use FullCalendar in Obsidian but to be able to edit events that are comming from a calendar such as google calendar. I want to create notes out of linked events, which I'm not able right now.

This request would be fulfilled either by #40 or #25, both of which are highly requested features that are on the roadmap.


fix(c:afkcheck): change min val to 0

wasn't really able to get the nitro react to actually show up, but the logic is fine.

If, logically, the nitro reaction isn't supposed to show up if the nitro count is set to 0, then it should be fine.

what is the point in having both config-dungeons and config-afkchecks have nitro limit configurability?
doesn't one just take precedence over the other anyways?

I believe the way I set this is

config-afkchecks lets you set the nitro limit on a section-basis
config-dungeons lets you override the nitro limit for that dungeon across all sections

wasn't really able to get the nitro react to actually show up, but the logic is fine.

If, logically, the nitro reaction isn't supposed to show up if the nitro count is set to 0, then it should be fine.

not showing up, as in, I wasn't able to get the reaction to appear regardless. probably some config setting I missed, tried finding how to add it but was lost under all the precedence stuff

If you're referring to the test server, it's because there is no Nitro role there, as no one has boosted the server

wasn't really able to get the nitro react to actually show up, but the logic is fine.

If, logically, the nitro reaction isn't supposed to show up if the nitro count is set to 0, then it should be fine.

not showing up, as in, I wasn't able to get the reaction to appear regardless. probably some config setting I missed, tried finding how to add it but was lost under all the precedence stuff

If you're referring to the test server, it's because there is no Nitro role there, as no one has boosted the server

ah, so much for testing that precedence thing then

Precedence should work as expected 😎


[issue 474] document DLS mode usage for Term Lookup Query support

…om/opensearch-project/documentation-website/issues/474
Signed-off-by: alicejw<EMAIL_ADDRESS>Description
Document the new filter modes for TLQs with document-level security.
Issues Resolved
issue 474 DLS support for Term Lookup Queries
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

adding a screen shot to show table rendering.

screen shot to show rendered table

adding image to show rendered view:


Refactor data migrator

The data migrator has a few problems:

It's way too slow because it's doing way more work than is necessary. It needs to more closely follow the kyna-importer model.
It needs to be eodhd.com-specific; otherwise we'll end up with a bunch of conditional logic for every new import schema.
Instead of writing data, moving data, and then deleting data, let's refactor it to make those decisions up front and only write the data once to each of its final destinations.

This was resolved in commit 91feea7.


Remove zone default in BigtableHelper.java

I'm sure there is a reason you want this, so LGTM.

Carter - can you sign the CLA, by going to github/ internally.

I signed it!

Actually I didn't sign it. But please take a look. I've contributed plenty of code to GCP, and my username is a registered Google Cloud Platform member.
The link says, "Googlers do not need to sign a CLA. "


Bring completion changes into rel/vs16.0

Already built an insertion from the feature/completion branch. This is just making sure they're included in the rel/vs16.0 branch. I'll port these over to master once everything goes through.

Lets discuss the branch strategy tomorrow in person. I still don't think we understand each other.

@rynowak these changes are in d16.0. Any concerns with me merging this?


Use effects to denote scope of work

Currently we build our own coroutine scope to encapsulate all of the work required to render. When this scope ends, rendering ends and the program exits cleanly (modulo internal nonsense to make this work).
Ideally effects inside the composition are used to scope the composition instead. Compose internals currently prevent this, which is tracked as https://issuetracker.google.com/issues/169425431.

I was doing some Compose UI for Desktop recently, and it seems like they support this internally. Need to investigate.

I think what you need is something like FlushCoroutineDispatcher from Compose Multiplatform.

Done in #284


[Infra] Upgrade actions/checkout to v3

Proposed changes

Bump checkout action in CI builds from v2 to v3 (https://github.com/actions/checkout)

Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

cc @JNSimba


Add docker.elastic.co support for elasticsearch images

Hi!
This PR solve #76 .
Official elasticsearch images are in _https://www.docker.elastic.co/r/elasticsearch_.
The problem was that https://docker.elastic.co/v2/elasticsearch/elasticsearch/tags/list needs an access_token.
I wrote some lines of code to catch a valid access_token before call tag list url.

This looks great!
Do you know how long the access token is valid for? Maybe if it is for long enough we could cache it for a time so we don't have to request it always.

Hi @abenettt, unfortunately there's no expire_in field on auth response.
I've been thinking about saving the token somewhere but you need to take a valid token only when you create a new container.

Ah yeah you're right it would not really make sense to save the token.

hi, @josecanhelp @mattstauffer I just updated the PR just to keep branch cleaned. Feel free to discard this PR

Great work, @danielebarbaro. Thanks!


List networks

Add list gestion for macOS and Linux

Hi,
Seen your proposition for lists on the repo of sdushantha and loved the idea !
I saw there was missing a implementation for Linux and MacOS, here is my proposition.

Hi @nicob-dev ,
The changes look good, thank you for the effort taken to complete the missing pieces 👍🏽 .


reading in files

Hi Robert,
Apologies for a potentially simple question: what is the fastest way to read the sequence data into memory with Racon? I'm using a pretty big AWS instance (r5.24xlarge - see details here) and have 96 cores at my disposal. It's my very non-technical understanding that reading in the file may not be able to leverage all these cores?
Thanks very much,
Devon

Hi Devon,
unfortunately I have only a single thread parser which is kinda problematic when you want to read really big files. What sizes of files are you dealing with?
Best regards,
Robert

Probably the slowest part is .paf parsing. You can drastically reduce its size if you replace read names in your .fq file with integers and then rerun minimap or whatever you are running. But do not stop racon now so you do not lose valuable time on the server. :D Did aligning part start?

I think so; here's what has been reported to my tmux window so far:
[racon::Polisher::initialize] loaded target sequences
[racon::Polisher::initialize] loaded sequences
[racon::Polisher::initialize] loaded overlaps

Would it be much work to modify these [racon::Polisher::initialize] lines to include a timestamp? Something something simple like the Linux date program, so we could see a log that produced the same information as above, but with a little bit of time info. I'm sure other things like CPUwall time, etc. might also be of value, but even knowing how long each task was run is certainly a help.
I recall you mentioning the trick about reducing file sizes by renaming headers in a previous Issues thread; totally forgot about it - thanks! I'll give that a shot for the next iteration.

I had planned to integrate timestamps in several projects but did not have the time yet. Have to decrease the number of log messages as well! :)

Well two cheers for you for now, and three when you've finished that timestamp issue.
Quick question from a recent issues post 93 - can you confirm that if I have:    100G .fastq, 45G .paf, and 5G .fasta files being loaded in, then the memory requirements for this job are 150G of RAM (give or take, like 5G)?
In other words, I shouldn't need 300G to do this, right?
It seems like a lot of your issue posts are about insufficient memory. Maybe just toss your recommended memory requirements into the README.md of this repo? Maybe that and the renaming the .fastq trick (this post had a really simple one-liner to use for just such a trick)

If you have long reads than yes, you can just sum up the file sizes and add some epsilon (add the target size twice because of the newly generated consensus, forgot about it in mentioned issue). If you have Illumina, the memory requirements are a bit higher because the sequence class overhead equals half the .fastq file if all sequences are around 100bp. So you would get something like 1.5 * .fastq + .paf + 2 * .fasta. If you have a .sam file instead, the memory requirements are higher due to cigar strings being loaded.
The awk command you referenced is fine if the .fastq file has 4 lines per sequence, but I came across folded files which are now supported in racon as well.
I have noted all your requests and will update racon with them when I get the time :)

Timestamps and reduced log is implemented in latest commit (v1.3.3).


SNOW-1061616: Support for .snowignore File to Exclude Cache Files from snow object stage copy Command

Description
Description
When using the snow object stage copy command in the Snowflake CLI, it has been observed that unnecessary cache files are also being uploaded, which ideally should not be part of the staging process. This behavior can lead to clutter and potentially increased costs due to the storage of unwanted files.
Proposed Solution
Introduce support for a .snowignore file, similar in concept to .gitignore or .dockerignore, which would allow users to specify patterns for files and directories that should be excluded from uploads.
Request for Input

Are there any existing workarounds to prevent specific files or directories from being uploaded that I might have missed?
I would appreciate feedback on the proposed solution and any suggestions on the implementation approach.
Additionally, I am willing to contribute to the implementation of this feature. Would it be acceptable for me to develop this functionality and submit a pull request?

Thank you for considering this enhancement to improve the Snowflake CLI experience.
Context
No response

I think this a good feature request. If you are willing to contribute the solution then feel free to open a PR 🚀

@sfc-gh-turbaszek
Thank you for your support. I will try to take on the implementation. Here's the specification I'm considering:

Utilize the pathspec library found at https://pypi.org/project/pathspec/ to automatically recognize a .snowignore file in the current directory.
Add a --ignorefile flag to the snow object stage copy command, allowing the use of custom filenames or paths for exclusion.

As I'm still new to this project, any guidance on the files or approaches that need modification would greatly accelerate my contribution.

I would suggest to add --ignore-file as a global flag. This can be useful in more than stage operations.  I'm not convinced we need additional dependency at this point.
We can consider using shutil for inspiration:
import os
from pathlib import Path
from shutil import ignore_patterns
from typing import Set

if __name__ == '__main__':
    patterns = [
        "*.md",
        "foo.log",
        "*.java",
        "*.json"
    ]
    ignore = ignore_patterns(*patterns)

    src = Path.cwd()
    entries = list(Path.cwd().glob("*"))
    ignored_names: Set = ignore(os.fspath(src), [x.name for x in entries])

    files_to_upload = []
    for srcentry in entries:
        if srcentry.name in ignored_names:
            continue
        files_to_upload.append(srcentry)

    print(files_to_upload)

From docs it follows that ignore_patterns accepts glob-like patterns. I think this is enough for us at this point.

@sfc-gh-turbaszek
Thank you for your guidance! I agree with you about implementing --ignore-file as a global flag.
I wasn't aware of the ignore_patterns function. I did some preliminary testing, and it seems that it doesn't straightforwardly support negating matches like !example.txt or comments such as #Comment.
Would we need to implement these features ourselves?
And I would also appreciate your opinion on which files should incorporate this implementation.

it seems that it doesn't straightforwardly support negating matches like !example.txt or comments such as #Comment

For good start I would suggest to start with supporting only glob patterns and comments. This probably will cover most of "ignore" cases. Supporting comment shouldn't be hard, we just ignore lines starting with #.
For implementation guidance see how --format flag is implemented:
https://github.com/Snowflake-Labs/snowflake-cli/blob/5f345088b2fbe8f3771b218a9fb67f3affcb773c/src/snowflake/cli/api/commands/decorators.py#L248-L253

@sfc-gh-turbaszek
OK,I will follow the implementation method of the format flag and implement support for comments and glob patterns only.

@sfc-gh-turbaszek
I have implemented the flag and confirmed its functionality. However, I noticed that currently, file paths are being given directly to the PUT command as follows:
https://github.com/Snowflake-Labs/snowflake-cli/blob/7652cd42d23d94c7ba45c4a8d2c3c4f3f1d9bbe5/src/snowflake/cli/plugins/object/stage/commands.py#L78-L86
Since PUT does not support exclude patterns, I believe we need to issue PUT commands for each file individually if we specify --ignore_file.
In that case,  --parallel may become meaningless. How should we implement this? I would like to hear your opinion.


Menu show empty when remove data from it and its children

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
This is bug

What is the current behavior?
For a menu, which I don't want to show on left menu, I did remove all "data" attribute from it and its children, but it still now the empty menu item.

What is the expected behavior?
It should not show any menu item which and its children don't have "data" attribute

What is the motivation / use case for changing the behavior?
I fixed it myself by add some line of code into baMenu.service.ts method _skipEmpty at line 36

 if (item.children && item.children.length > 0) {
          menuItem = this._skipEmpty(item.children);
          if (menuItem.length == 0){
            menuItem = null;
          }
        }

Please tell us about your environment:

Angular version: 2.0.0-rc.4
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Hi @TrungVuAnt, thanks for reporting, could you provide a PR for this fix? Thanks.

Hi @nnixaa, I intend to fix it, but I found if fix as I suggested, it will cause another issue: the page title and breadcrumb will show empty. That's because the left menu, the page title and the breadcrumb just show info from the "route->data->menu", I think, it should be separated, the menu, the page title, besides that, it also needs a way to show/hide menu depend on permissions of user.


deal with running_xacts to hot standby replica

Steps to reproduce
A previous fix to ensure hot standby replicas to have running transactions information caused replicas fail to start or take a long time to start (tracked by https://github.com/neondatabase/neon/issues/7204). To fix this issue, we reverted part of https://github.com/neondatabase/neon/pull/6705 and removed test_replication_start test, via https://github.com/neondatabase/neon/pull/7209. We need to fix this issue and add back the test cases.
Expected result
Actual result
Environment
Logs, links

Discussion at https://github.com/neondatabase/neon/issues/6211#issuecomment-2020965697

PR: https://github.com/neondatabase/neon/pull/7288

PR #7288 was merged. That hopefully fixes most of the issues, although there are still known cases with lots of subtransactions, where the read replica might not immediately start up, or might crash with an error later. We are betting that those cases won't happen very often in practice.

so let's close this one then. we track overall phys replication re-launch in parent epics


New version: acrosync.DuplicacyWeb version 1.8.0

Pull request has been created with komac v2.3.0 :rocket:

Resolves #162867

Microsoft Reviewers: Open in CodeFlow

[Policy] Needs-Manual-Merge

#142854


How can I link libsodium to the c++ project

cmake_minimum_required(VERSION 3.14...3.22)

project(onqlave-cpp LANGUAGES CXX)

# --- Import tools ----

include(../cmake/tools.cmake)

# ---- Dependencies ----

include(../cmake/CPM.cmake)

CPMAddPackage(
  NAME libsodium
  VERSION 1.0.18
  URL https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz
)

if(libsodium_ADDED)
    add_library(libsodium INTERFACE IMPORTED)
    target_include_directories(libsodium INTERFACE ${libsodium_SOURCE_DIR}/src/libsodium/include)
endif()

# ---- Create standalone executable ----

file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)

add_library(${PROJECT_NAME} ${sources})

target_link_libraries(${PROJECT_NAME} PRIVATE libsodium)

Here is my CMakeLists.txt file I added in my C++ project. However, I am facing with the error you are not looking for the header file like
fatal error: 'sodium/version.h' file not found

I saw that, it's seem to be can not build that  repository. Looking at the _deps folder. libsodium-build folder is empty

Libsodium doesn't support CMake, you can have a look at what I did couple of years ago (or cpm fetch this one, no sure it work tho):
https://github.com/OlivierLDff/libsodium

Did you ever find a solution? I tried @OlivierLDff solution and while it works in CLion and compiles a libsodium.lib, when I use it with CPM the libsodium-build never gets a .lib file created, and seems like it never fully compiles.
The only updated cmake file I know of is facebookincubator/fizz/blob/main/build/fbcode_builder/CMake/FindSodium.cmake but was wondering what you ended up with. Libsodium is popular enough that this would be a big win for CPM if it can be done


Normalize all dialog audio files

[ ] it is too low

Aware of this, renamed it since we need to do this for all dialogs

Kinda done in #436


Apply a consistent tag to resources

In order to keep track of resources in an account, it would be helpful to have all Kubicorn resources tagged with something consistent. That way, an administrator could query their cloud provider for a single tag and see all Kubicorn-managed resources easily.
I'm not 100% sure what would be a good tag; maybe creator: kubicorn?
This may have to be implemented per cloud provider.

Something like AWS's newer resource groups could take advantage of this.

I believe this is something like tags on DigitalOcean. We tag all resources with the cluster name + role, so you can make difference between stuff.

Yeah, there's some of that; I think having 1 that identifies all resources (in addition to KubicornMaster and KubicornNode) would be helpful.
In AWS some are applied (example), so it should be a matter of adding additional entries for the different resource types.

So I think I was mistaken - I think I can use the KubernetesClusterName tag to do this.
I did notice, however, that some resources don't have a tag function. AWS security groups don't have it, but AWS VPCs do.
I'll look at a PR to add a tags function where necessary.

@nrb @xmudrii, if no one is picking this up, i can comb through the resources and add tags functions where necessary.

@adnxn I'm not working on this one. If @nrb is not working on it as well, feel free to take it :)

@adnxn Go for it! I'll be happy to review/test.


regression in v3

The action is failing to close issues when using v3. v2 worked fine.
My guess is the first echo to GITHUB_OUTPUT is causing the failure. Looks like it's a multiline string, which doesn't work well with GITHUB_OUTPUT.
log
Run peter-evans/close-issue@v3
  with:
    close-reason: completed
    comment: This plugin has been added/updated and will be available on the next daily scheduled update.

    token: ***
    repository: LizardByte/PluggerDB
    issue-number: 473
  env:
    GH_TOKEN: ***
    pythonLocation: /opt/hostedtoolcache/Python/3.10.11/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.11/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.11/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.11/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.11/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.11/x64/lib
Run if [ -n "This plugin has been added/updated and will be available on the next daily scheduled update.
  if [ -n "This plugin has been added/updated and will be available on the next daily scheduled update.
  " ]; then
    echo comment="--comment \"This plugin has been added/updated and will be available on the next daily scheduled update.
  \"" >> $GITHUB_OUTPUT
  fi

  if [ "completed" == "not_planned" ]; then
    echo close-reason="not planned" >> $GITHUB_OUTPUT
  else
    echo close-reason="completed" >> $GITHUB_OUTPUT
  fi

  # Convert labels to comma separated list
  if [ -n "" ]; then
    labels=$(echo "" | tr '\n' ',' | sed 's/,$//')
    # Remove trailing comma and whitespace
    labels=$(echo $labels | sed 's/,$//' | sed 's/[[:space:]]//g')
    echo labels=$labels >> $GITHUB_OUTPUT
  fi
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    GH_TOKEN: ***
    pythonLocation: /opt/hostedtoolcache/Python/3.10.11/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.11/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.11/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.11/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.11/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.11/x64/lib
Error: Unable to process file command 'output' successfully.
Error: Invalid format '"'

I have used this method to echo to GITHUB_ENV, but it should also work for GITHUB_OUTPUT.
suggestion
# this is stupid but works for multiline strings
echo "comment<<EOF" >> $GITHUB_OUTPUT
echo "$comment" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT

Hi @ReenigneArcher
Thank you for reporting this! It should be fixed in v3.0.1 / v3


paste not updating clipboard

I can read the current content of the clipboard just fine, but if I paste new content, clipboard is not updated. I tried it on https://charlesstover.github.io/use-clippy/ as well, but nothing.
Am I missing something or does this hook not support live paste events?
Edit: I tried this on macOS with both Chrome and Brave.
And yes, I allowed clipboard access.

I don't understand what you mean by paste events. Pasting does not change the contents of the clipboard, so nothing should be occurring on paste. What is the expected behavior?

I guess I misunderstood exactly what this package was supposed to do.
I found this article that explains how to capture pasted images, which is what I was trying to accomplish.


suppress {es5Strict} does not work

File example.js:
/** @suppress {es5Strict} */
function hello() {
  var a = "\306";
}

Command: java -jar closure-compiler.jar example.js
Output:
example.js:3:10: WARNING - [JSC_INVALID_OCTAL_LITERAL] This style of octal literal is not supported in strict mode.
  3|   var a = "\306";
               ^

0 error(s), 1 warning(s)
function hello(){};

Related bug: https://github.com/bazelbuild/rules_closure/issues/502

Can you confirm the version of the compiler you are using?

closure-compiler-v20210106.jar going to try a newer one (if any)

closure-compiler-v20210302.jar has the same problem

Ok, with strict mode input this is a parse error and thus not suppressible.


Update Readme: VR

@vruv - you've already started this so well done. I'll look over the readme update and give any feedback. Thank you!

https://github.com/OREL-group/GSoC/tree/main/2023/Virtual Reality for Research

Initial readme is in place.


Use linter for error highlighting

Howdy Spark Team! Awesome package you got there, I am the author of the linter package and would like to invite you to try it out. Linter supports both pull and push message mechanisms, if you use pull, your linter will be triggered when user saves or stops typing (configurable), in push, you can push messages to linter whenever a command of your package is triggered. Here's some of the benefits of using linter.

All of the linter providers's messages are shown in the same place so they won't take a lot of user space
It is fast, and gets faster with every release
It contains a lot of settings that users can tweak to make it fit their taste, they can enable/disable three filter tabs, error underlining, inline bubbles and gutter decorations along with gutter placement.
You can focus on doing your part and leave the rest to linter.

Besides that, linter is well maintained and we always treat requests/suggestions from IDE packages with high priority :wink:. If you say that this way your package users will have to download linter package, well we have written atom-package-deps for that. So as soon as somebody installs your package and doesn't have linter, it'll be automatically installed for them.
Linter API Reference
Fixes #79
Fixes #77

Awesome, thanks!  We'll check it out :)

@steelbrain thx for this suggestion! We're already testing different linter packages (namely linter-clang, https://atom.io/packages/linter-cpplint and https://atom.io/packages/linter-gcc). There are some problems we encountered like:

code is compiled against our firmware which declares a lot of constants that are highlighted as errors
code can be written in C++ and Wiring (.ino files) which would need a preprocessor pass before being linted

We're looking forward for adding linter to our toolchain but it will need some additional work before it's suitable for our users.

@suda I am not sure what you mean when you say that linter needs some additional work. Linter is actually the base. It doesn't know anything about the errors or file itself. All it does is trigger the providers and then highlight the errors that they tell it to.
If you say that you are using the cpplint provider and are getting some constant definition errors. Well, If you know what those errors are. You can fork that provider and make it ignore those certain errors. It's as simple as doing Array.prototype.filter.
Linter accepts both an array of messages to highlight or a promise that when resolved returns an array of messages to highlight. You can just use the promises, pre-process the file, lint the preprocessed one and then feed those errors to linter.
I hope it makes sense. If it doesn't, let me know and I'll explain it further.

@steelbrain by linter I meant linter provider (sorry for not being clear). Solution you proposed is exactly what we wanted to do :)


fix on openshift  Permission denied

I suggest you use ceph-csi instead.

add cla

@helingjun as @cofyc suggested its better to use csi. We are no longer planning to maintain these provisioners so the suggestion.

Think you

I signed it


"View game activity" graph dates shifted

For every game's "View game activity", the dates when hovering over a graph bar are shifted back by a day. For example, when a session was recorded on December 17th, the mouseover text would show that graph bar as being from December 16th. All other dates in the image are correct.

fixed with #166

Hi, I think the issue has not been properly fixed. I have updated to the latest version (3.0.1) and it still shows the wrong date when hovering over any graph.

Hardware stats are also shifted on the session list. Latest session will always have no stats from HW logging. Instead those stats will be visible on the previous session, which is obviously not right. Here's an example:

Can you post the file with "Database Id" in ".\ExtensionsData\afbb1a0d-04a1-4d0c-9afa-c6e42ca855b4\GameActivity"?

Here are the files from the two games I showed earlier (Florence and Overwatch 2). Keep in mind that I have logged more Overwatch 2 sessions since sending the original picture.
logs.zip

I have the same issue with the hardware stats. The stats for the latest session is always missing and the stats are associated with the previous session.

I am having this same issue too, I'm using MSI Afterburner as the source of my stats and it always puts my latest session with the previous session

Adding on that I am also seeing hardware stats being applied to the prior session.
I am using GameActivity 3.1.0, Playnite 10.20, MSI Afterburner 4.6.5, and RivaTuner Statistics Server 7.3.4 (ie, all up to date). RTSS is running, Afterburner is running and showing the graphs correctly during gameplay, and I have double and triple checked that the settings are correct as shown in the wiki.

Interestingly, I noticed that the JSON file seems to not be indicating the division between the prior session and the most recent session. Judging by the formatting elsewhere in the JSON file, it appears there should be a ],"2023-12-07T19:27:37.2081142Z":[ string just before the highlight in this screenshot:

The JSON file shown in the above example.
Doing a little more digging, I noticed that the session header for the most recent session is being saved into the file, but is empty - the data for the session is being saved into the wrong place. I did a little JSON surgery to correctly populate the session header with the recorded data, then restarted Playnite, and it is now correctly displaying the data for the most recent session, as shown in the below screenshot. And here is that manually edited file.

Did some more digging because this has been bugging me, and I'm finding that all records are being associated with the wrong session. In the screenshot below, the start time for the selected session lines up with a session from a month earlier. I am seeing this kind of shifting occur across all games and all sessions.

Yep, still me poking at this.
Today, I played a game new to the plugin with a first session longer than recording interval, and found that the session is saved in the JSON file, but there are no records inside of that session. There should be 16 records in this session, as my logging interval is 5 minutes. (4805/300=16 and change)
I then played again for long enough to get a couple records, and the resulting file lists the logged records under the wrong session.
It seems to me what's happening is that the session logs are being saved into the most recent session in the file before the session is created in the JSON file. In the event that a session does not exist in the JSON, the records are just lost. I tried looking through the code to confirm, but I don't know C#, so while I think I got in the vicinity of where the code performs these operations, I don't really have the expertise to pinpoint the issue or suggest a code change to fix it, sorry.
For now, I'm making a point of manually correcting the JSON file after each session. It's annoying to do, but seems to be working without issue. I'm using a script to open the most recently-modified JSON file after every session, which runs when Playnite detects the game has closed. I'll include the script here, for anyone else that's a little extra about their tracking. Note that you'll want to replace the folder location string on line 2 to reflect your own folder hierarchy:
# Specify the folder path
$folderPath = "C:\Users\<YOUR USERNAME>\AppData\Roaming\Playnite\ExtensionsData\afbb1a0d-04a1-4d0c-9afa-c6e42ca855b4\GameActivity"

# Get the most recently modified file in the folder
$recentFile = Get-ChildItem -Path $folderPath | Sort-Object LastWriteTime -Descending | Select-Object -First 1

# Check if a file was found
if ($recentFile -ne $null) {
    # Open the most recently modified file
    Invoke-Item $recentFile.FullName
} else {
    Write-Host "No files found in the specified folder."
}

With a request from @Takarias I poked my head in at this.  I think the issue stems from GameActivity.cs, Line 568.  Specifically, GetLastSession() may be returning the wrong DateTime - instead of returning the DateTime associated with the current session, it looks like it would be filtering out the 'current' session.
This is because, as far as I can tell, GetLastSession() filters out sessions below a specific, user-configurable minimum elapsed time.  However a session in progress only has its ElapsedSeconds property set on line 1116.  So I believe the "current" session is not considered in GetLastSession() and thus instead, the previous session has its activity data appended to.
I think this most likely explains why folks are seeing historical data offset between sessions, and why in checking, the SaveSession_ backup files appear to have no activity details present.  This was also corroborated by @Takarias turning off the "Ignore if under length" feature and trying again with a new session on a different game - and this time, session activity details were correlated with the correct session.


Notebooks 2.0 // Controller // Name & Key Validation

Problem 1
We used the wrong regex for validating  some of the fields that reference Kubernetes objects, we often used ^[a-z0-9][-a-z0-9]*[a-z0-9]$
The correct one would be either:

Secrets, PVCs, WorkspaceKind names, etc:

Regex: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Reference: https://github.com/kubernetes/apimachinery/blob/kubernetes-1.31.2/pkg/util/validation/validation.go#L210

Namespaces:

Regex: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
Reference: https://github.com/kubernetes/apimachinery/blob/kubernetes-1.31.2/pkg/util/validation/validation.go#L183

So we need to update annotations like:
https://github.com/kubeflow/notebooks/blob/0cacff77eecd73980aa0bb4f3ca6d8233ee1d9c0/workspaces/controller/api/v1beta1/workspace_types.go#L107
Search for instances of +kubebuilder:validation:Pattern that match Kubernetes resources.
Problem 2
We forgot to specify the namespace (needed because WorkspaceKind is a cluster resource, and its not clear which namespace to read the ConfigMap from).
We also need to add some validation to the configmap name/key/namespace:

Name:

Min Characters: 1
Max Characters 253
Regex: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$

Namespace:

Min Characters: 1
Max Character 63
Regex: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$

Key:

Min Characters: 1
Max Characters: 253
Regex: ^[-._a-zA-Z0-9]+$

Here is the part of the CRD go type that we need to update:
https://github.com/kubeflow/notebooks/blob/9d02acfdd707282385221590bc953f892099a94c/workspaces/controller/api/v1beta1/workspacekind_types.go#L91-L97

@thesuperzapper  Can I assign this issue to me?


Please excuse the GIT commits spaghetti

I want to have the dev branch for active development and master just for stable releases. This is my intention. During the latest 0.3.1 update, (and some older commits) I kinda had to merge master into dev because dev would not merge into master otherwise.  ( I am not an expert on GIT ) :sweat_smile:
Also I even think that in some old commits, I had accidentally committed some binary files along the code files (yikes), and this is kinda bloating the .git folder. I wish I could delete those commits easily.
So anyone using this library, please excuse the messy commit history.
Cheers

lol it cool


What version of MLST are we using?

@olsonanl @mshukla1 Bob/Maulik, do you know?

It is a modified-to-run-here version of whatever we inherited from the person who is no longer with the project. Code at https://github.com/patric3/p3_mlst
Database used is /disks/patric-common/data/mlstdb-2015-1123

can we go ahead and close this "issue" then?
@jimdavis1 i'm wondering why you opened an issue for a question, or, do i understand this incorrectly?

Dawen,
Jim, Rebecca, or Maulik can maybe verify, but I believe that the MLST references/designations can change over time, and the database may need to be updated.
Ron
From: Dawen Xie<EMAIL_ADDRESS>Reply-To: PATRIC3/patric3_website<EMAIL_ADDRESS>Date: Thursday, February 14, 2019 at 4:10 PM
To: PATRIC3/patric3_website<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
can we go ahead and close this "issue" then?
@jimdavis1https://github.com/jimdavis1 i'm wondering why you opened an issue for a question, or, do i understand this incorrectly?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-463797716, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADCnWsirLke2sZAiNkeB7j5MSOPu1zuWks5vNdCjgaJpZM4a7ug3.

@rkenyon thanks for the info.
Assign this to @olsonanl @mshukla1 then, feel free to assign it to others. Maybe we should update the subject as it looks like a question for me.

Yes, the MLSTs are dynamic .  Maulik will be able to address the version issue, but we probably do need to update them.
Rebecca
From: "Kenyon, Ronald W (rwk4gy)"<EMAIL_ADDRESS>Date: Friday, February 15, 2019 at 8:44 AM
To: PATRIC3/patric3_website<EMAIL_ADDRESS>PATRIC3/patric3_website<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>"Shukla, Maulik"<EMAIL_ADDRESS>"Wattam, Rebecca (arw3s)"<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
Dawen,
Jim, Rebecca, or Maulik can maybe verify, but I believe that the MLST references/designations can change over time, and the database may need to be updated.
Ron
From: Dawen Xie<EMAIL_ADDRESS>Reply-To: PATRIC3/patric3_website<EMAIL_ADDRESS>Date: Thursday, February 14, 2019 at 4:10 PM
To: PATRIC3/patric3_website<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
can we go ahead and close this "issue" then?
@jimdavis1https://github.com/jimdavis1 i'm wondering why you opened an issue for a question, or, do i understand this incorrectly?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-463797716, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADCnWsirLke2sZAiNkeB7j5MSOPu1zuWks5vNdCjgaJpZM4a7ug3.

Yes, we do. it has been long overdue.
-Maulik
On Feb 15, 2019, at 7:50 AM, rkenyon <notifications<EMAIL_ADDRESS>wrote:
Yes, the MLSTs are dynamic . Maulik will be able to address the version issue, but we probably do need to update them.
Rebecca
From: "Kenyon, Ronald W (rwk4gy)" <rkenyon<EMAIL_ADDRESS>Date: Friday, February 15, 2019 at 8:44 AM
To: PATRIC3/patric3_website <reply<EMAIL_ADDRESS>PATRIC3/patric3_website <patric3_website<EMAIL_ADDRESS>Cc: Subscribed <subscribed<EMAIL_ADDRESS>"Shukla, Maulik" <mshukla<EMAIL_ADDRESS>"Wattam, Rebecca (arw3s)" <wattam<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
Dawen,
Jim, Rebecca, or Maulik can maybe verify, but I believe that the MLST references/designations can change over time, and the database may need to be updated.
Ron
From: Dawen Xie <notifications<EMAIL_ADDRESS>Reply-To: PATRIC3/patric3_website <reply<EMAIL_ADDRESS>Date: Thursday, February 14, 2019 at 4:10 PM
To: PATRIC3/patric3_website <patric3_website<EMAIL_ADDRESS>Cc: Subscribed <subscribed<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
can we go ahead and close this "issue" then?
@jimdavis1https://github.com/jimdavis1 i'm wondering why you opened an issue for a question, or, do i understand this incorrectly?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-463797716, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADCnWsirLke2sZAiNkeB7j5MSOPu1zuWks5vNdCjgaJpZM4a7ug3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-464057020, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABLd7zppHOi1Zay1SIqxmfzGalbODAkbks5vNrsxgaJpZM4a7ug3.

Does it include re-calling MLSTs on existing genomes in the database as well?
Ron
From: Maulik Shukla<EMAIL_ADDRESS>Reply-To: PATRIC3/patric3_website<EMAIL_ADDRESS>Date: Friday, February 15, 2019 at 9:10 AM
To: PATRIC3/patric3_website<EMAIL_ADDRESS>Cc: rkenyon<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
Yes, we do. it has been long overdue.
-Maulik
On Feb 15, 2019, at 7:50 AM, rkenyon <notifications<EMAIL_ADDRESS>wrote:
Yes, the MLSTs are dynamic . Maulik will be able to address the version issue, but we probably do need to update them.
Rebecca
From: "Kenyon, Ronald W (rwk4gy)" <rkenyon<EMAIL_ADDRESS>Date: Friday, February 15, 2019 at 8:44 AM
To: PATRIC3/patric3_website <reply<EMAIL_ADDRESS>PATRIC3/patric3_website <patric3_website<EMAIL_ADDRESS>Cc: Subscribed <subscribed<EMAIL_ADDRESS>"Shukla, Maulik" <mshukla<EMAIL_ADDRESS>"Wattam, Rebecca (arw3s)" <wattam<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
Dawen,
Jim, Rebecca, or Maulik can maybe verify, but I believe that the MLST references/designations can change over time, and the database may need to be updated.
Ron
From: Dawen Xie <notifications<EMAIL_ADDRESS>Reply-To: PATRIC3/patric3_website <reply<EMAIL_ADDRESS>Date: Thursday, February 14, 2019 at 4:10 PM
To: PATRIC3/patric3_website <patric3_website<EMAIL_ADDRESS>Cc: Subscribed <subscribed<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
can we go ahead and close this "issue" then?
@jimdavis1https://github.com/jimdavis1 i'm wondering why you opened an issue for a question, or, do i understand this incorrectly?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-463797716, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADCnWsirLke2sZAiNkeB7j5MSOPu1zuWks5vNdCjgaJpZM4a7ug3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-464057020, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABLd7zppHOi1Zay1SIqxmfzGalbODAkbks5vNrsxgaJpZM4a7ug3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-464063074, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADCnWllp9Wx7tpuIuRXq4T-aA2vRcIg1ks5vNr_UgaJpZM4a7ug3.

Yes.
On Feb 15, 2019, at 9:32 AM, rkenyon <notifications<EMAIL_ADDRESS>wrote:
Does it include re-calling MLSTs on existing genomes in the database as well?
Ron
From: Maulik Shukla <notifications<EMAIL_ADDRESS>Reply-To: PATRIC3/patric3_website <reply<EMAIL_ADDRESS>Date: Friday, February 15, 2019 at 9:10 AM
To: PATRIC3/patric3_website <patric3_website<EMAIL_ADDRESS>Cc: rkenyon <rkenyon<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
Yes, we do. it has been long overdue.
-Maulik
On Feb 15, 2019, at 7:50 AM, rkenyon <notifications@github.commailto:notifications<EMAIL_ADDRESS>wrote:
Yes, the MLSTs are dynamic . Maulik will be able to address the version issue, but we probably do need to update them.
Rebecca
From: "Kenyon, Ronald W (rwk4gy)" <rkenyon@virginia.edumailto:rkenyon<EMAIL_ADDRESS>Date: Friday, February 15, 2019 at 8:44 AM
To: PATRIC3/patric3_website <reply@reply.github.commailto:reply<EMAIL_ADDRESS>PATRIC3/patric3_website <patric3_website@noreply.github.commailto:patric3_website<EMAIL_ADDRESS>Cc: Subscribed <subscribed@noreply.github.commailto:subscribed<EMAIL_ADDRESS>"Shukla, Maulik" <mshukla@anl.govmailto:mshukla<EMAIL_ADDRESS>"Wattam, Rebecca (arw3s)" <wattam@virginia.edumailto:wattam<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
Dawen,
Jim, Rebecca, or Maulik can maybe verify, but I believe that the MLST references/designations can change over time, and the database may need to be updated.
Ron
From: Dawen Xie <notifications@github.commailto:notifications<EMAIL_ADDRESS>Reply-To: PATRIC3/patric3_website <reply@reply.github.commailto:reply<EMAIL_ADDRESS>Date: Thursday, February 14, 2019 at 4:10 PM
To: PATRIC3/patric3_website <patric3_website@noreply.github.commailto:patric3_website<EMAIL_ADDRESS>Cc: Subscribed <subscribed@noreply.github.commailto:subscribed<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
can we go ahead and close this "issue" then?
@jimdavis1https://github.com/jimdavis1 i'm wondering why you opened an issue for a question, or, do i understand this incorrectly?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-463797716, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADCnWsirLke2sZAiNkeB7j5MSOPu1zuWks5vNdCjgaJpZM4a7ug3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-464057020, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABLd7zppHOi1Zay1SIqxmfzGalbODAkbks5vNrsxgaJpZM4a7ug3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-464063074, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADCnWllp9Wx7tpuIuRXq4T-aA2vRcIg1ks5vNr_UgaJpZM4a7ug3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-464091847, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABLd7_tMTxSTR_1aSsX1FRsBVUlRi8wdks5vNtMPgaJpZM4a7ug3.

I genuinely missed Bob's pointer to the github.  I actually forgot that i wrote this previous ticket last week.  I have written a lot of tickets and emails about the MLST tool, and it has been an ongoing issue for several years.
Anyway, for those of you who thing this is a low priority, or a fit of histrionics, it is not.
To get a handle on this, I cloned Torsten Seeman's MLST caller (he's the prokka guy) from https://github.com/tseemann/mlst. I then called two data sets with it.  The first data set has 1330 Staph aureus genomes.  From this set, I was able to download a MLST call for 71 of these genomes from SOLR.  Then when I ran it through the Seeman MLST caller, I got MLST calls for all of the genomes except 19.
I then repeated this with a set of 1474 E. coli genomes.  We have MLSTs for most of these genomes in SOLR and they largely agree with the Seeman MLST calls.  If you compare the two sets the patric call is totally missing or "wrong" in 10 cases. I am attaching the data below.
So its a mixed bag: the Staph data is horrific, and the E. coli data is pretty much okay (as far as I can tell).
It is my opinion that this tool is in bad enough shape that it should take precedence over the current deployment of new tools. The PATRIC MLST repo was last touched on Dec 1 2016.
If nobody in the group understands or trusts the code, it might be reasonable to cut over to the seeman version.  It seems nice and can dump json formatted output.  This really should be a rasttk module.
MLST_comparison.xlsx

I am working on updating MLST databases and MLST assignments for all public genomes.
I will have some update by next Tuesday.
-M
On Feb 22, 2019, at 12:21 PM, jimdavis1 <notifications<EMAIL_ADDRESS>wrote:
I genuinely missed Bob's pointer to the github. I actually forgot that i wrote this previous ticket last week. I have written a lot of tickets and emails about the MLST tool, and it has been an ongoing issue for several years.
Anyway, for those of you who thing this is a low priority, or a fit of histrionics, it is not.
To get a handle on this, I cloned Torsten Seeman's MLST caller (he's the prokka guy) from https://github.com/tseemann/mlst. I then called two data sets with it. The first data set has 1330 Staph aureus genomes. From this set, I was able to download a MLST call for 71 of these genomes from SOLR. Then when I ran it through the Seeman MLST caller, I got MLST calls for all of the genomes except 19.
I then repeated this with a set of 1474 E. coli genomes. We have MLSTs for most of these genomes in SOLR and they largely agree with the Seeman MLST calls. If you compare the two sets the patric call is totally missing or "wrong" in 10 cases. I am attaching the data below.
So its a mixed bag: the Staph data is horrific, and the E. coli data is pretty much okay (as far as I can tell).
It is my opinion that this tool is in bad enough shape that it should take precedence over the current deployment of new tools. The PATRIC MLST repo was last touched on Dec 1 2016.
If nobody in the group understands or trusts the code, it might be reasonable to cut over to the seeman version. It seems nice and can dump json formatted output. This really should be a rasttk module.
MLST_comparison.xlsxhttps://github.com/PATRIC3/patric3_website/files/2895180/MLST_comparison.xlsx
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-466495433, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABLd7-8hHgYnnkxxdIJQ9f6OsBbi6ivGks5vQDU1gaJpZM4a7ug3.

It's not clear whether this is a code or a database problem. Seeman appears to be using the same pubmlst databases we are. I'd hold the firetrucks back until we see what Maulik's update shows.
I'd also like to reiterate: discussions of such issues are perfect fodder for the Tuesday calls.

I had planned to add it to this coming Tuesday’s agenda, and will do so.
Ron
From: olsonanl<EMAIL_ADDRESS>Reply-To: PATRIC3/patric3_website<EMAIL_ADDRESS>Date: Friday, February 22, 2019 at 1:33 PM
To: PATRIC3/patric3_website<EMAIL_ADDRESS>Cc: rkenyon<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [PATRIC3/patric3_website] What version of MLST are we using? (#2207)
It's not clear whether this is a code or a database problem. Seeman appears to be using the same pubmlst databases we are. I'd hold the firetrucks back until we see what Maulik's update shows.
I'd also like to reiterate: discussions of such issues are perfect fodder for the Tuesday calls.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/2207#issuecomment-466499525, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADCnWoy94tepTveApFIMRYMWLDVLm_ZAks5vQDgBgaJpZM4a7ug3.

All MLST databases have been updated in February, 2019 and deployed in the annotation pipeline.
MLST assignments for all public genomes have also been updated.


mget/mset does not exist when using multiCaching

This worked in < v5, but now mget and mset are undefined on a multiCaching instance. store.mget and store.mset (taken from the example for mget in the readme) is also undefined because store is undefined on a multiCaching instance.
Is it still possible to use mget and mset with multiCaching instances?
The test mentions the methods, but does not test for them: https://github.com/node-cache-manager/node-cache-manager/blob/a1eebf72bd60188e37f32dfb0c1e03ac23045c00/test/multi-caching.test.ts#L41

Not at this time but it can be implemented.

Fixes in 5.2.0. Thanks!


Easy getter and setter methods for Json columns

Already laravel is giving enough flexibility on getting and setting values on JSON columns, gues we have a JSON column named meta like this
 $table->json('meta')->nullable();
Currently, we can interact with it like this,
We need to cast this column as in model
    protected $casts = [
        'meta' => 'json',
    ];

then we can get the value as
Arr::get($this->meta, $key, $default)
Also, set the value as
$this->update([
            'meta->something' => $value
        ]);

What if we can use it directly as getMeta('key') and setMeta('key')
This PR is all about adding a setter and getter for JSON column which is helpful to interact with!
thanks for looking into this PR, any feedback/suggestion is highly appreciated

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Remove collect coins testnet

Description of proposed changes

Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[ ] The positive scenario is exercised
[ ] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

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

Project coverage is 11.90%. Comparing base (dc67b19) to head (2bc1863).

:exclamation:  There is a different number of reports uploaded between BASE (dc67b19) and HEAD (2bc1863). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (dc67b19)
HEAD (2bc1863)

3
1

Additional details and impacted files
@@             Coverage Diff              @@
##           testnet    #1678       +/-   ##
============================================
- Coverage    72.08%   11.90%   -60.19%
============================================
  Files          110       30       -80
  Lines        12873      924    -11949
  Branches       120      118        -2
============================================
- Hits          9280      110     -9170
+ Misses        3583      814     -2769
+ Partials        10        0       -10

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

Closed the pr till morning because the gluwa-bot was pushing an update to weights once every 15 minutes


Location of iOS source code

I've downloaded Rattegram from the Apple App Store but I cannot find the iOS source code here on Github.
How can I access the iOS code?

The iOS code has not been released yet


Cannot parse some png fetched from web

Thanks for this well-coded library! It works well on most png file.
However, there's a certain type of png files that I didn't manage to decode properly so far.
I received rc code == 6 when running "rc = png.open()" function in the example of LittleFS_PNG given in this repo.
In developer tool of Chrome web browser, if you look into the data obtained after GET, some differences can be found.
=== For your re-building this problem ===
The parse_OK png data can GET from this url
The parse_fail png data can GET from this url
The code I used for testing:
for PNG fetching: LittleFS_Web_Jpg (modified for png instead of jpg)
for PNG parsing: https://github.com/Bodmer/TFT_eSPI/blob/master/examples/PNG Images/LittleFS_PNG/LittleFS_PNG.ino
The png fetched from url above (http://restapi.amap.com/) is neccessary for me.
Any suggestions and fixing method will be very appreciated! Thank you!!

If I download the parse_fail into PC and put that png into <project_root>/data, build the littleFS fileSystem and upload it to ESP32. The parse_fail png will be parsed normally.
I need to download the png from web, store it into littleFS, parse it from littleFS file. Then, the parse_fail png data will not be decoded.

So you've isolated the problem to be with LittleFS? Sorry, but it sounds like the PNG library can decode the data and it's a streaming problem outside of my code. Can you explain why you think this is a problem with the PNG decoder?

It may be, but my point is that the PNG decoder has no ownership of file handling or streams. The code has callbacks for user code to provide a source of data. If PNG data is delivered to the decoder with the HTTP header preceding the image data, that issue is outside the scope of the PNG decoder.


Bug - Admin site pages for Explore and Delete are broken

Describe the bug
The admin site deploys fine, launches, and offers the Ingest data page which works. However the Explore and Delete pages are broken and have no functionality.
Expected behavior
All admin pages working fine.
How does this bug make you feel?
Unhappy that the back-end cannot be administered. Also disappointed that check-ins are happening that allow breaking changes like this. Bummed that Microsoft does not have a QA process for public Github repos to confirm pull requests do not result in breaking changes.

Debugging information
Steps to reproduce

One-click deploy the accelerator
Successful deployment, no errors reported
Launch the admin web site
Ingest some files
Go to Explore or Delete pages in the admin site
Neither works, has a large pink error message that says:

ModuleNotFoundError: No module named 'backend'
Traceback:
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/usr/local/src/myscripts/admin/pages/02_Explore_Data.py", line 7, in
from batch.utilities.search.IntegratedVectorizationSearchHandler import (
File "/usr/local/src/myscripts/admin/batch/utilities/search/IntegratedVectorizationSearchHandler.py", line 1, in
from backend.batch.utilities.search.SearchHandlerBase import SearchHandlerBase
Screenshots

Logs
If applicable, add logs to help the engineer debug the problem.

Tasks
To be filled in by the engineer picking up the issue

[ ] Task 1
[ ] Task 2
[ ] ...

It's also after a clean install via the portal and fails with the same error message.

Hi @robth-microsoft , @chriswoj. Can you please check now?


Bump libgit2 dependency to latest upstream

Unblocks projects that link against native libgit2 for other reasons
from being able to upgrade.

I'll cut a release today after this runs through the pipelines.


Bump Plutus deps to <IP_ADDRESS>

We're going to deprecate 1.22.0. Perhaps we should just go to 1.23, I'm not sure :thinking:

We're going to deprecate 1.22.0.

Interesting. Is there support in CHaPs for deprecating packages?

Yes. I need to add a section to the readme but see an example here: https://github.com/IntersectMBO/cardano-haskell-packages/blob/44de6cd146e40fa8d5ee7f3f0e0e2af76e2f0833/_sources/diff-containers/1.1.10/meta.toml#L6

Note that this does "cabal-style deprecations", which is to say it makes them non-preferred, so the solver can still pick them if it has no other options (I wish it emitted a warning in this case...).

I've added the deprecations for <IP_ADDRESS>


Animate fixed glasses position during zoom transitions

For now we hide the fixed glasses during zoom transitions, using the leaflet-zoom-hide class as advised by the Leaflet API doc.
It would be great instead that they follow zoom transitions dynamically, like the native Leaflet overlays (markers and vectors).

Hi, has there been any update on this? I am working on a project and being able to have the magnifying glass zoom dynamically with the map like the native overlays would be extremely helpful!


fix: Spelling mistake

Just a tiny fix, for a spelling mistake I noticed during reading the README.

Thanks for the catch @jesse-c