on-my-zsh macos zsh on
Dart try on catch
Dart try catch on finally void main() { int a = 12; int b = 0; int res; try { res = a ~/ b; } on UnsupportedError { // it is used as we know waht erro ......
Predict potential miRNA-disease associations based on bounded nuclear norm regularization
Predict potential miRNA-disease associations based on bounded nuclear norm regularization 2023/12/8 16:00:57 Predicting potential miRNA-disease associ ......
A Long read hybrid error correction algorithm based on segmented pHMM
A Long read hybrid error correction algorithm based on segmented pHMM 2023/12/15 11:06:36 The "Long read hybrid error correction algorithm based on se ......
macOS 提示:“应用程序” 已损坏,无法打开的解决方法总结
macOS 提示:“应用程序” 已损坏,无法打开的解决方法总结 请访问原文链接:https://sysin.org/blog/macos-if-crashes-when-opening/,查看最新版。原创作品,转载请保留出处。 作者主页:sysin.org 说明:本文描述问题同样适用于其他版本的 m ......
如何在 Mac 和虚拟机上安装 macOS Big Sur、Monterey、Ventura 和 Sonoma
如何在 Mac 和虚拟机上安装 macOS Big Sur、Monterey、Ventura 和 Sonoma 请访问原文链接:https://sysin.org/blog/how-to-install-macos/,查看最新版。原创作品,转载请保留出处。 作者主页:sysin.org 名词解释: ......
安装旧版 macOS 时提示:应用程序副本已损坏
安装旧版 macOS 时提示:应用程序副本已损坏 安装 macOS 系统时提示:这个 “安装 macOS Mojave” 应用程序副本已损坏,不能用来安装 macOS。 请访问原文链接:https://sysin.org/blog/macos-installer-damaged/,查看最新版。原创作 ......
AtCoder Regular Contest 167 C MST on Line++
洛谷传送门 AtCoder 传送门 我是傻逼。很平凡的一个计数。但是不会啊。怎么会是呢。 考虑 Kruskal 求解 MST on Line 问题。我们可以想到统计边权 \(= a_i\) 的出现次数。 然后又可以容斥转化成统计边权 \(\le a_i\) 的出现次数,设其为 \(f_i\)。 考虑 ......
MacOS - Mac应用程序部署Qt框架
在开发Mac上,由于安装了Qt库,所以一切正常。但是,在您将应用程序运送到的任何Mac上,情况可能并非如此。 Qt套件带有一个名为macdeployqt的工具来修复此问题。因此,在终端中,在编译应用程序之后,请执行以下操作: 12 cd my-cool-app-Desktopmacdeployqt ......
解决psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket?
pgsql启动后执行psql显示报错: psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory Is the server ru ......
MacOS - QT动态库打包嵌入问题处理
Crash信息 Termination Reason: Namespace DYLD, Code 1 Library missingLibrary not loaded: @rpath/QtCore.framework/Versions/5/QtCoreReferenced from: /Appli ......
MacOS - Xcode 报referenced from:
Xcode升级10之后项目错误: Link //Users/moyea/Desktop/NewSVN/BD34/BDPlayer/build/Release/Leawo\ Blu-ray\ Player.app/Contents/MacOS/Leawo Blu-ray Player Ld build ......
MacOS - XCode 8.0报 'tr1/type_traits' file not found
可参考链接:https://www.codenong.com/13219007/ 把C++语言和C++标准库改成如下图所示: ......
MacOS - Xcode新建C++项目导入QT库
在项目Build Phases > Link Binary With Libraries点击+ 点击Add Other... 选择QT安装路径下的framework 在文件中使用#include<>导入QT,例如#include <QtWidgets>,如果报错,那么需要在Build Setting ......
MacOS Sonoma14.2.1系统SSH免密登录
摘要:MacOS下免密登录的一些注意事项。 系统环境 操作系统:macOS Sonoma 14.2.1 SSH免密登录 ssh免密登录的原理是在本机生成本机的ssh公钥和私钥,将公钥上传至待连接的主机,本机通过私钥进行ssh连接实现免密登录。 # ssh密钥生成命令 ssh-keygen # ssh ......
OS-Ubuntu-Server-Connect to Wi-Fi From Terminal on Debian 11/10 with WPA Supplicant
Connect to Wi-Fi From Terminal on Debian 11/10 with WPA Supplicant Last Updated: November 8th, 2022 Xiao Guoan (Admin) 31 Comments Debian This tutoria ......
MacOS 中的 chflags 命令
在 macOS 中,我们可以使用 chflags 命令来更改文件或目录的标志(flags),从而控制它们的属性和行为。通过修改这些标志,我们可以隐藏文件、防止其被修改或删除,以及进行其他操作。以下是关于 chflags 命令的一些基本信息和示例用法。 语法 chflags 命令的基本语法如下: ch ......
gateway Failed to bind on [0.0.0.0:443]
1. 问题背景 项目在做非docker容器部署,直接在宿主机上部署,gateway出现端口绑定失败的问题 Caused by: reactor.netty.ChannelBindException: Failed to bind on [0.0.0.0:443] Suppressed: java.l ......
android-x86.org: How to install Android on PC: These are your best options
https://www.androidauthority.com/install-android-pc-3103069/ https://www.android-x86.org/installhowto.html How to install Android on PC: These are you ......
Forward: Turn off Filevault on macOS
Turn off Filevault on macOS: https://kane.mx/posts/2021/turn-off-filevault-on-macosx/ Oct 31, 2021, Tags: MACOSX, MACOS MONTEREY, FILEVAULT, TIP I'm t ......
CF396C On Changing Tree 题解
CF396C 考虑将贡献表示出来:\(\forall v\in \text{subtree}_u\),\(v\) 会加上 \(x - (dep_v - dep_u)k\),然后发现这个东西可以维护整棵子树,即把 \(x,dep_u\times k\) 和 \(dep_v\times k\) 分开计算 ......
初中英语优秀范文100篇-040My View on the Internet-网络之我见
初中英语优秀范文100篇-040My View on the Internet-网络之我见 PDF格式公众号回复关键字:SHCZFW040 记忆树 1 Now many of my classmates like to surf the Internet in their free time. 翻译 ......
MacOS - Xcode中使用C ++ 11
Can I use C++11 with Xcode? 我正在考虑在一些跨平台项目(Windows + Mac)中使用一些C ++ 11功能(例如auto)。 在Windows上,Visual Studio支持即将推出的C ++ 11标准的部分内容,这些内容允许我简化部分代码库,因此我很自然地会对开 ......
AGC020F Arcs on a Circle
一个和值域无关的算法,复杂度 \(O(4^nn^2)\),不过好像可以用子集卷积和拉格朗日插值优化至 \(O(3^nn^3)\)。 如果说原问题在整数上做,我们通常可以用生成函数来刻画容斥的式子,求个二维 \(\exp\) 状物就可以了,但是在实数域似乎不太好扩展,但实际上是可以扩展的。 原问题实际 ......
LocPatcH An efficient long-read hybrid error correction algorithm based on local pHMM
该文档主要介绍了一种基于装配的方法和概率隐藏马尔科夫模型 (pHMM) 用于纠正长读序列的错误。文档详细描述了对酵母数据进行实验的结果、纠正方法的拓扑结构以及实验设置和数据集。 这种基于装配的纠正方法相对于直接纠正存在哪些优势? pHMM 的拓扑结构是怎样的? 在实验中使用了什么样的数据集? 提示: ......
Windows 10 on ARM, version 22H2 (updated Dec 2023) ARM64 AArch64 中文版、英文版下载
Windows 10 on ARM, version 22H2 (updated Dec 2023) ARM64 AArch64 中文版、英文版下载 基于 ARM 的 Windows 10 请访问原文链接:https://sysin.org/blog/windows-10-arm/,查看最新版。原创 ......
A Long read hybrid error correction algorithm based on segmented pHMM 基于pHMM的DNA序列分析与错误修正方法研究
基于pHMM的DNA序列分析与错误修正方法研究 这篇论文主要内容是关于DNA序列分析中的错误纠正方法。论文提出了一种基于概率隐马尔可夫模型(pHMM)的错误纠正方法。首先,通过SR-LR对齐和基于短读序列对齐的预处理步骤,对DNA序列进行处理。然后,利用pHMM构建了一个隐藏的马尔可夫模型,并进行前 ......
OS-MacOS-MacBook Pro 的电源管理 + 强行切换独立 或 集成显卡的 gpuswitch 选项;
电源管理 和 强行切换显卡的办法,这里说明: (0)当前电源管理状态: pmset -g gpuswitch选项的 对应值: 0 是集成显卡,1 是独立显卡,2 是自动切换 (1)强制使用集成显卡: sudo pmset -a GPUSwitch 0 (2)强制使用独立显卡: sudo pmset ......
mac zsh: command not found: python
前言 在 mac 上安装 python 后,会自动在 .zprofile 文件中,加入: # Setting PATH for Python 3.12 # The original version is saved in .zprofile.pysave PATH="/Library/Framewo ......
如何获得控件的On属性事件列表?
用RTTI uses strutils, rtti, System.typinfo; {$R *.dfm} procedure TForm2.FormCreate(Sender: TObject); var context: TRttiContext; rType: TRttiType; aProp ......