V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  b2byco  ›  全部回复第 1 页 / 共 2 页
回复总数  26
1  2  
你用英文字典查英文?然后跟中文查英文的对比?
Migration 是(计算机系统的)变更
那我中文字典
迁移 是(计算机系统的)变更
这样就不行了?
欧洲大清要亡了?我们德国老板买了个 EQE 花了 20W 欧,这玩意国内也就 20-30W 人民币吧。
感觉需要东风 41 来打开国门了 https://i.imgur.com/io2SM1h.png
这太离谱了,我还以为我最近手抖还是咋了
295 天前
回复了 flypei 创建的主题 推广 元旦 T 楼! 送 Google One 2T + 京东 E 卡 300 元
新年快乐,碰碰运气
支持一下
mark 下,试试看
2023-09-08 14:21:19 +08:00
回复了 sunmoon1983 创建的主题 MySQL Mysql 是用分区表,还是直接分表?
postgresql 有个问题 hash 分区,没法在关联或者子查询中,动态使用分区键进行分区剪枝,显式的在 sql 中指定分区键可以。14 就有这个问题。
2023-08-04 11:54:43 +08:00
回复了 erosripe 创建的主题 问与答 机械革命机子咋样,有用过的嘛
@shangsharon 我前几天也遇到了,是随机的那个氮化镓充电器坏了
分子
@Yeen 是的现在 AI 就差一个 AI 病毒了
2022-12-13 22:48:32 +08:00
回复了 mengyxu 创建的主题 Java Java https 请求绕过 SSL 证书验证问题
试试这个
try {
X509TrustManager x509TrustManager = new X509TrustManager() {@
Override
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {}@
Override
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {}@
Override
public X509Certificate[] getAcceptedIssuers() {
return new X509Certificate[0];
}
};
SSLContext sslContext = SSLContext.getInstance("TLSv1.2");
sslContext.init((KeyManager[]) null, new X509TrustManager[] {
x509TrustManager
}, (SecureRandom) null);
HttpClient client = HttpClient.newBuilder().sslContext(sslContext).followRedirects(HttpClient.Redirect.ALWAYS).version(HttpClient.Version.HTTP_1_1).build();
URI uri = new URI("https", "//", null);
HttpRequest r = HttpRequest.newBuilder().uri(uri).GET().build();
var s = client.send(r, HttpResponse.BodyHandlers.ofString());
System.out.println(s.body());
} catch(Exception e) {}
2022-11-08 16:08:52 +08:00
回复了 lslvxy 创建的主题 程序员 想换电脑了, MAC or ThinkPad
@enihcam 12 代 CPU 续航双位数 你确定么 thinkbook 14+,16+。啥都好,就续航和核显被 6800H 吊起来打。12700H 的续航就 4 小时出头
2022-10-31 13:24:32 +08:00
回复了 starlz 创建的主题 NAS 同志们,你们的 nas 硬盘噪音大吗
@MYDB 哪一款呀 推荐一下
2022-09-29 10:44:52 +08:00
回复了 8629 创建的主题 Java 请教下 Java 热替换代码的技术
Janino
http://janino-compiler.github.io/janino/

The ShippingCost class demonstrates how easy it is to use Janino as an expression evaluator.
The ExpressionDemo class implements a command line-based test environment for the expression evaluator.
The ScriptDemo class implements a command line-based test environment for the script evaluator.
The ClassBodyDemo class implements a command line-based test environment for the class body evaluator.
Janino
http://janino-compiler.github.io/janino/

The ShippingCost class demonstrates how easy it is to use Janino as an expression evaluator.
The ExpressionDemo class implements a command line-based test environment for the expression evaluator.
The ScriptDemo class implements a command line-based test environment for the script evaluator.
The ClassBodyDemo class implements a command line-based test environment for the class body evaluator.
2022-08-10 13:58:17 +08:00
回复了 sunmoon1983 创建的主题 MySQL 求一个数据表设计的思路!
看起来是 table1 每一行对应多个地区(区域),每个地区有省市县三个维度。
table1( id,full_name ) 原来的 table1
area( id , province , city ,county ) 地区表 index1 province , city ,county ;index 2 city,county ;index 3 county
relation( id , table1id , areaid ) 关系表 index 1 table1id , areaid ;index 2 areaid, table1id

select t1.* from area a
inner join relation r
on a.id = r.areaid
and a.province = xxx
and a.city = xxx
and a.county = xxx -- 或者别的过滤语句
inner join table1 t1
on r.table1id = t1.id

不知道地区名字你们怎么处理的,如果出现同样的编码改名,且要保留旧数据用旧名字的话,可以直接在 area 表里加名称字段以及启用日期和结束日期,查询的时候再根据时间过滤下就好了
1  2  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1846 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 43ms · UTC 16:25 · PVG 00:25 · LAX 09:25 · JFK 12:25
Developed with CodeLauncher
♥ Do have faith in what you're doing.