!RiPDGrdCYgVcyxoGfW:matrix.org

Fedimint Off-Topic

810 Members
3 Servers

Load older messages


SenderMessageTime
28 Sep 2023
@_discord_1156804659680378960:t2bot.ionick_06622 joined the room.04:09:02
@_discord_383068923157020674:t2bot.io.bignick123 joined the room.04:13:47
@_discord_567506355045269507:t2bot.iozhilty4 joined the room.04:27:09
@_discord_400004254028529664:t2bot.iodanielhinton joined the room.14:36:37
@_discord_1156970972323254443:t2bot.ioeconbuddy_35453 joined the room.15:13:11
@_discord_449292480400195594:t2bot.ioimyjimmy joined the room.15:15:37
29 Sep 2023
@_discord_1106209895818199131:t2bot.ioethantuttle https://gitlab.com/lightning-signer/validating-lightning-signer 14:39:43
@_discord_1106209895818199131:t2bot.ioethantuttle HSM signer. 🤔 14:39:52
@_discord_1157366161076387900:t2bot.iophenomenal_chipmunk_71164 joined the room.17:20:32
@_discord_711516490343514162:t2bot.iojdcs9001 joined the room.17:32:14
@_discord_690731283944570931:t2bot.iothenateway joined the room.22:20:33
1 Oct 2023
@_discord_1157872073893486712:t2bot.iocmb24k_57585 joined the room.02:50:55
@_discord_883984867631726602:t2bot.iogeoffreylgv joined the room.07:19:18
@_discord_968789783272910858:t2bot.iosukram68 joined the room.20:52:57
2 Oct 2023
@_discord_1024978153296367637:t2bot.iogodination joined the room.08:09:35
@temp4096:matrix.org@temp4096:matrix.org joined the room.13:02:09
3 Oct 2023
@temp4096:matrix.org@temp4096:matrix.org left the room.09:03:20
@_discord_1106209895818199131:t2bot.ioethantuttle https://fountain.fm/episode/00mcOBgkHHyDryS2AOQY

Fedimint mention in the wild.
shaurya947_61140 this project might be of interest in your current project.
19:15:07
@_discord_1142108788887916686:t2bot.ioshaurya947_61140 Nice will check it out. It estimates average daily price, that might not be good enough for us at first thought.. but maybe it could come in handy some day as a backup of sorts 19:31:31
@_discord_1106209895818199131:t2bot.ioethantuttle It’s a price oracle that won’t go bankrupt. 🤷‍♂️ 19:32:05
4 Oct 2023
@_discord_827864688108109835:t2bot.iogillbates369 joined the room.11:02:15
5 Oct 2023
@_discord_875510911505399828:t2bot.ioszach joined the room.00:24:06
@_discord_259447651626516480:t2bot.ioarshbot joined the room.13:54:16
6 Oct 2023
@_discord_1106209895818199131:t2bot.ioethantuttle Was attempting to do Rust things and came across this:
https://github.com/ibraheemdev/derive-alias

Since I see a whole lot of: #[derive(Debug, Clone, Eq, PartialEq, Hash, Serialize, Deserialize, Encodable, Decodable)] repeated a bunch.

Is there a reason why this would be bad?
01:32:36
@_discord_332755519561400320:t2bot.iodpcpw Needs to be proc-macro for me to consider using it. 😄 02:41:49
@_discord_816043159045931028:t2bot.iobigcurtncost.testnet joined the room.08:20:59
@_discord_996040270820937829:t2bot.iohimori123 joined the room.09:19:24
@_discord_1106209895818199131:t2bot.ioethantuttle Tbh. Idk what that means 11:47:29
@_discord_1142108788887916686:t2bot.ioshaurya947_61140
Rust has two different kinds of macros: declarative macros (declared with macro_rules!) and procedural macros. Both kinds of macros allow you to write code that writes more code and is evaluated at compile time, but they work in very different ways.

from https://blog.logrocket.com/procedural-macros-in-rust/
14:00:17
@_discord_1106209895818199131:t2bot.ioethantuttle Source of the derive-alias crate I found:
https://stackoverflow.com/questions/56450533/is-there-a-way-to-alias-multiple-derives-as-a-single-one

It explains why it doesn't use proc-macros. To quote
As you mentioned, emitted attributes must be attached to an item, making a proc-macro like this impossible:

#[proc_macro_derive(Num)]
pub fn num_derive(_: TokenStream) -> TokenStream {
    let gen = quote! {
        #[derive(Eq, PartialEq, Ord, PartialOrd)]
    };
    gen.into()
}
proc-macros also come with the hassle of having to be defined in a separate crate, so generating them, or creating simple ones for ergonomic reasons is not worth it.
15:10:08

Show newer messages


Back to Room ListRoom Version: 9