大学回忆
记得同学A经常用小米。 同学B很可爱。A向B求爱,然后成了男女朋友。 但是A还是很喜欢小米。最后他们分手了。
记得同学A经常用小米。 同学B很可爱。A向B求爱,然后成了男女朋友。 但是A还是很喜欢小米。最后他们分手了。
玩王者荣耀有好多年了。 从大学里开始。有了手机。信息时代,人们都用QQ。因此开始玩游戏。 大四的时候,人们都在考研。我感觉被孤立。是王者荣耀陪伴我。 上班之后也经常在玩。渐渐有了全部英雄。因为没有钱充,皮肤只能靠抽。 人们不知道的 主页可以自定义音乐 我的皮肤 小乔 - 青蛇 瑶 - 遇见神鹿 杨玉环 - 遇见飞天 甄姬 - 落雪兰心 对局 不知火舞 其他 以前是大佬的时代。人们很难提升等级。 自从被揭穿(鸡爪流)之后,好像改了。现在游戏文化变了。加上9月左右送王者段位卡,很多人王者N星。 花絮 国庆免费用皮肤。很多人用后羿-黄金射手座,和安琪拉上分。 现在活动没有了。不知道是什么压力,又免费用了,不过都是垃圾皮肤。
发到网上是因为觉得不会完成。 Update 06/11/2024 learn math, then algorithm OCaml current delayed SQL can be continued in Rails GUI can use css instead, currently learning older learn algorithm, do some practices on codewars, start from simple ones Learn OCaml Do python or ruby projects with SQL For GUI, do some projects on Android Finished finish ruby videos (rubyworld 2016) read full “the mother of all demos” Programming intro (past few years) OS (Linux/Windows) - in Arch, Wicresoft Computer networking - University, Wicresoft Compilers - Lox
我好懒决定不想写。有空再说吧。
关于这个网站 从2022年3月起一直没有更新过。后来让我改成spinx/jupyter了。 现在的状况 听了几个Ruby的演讲,发现我一直没有程序员的懒惰精神。 过去的时间 从哪里说起呢。我从3月拿到Python起,开始使用Python。在公司里做了消息模拟器。大成功。新技术才是前进的方向。 我离职了。去IBE。但是那里的情况不是很好。没有人文关怀。这是C++的通病。或许我只是想离开。 这也和住的地方有关。东三旗是一个废墟。墙太薄。空气不好。我果然需要一个高质量的生活环境。 我的新工作 后来去了微创。做英语技术支持。 但我现在已经辞职了。
Recently I find that Windows mouse cursor is not very friently for left-handed people. Because it point from right to left. So I wonder if there is a way to change it to “left to right”. I searched the internet but havnen’t found one. Further search give me a message that the “cur” file format is a derivation of the “ico” format: https://en.wikipedia.org/wiki/ICO_(file_format) So I think if we can flip it programatically. ...
I’m trying to combine backend and frontend. I’ve created a frontend using PyQt webbrowser: from PySide2.QtCore import * from PySide2.QtWidgets import * from PySide2.QtGui import * from PySide2.QtWebEngineWidgets import * import sys class MainWindow(QMainWindow): def __init__(self, *args, **kwargs): super(MainWindow, self).__init__(*args, **kwargs) self.browser = QWebEngineView() self.browser.setBaseSize(800, 600) self.browser.setUrl(QUrl("http://127.0.0.1:8000/")) self.setCentralWidget(self.browser) self.show() def gui_main(): app = QApplication(sys.argv) window = MainWindow() app.exec_() if __name__ == "__main__": gui_main() The backend is using fastapi: from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} def backend(): import uvicorn uvicorn.run(app) So far, everything is good. I can launch backend and start debugging: uvicorn backend:app ...
I change an iso file default open program to C:\Windows\explorer.exe , and I can’t change it back. (Try this in virtual machine, not real computer.) How to change it? My OS is Windows 7. Tried this, but after I change it, the .iso extension disappears from the list. https://stackoverflow.com/questions/14543602/how-to-change-default-program-open-rar-file-which-select-open-file-by-explorer I tried the registry, change Windows.IsoFile entry’s shell->open value, and rebooted, but it didn’t work, too https://www.itechtics.com/set-default-apps/ I deleted the UserChoice subitem of .iso in ...
体验过C++、java,才发现python真好用。决定用python混饭吃了。 不过找不着得到工作呢…
编译Qt 通过 Qt Maintaince Tool 下载源码。 设置编译器环境: Push-Location "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build" cmd /c "vcvars64.bat & set" | ForEach-Object { if ($_ -match "=") { $v = $_.split("=", 2); set-item -force -path "ENV:\$($v[0])" -value "$($v[1])" } } Pop-Location Write-Host -ForegroundColor Green "Visual Studio 2022 Command Prompt variables set." configure: 为了兼容Win7,要设置no-feature-d3d12. # static ..\configure.bat -prefix C:\Qt\5.12.12\msvc2022-static -release -confirm-license -opensource -nomake examples -nomake tests -nomake tools -static -static-runtime -opengl dynamic -angle -combined-angle-lib -no-feature-d3d12 # dynamic ..\configure.bat -prefix C:\Qt\5.12.12\msvc2022-dynamic\ -debug-and-release -confirm-license -opensource -nomake examples -nomake tests -nomake tools -shared -opengl dynamic -angle -combined-angle-lib -no-feature-d3d12 编译 & 安装: $Env:CL="/MP" nmake nmake install