sagnitude 最近的时间轴更新
sagnitude's repos on GitHub
Shell · 1 人关注
docker-cnpm-ubuntu
Java · 1 人关注
RapidoidTest
JavaScript · 0 人关注
2d-polygon-self-intersections
find self-intersections in a 2d polygon
JavaScript · 0 人关注
angular-drag-and-drop-lists-requirejs
Angular directives for sorting nested lists using the HTML5 Drag & Drop API
0 人关注
api-wow-docs
Documentation for the World of Warcraft web APIs.
Assembly · 0 人关注
Apollo-11
Original Apollo 11 Guidance Computer (AGC) source code for the command and lunar modules.
Java · 0 人关注
async-http-client
Asynchronous Http and WebSocket Client library for Java
C · 0 人关注
cchaosrng
C++ · 0 人关注
cefbrowser
Automatically exported from code.google.com/p/cefbrowser
Python · 0 人关注
cefpython
Automatically exported from code.google.com/p/cefpython
JavaScript · 0 人关注
crypto-js
Automatically exported from code.google.com/p/crypto-js
C · 0 人关注
curl-for-windows
An unofficial mirror of the curl library with support for static linking on Windows.
JavaScript · 0 人关注
custom-cnpm-example
Use cnpmjs.org and your own nfs to build your own npm
0 人关注
Daidao
代刀便利通知系统
Perl · 0 人关注
dj_voice_organize
同人音声资料库系统
Dockerfile · 0 人关注
docker-images
Shell · 0 人关注
docker-ipsec-vpn-server
Docker image to run an IPsec VPN server, with IPsec/L2TP and Cisco IPsec
Perl · 0 人关注
EQGRP
Decrypted content of eqgrp-auction-file.tar.xz
0 人关注
esbuild
An extremely fast JavaScript bundler and minifier
Java · 0 人关注
frontend-maven-plugin
"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
0 人关注
ghidra
JavaScript · 0 人关注
Ghost
A simple, powerful publishing platform
JavaScript · 0 人关注
gulp-chug
Run external gulpfiles as part of a gulp task inside another gulpfile
JavaScript · 0 人关注
hippo
Simple analytics client.
Java · 0 人关注
httpclientandroidlib
Automatically exported from code.google.com/p/httpclientandroidlib
C · 0 人关注
iBoot
iBoot from iOS9 which was unavailable due to DMCA takedown on gayhuuub.
Java · 0 人关注
j2objc-maven-plugin
Maven plugin for J2ObjC library
Java · 0 人关注
java-rdb-parser
A simple Redis RDB file parser for Java
0 人关注
java-vector-tile
A java encoder and decoder for vector tiles according to Mapbox vector tile spec
C++ · 0 人关注
KMSEmulator
Shell · 0 人关注
L2TP-VPN-installation-script-for-CentOS-7
L2TP VPN installation script for CentOS 7
Java · 0 人关注
lambda-factory
A fast alternative to Java Reflection API's method invocation
JavaScript · 0 人关注
leetcode
my solution to leetcode oj in javascript, python, java, C, and C++
C++ · 0 人关注
lightweight-java-profiler
Automatically exported from code.google.com/p/lightweight-java-profiler
0 人关注
LLJS
LLJS: Low-Level JavaScript
C# · 0 人关注
Locale-Emulator
Yet Another Region Simulator for modern Windows OS
0 人关注
maptalks.js
A light and plugable JavaScript library for integrated 2D/3D maps.
0 人关注
mirai
C · 0 人关注
Mirai-Source-Code
Leaked Mirai Source Code for Research/IoC Development Purposes
0 人关注
mongotiles
mongotiles is a tilelive backend plug-in for MongoDB GridFS
JavaScript · 0 人关注
pako
high speed zlib port to javascript, works in browser & node.js
JavaScript · 0 人关注
pomelo
A fast,scalable,distributed game server framework for Node.js.
0 人关注
port-mirroring
Automatically exported from code.google.com/p/port-mirroring
JavaScript · 0 人关注
priority
Java · 0 人关注
proguard-maven-plugin
ProGuard Maven plugin that supports modularised ProGuard packages
Java · 0 人关注
QingTingCheat
蜻蜓线上最新版apk v5.0.1反编译源码
Java · 0 人关注
request_data_webviewclient
Android WebView with a custom WebResourceRequest that contains the outgoing payload of AJAX requests
JavaScript · 0 人关注
restore
Simple remoteStorage server written in Node.js
JavaScript · 0 人关注
sagpanoviewer
CoffeeScript · 0 人关注
sagposter
HTML · 0 人关注
sagprtsvr
JavaScript · 0 人关注
ShaderParticleEngine
A GLSL-heavy particle engine for THREE.js. Originally based on Stemkoski's great particle engine (see README)
Python · 0 人关注
shadowsocks
C · 0 人关注
shadowsocks-android
A Shadowsocks client for Android
0 人关注
source-han-sans
Source Han Sans
Groff · 0 人关注
Specs
The CocoaPods Master Repo
0 人关注
Survival-Guide
Want to work at Teambition? Check this to help you survive at the rapidly changing Teambition.
0 人关注
swsrss
sag's world simulator rule simulation system
JavaScript · 0 人关注
three-effectcomposer
@alteredq's EffectComposer plugin for three.js ported for use with Browserify
JavaScript · 0 人关注
THREE.MeshLine
Mesh replacement for THREE.Line
C++ · 0 人关注
webgl-loader
Automatically exported from code.google.com/p/webgl-loader
PHP · 0 人关注
workerman-todpole
[强烈推荐]蝌蚪游泳聊天交互程序-HTLM5+WebSocket+Workerman , rumpetroll server writen using php
PHP · 0 人关注
WXTestProject
wx test project
Python · 0 人关注
xiake
Java · 0 人关注
xipki
Highly scalable and high-performance open source PKI (CA and OCSP responder), especially suitable for IoT, M2M and V2X
Python · 0 人关注
yobot
aide bot for pcr (mobile game) 公主连接群聊机器人
0 人关注
Zygisk-Il2CppDumper
Using Zygisk to dump il2cpp data at runtime
sagnitude

sagnitude

V2EX 第 112102 号会员,加入于 2015-04-20 19:49:54 +08:00
今日活跃度排名 2036
根据 sagnitude 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
sagnitude 最近回复了
@codehz 我 ts 代码是用工具自动生成的,不存在自己写的情况,javabean 也不可能有复杂的数据结构,而且嵌套的对象自己也有自己的约束,递归下去检查就行了,只能说我的应用场景没这些问题
至于只存在于运行时的问题,为啥有问题?,我也不需要运行时的强类型,我只是想在自动编译的 class 下面附加一些 metadata 而已,就好比 ClassA._metadata = {xfzId:{minValue:0}},我加的 metadata 又不是为了 typescript 语法,只是为了附加我自己的数据
至于写错的问题,IDE 可以强制提交前 lint ,transpiler 也不是问题,不是瓶颈就不需要优化,等他变成瓶颈再说吧,不要过早优化
1 小时 58 分钟前
回复了 mikasa1024 创建的主题 Windows windows11 最近更新了一次,找不到环境变量设置的按钮了
开始菜单搜索环境
你是否在找:reflect-metadata

类型定义:

const MetaKeyMin = 'min';
export const Min = (min: any): PropertyDecorator => {
return (target, key) => {
Reflect.defineMetadata(MetaKeyMin, min, target, key);
}
}

使用:

export class EquipVO {
@Min({value:0})
xfzId?: number;
}

运行时读取:

export function CheckObjectFiledByKey(object: object, key: string): string {
var hasMin = Reflect.hasMetadata("min", object, key);
var min = Reflect.getMetadata("min", object, key);
// value: min.value
}

当时做这套功能就是为了保证源代码和 java 基本一致,并且支持基本的 validation-api 功能,这样可以用工具生成 ts 代码

@Data
public class Equip extends SecModel {
@Min(value = 0)
private Integer xfzId;
}
2 天前
回复了 cnachen 创建的主题 Windows A 卡+Chrome:全是 Bug
A.a 和 A 卡没关系,我 1660 的机器有这个问题,7900XTX 没碰到过
海光 x86 + 银河麒麟 V10SP3 + PolarDB-MySQL ,中间件继续用 tomcat+nginx 没影响,做了这么多项目没见过对 nginx 较真的
数据库迁移:如果可以用 polardb-mysql 版本,不需要任何迁移,他就是 mariadb
如果不行,用人大金仓,就把它当 postgres14 ,需要做一些复杂语句迁移,我用的 pgloader
没用过 guass 和达梦,感觉差异过大
Y2xveWNjNkBnbWFpbC5jb20=
支持
一路 23H2 24H2 用下来没啥问题
https://github.blog/changelog/2025-11-24-claude-opus-4-5-is-in-public-preview-for-github-copilot/

Availability in GitHub Copilot
Claude Opus 4.5 will be available to Copilot Pro, Pro+, Business, and Enterprise users, priced at a promotional 1x premium request multiplier through December 5, 2025.

虽然他没发提醒到 vscode 里面确实是不到位,但不能说没告知
我记得在 multipler 页面,opus4.5 刚出的时候,他倍率里面有个括号明确写了到 12.5 号恢复 3x 的,前面是 preview 促销
6 天前
回复了 Zhipuai 创建的主题 程序员 Ask Me Anything with 智谱!有问必答!
我第一时间就买了一年订阅,一开始还行,最近写代码经常会出现事实性错误(指东打西,或者对着不存在的问题怼),现在已经全程 opus 4.5 了,多的不要求,GLM 4.7 能超过 sonnet 4.5 吗,懒得去退款了
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   4973 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms · UTC 03:52 · PVG 11:52 · LAX 19:52 · JFK 22:52
♥ Do have faith in what you're doing.