duangsuse::Echo
719 subscribers
4.28K photos
130 videos
583 files
6.49K links
import this:
美而不丑、明而不暗、短而不凡、长而不乱,扁平不宽,读而后码,行之天下,勿托地上天国。
异常勿吞,难过勿过,叹一真理。效率是很重要,盲目最是低效。
简明是可靠的先验,不是可靠的祭品。
知其变,守其恒,为天下式;穷其变,知不穷,得地上势。知变守恒却穷变知新,我认真理,我不认真。

技术相干订阅~
另外有 throws 闲杂频道 @dsuset
转载频道 @dsusep
极小可能会有批评zf的消息 如有不适可退出
suse小站(面向运气编程): https://WOJS.org/#/
Download Telegram
duangsuse::Echo
Photo
前一个高峰我被打, 后一个高峰我打酷安( 别打我🙈 , 高峰是相对的, 那次我只送了200多M过去
Forwarded from dnaugsuz
The frogs of JiangZeMin excited. Their warring plunged the world into a new darknesss, and the reporter abhorred the darkness. So it began to move swiftly, and grew more naive, and went forth and multiplied. And the reporter brought big news and light to the Hath.

from The Website of Duangsuse, 🐸.
—-
https://piped.stream HTTP +1s 🐸
拿lazy_statics替换了Rocket内建的State系统, naive_fortunes现在理论上速度更快了. #webdev #project
#backend #Dev 羡慕Gentoo... duangsuse曾经试水过两次, 最近还计划入坑. 第一次失败是因为编译不起, 第二次是因为内核没配置好没声音直接泄气
Forwarded from 咸鱼
現在感覺倒也還行...
Forwarded from Marshmello
别的同学语文背诗速度:SSD
我:USB1.0
Forwarded from 坐和放宽 初代
班里只会学习的大佬背书:SSD
其他同学:HDD
我:磁盘已丢失
Forwarded from 坐和放宽版聊实验室 (Anankke 小学生 ←开学了的咸鱼)
班里只会学习的大佬背书:RAID10 nvme
其他同学:SSD
我:无法识别磁盘格式(
Forwarded from 坐和放宽版聊实验室 (坐和放宽 名前のない怪物)
班里只会学习的大佬学习:真·UFS2.1
其他同学学习:其他厂家·UFS2.1
我学习:华为·UFS2.1
Forwarded from Recopec
我根本背不进
Forwarded from Recopec
有坏道的HDD
班里只会学习的大佬学习:SSD &真·ZFS
其他同学学习:HDD &NTFS
我学习:qcow2 &FAT16 🌝
duangsuse::Echo
拿lazy_statics替换了Rocket内建的State系统, naive_fortunes现在理论上速度更快了. #webdev #project
GET /fortune (siege https://127.0.0.1:81/fortune -t 30S -c 100 -v)
old
Transactions:            1911 hits
Availability: 100.00 %
Elapsed time: 29.75 secs
Data transferred: 0.21 MB
Response time: 1.02 secs
Transaction rate: 64.24 trans/sec
Throughput: 0.01 MB/sec
Concurrency: 65.80
Successful transactions: 1912
Failed transactions: 0
Longest transaction: 1.22
Shortest transaction: 0.05

new
Transactions:            2409 hits
Availability: 100.00 %
Elapsed time: 29.26 secs
Data transferred: 0.27 MB
Response time: 0.69 secs
Transaction rate: 82.33 trans/sec
Throughput: 0.01 MB/sec
Concurrency: 56.53
Successful transactions: 2409
Failed transactions: 0
Longest transaction: 1.13
Shortest transaction: 0.06
提速明显(
暴力的强制HTTPS(
#webdev #INFO 机器人全部上线.
Forwarded from RustPlayBot
This is RustPlayBot 0.0.9 ,Rust versions:
Stable:rustc 1.21.0 (3b72af97e 2017-10-09),
Beta:rustc 1.22.0-beta.1 (e694dd37b 2017-10-12),
Nightly:rustc 1.22.0-nightly (4750c1ec0 2017-10-19)
#webdev #backend #Rust #wtf duangsuse 被自己坑了好久才搞出一个代ACAO头的响应器... 原因竟然是Rust没自动为StrCORS实现AsRef<[u8]>, AsRef<[u8]>也没有Derive宏, duangsuse自己复制粘贴std的代码时忘记要把self.as_bytes() 改成self.0.as_bytes()了... 🙈
struct StrCORS (String);
impl<'r> Responder<'r> for StrCORS {
fn respond_to(self, _: &Request) -> Result<Response<'r>, Status> {
Response::build()
.raw_header("Content-Type", "text/plain; charset=utf-8")
.raw_header("Access-Control-Allow-Origin", "*")
.sized_body(Cursor::new(self.0))
.ok()
}
}
impl AsRef<[u8]> for StrCORS {
#[inline]
fn as_ref(&self) -> &[u8] {
self.0.as_bytes()
}
}
impl StrCORS{
fn new_with_string(string: String) -> StrCORS { StrCORS(string) }
}