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

技术相干订阅~
另外有 throws 闲杂频道 @dsuset
转载频道 @dsusep
极小可能会有批评zf的消息 如有不适可退出
suse小站(面向运气编程): https://WOJS.org/#/
Download Telegram
... 为什么 Rust 就能很好的支持 x86_64-pc-win32-pe,Qt 作为「跨平台框架」连最基本的交叉编译都麻烦得要死
如果它不支持 Qt5 我就把项目 port 到 Qt4 就好了...
Native 的东西就是很让人淡疼.... So fuck you Qt...
啊还好有 mxe.cc 提供了 Qt5 的 MinGW 交叉编译环境...
Linux 平台上开发真是折腾... M$ 给 Linux 做了子系统支持,所以不存在 Windows 平台不支持 GNU/Linux 的情况了,呵呵。你 NB。
妈的写了一晚上代码交叉编译怕不是又要花一整天,那我还睡不睡觉了
Qt5 UI 可还行,真想让他们安装 CRuby 然后直接 Qt/Tk 绑定好了,省得麻烦
交叉编译烂成那 B 样还敢推销自己破烂产品我 TM... 好组件库 Google 就没有做出来一个一样,我特么... 自己心里 TM 没有点 B 数么
This media is not supported in your browser
VIEW IN TELEGRAM
The Qt Company 的邮件被用 Qt 写的 KMail 放进 Junk 了,哈哈(虽然其实是 M$Outlook)
duangsuse::Echo
https://github.com/losfair/banXiaocao #low #Chinese #backend 小曹消息屏蔽权重判断插件(可以做一个适配的 Telegram 插件平台... emmm
刚才想把这玩意 detect.c 拿 Rust nostd 重写一下练练手,坑死我了,没有到运行时就出各种问题... 到不了运行时...(友情提示,代码太垃圾了不要学)

今天我还是对自己好点... 不要弄这些了.... 我早饭午饭都没吃昨天一晚上都没睡觉.... 现在非常难受........

#![crate_type = "cdylib"]  
#![crate_name = "xcdetect"]

#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "https://doc.rust-lang.org/favicon.ico")]

#![feature(lang_items)]
#![no_std]

use core::fmt;
use core::panic::PanicInfo;

extern {
static xc_words_len: *const i32;
static xc_words: [*const i8];
static xc_words_weights: [*const f32];

fn printf(fmt: *const i8, ...) -> i32;
}

/// Display rust &str to stdout
pub fn print(str: &str) {
unsafe { printf(str.as_ptr() as *const i8); }
}

#[lang = "eh_personality"]
#[no_mangle]
/// Rust error handling personality function
pub extern "C" fn eh_personality() {}

#[panic_handler]
#[no_mangle]
/// Rust panic handler
pub extern "C" fn panic_handler(p: &PanicInfo) -> ! {
print("Rust program panicked:\n ");
if let Some(l) = p.location() {
print(":: At file "); print(l.file()); print("\n ");
print( ":: At line "); print("1");
}
loop {} // never return
}
duangsuse::Echo
现在才知道是囍你老母,我去吃午饭了.... 😶
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
好吧,看看今天频道要满 100 人了也算是囍事 😶
我真是谢谢你们啊 MXE 的作者们... 在修改增加了 -std=gnu11 后居然能编译通过了... 这真是................
This media is not supported in your browser
VIEW IN TELEGRAM
感人至深啊......... 花了半个小时下载库总算安装了 MinGW qt5
虽然很可惜是静态链接的所以体积足足有 17 多兆