on

AGC013C. Ants on a Circle

原:[CF652F. Ants on a Circle](https://codeforces.com/problemset/problem/652/F) 太摆了!不能摆了!不会写题!来写博客! 首先套路的,蚂蚁相遇时我们可以看作他们的编号交换后继续往前走,可以求出最后的所有位置。同时,显然最早和最 ......
Circle Ants AGC 013 on

CF1860C Game on Permutation

[递推法解决博弈论问题。](https://codeforces.com/problemset/problem/1860/C "递推法解决博弈论问题。") 博弈论问题基本思路是先确定“状态”,即先手必胜或者先手必败。这里定义“必胜/必败”为**走到当前格子的人**的结局(赛时因为搞混了走入的人和走出 ......
Permutation 1860C 1860 Game CF

mongodb报错not authorized on testdb to execute command

用户反馈说没有权限,报错如下: not authorized on testdb to execute command { find: "Schedule", filter: {}, skip: 0, limit: 20, maxTimeMS: 60000, lsid: { id: UUID("41 ......
authorized mongodb execute command testdb

gitlab配置Emails on push的方法

以下操作以qq邮箱为例,步骤如下: 1、需要在gitlab的配置文件【/etc/gitlab/gitlab.rb】中修改配置: 2、重启gitlab加载配置【gitlab-ctl reconfigure】 之后要在gitlab后台配置启用邮件推送 3、进入要设置的项目--》设置--》集成--》推送时 ......
方法 gitlab Emails push on

A RenderFlex overflowed by 483 pixels on the right.

A RenderFlex overflowed by 483 pixels on the right. Flutter出现List<dynamic> is not a subtype of type List<String>解决方法_flutter list<dynamic>_codekxx的博客- ......
RenderFlex overflowed pixels right 483

Proj CDeepFuzz Paper Reading: An Extensive Study on Pre-trained Models for Program Understanding and Generation

## Abstract ## 1. Intro ## 2. Background ### 2.1 Program Understanding and Generation Tasks ### 2.2 NL-PL Pre-Trained Models ![](https://img2023.cnblo ......

Time-aware Path Reasoning on Knowledge Graph for Recommendation

[TOC] > [Zhao Y., Wang X., Chen J., Wang Y., Tang W., He X. and Xie H. Time-aware path reasoning on knowledge graph for recommendation. TOIS, 2022.](h ......

trino on yarn

一、前言 最近在研究trino on yarn 功能,网上大部分都是关于presto on yarn文章,关于trino on yarn 资料很少,但是本质上差不多,需要修改一些内容比,主要在调试方面这个slider不是很方便,分享下实践过程。 如果Trino集群没有弹性扩缩容需求或者已经有很成熟的 ......
trino yarn on

3.2.0 终极预告!云原生支持新增 Spark on k8S 支持

![file](https://img2023.cnblogs.com/other/2685289/202308/2685289-20230828190238753-1379880889.png) 视频贡献者 | 王维饶 视频制作者 | 聂同学 编辑整理 | Debra Chen > Apache ......
终极 Spark k8S 8S on

Codeforces Round 844 (Div. 1 + Div. 2, based on VK Cup 2022 - Elimination Round)

## **A. Parallel Projection** 长方体的高是一定会走的,那么只要考虑是如何走哪个侧面,枚举四种情况即可。 ```cpp void solve(){ int n=read(),m=read(),h=read(); int a=read(),b=read(),c=read() ......
Round Elimination Codeforces Div based

How to ask a good question on StackOverflow All In One

How to ask a good question on StackOverflow All In One 在 StackOverflow 上如何提出一个好问题 我们很乐意为你提供帮助,但为了提高你获得答案的机会,请遵循以下一些准则: ......
StackOverflow question good How All

Prometheus on k8s 部署与实战操作进阶篇

[TOC] ## 一、概述 Prometheus是一种开源的监控和警报工具,用于收集和记录应用程序和系统的度量数据。它特别适用于在Kubernetes集群中监控容器化应用程序。Kubernetes集群中通常与Prometheus一起使用的组件是Prometheus Operator和Grafana。 ......
Prometheus 实战 k8s 8s on

Windows 10 on ARM, version 22H2 (updated Aug 2023) ARM64 AArch64 中文版、英文版下载

Windows 10 on ARM, version 22H2 (updated Aug 2023) ARM64 AArch64 中文版、英文版下载 基于 ARM 的 Windows 10 请访问原文链接:,查看最新版。原创作品,转载请保留出处。 作者主页:[sysin.org](https://s ......
英文版 ARM 中文版 Windows version

安装celery后,提示WARNING/MainProcess...you should set broker_connection_retry_on_startup to True.解决办法

调用了Celery的config_from_object方法,并新建文件celery_config.py存放设置 在celery中设置broker_connection_retry_on_startup = True 效果没有提示了。 ......

Autofac报错No constructors on type 'xxx' can be found with the constructor finder

**No constructors on type 'JK.TitanData.Repository.Fact_Sales_GMVTargetTotalRepository' can be found with the constructor finder 'Autofac.Core.Activat ......

debian on vbox

https://wiki.debian.org/VirtualBox # guest Addition ```bash sudo apt install build-essential dkms linux-headers-$(uname -r) ``` ```bash cd /media/cdro ......
debian vbox on

uniapp路由跳转后通过uni.$emit和uni.$on页面通讯后,接收到数据但是却赋值不了

原因:跳转到未渲染过的页面时,页面还没渲染就进行赋值操作,所以赋值不上去。 如果往后跳转,可以使用 uni.$emit和uni.$on页面传值。即uni.navigateBack({delta:1}),尽量不要使用uni.navigateTo(会造成页面重叠)。 能够接收到数据并赋值。 解决办法:使 ......
路由 uni 页面 通讯 数据

前端项目报EISDIR: illegal operation on a directory, read这个错误

背景: 我用webstorm开发前端页面时,项目用Vue3来开发,出现如下报错。 ![image-20230824171957615](https://img2023.cnblogs.com/blog/2355908/202308/2355908-20230824173234954-82254241 ......
前端 directory operation 错误 illegal

ES on debian

https://www.rosehosting.com/blog/how-to-install-and-set-up-elasticsearch-on-debian-11/ ```bash apt install default-jre systemctl enable --now elastics ......
debian ES on

Custom ASAN_OPTIONS set without abort_on_error=1

background: when i want to run AFL . I met this issue. and either set export ASAN_OPTIONS=abort_on_error=0 nor export ASAN_OPTIONS=abort_on_error=1 do ......

【学习笔记】DSU on Tree

## 概述 DSU on Tree 即树上启发式合并,重点不在“合并”,而在利用树链剖分的性质对子树问题进行复杂度正确的分治。 ## 算法流程 1. 递归处理轻儿子的答案 1. 递归处理重儿子的答案 1. 重新遍历轻儿子子树,计算当前子树的答案 1. 如果当前节点是轻儿子,重新遍历整棵子树,清除答案 ......
笔记 Tree DSU on

spark on k8s 开发部署简单实践

实际上就是一个简单的实践,方便参考,对于开发以及运行,集成ci/cd 以及dophinscheduler 任务调度为了方便开发的spark 应用共享以及使用基于s3 进行文件存储(当然dophinscheduler 也是支持自己的资源库的) 参考图 玩法说明 基于gitlab 进行代码管理,通过ci ......
spark k8s on k8 8s

使用 UCS(On-Premises) 管理您的GPU资源池,释放AI大模型算力潜能

UCS(On-Premises)旨在将云上的服务能力延伸至各行业的客户的本地数据中心,结合volcano的AI作业管理及智能调度能力、xGPU的GPU虚拟化能力,帮助用户快速在IDC构建云原生的AI基础设施,更细粒度的使用GPU资源,让用户聚焦AI的业务开发,最大限度释放AI大模型算力潜能。 ......
潜能 On-Premises Premises 模型 资源

Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range

在使用浏览器内置API btoa() 编码base64时: 报错Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range 报错信息解释: ......
39 characters contains execute encoded

a build cache key that uniquely defines the task’s outputs based on its inputs

Build Cache https://docs.gradle.org/current/userguide/build_cache.html The Gradle build cache is a cache mechanism that aims to save time by reusing o ......
uniquely defines outputs inputs build

为Prometheus monitoring stack on K8s 部署ingress controller

把流落在外的21年那篇blog搬回来 https://github.com/wakengmeow/wakengmeow/tree/main 最近有个项目需要在k8s上部署prometheus,alertmanager和grafana。其中有个需求是用统一的入口访问三个服务的web接口从而尽可能少的暴 ......

ON JAVA 8读书笔记|前言

ON JAVA 8这本书是基于Java 8的特性进行编程教学的,同时也根据Java11、Java17这三大LTS【长期支持版本】版本新特性做了关键更新。 Java 8最大的改进是引入了函数式编程【lambda表达式、流(stream),函数式基本类型(functional primitive)】,这 ......
前言 笔记 JAVA ON

CF-1860C Game on Permutation题解

题意:在一条数轴上,Alice可以跳到在你所在点前面且值比当前所在点小的点。每回合可以向任意符合要求的点跳一次。当轮到Alice的回合同时不存在符合要求的点,Alice就赢了。Alice可以选择一个点作为起始点,然后作为后手(赛时这里把我坑了)。问有多少个点是必胜的点。 $n\leq 3\times ......
题解 Permutation 1860 Game CF

[AGC003E] Sequential operations on Sequence 题解

神仙思维题,那我的评价是太妙了。 ### 思路 我们发现正的十分难以维护这个过程。 考虑可以倒着进行这个操作。 容易发现对于整块,我们找到在前面第一个小于它的 $a_i$。 然后就会有一个贡献的转移,$f_i=f_{now}\times \frac{a_{now}}{a_i}$。 至于散块,我们发现 ......
题解 Sequential operations Sequence 003E

GitHub: remote:Support for password authentication was removed on August 13,2021.

使用git push origin master向远程仓库推送时被告知: remote:Support for password authentication was removed on August 13,2021.Please use a personal access token inste ......