Hello World

0.1. preface¶

This blog will record some of the difficulties and solutions I encountered during my studies, and I will also summarize some basic knowledge related to my profession.

0.2. Acknowledgements¶

The website framework uses Hexo, and the theme is used from Icarus and removeif.

  

Can't run abaqus in ubuntu Ubuntu 22.04.1 LTS with GPU(CUDA) accelerator. Initializing the CUDA Driver NO_DEVICE

本文介绍了在Linux下运行Abaqus并调用CUDA时,出现Error initializing the CUDA Driver NO_DEVICE的解决方案。

English ver:
Can’t run abaqus in ubuntu Ubuntu 22.04.1 LTS with GPU(CUDA) accelerator. Initializing the CUDA Driver NO_DEVICE
For the English version you can refer to my answer at the following link

https://askubuntu.com/questions/1449122/cant-run-abaqus-in-ubuntu-ubuntu-22-04-1-lts-with-gpucuda-accelerator-initia

  

Centos7 update php5 to php7.2

In order to update to the recommended php version for wordpress,i update the original php 5.4 to php 7.2.

  • check the list of installable php versions in yum.
1
# yum provides php
  • To start upgrading the PHP update source, and remove the old php.
1
2
3
4
# rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm 
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
# yum remove php-common -y
# yum install -y php72w php72w-opcache php72w-xml php72w-mcrypt php72w-gd php72w-devel php72w-mysql php72w-intl php72w-mbstring php72w-pdo php72w-pgsql
  

win11拖拽BUG解决方案

1. strange lag on dragging windows around¶


A somewhat niche occurrence that a handful of users anre seeing, is pointer gost effect when dragging some windows around.

the lag doesn’t ook to be a bug with Windows 11 directly, as the author of one post notes “i noteced that the lag only started when the window overlapped with the task bar. This made me remember that i have open shell installed. Uninstalling this fixed the issue.”

It seems Windows 11 isn’t a compbatible with some taskbar-chaing software you might be runging on windows 10 anyway, so just make sure to double check before installing.

1.1. 修复方式¶


window11 拖拽延迟问题很有可能是因为文件夹管理软件得不兼容造成。 当关闭文件夹,或者让文件夹不和任何窗口重叠就不会发生类似问题。

这里,我因为下载了QTTabBar,所以出现了拖拽延迟,卸载它,或者安装它最新支持win11的版本,可以解决问题。

1.2. 其他解决方案¶


类似的拖拽延迟,网络上解决方案有很多,汇总起来大概是:

  • 调低鼠标回报率
  • 关闭窗口透明
  • 关闭性能显示效果
  • 跟新显卡驱动
  

Material_test-data-processing

1. 材料試験自動データ処理¶


中文

鋼材の材料試験の自動化データ処理スクリプト.

実現できる機能は 降伏点,引張強度の算出.ヤング率,ポアソン比の算出.最後に,自動でグラフを出力,レポートとしてExcelに保存する.

Google colab ソースコードsource_code

Latex编译下插入png,jpg

Latex编译下插入png,jpg

1. \(\LaTeX\)插入png,jpg的设定¶

首先LaTeX本身并不支持插图的功能,插图需要导入graphicx宏包来完成。

在LaTeX用中文或者日语写论文时,编译环境使用Latex较为常见。latex编译模式下如果直接插入png或者jpg的图会告诉你,编译错误没有设置boundbox

这个时候就需要使用latex+dvipdfmx编译,调用graphicx时需要指定dvipdfmx.

\(\LaTeX\)插入图片最好的格式是EPS

EPS可以直接插入,而且作为高质量的矢量图片,笔者认为这是论文出图的首选。

  

:D 一言句子获取中...