Show newer

@MulanPurple 接下来就是@玛丽莲梦六 微博总结的这段了。据说她因此获刑,从此消失在互联网上。

Just put up a solution for the Advent of Code 2022 day 1.

github.com/lapin-b/advent-of-c

I'll certainly edit it later to clean it up. My solutions might have two functions representing the two parts of the challenge.

I still have no clue how I can present solutions in multiple languages if I wish to do so.

#AdventOfCode #AdventOfCode2022 #Rust #RustLang

这是三年前做的新冠病毒起源时间线(2019年末到2020年初)。当时对照了海内外媒体各个消息来源以及非官方性质的网络信息。时间线上每则信息都有备注来源,全是查证过的信息。
中国官方与非官方的时间线,对照着看,细节无穷。
希望大家永远不要忘记他们当年都做了些什么。
evernote.com/shard/s315/sh/07e

In 1988, the fact that World AIDS Day was designated was the result of tireless work and activism. The response from governments had been slow, largely due to stigma surrounding communities where it was most present: men who have sex with men, trans people, sex workers and intravenous drug users.

Show thread

Today is the 34th #WorldAIDSDay. Since 1988, 1st December has been designated to raise awareness of HIV/AIDS. A lot has changed in the years since it was first marked, but there is still some way to go. Here is a brief history of the situation in 1988, compared to today.

How the heck do Residential Proxy businesses get residential IP addresses? Pardon me for suspecting something fishy going on.

"This Congress remains bipartisan, bicameral, unbreakable in our commitment to shining a bright light on the persecution of the Uyghurs. With this legislation, we send a powerful signal to the Uyghur people: America sees you, we stand with you and we're fighting with you. And we send a resounding message to Beijing: this genocide must end now." - Nancy Pelosi speaking in the House on the 29th speaker.gov/newsroom/112922-0

I'm heading back from the data center after setting up new infra for VT Social!! ✨✨

We've still got some upgrades to do, but this should let us have a nice HA cluster with quite a bit more room to grow than we have now! 🚀🚀

现代意义上的国家政府,都是因为公民让渡了一部分权利才得以构成的。政府的公权力只能来自于公民权利的合法出让,因此也必须受到公民的制约。这是现代社会里公民头脑中必须有的意识。人生天地间,生来便拥有人权,人权高于一切权力,更不必说高于一切狗屁政府。公民的权利来自人权,人权天赋,并不是由任何政府、统治者赋予的。而长期以来CCP宣传中的“老百姓”、“社会主义建设的螺丝钉”就是在掩盖他们统治下人民的公民身份,从而便于他们剥夺中国人民的人权。这种洗脑教育显然行之有效,人民条件反射般地形成了对政府“感恩”的思想回路。仔细想想,在夺取大陆政权之前,CCP许诺的民主选举、多党执政到现在一条都没有实现。即便是他们自己写在宪法里的公民的言论、出版、集会、信仰自由这些基本公民权利在简中社会也根本不存在。这样一个政权,归根结底就不合法应该滚蛋。从1949年到现在,这个政府一直就是靠侵犯人权,压榨人民劳动剩余价值得以延续。所谓改革开放,不过是在他们自我认识到如果经济崩溃自己的统治也要玩完时一种续命手段而已。不要因为曾经被铁拳打的奄奄一息,而后来铁拳锤得没那么狠了就感恩戴德心生欢喜。正常的生活应该是没有铁拳的。

Be sure to check out the official Rust discord server and the Rust community discord server! They each have a channel specifically for beginner questions. Ask your question under and people may be able to help too!

People on Twitter wished for an edit button. One of Hive's security vulnerabilities allows even more: You can edit posts of other accounts.

Show thread

@selvin I prefer Derived for complex commands because I get structs out for free, and prefer Builder for simple commands with only a couple arguments.

Progress on #OpenFX #Rust plugin: I managed to get the ofx crate example to compile and work after changing a few things to make the crate up to date with more recent Rust code. Next thing on my todo list is to write a new version of the plugin to make sure I actually understand how to write OFX plugins.

why call it bird site when ‘the fowl place’ is right there and a much better pun

谢谢所有这些天不断向我传递信息的投稿者们
是你们的勇气和行为让大家看到此刻的中国正在发生什么,你们才是真正的英雄。
我亦希望在非常时期大家都可以保护好自己的一切社交账号。
不用担心我,我不会被打倒,大家放心。
明天见

The longest continously operating atmospheric carbon dioxide monitor has been knocked offline after the eruption of Mauna Loa 🌋 destroyed the power lines (and possibly also the road) supporting the Mauna Loa Observatory.

The world now has many carbon dioxide monitors, so this is no great loss to science, but it is a bit sad that a measurement time series that has run for more than 60 years will be interrupted, possibly for months.

edition.cnn.com/2022/11/29/us/

@ibagail It's relatively simple to setup Rust on Windows with rustup.rs/

What may surprise you is that the rustup by default installs the MSVC version which requires you to install Visual Studio toolchain. If you install the GNU version you will be able to run it from command line without Visual Studio.

After installing with rustup, you can run `cargo new --bin directoryname` to make a new project directory pre-populated with boilerplates for a hello world binary. Your main source code file is `src/main.rs`.

If you want to add more source files, create a new file under `src` like `src/util.rs`, and add `mod util;` in `src/main.rs` to use its contents. If you see an error for structs and fns not found, make sure you have prepended `pub` to them in `src/util.rs`.

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.