Lhcfl 最近的时间轴更新
Lhcfl's repos on GitHub
JavaScript · 117 人关注
hexo-theme-anatolo
小巧,简洁而精美的现代化 Hexo 主题
TypeScript · 22 人关注
sharkey-stelpolva
🌎 Sharkey is an open source, decentralized social media platform that's free forever! 🚀
JavaScript · 13 人关注
Linquebot
开箱即用的多平台群聊机器人
JavaScript · 12 人关注
PPgoogle-access-helper
PP谷歌访问助手破解版
TypeScript · 10 人关注
papilio
Another React Misskey Frontend
JavaScript · 8 人关注
Q2TG-mini
短小简洁的qq->tg转发bot
Ruby · 7 人关注
discourse-another-smtp
Ruby · 7 人关注
discourse-chat-bridge
TypeScript · 7 人关注
hexo-theme-sosimple
Minimalist, fast, morden, full-featured hexo theme
Rust · 6 人关注
linquebot_rs
多功能 模块化的 Telegram 群聊机器人
SCSS · 5 人关注
discourse-theme-clean
A clean theme for discourse
TypeScript · 5 人关注
Linquebot_v2
群聊机器人
SCSS · 4 人关注
discourse-Stelpolva
A Theme for Discourse
TypeScript · 2 人关注
better-discourse-dev-experience
JavaScript · 2 人关注
clash2vmess
v2rayN与clash的配置文件转换工具
TypeScript · 2 人关注
ffm.js
Fast MFM-compatible standard markdown parser
JavaScript · 2 人关注
mastodon-emoji-get
TypeScript · 2 人关注
pure_women_bot
……?
Astro · 1 人关注
astro-theme-krypton
The astro theme for my blog
Python · 1 人关注
Ballphy
物理弹性碰撞模拟
JavaScript · 1 人关注
discourse-hide-ignored-user-topics
JavaScript · 1 人关注
discourse-larger-long-image
1 人关注
discourse-photo-wall
Theme component to display a photo-wall in the user profile
Ruby · 1 人关注
discourse-response-bot
Standard ML · 1 人关注
Dress
好耶 是女装
TypeScript · 1 人关注
hrt-book
Shizu's 跨性别女性 HRT 资料
TypeScript · 1 人关注
lean4-style-math-input
Provides math unicode input snippets support for ∀ languages
HTML · 1 人关注
Lhcfl.github.io
TypeScript · 1 人关注
my-fish-config-backup
TypeScript · 1 人关注
node-discourse-api
TypeScript · 0 人关注
ai-tg-bot
HTML · 0 人关注
Anatolodemo
A demo website of hexo theme Anatolo
Astro · 0 人关注
astro-theme-krypton2
TypeScript · 0 人关注
catofish-archive
C · 0 人关注
CompilerLab2025
C++ · 0 人关注
cpp-json-learn
JSON parser and serializer in C++, for learning
C++ · 0 人关注
DisableControl
A program to disable teacher's control.
JavaScript · 0 人关注
DiscoTOC-edited
Edited DiscourseTOC, supports non-latin language and every post
Ruby · 0 人关注
discourse
A platform for community discussion. Free, open, simple.
JavaScript · 0 人关注
discourse-account-deletion-request
Add Account Deletion Request dropdown to account page.
Ruby · 0 人关注
discourse-activitypub-onebox
AP onebox for discourse
SCSS · 0 人关注
discourse-argon-theme
Argon theme for discourse
Ruby · 0 人关注
discourse-auto-upload
JavaScript · 0 人关注
discourse-bilibili-iframes
JavaScript · 0 人关注
discourse-blog-plugin
0 人关注
discourse-category-icons
A theme component to display icons next to category links in Discourse.
Handlebars · 0 人关注
discourse-category-previews
Handlebars · 0 人关注
discourse-clean-user-page
Ruby · 0 人关注
discourse-custom-summary-gist
0 人关注
discourse-data-explorer
SQL Queries for admins in Discourse
Ruby · 0 人关注
discourse-embed-bilibili
为discourse增加bilibili视频支持
Ruby · 0 人关注
discourse-group-sql
JavaScript · 0 人关注
discourse-kanban-theme
A Discourse theme component providing basic kanban-board functionality
0 人关注
discourse-mobile-op-avatar-component
A theme component that forces the original poster's avatar to show in the topic list on mobile devices, rather than the latest poster.
JavaScript · 0 人关注
discourse-mobile-topic-op-and-last-reply
Ruby · 0 人关注
discourse-post-folding
JavaScript · 0 人关注
discourse-post-voting-mobile-fix
JavaScript · 0 人关注
discourse-profile-photo-wall
JavaScript · 0 人关注
discourse-quick-quote
A Theme component to change the behaviour of the Post Reply buttons to quote a Post automatically in a single click.
JavaScript · 0 人关注
discourse-sidebar-colorscheme-toggle
TypeScript · 0 人关注
discourse-tg-group-bot
SCSS · 0 人关注
discourse-theme-clean2
SCSS · 0 人关注
discourse-theme-md3e
JavaScript · 0 人关注
discourse-toggle-whisper
Allows staff to change a post to whisper and vice-versa
Ruby · 0 人关注
discourse-topic-op-moderating
Ruby · 0 人关注
discourse-tree-reply
JavaScript · 0 人关注
discourse-twitter-native-embed
0 人关注
discourse-user-notes
Plugin for Staff users to create notes on users
Ruby · 0 人关注
email-extension
C++ · 0 人关注
encryptor
A simple encryptor
C++ · 0 人关注
FightNames
JavaScript · 0 人关注
flagged-posts-config
TypeScript · 0 人关注
futarino-tg-sync-bot
TypeScript · 0 人关注
generate-small-mushroom
Mention: This repo is generated by AI. 注意:此项目由AI生成。
Vue · 0 人关注
GilbreathsConjecture
吉尔布雷斯猜想可视化
Ruby · 0 人关注
group-users
JavaScript · 0 人关注
hast-util-to-html-with-subset
utility to serialize hast to HTML (but support subset)
0 人关注
highlightjs-lean4
A highlight.js language grammar for the Lean theorem proving language.
0 人关注
kuaer.club
Transgender Navigation
0 人关注
lhcfl
Haskell · 0 人关注
linquebot-hs
Crystal · 0 人关注
linquebot_cr
Crystal · 0 人关注
matrix-admin-tool
0 人关注
misskey
🌎 An interplanetary microblogging platform 🚀
TypeScript · 0 人关注
misskey-archive-viewer
HTML · 0 人关注
misskey-archive-viewer-web
TypeScript · 0 人关注
my-reactivity-test
TypeScript · 0 人关注
newtab-solid
solid newtab
C++ · 0 人关注
nit
Nix · 0 人关注
nixos-cfg
OCaml · 0 人关注
ocamlcmm
用于 OCaml 编写 C-- 语言编译器的学习仓库
0 人关注
OI-wiki
:star2: Wiki of OI / ICPC for everyone. (某大型游戏线上攻略,内含炫酷算术魔法)
Python · 0 人关注
Phy_js
A test physical model by javascript
JavaScript · 0 人关注
pleroma-fe
Ruby · 0 人关注
post-folding
HTML · 0 人关注
randpic
随机图片api
Ruby · 0 人关注
replace-translations-global
JavaScript · 0 人关注
review-with-reason
0 人关注
RLE-wiki
RLE.wiki
Rust · 0 人关注
rust-git
Lhcfl

Lhcfl

V2EX 第 627642 号会员,加入于 2023-05-06 20:52:06 +08:00
Lhcfl 最近回复了
255 天前
回复了 5261 创建的主题 Rust Rust 学习几个月之后,真正要自己写的时候就懵逼
可以用 teloxide_core 这个库,是 teloxide 的 api 层,糖少一点比较方便理解
336 天前
回复了 Amose2024 创建的主题 C++ C++入门书籍,我是不是被坑了?
确实被坑了,拿 C++ Primer Plus 入门有点太中式高等教育了的感觉了,虽然我也没有能推荐的更好的书
341 天前
回复了 levelworm 创建的主题 程序员 不知道为什么,我很厌恶 map()
这个没办法,python 的语法就是丑,毕竟发明人就讨厌 lambda 函数,换 js 的 data["item"].map((x) => x.id) 不好吗
2024-08-28 10:33:44 +08:00
回复了 sgld 创建的主题 Python for 循环里面的迭代器到底怎么迭代的
不要写这样的代码,会跑出 O(n^2 )的时间复杂度,而且如果是 C++的话这是典型的 undefined behaviour ,以及都用 python 了研究迭代器怎么迭代的干什么,把它当成黑盒模型用就好了
2024-08-19 16:09:36 +08:00
回复了 abc0def 创建的主题 程序员 从 n 个数里面随机取 m 个数
很好写啊,用一个伪的数组。已知 array shuffle 是每次将 a[i] 与 a[i ~ n] 中的某个元素交换。你把这个过程 lazy 一下,每次 generate 就输出 (mapped[i] || i) swap (getRandom(n-i) + i),这样每次操作都是 O(1)的,空间也是复杂度也很优秀。
2024-08-13 12:30:45 +08:00
回复了 daishuge 创建的主题 Python 准高一生写的代码,请各位大佬过目,不玻璃心
还可以了,会抽象和封装已经赛过 99%的准高一
2024-07-24 16:37:38 +08:00
回复了 nbin2008 创建的主题 JavaScript 请教大家一个问题, js,异步执行
不考虑多线程:
function makeGetD() {
let datas = [];
let promise = null;
let canNext = true;
const getD = async () => {
if (datas.length > 0) return datas.pop();
if (promise == null) {
if (!canNext) return;
canNext = false;
setTimeout(() => (canNext = true), 2000);
promise = new Promise(res => setTimeout(() => {
console.log("i'm ajax"); res([1,2,3,4,5,6,7,8,9,10]);
}, 300));
}
datas = await promise;
promise = null;
return await getD();
}
return getD;
}

getD = makeGetD();
2024-07-24 15:56:26 +08:00
回复了 dota22kk 创建的主题 程序员 纯小白关于编程学习的问题
@diagnostics 那也是,不过楼主即使是学基础语法流也最好别从 Java 开始。无论如何都更推荐第一课就能看到 REPL 的 JavaScript 或者 python ,所以我比较推荐去找个这类的开源项目(尤其是前端),看到不懂的就 console.log 一下多好办。而且这俩也是现代语言,比上来就是(对初学者而言)很难理解的的#include 和 main 函数的要好多了
2024-07-24 15:23:55 +08:00
回复了 dota22kk 创建的主题 程序员 纯小白关于编程学习的问题
@dota22kk 别从 java 学起,这种做法很像应试教育那种硬塞知识点。可以试试直接去找一个开发者比较 friendly 的开源软件用用看看它是怎么工作的,然后去看它的源代码是什么语言,尝试去了解某个功能运作的逻辑,看看它的源代码。熟悉以后还可以学着自己往里面加功能,甚至是 PR 过去

~~利益相关:笨人就是这样被这个软件的公司邀请去实习了(呃)~~
2024-07-01 16:59:11 +08:00
回复了 lemonTreeTop 创建的主题 程序员 TypeScript 是个人项目中最好用的编程语言
果然程序员什么都能吵起来,尤其是《什么是最好的语言》
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2471 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms · UTC 01:17 · PVG 09:17 · LAX 17:17 · JFK 20:17
♥ Do have faith in what you're doing.