pyzh / song Goto Github PK
View Code? Open in Web Editor NEW[又]一个硬核FP论坛;索引->type=source
Home Page: https://github.com/program-in-chinese/overview/issues/68
[又]一个硬核FP论坛;索引->type=source
Home Page: https://github.com/program-in-chinese/overview/issues/68
https://ruby-china.org/topics/18458
Q←{1≥≢⍵:⍵ ⋄ S←{⍺⌿⍨⍺ ⍺⍺ ⍵} ⋄ ⍵((∇<S)⍪=S⍪(∇>S))⍵⌷⍨?≢⍵}
q:{f:*x@1?#x;:[0=#x;x;,/(_f x@&x<f;x@&x=f;_f x@&x>f)]}
q:{$[2>distinct x;x;raze q each x where each not scan x < rand x]}
https://www.dyalog.com/blog/2014/12/quicksort-in-apl/ https://rosettacode.org/wiki/Sorting_algorithms/Quicksort#K https://lifeisalist.wordpress.com/2014/11/21/quicksort-in-q/
Ld2/py3/pep-1,简称LEP-1
c1. 类前缀:interface用大写I
,节点/集合用大写N
,abstract用大写A
c2. 类后缀:helper类/可选后缀H
c3. 实体类:可选前缀=E
,后缀=类
identifier/变量名:
i1. 用[此]代替[this]
i2. 无实义变量以字母v开头,如v1 v2 v3;常量以c开头
i3. 无实义函数以字母f开头;单目函数可用f1/fx,双目用f2/g,三目用f3/h/z
i4. 无实义参数中:参数间无顺序/可用XYZ,A/B可以表示左参数/右参数
i5. 业务逻辑函数/class method一律优先使用中文
i6. n,i/j/k表示数值参数,L,li表示List,t表示tuple,D/dic=dict,S->str->string
i7. 可以用[参]替代[argv],[参数]替代[args]
单字母规范补充:
a1. T=Type
a2. F=file /函数用小写f或fn替代
a3. C~=class /建议用cls替代
a4. b,~bin/bit;e,~element;g,~global;h,~head[t~tail] /~handle;
a5. N~number;o,~obj/对象/object;p,~ptr/指针/pointer;q~(ref:静态工作点
a6. 避免使用大写字母U / 为了和并集符号区分开来
a7. w~word;a/z~第一个/最后一个
其他常用缩写:
c> cls;r> ref;
// 其他想到再补充
todo:注释规范
# 注释一律优先使用中文
#>
##
###
####
#:
#=
#==
#=#
#?
#^
#~
#>>
#+
#1
#`
#_#
#*
# //
#[1个空格]
#[2/3/4个空格]
每天都有最新资料看,今天介绍了一个Rush,shell试验,代码很短小,适合于学习。
https://rust.cc/section/f4703117-7e6b-4caf-aa22-a3ad3db6898f
代码是开源的,actix-web框架,学习不错。
简明扼要。
大纲:
论坛:https://github.com/pyzh/song/issues/1
中文编程:https://github.com/program-in-chinese
不撸兔子:github.com/bhuztez,b乎@6hu2t32
prev
s6R2[S6R1q群=523445644]
中文编程:https://github.com/program-in-chinese
不撸兔子:github.com/bhuztez,b乎@6hu2t32
esle: /secti6n,https://github.com/pyzh/song/issues/1
这是微信2群里有人问过的话题,起初是问怎么get all column name
SQLA分两块,一块ORM一块core,core负责SQL。一般用ORM就够了,但是core更直接(个人比较常用core
如题
伯纳斯李的新项目,看看能实现不?
数学基础
统计学习
深度学习
自然语言处理
计算机视觉
工具
有没有办法呢?
powershell:
(gci -include *.ts,*.js -recurse | select-string .).Count
https://joinmastodon.org/
2018.918 +> https://spectrum.chat/
for example:
dotnet/csharplang#993
任务栏:常用
开始菜单:不太常用,系统组件,管理员身份运行
桌面:第三方,副本/chromium-user-data,较少用,较为私密/必要时可以隐藏桌面,国产常见毒瘤
我来带个头:go2已死,rust当立
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.