-
OpenGL on Mac 环境
环境介绍这次我将环境部署到了 Mac + Clion 上 其实并没有解决上次的编译 glfw 的问题,但好像不太影响使用因为我不会自己写编译脚本(〒︿〒) 解决了!!!chatGPT 真好用!!! 1xcode-select --install... -
OpenGL on Windows 环境
配置gladGLAD 是一个开源的库,它能解决我们上面提到的那个繁琐的问题。GLAD 的配置与大多数的开源库有些许的不同,GLAD 使用了一个在线服务。在这里我们能够告诉 GLAD 需要定义的 OpenGL 版本,并且根据这个版本加载所有相关的 Op... -
git 的奇怪问题(持续更新)
1. kex_exchange_identification: Connection closed by remote host这个是你挂了梯子🪜的问题,我尝试了改端口啥的没什么用,就干脆把梯子关了,目前没啥好办法 同样的,我在这里也提到过类似的问... -
关于学习新技术的个人看法(持续更新)
综述我其实不是一个特别厉害的代码高手,本篇只是写一下我自己学习技术的一些习惯和思考 我所说的技术,更多的是指一些抽象的技术,比如:多线程,编译原理,跨平台…… 详细内容1. 了解背景什么是了解背景?了解一项技术的背景,就是它的由来,他一开始是用来干嘛... -
N1 Openwrt 相关问题(持续更新)
前提 固件 flippy-82+o 基于 OpenWrt R23.04.15 N1 盒子(家境贫寒) 问题列表Alist 相关1. 如何更新 下载好 ipk 软件包 例如这个 openwrt-22.03-aarch64_cortex-a53.tar... -
多继承 or interface
为什么 Java 要设计成单继承,但是允许实现多个 Interface ,为什么不干脆直接设计成多继承? 以 C++ 为例我们都知道 C++ 是多继承的,这就会导致一些很复杂的情况出现,比如菱形继承 此时,我们假设 A 有一个变量 gender(... -
没啥用的 Android Linux Mac Windows 小知识、问题(持续更新)
1. AS apk 安装包安装位置2022.3.1版本 /app/build/intermediates/ /app/build/outputs/apk/debug/app-debug.apk 2. AS R 文件位置2022.3.1版本 ![R.p... -
java并发-线程基础(未完成)
线程的状态 New(新建) 创建后尚未启动。 Runnable(运行) 可能正在运行,也可能正在等待 CPU 时间片。 包含了操作系统线程状态中的 Running 和 Ready。 Blocking(阻塞) 等待获取一个排它锁,如果其线程释放... -
java垃圾回收(GC)(未完成)
本文大量引用 GC - Java 垃圾回收基础知识 | Java 全栈知识体系 ,尤其是到后面直接照抄了,因为根本看不懂。如果有机会一定要去看原文,写的非常好!!!而且很多博客都是抄的这篇文章,并且并未注明出处,当然我也抄的这里。 概述 垃圾回收... -
力扣42 接雨水 (力扣11 盛最多水的容器 扩展)
题目给定 n 个非负整数表示每个宽度为 1 的柱子的高度图,计算按此排列的柱子,下雨之后能接多少雨水。 示例 1 输入:height = [0,1,0,2,1,0,1,3,2,1,2,1]输出:6解释:上面是由数组 [0,1,0,2,...