V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  LLaMA2  ›  全部回复第 39 页 / 共 44 页
回复总数  870
1 ... 31  32  33  34  35  36  37  38  39  40 ... 44  
2021-07-03 09:48:20 +08:00
回复了 simplove 创建的主题 程序员 请教一个服务器部署问题
白瞎了这么好的机器,实际上上云,开突发性能突发带宽,套上 OSS 解决上传 ,套上 CDN 解决下发,做完考试机器就降低到能跑的水平就好了
和甲方讲道理,举出腾讯、金山、google 、office365 等在线文档编辑,并表明不是不能做,是我们小企业的技术水平在这里,我们要正视自己的能力,再者,钱管够吗?
2021-06-30 16:40:46 +08:00
回复了 LLaMA2 创建的主题 问与答 SpringBoot Rest 最佳实践的一些疑问
@dejavuwind 按照最佳实践的方式,不使用 spring-boot-starter-data-rest 的话,每个 DO 都会对应着一个 DTO,这样可以在 DTO 中隐藏不不必要的细节,且 DTO 做成更符合 VO 的方式,这样 DO 不用添加一些和 DB 无关的注解,类似于 JsonIgnore 、JsonFormat 等,DTO 中的可以加上 Size Pattern 等注解,这样更符合最佳实践,不过加上了 spring-boot-starter-data-rest,一切都变得不可控且不易理解
2021-06-26 11:05:38 +08:00
回复了 honglei92 创建的主题 Android 安卓 recycleview
2021-06-12 11:56:39 +08:00
回复了 chenqh 创建的主题 Python 今天碰到一个对接 Java rsa pkcs1 用公钥解密,
把密文和公钥发来,大伙给你验证下
2021-06-11 21:32:44 +08:00
回复了 chenqh 创建的主题 Python 今天碰到一个对接 Java rsa pkcs1 用公钥解密,
记住口诀,公加私解,私加公验
2021-06-11 11:13:04 +08:00
回复了 lingodking 创建的主题 macOS postman 是否支持 M1 上运行
REST Client for Visual Studio Code
2021-06-11 11:07:39 +08:00
回复了 lry 创建的主题 服务器 OpenVPN 客户机怎么访问主机 NAT 后面的虚拟服务器
3 种方案。
1.VMWARE 网卡开 briage 模式
2.确保 windows 防火墙策略得当的情况下在虚拟器和 0.107 上使用 wireguard
3.0.108 宿主主机做端口转发 netsh interface portproxy add v4tov4 listenaddress=192.168.0.108 listenport=xxx connectaddress=192.168.204.2 connectport=xxx
2021-06-09 09:39:46 +08:00
回复了 zxCoder 创建的主题 问与答 jetbrain 系列 IDE 可以自定义注释吗,类似// TODO
Live Templates

Ctrl + J
2021-06-08 11:19:51 +08:00
回复了 Orciorc 创建的主题 程序员 Mumble(开源的 VOIP 项目)客户端的选择
server 随便找个开源的跑起来,client 试试看这个 web 版的 https://github.com/onsip/sip.js
2021-06-07 11:28:47 +08:00
回复了 awanganddong 创建的主题 程序员 base64 编码有什么不同吗
请参考 Java 中关于 Base64 的说明,各语言的各种实现有区别。

This class consists exclusively of static methods for obtaining encoders and decoders for the Base64 encoding scheme. The implementation of this class supports the following types of Base64 as specified in RFC 4648 and RFC 2045 .
Basic
Uses "The Base64 Alphabet" as specified in Table 1 of RFC 4648 and RFC 2045 for encoding and decoding operation. The encoder does not add any line feed (line separator) character. The decoder rejects data that contains characters outside the base64 alphabet.
URL and Filename safe
Uses the "URL and Filename safe Base64 Alphabet" as specified in Table 2 of RFC 4648 for encoding and decoding. The encoder does not add any line feed (line separator) character. The decoder rejects data that contains characters outside the base64 alphabet.
MIME
Uses "The Base64 Alphabet" as specified in Table 1 of RFC 2045 for encoding and decoding operation. The encoded output must be represented in lines of no more than 76 characters each and uses a carriage return '\r' followed immediately by a linefeed '\n' as the line separator. No line separator is added to the end of the encoded output. All line separators or other characters not found in the base64 alphabet table are ignored in decoding operation.
Unless otherwise noted, passing a null argument to a method of this class will cause a NullPointerException to be thrown.
Since:
1.8
Author:
Xueming Shen
2021-06-07 10:56:02 +08:00
回复了 Orciorc 创建的主题 程序员 Mumble(开源的 VOIP 项目)客户端的选择
听我一句劝,如果是公司重点的项目,多研究麦克风拾音,传输,压缩,插帧,识别,延时抖动处理的算法。
如果只是为了通话而通话,研究这个 mumble 不值得。
2021-06-02 17:57:34 +08:00
回复了 hello1996 创建的主题 服务器 想租个海外的服务器跑爬虫,哪家强?
he.com 的 G 口够不够你用,询价购买都是用 email 沟通
2021-06-02 17:56:10 +08:00
回复了 ciki 创建的主题 服务器 redis 的 6379 端口有没有什么办法能安全开放?
第一准则就是限制外网访问,
如果需要外网访问可以在防火墙上对指定 IP 开放,没有防火墙的请使用 wireguard 做隧道,然后通过隧道的内网地址访问
巡查系统有没有被放置可以远程登录的 ssh 证书
限制 redis 端口错误登录的频率
记录各种可能被暴力猜解的服务的并限制频率,同时需要适当的告警机制
有条件的先格式化机器,重新设置 redis
使用非 root 用户启动 redis
2021-03-28 13:31:42 +08:00
回复了 evilic 创建的主题 程序员 咨询一下关于 Python 打印 pdf 的问题
先查打印机文档,看他支持的纸张尺寸,接着保存 pdf 的时候就要设定好出多。然后按照你既定的方法走
1 ... 31  32  33  34  35  36  37  38  39  40 ... 44  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1369 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 17:10 · PVG 01:10 · LAX 10:10 · JFK 13:10
Developed with CodeLauncher
♥ Do have faith in what you're doing.