I got a couple more bits done with cargo-sandbox, a sandboxed wrapper around #rust 's cargo.
Went ahead and posted to reddit + lobsters. Feel free to post elsewhere and let me know, I don't check many sites tbh.
"Google’s ad business helps fund dangerous disinformation that puts public health and democracy at risk around the world, earns money from millions of gun ads while publicly claiming to block them, and allowed a sanctioned Russian ad tech company to harvest data on potentially millions of people, including possibly those in Ukraine, putting their security and privacy at risk."
Dipping a toe with my first “real” post. This story is from July, but I thought it might be of interest to folks who don’t normally follow math news or who might want to see the war in Ukraine from another perspective. I traveled to Switzerland to report and photograph this profile of Maryna Viazovska, who this year became the second woman to win a Fields Medal in the award’s 86-year history. https://www.quantamagazine.org/ukrainian-mathematician-maryna-viazovska-wins-fields-medal-20220705/
After 8 years of efforts…
OCaml 5.0.0 is released today!
Many of the journalists Elon suspended today on Twitter are here on #Mastodon. Please follow and boost:
Drew Harwell, Washington Post
Donie O’Sullivan, CNN
Steve Herman, VOA
Micah Lee, Intercept
Matt Binder, Mashable
Day 11: "Monkey in the Middle"
The parsing of input was fairly hacky on this one. Could have probably made use of regexes. Interesting part two on figuring out the common divisor to keep values sane.
In Rust, best not to iterate over mutable vectors while also mutating those same elements. Keep the references immutable and return calculations instead of mutating in place.
@Schneems Interesting. Yeah, I'm trying to understand an instance where the "Share Alike" part of the license has come in to play. Curious if something like the Rust Book publishing model is a better way to have a primary author but still allow for public contributions. Curious how many copies they sell at No Starch Press. I own a hard copy but probably not the norm.
@Schneems Just curious, you licensed your book "How to Open Source" as CC BY-NC-SA 4.0. Doesn't that effectively eliminate copy protections (assuming attribution and free digital copies)? Have you found it to be a problem? As the author, have you seen improvements from the community? Have folks re-mixed your work and published it?
Glad to see Apple introduce e2e encryption of iCloud files. Protects data even in the event of a cloud breach.
One thing I appreciate about @Popehat 's writeup on exiting Twitter is that it captures something most articles in this genre only indirectly allude to:
It's not just that these platforms (and other things in our lives) are transitory, or that they can change. It's that we change, too. And maybe we don't always realize how much of a mismatch there is between who we are 𝘯𝘰𝘸 and what we once enjoyed, until the latter suddenly becomes something fundamentally different.
“Someone with a 1-hr car commute needs to earn 40% more to be as happy as someone with a short walk to work. On the other hand, if someone shifts from a long commute to a walk, their happiness increases as much as if they’d fallen in love.” #CityMakingMath
50 reasons why everyone should want more walkable streets & cities, in Fast Company:
#cities #walking #walkablecities #urbanism
Day 10: "Cathode-Ray Tube"
Learned about VecDeque collection in rust for use as a queue. Most challenging part of this puzzle was understanding the wording to part two 😅
Day 9: "Rope Bridge"
Came to a pretty elegant solution on this one. Just need to store the current points the knots are at (i32) and iterate through them.
Day 8: "Treetop Tree House"
Took a very unoptimized approach to this one but it worked fine for a smaller input.
Day 7: "No Space Left On Device"
This was particularly challenging in Rust due to the need for Rc/RefCell wrapping of nodes in the tree. Certainly a case where #ruby would shine.
Borrowing, cloning, unwrapping... definitely felt the borrow checker pain on this one.
Chris and I worked to make Ruby faster for the past decade, him with TruffleRuby and me with JRuby. We always talked optimization strategies at conferences, and he was always sharing ideas. I'm in shock about this, having just chatted with him at @rubyconf. A terrible loss.
I'm heartbroken to share this news about our dear friend and colleague, @ChrisGSeaton.
While I do think Twitter is basically done as a serious open source contributor, there was one final comment that I kinda wish had been included:
"But on the other hand, open source is designed to be resilient. The fact that we can be grateful to the amazing Tweeps that have contributed over the years, and then fork the project and give it new life without Twitter, is open source working exactly as intended."
I'm very optimistic those projects can find new homes.
Day 6: "Tuning Trouble"
Seemed much easier than the other five puzzles to date. One interesting find was using all_unique() on an iterator of a slice of bytes. Made the solution fairly trivial.
Staff Developer at Shopify working on GraphQL APIs in Ruby and Rust.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!