Nugine 最近的时间轴更新
Nugine's repos on GitHub
TypeScript · 297 人关注
deno-manual-cn
Deno 中文手册
Rust · 269 人关注
bfjit
Brainfuck JIT 虚拟机教程
Rust · 114 人关注
const-str
Compile-time string operations
Rust · 59 人关注
mirage-tank
A simple library for creating "mirage tank" images.
Rust · 27 人关注
pastebin
在线剪贴板
TypeScript · 24 人关注
mirage-tank-wasm-app
mirage-tank online tool
Rust · 16 人关注
epkv
An experimental distributed key-value database using EPaxos protocol
TypeScript · 11 人关注
nublog
Nugine 的个人博客
Rust · 10 人关注
pastebin-server
Rust · 7 人关注
articles
Nugine 的文章仓库
Rust · 6 人关注
nuclear-router
A URL router library with focus on speed
Rust · 5 人关注
async-echo
Rust · 5 人关注
outref
Out reference
Rust · 3 人关注
asc
Atomic Strong Count
Rust · 3 人关注
nuist-examsafety
Auto heart beat, using Async Rust
Rust · 3 人关注
numeric_cast
Safely cast between numbers
JavaScript · 2 人关注
chaoxing-speedup
C · 2 人关注
LeetcodeSolutions
Rust · 2 人关注
nuclear
[WIP] a web framework for humans
Rust · 2 人关注
ordered-vecmap
Ordered map and set based on vectors and binary search
C++ · 1 人关注
algorithm
Rust · 1 人关注
bool-logic
A library for manipulating and evaluating boolean expressions
Rust · 1 人关注
bpnn-rs
An implementation of BPNN in Rust
Python · 1 人关注
FreeVC
Rust · 1 人关注
heng-rs
Java · 1 人关注
JavaExecrise
Java sucks
Rust · 1 人关注
json-rs
A json parser for learning
1 人关注
kaleidoscope
[WIP] Rust LLVM 中文教程
Python · 1 人关注
Nugine
0 人关注
.github
C++ · 0 人关注
3FS
A high-performance distributed file system designed to address the challenges of AI training and inference workloads.
0 人关注
acme.sh
A pure Unix shell script implementing ACME client protocol
0 人关注
advisory-db
Security advisory database for Rust crates published through crates.io
Rust · 0 人关注
aligned-utils
Python · 0 人关注
Amphion
Amphion (/æmˈfaɪən/) is a toolkit for Audio, Music, and Speech Generation. Its purpose is to support reproducible research and help junior researchers and engineers get started in the field of audio, music, and speech generation research and development.
0 人关注
async-fuse
[WIP] asynchronous FUSE implementation
Rust · 0 人关注
async-rdma
Easy to use RDMA API in Rust async
0 人关注
aws-sdk-php
Official repository of the AWS SDK for PHP (@awsforphp)
0 人关注
baro
[FSE'24 - 🏆 Best Artifact Award] BARO: Robust Root Cause Analysis for Microservice Systems.
Rust · 0 人关注
based64
Simple Base64 functions for Rust chads.
Fortran · 0 人关注
benchmark
https://gensoukyo.me/benchmark/
0 人关注
benchmark-fft
FFT benchmark to compare performance of MoonBit with other languages
0 人关注
BiliRoaming
哔哩漫游,解除B站客户端番剧区域限制的Xposed模块,并且提供其他小功能。An Xposed module that unblocks bangumi area limit of BILIBILI with miscellaneous features.
C++ · 0 人关注
bpftime
Userspace eBPF runtime for Observability, Network & General Extensions Framework
Rust · 0 人关注
c2rust
Migrate C code to Rust
Rust · 0 人关注
china-citizen-id
China Citizen Identification Number
0 人关注
clash
A rule-based tunnel in Go.
TypeScript · 0 人关注
clash-verge
A Clash GUI based on tauri. Supports Windows, macOS and Linux.
0 人关注
clashX
Rust · 0 人关注
compiler-experiment
0 人关注
cproxy
Easy per application transparent proxy built on cgroup.
0 人关注
crev-proofs
Crev proof repository
0 人关注
csi
0 人关注
cxx
Safe interop between Rust and C++
Rust · 0 人关注
data-structure
learn data structure with Rust
Rust · 0 人关注
datenlord
DatenLord, Computing Defined Storage, an application-orientated, cloud-native distributed storage system
Rust · 0 人关注
deno
A secure JavaScript and TypeScript runtime
Python · 0 人关注
DIRE
[ICCV 2023] Official implementation of the paper: "DIRE for Diffusion-Generated Image Detection"
Python · 0 人关注
dl-template
0 人关注
docs.nestjs.cn
nestjs 中文文档
C++ · 0 人关注
dscd
Rust · 0 人关注
encoding_rs
A Gecko-oriented implementation of the Encoding Standard in Rust
0 人关注
FactoryBluePrints
游戏戴森球计划的**工厂**蓝图仓库
0 人关注
flatbuffers
FlatBuffers: Memory Efficient Serialization Library
0 人关注
fre
:ghost: Tiny Concurrent UI library with Fiber.
Rust · 0 人关注
glommio
Glommio is a thread-per-core framework that aims to make the task of writing highly parallel asynchronous application in a thread-per-core architecture easier for rustaceans
0 人关注
gm-rs
A Rust Implementation of China's Standards of Encryption Algorithms(SM2/SM3/SM4)
0 人关注
google_benchmark_plot
A handy script to visualize google benchmark output
TypeScript · 0 人关注
heng-controller
TypeScript · 0 人关注
Heng-Protocol
Protocol of Judger Designed for next Generation of OnineJudge System
0 人关注
How2BreakGFW
0 人关注
hyper
An HTTP library for Rust
MATLAB · 0 人关注
ImageTool
0 人关注
indicatif
A command line progress reporting library for Rust
0 人关注
itertools
Extra iterator adaptors, iterator methods, free functions, and macros.
0 人关注
kvrocks
Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol.
Rust · 0 人关注
libc-rlim-mismatch
Jupyter Notebook · 0 人关注
LLM-course.github.io
Rust · 0 人关注
lockfree-cuckoohash
A rust implementation of lock free cuckoo hashmap
0 人关注
MAIR-programming
Files for MAIR programming practice
0 人关注
mal
mal - Make a Lisp
Rust · 0 人关注
maligned
Rust · 0 人关注
matchit
A blazing fast URL router and path matcher for Rust.
Go · 0 人关注
mc
MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage.
Rust · 0 人关注
mcl-installer
MCL一键安装工具
0 人关注
mimalloc
mimalloc is a compact general purpose allocator with excellent performance.
Rust · 0 人关注
mimalloc-oxide
Go · 0 人关注
minio
MinIO is a high-performance, S3 compatible object store, open sourced under GNU AGPLv3 license.
Rust · 0 人关注
mirage-tank-wasm-binding
Rust · 0 人关注
moveit
0 人关注
Nezha
The implementation of multimodal observability data root cause analysis approach Nezha in FSE 2023
0 人关注
nix
Rust friendly bindings to *nix APIs
0 人关注
NUIST_Bachelor_Thesis_LaTeX_Template
南京信息工程大学本科生毕业论文 LaTeX 模板
TypeScript · 0 人关注
nuxt-content-example
JavaScript · 0 人关注
nuxt-starter-mini
0 人关注
nvm
Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
C++ · 0 人关注
OI-Problems
Rust · 0 人关注
ojcmp
Rust · 0 人关注
opendal
OpenDAL: Access data freely, painlessly, and efficiently
Rust · 0 人关注
parity-common
Collection of crates used in Parity projects
Nugine

Nugine

V2EX 第 266443 号会员,加入于 2017-11-11 20:48:00 +08:00
Nugine 最近回复了
不太明白你的意思,是筛选出数字列表中属于区间(a,b)的数字吗?

那么可以用列表推导式:[x for x in data if a<x<b]

匿名函数 lambda a,b,data:[x for x in data if a<x<b]

写成函数就是
def filter_data(a,b,data):
return [x for x in data if a<x<b]

用高阶函数 filter:
def filter_data(a,b,data):
return filter(lambda x:a<x<b,data)
2017-12-22 00:50:43 +08:00
回复了 Ehco1996 创建的主题 Python 写了个爬虫用的小工具: LazySpider 发布啦!
这个工具给我一些启发,以后可能会参与吧。
不过真正要用起来的话,我会选择照着源码按自己的方式重写一遍,嵌入到自己的东西里去。
(就是抄一遍……)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   4554 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms · UTC 04:00 · PVG 12:00 · LAX 20:00 · JFK 23:00
♥ Do have faith in what you're doing.