kotlin notes

[Ant Design Pro] a brief note when trying a frontend framework

I'm a backend developer and know little about frontend. but recently I tried a frontend building tool, Ant Design Pro. Here is an note when initiating ......
framework frontend Design trying brief

COMP3322 notes P2 - HTML Basic

用课程上介绍的 HTML validation 网站 W3C Markup Validator 检查了一下本站 HTML 文件的正确性,结果弹出了 57 个 Error 与 Warning。我在魔改的时候到底做了些什么啊…… 不过从这也能看出 HTML 语言的 permissive 性质;宽松的语法 ......
Basic notes COMP 3322 HTML

COMP3322 notes P1 - Internet & WWW Basic

选这门课完全是为了推进我博客美化的大业!希望学完之后 update logs 里的一部分 issues 能自己亲手解决。 首先来到 Internet and WWW basic: 这些基本的 network 知识对接下来的 front-end framework 学习大有裨益。Internet, W ......
Internet Basic notes COMP 3322

「Note」 POI 套题

POI 2015 \(\color{royalblue}{P3585\ [POI2015]\ PIE}\) 此题是简单题。 对于方格的一种状态,其中最前排最靠左需要打印的位置,能且只能用印章最前排最靠左的打印位置来打印。不难想到每次找到这样一个未被打印的位置,相对于印章打印位置进行匹配,直接模拟即可 ......
Note POI

Kotlin第一弹:Kotlin详细介绍

https://blog.csdn.net/m0_58941767/article/details/126679953 前言 Kotlin是什么? 一、为什么优先使用Kotlin进行Android开发? 二、Kotlin优先意味着什么? 三、Kotlin能做什么? 四、我们也使用Kotlin 五、K ......
Kotlin

Kotlin基础学习-入门篇

————————————————https://blog.csdn.net/zjm807778317/article/details/124188750 kotlin的历史Kotlin由JetBrains公司开发设计,2011年公布第一版,2012年开源。 2016年发布1.0正式版,并且JetBr ......
基础 Kotlin

Go - Study Note 1

In general, for most server applications that would be built out there—most would be written with the struct approach. One of the main reasons would b ......
Study Note Go

webpack打包报错:Unexpected token (Note that you need plugins to import files that are not JavaScript)

关于这个问题,我在网上查找了一些资料(博客、问答),得到的答案多种多样: 1. 可能是缺少rollup的某种plugin; 2. 可能是系统环境的问题(windows/linux/macos); 3. 可能是某段代码引起的问题; 4. 。。。 经过对自身情况的逐步测试定位,发现 -> 出问题的代码片 ......
that Unexpected JavaScript webpack plugins

在 Android Studio Java 项目里混合 Kotlin 编程

首先,先搞明白一个概念,这里的 Java 混合 Kotlin 是指文件层级的混合,即 Java 代码还是写在 .java 文件中,Kotlin 代码还是写在 .kt 文件中,只不过是可以在 Java 的代码中可以调用自己写好的 Kotlin 类,从 Java 的角度看,它并不知道它调用的这个类是 K ......
Android 项目 Studio Kotlin Java

【转载】为什么记笔记的应用程序不能让我们更聪明_Why_note-taking_apps_don’t_make_us_smarter

/ They’re designed for storage, not sparking insights. Can AI change that? / 它们专为存储而设计,而不是激发见解。人工智能能改变这一点吗? By Casey Newton, a contributing editor who ......

Machine learning note(1)

注:本笔记不给出完整解释 ## 正规方程 设$z=\theta^{T}x$ 设损失函数为$J(\theta)$,求令$\frac{\partial J}{\partial \theta}=0$的$\theta$ 由此得出最优的$\theta$ ## 牛顿迭代 回顾一下梯度下降:$\theta'=\t ......
learning Machine note

MAPF Paper Reading Note

随便写写记录一下 ## 1. 2005-Cooperative Pathfinding ### 1.1. LRA* local repair A* - 依次做A* - 即将开始碰撞时,replan - a general replan solution: 每次重规划时,新增noise,按照比例加入$ ......
Reading Paper MAPF Note

Kotlin 基础入门

# 函数类型 在 Kotlin 中 函数是一等公民。 ``` // 定义 fun greetPeople(name: String, makeGreet: (String) -> Unit) // 调用 greetPeople("Jimy", :: greetingWithChinese) ``` ......
基础 Kotlin

"deepleraning.ai" study Notes P52 53 Dropout

# reason why dropout could resolve overfitting ## the first: smaller neural network seems like it should have a regularizing effect(P52) ## the second ......
quot deepleraning Dropout Notes study

"deepleraning.ai" study Notes P51 为什么正则化可以减少过拟合

# L2 regulization * what we have done is add a regularization item in the cost function * the cost function in neural network will be # why is it that ......
正则 quot deepleraning Notes study

"deepleraning.ai" study Notes P47 1.1 训练 测试 开发

# How to make your neural network work well _Ranging from things like hyperparameter tuning ,to how to set up your data, to how to make sure your opti ......
quot deepleraning Notes study 1.1

Note of SHU Computer Graphics (01): 计算机图形学概述

# 什么是计算机图形学? 研究怎样利用计算机来显示、生成和处理图形的原理、方法和技术的一门学科,这里的图形是指三维图形的处理。 - **图形**: 计算机图形学的研究对象 - 能在人的视觉系统中产生视觉印象的客观对象 - 包括自然景物、拍摄到的图片、用数学方法描述的图形等等 - **构成图形的要素* ......
Computer Graphics 图形 计算机 Note

[note] pytorch的几种维度操作方式比对

## pre 今天看代码在想 `torch.unbind + torch.cat` 与 `torch.reshape` 的区别,直观上来看reshape似乎更便利。 ## chatgpt ### 问题 x is a tensor of three dimension, what is the dif ......
维度 pytorch 方式 note

Leetcode 383. 赎金信(Ransom note)

[题目链接](https://leetcode.cn/problems/ransom-note) 给你两个字符串:ransomNote 和 magazine ,判断 ransomNote 能不能由 magazine 里面的字符构成。 如果可以,返回 true ;否则返回 false 。 magazi ......
Leetcode Ransom note 383

「Note」图论方向 - 网络流

# 1. 网络流 ## 1.1. 定义 ### 1.1.1. 网络 **网络**是指一个**有向图** $G=(V,E)$,每条边 $(u,v)\in E$ 有一个权值,$c(u,v)$ 称为**容量**,当 $(u,v)\notin E$ 时,有 $c(u,v)=0$。 特殊地,在图中有**源点* ......
方向 网络 Note

[Node.js] Create a note cli

# Create a node cli ## Init a project Run: `npm run init` Let's say we want to create a cli command call `note-dev`, let's add this into `package.json ......
Create Node note cli js

Spring源码搭建导依赖时报错:Failed to apply plugin 'kotlin'.

原因是kotlin插件的版本与gradle中指定的版本不一致,我的是1.8.0,spring5.3.x版本gradle配置文件指定的kotlin版本是1.5.32,修改成1.8.0 ![](https://img2023.cnblogs.com/blog/2135157/202308/2135157 ......
源码 时报 Spring Failed plugin

CSAPP Notes: Types

# CSAPP Notes,类型 > 随手写的,可能会有错误(); ## 类型 | 数据类型 | 大小 | | | | | `char` | 1 | | `bool` | 1 | | `short int (short)` | 2 | | `int` | 4 | | `long int (long) ......
CSAPP Notes Types

Kotlin-大师班 第四章-随笔

1. init() Kotlin 中,当对象被创建时,调用 init() 做初始化。 2. Kotlin 的函数参数都是 val 类型的,都不可修改。 Kotlin 的函数参数在函数中不可修改。 3. 避免出现 shadow 的情况。 举个例子:就是函数内定义了一个变量,变量名和参数名相同。这样一来 ......
随笔 大师 Kotlin

「Note」数据结构方向 - 数据结构进阶

# 1. 平衡树 咕咕咕 # 2. 树套树 咕咕咕 # 3. LCT ## 3.1. 介绍 ### 3.1.1. 基本概念 LCT 全名 Link-Cut-Tree,动态树,是用来维护**动态森林**的数据结构。 它支持以下操作(需要保证任意操作时刻维护的都为森林): - 连边。 - 断边。 - 换 ......
数据结构 结构 数据 方向 Note

kotlin协程异常处理之-CoroutineExceptionHandler

转载请标明出处:https://www.cnblogs.com/tangZH/p/17307406.html - [kotlin协程小记](http://77blogs.com/?p=73 "kotlin协程小记") - [协程的async使用](http://77blogs.com/?p=77 " ......
CoroutineExceptionHandler kotlin

kotlin协程异常处理之-try catch

- [kotlin协程小记](http://77blogs.com/?p=73 "kotlin协程小记") - [协程的async使用](http://77blogs.com/?p=77 "协程的async使用") - [kotlin协程异常处理之-try catch ](http://77blog ......
kotlin catch try

「Note」图论方向 - 图论进阶

# 1. 2-SAT ## 1.1. 介绍 对于一些节点,每个节点存在两个状态(非 $0$ 即 $1$),我们给出一些如下类型的限制条件: - 节点 $i$ 状态为 $1/0$。 - 若节点 $i$ 状态为 $1/0$,那么节点 $j$ 状态为 $1/0$。 - 节点 $i,j\ (i\not=j) ......
方向 Note

Kotlin-大师班 第三章-随笔

1. Kotlin中,不管是用 val 或是 var 声明的变量,都是不可为空的。 想让变量可空,需要在声明语句的类型后面加个问号。 2. elvis 运算符 ? : 当你要把一个 nullable 变量赋值给一个不可空变量时,使用该运算符。否则被赋值变量会被定义为可空变量。 3. double e ......
随笔 大师 第三章 Kotlin

Kotlin-大师班 第二章-随笔

1. AppCompatActicity.onCreate() 每次 Activity 创建时调用。 Activity 对应一个屏幕,如果你的应用程序中有多个屏幕,如登录屏幕、客人资料等,所有这些都是不同的 Activity。 可以理解为 Activity 对等于 屏幕。 2. setContent ......
随笔 大师 第二章 Kotlin