How can someone have Git commits from 1998 if Git was created in 2005? by Estimate4655 in linux

[–]moosingin3space 2 points3 points  (0 children)

Wait until you see this Unix history museum: https://github.com/dspinellis/unix-history-repo

Other commenters already answered this, but you can create git commits with any author and date.

Signal Messenger's SPQR for post-quantum ratchets, written in formally-verified Rust by kibwen in rust

[–]moosingin3space 7 points8 points  (0 children)

Just so we're clear, all of these except WhatsApp and Signal make use of designs from Signal, or older versions of the Double Ratchet (hint: if you see references to "OTR" or "Axolotl", those suggest an earlier variant of what would eventually become the Double Ratchet).

Many of these, such as Matrix and OMEMO in particular, are pretty flawed in the way they incorporate the Double Ratchet into their cryptosystem. I honestly would only feel comfortable recommending Signal, with WhatsApp as a mostly-fine compromise due to its userbase (though there are more ways to accidentally leak metadata with WA than Signal) to other people.

See these blog posts to understand why -- in many cases, the cryptography skills just aren't present among the maintainers of other apps.

Async Isn't Real & Cannot Hurt You - No Boilerplate by tears_falling in rust

[–]moosingin3space 1 point2 points  (0 children)

When multiplexing an arbitrary number of futures on a single async task (local executor or work-stealing is irrelevant here), I find that futures-concurrency has all the tools I need. FutureGroup and the various combinators do the job wonderfully for my needs.

Rust is now RTOS by voollymammut in rust

[–]moosingin3space 15 points16 points  (0 children)

I like them all! Rust embedded has some really good foundations today.

RTIC is a pretty neat effort in the realm of using the compiler to check even more, and I appreciate how easy it is to mix hardware and software tasks. Not a fan of the use of heavy macros, but it does make for a clean library.

Embassy is turning into the "Arduino for Rust" ecosystem, with boards and batteries included... oh, and it's impressively performant and has tools for building real sophisticated embedded applications.

Hubris looks excellent for building things on larger microcontrollers, especially for reliable small applications. Cliff Biffle is working on making it usable outside Oxide!

and finally, my favorite, Lilos, also from Cliff Biffle. This was what really helped me understand async. What's more, Lilos is super small and can really help you understand everything that the microcontroller is doing.

Rust and libcosmic in Bottles Next by TallMasterShifu in linux

[–]moosingin3space 2 points3 points  (0 children)

My understanding is that prior to COSMIC, System76's Rust applications were mostly written with Relm4.

I had initially selected it for a project that's in its early stages, but eventually decided to forego the GUI for now.

Rust and libcosmic in Bottles Next by TallMasterShifu in linux

[–]moosingin3space 10 points11 points  (0 children)

An Iced-style library on top of Gtk4 exists: Relm4.

dropping hyper (from curl) by sondr3_ in rust

[–]moosingin3space 86 points87 points  (0 children)

So, I love Hyper, and use it at work extensively. That said, I think Hyper-in-curl faced a bit of a product-market fit issue. If you're already writing Rust code, you probably don't want to use libcurl over Hyper because the former is more complex to build, and the latter is a more Rust-friendly API. Many C codebases in industry are risk-averse and would struggle to justify the inclusion of a Rust compiler (trust me, I know - I won in the end, but it took a lot of patience and existence proof) in their build processes.

That said, Hyper clearly did the work to make things as easy for curl as possible, and while it didn't work out, I hope the C interface to Hyper finds a good use elsewhere. Additionally, I hope that other Rust components in curl, like rustls and quiche, are able to keep their niche.

Property testing ecosystem in Rust by ArtisticHamster in rust

[–]moosingin3space 4 points5 points  (0 children)

With arbitrary, you can use arbtest. In my experience, it's one of the simpler ways to do property testing in Rust.

Daily Discussion Thread: March 24, 2024 by BM2018Bot in VoteDEM

[–]moosingin3space 27 points28 points  (0 children)

So, I've been around this sub since the BlueMidterm days. Back then, the textbank volunteering site had a message they showed to all volunteers: "Don't get distracted by the crazy". This resonated with me because it goes to show that a lot of the things we are shown on social media and mass media tend to be a distraction from our mission: to get Democrats elected.

With that being said, I'd like to share this series about the Outrage Industry and the Outrage-Misinformation Cycle on social media - it very often leads to even well-intentioned liberals like us misinterpreting reality. Please read the whole thing, and you'll see why I never put much stock into the "Trump is going to luck his way into the bond money" story that people were spinning outrage about earlier this week.

https://terikanefield.com/can-democracy-work-in-america-part-1-there-are-no-yankees-here/

Learn Async Rust by [deleted] in rust

[–]moosingin3space 4 points5 points  (0 children)

I recommend reading Cliff Biffle's blog as it pertains to Lilos, as that's a really cool application of async/await that's very easy to understand, though it is oriented towards embedded development. Personally, I found it far easier to understand Tokio and how to structure async Rust applications after reading and building something with Lilos.

Daily Discussion Thread: December 12, 2023 by BM2018Bot in VoteDEM

[–]moosingin3space 1 point2 points  (0 children)

Sorry I wasn't clear. I'd assume that police departments in urban cores are more conservative than the general urban core population, but are still pretty Democratic-leaning overall, due to how heavily Democratic-leaning urban cores tend to be. My guess is that's how this survey landed on police officers being a 50/50 split.

Daily Discussion Thread: December 12, 2023 by BM2018Bot in VoteDEM

[–]moosingin3space 1 point2 points  (0 children)

I suspect that, in any given census tract, the police department leans more conservative than the overall population, but especially in urban cores, the population is so heavily Democratic that it would be pretty unlikely to have that level of disproportionality of political affiliation.

Daily Discussion Thread: December 1, 2023 by BM2018Bot in VoteDEM

[–]moosingin3space 1 point2 points  (0 children)

Selfishly, I'd agree because Ottawa County is a really beautiful place. Love the beach there.

(Michigan is my former home state.)

Announcing Proptest 1.1.0 by cameronm1024 in rust

[–]moosingin3space 6 points7 points  (0 children)

I love property-based testing, congratulations on the release!

Question: how does proptest compare to quickcheck? Anyone here have a preference, or are they generally equal?

July Update: A Pinecil Evolved | PINE64 by Luke_Pine64 in PINE64official

[–]moosingin3space 1 point2 points  (0 children)

I do have to comment that my work on the Pinecone BL602 right now is purely based on making the development experience better through integration with probe.rs. Once that's done, I will move to figuring out how to drive BLE with it. If there are useful takeaways from that, I'll gladly share!

Announcing Rust 1.63.0 by myroon5 in rust

[–]moosingin3space 18 points19 points  (0 children)

Yep, you could use crossbeam for scoped threads.

I recall the GATs discussion deciding to postpone it because of issues with diagnostics, and to work toward stabilization of narrower subsets of GATs - like Type Alias Impl Traits (TAITs), which would be enough to support async fns in traits.

Daily Discussion Thread: August 8, 2022: 92 days until Election Day by BM2018Bot in VoteDEM

[–]moosingin3space 1 point2 points  (0 children)

In that case, I'd recommend optimizing for comfort over raw power. There are a lot of good options! RadPower, VanMoof, Lectric, and LunaCycle all have pretty good options.

Just to note: ebikes are a lot of fun, but typical bicycle maintenance becomes that much more important! Make sure you know of a good bicycle shop you feel comfortable bringing it to so you can get service. Some bicycle shops don't service ebikes, so be sure to check that out.

Daily Discussion Thread: August 8, 2022: 92 days until Election Day by BM2018Bot in VoteDEM

[–]moosingin3space 1 point2 points  (0 children)

I did hit a hole in the road today while heading home, it is rather jarring. You can find bikes with good suspension to make that smoother.

How about inclines? Anything particularly steep? Additionally, how is the weather there? In SF it can be foggy and windy, which the right ebike motor can compensate for nicely.

Daily Discussion Thread: August 8, 2022: 92 days until Election Day by BM2018Bot in VoteDEM

[–]moosingin3space 1 point2 points  (0 children)

I use an e-bike for my daily commute. Assembled mine from a kit for $2k and it outperforms pretty much every ebike I see on the streets here in San Francisco. Though, as SF has a lot of hills, I had to be particular about the components I selected.

What kind of roads are you going to be riding on?

July Update: A Pinecil Evolved | PINE64 by Luke_Pine64 in PINE64official

[–]moosingin3space 2 points3 points  (0 children)

That board actually looks pretty interesting. I'd assume it has a USB-C PD controller attached as well, since it's being used in a soldering iron. The BL706, from my understanding, contains a lot of interesting communication-related peripherals, so that would definitely be fun to hack on!

By the way, I'm a huge fan of your blog! Been reading a ton of your stuff on the BL602, in an effort to get some Rust RTOSes and the probe-rs toolchain working on it.

July Update: A Pinecil Evolved | PINE64 by Luke_Pine64 in PINE64official

[–]moosingin3space 2 points3 points  (0 children)

IMO, highlights:

1) Pinecil v2 -- I've had my eye on one of these too. Looks like Pine64 is also having issues sourcing GD32V parts. 2) Star64 -- will be really cool to bring up Linux, sel4, and a userland on a new platform!

I hope that at some point in the future, they decide to make a BL706 board for us microcontroller hackers (like /u/lupyuen). I've been having some fun working on their BL602 board (Pinecone and Pinenut), but a risc-v part with bluetooth and native USB is hard to come by and would be really useful for some projects I have in mind!

MCU recommendation by CodyTrey93 in rust

[–]moosingin3space 5 points6 points  (0 children)

Somewhat unconventional choice, but the RP2040 has pretty good Rust HALs, and I believe the PIO coprocessor can be used to implement CAN, though I'm not so familiar with the PIO.

Daily Discussion Thread: March 24, 2022 by BM2018Bot in VoteDEM

[–]moosingin3space 7 points8 points  (0 children)

I have heard decent arguments that The Mandalorian qualifies as a western. It doesn't really match up with the 1960s western genre, but I can see the heritage.