GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by Ryan (aer@freeradical.zone)

  1. Embed this notice
    Ryan (aer@freeradical.zone)'s status on Tuesday, 21-Jan-2025 22:38:11 JST Ryan Ryan
    in reply to
    • Cory Doctorow

    @pluralistic As a sicko, I use an advanced tool called "rsync" to deploy "html files" from my "git repo"

    In conversation about 5 months ago from freeradical.zone permalink
  2. Embed this notice
    Ryan (aer@freeradical.zone)'s status on Friday, 27-Dec-2024 02:34:28 JST Ryan Ryan
    in reply to
    • Free Teks for sale, cheap

    @tek Ha, getting towards the end of the article, I was thinking "I think I would use a HashMap", only for him to mention that

    Definitely didn't make the ECS connection, even having used a bit of Bevy. I hadn't considered using an ECS outside of game design but it makes a lot of sense

    In conversation about 6 months ago from freeradical.zone permalink
  3. Embed this notice
    Ryan (aer@freeradical.zone)'s status on Friday, 27-Dec-2024 02:26:04 JST Ryan Ryan
    in reply to
    • Free Teks for sale, cheap

    @tek Oh awesome, thanks

    Yeah coming from a dotnet/python background I definitely tend to structure my code this way, and Ruts (and systems code in general) is way less amenable to it, for good reasons

    Definitely a shift in the way of thinking

    In conversation about 6 months ago from freeradical.zone permalink
  4. Embed this notice
    Ryan (aer@freeradical.zone)'s status on Friday, 27-Dec-2024 02:14:58 JST Ryan Ryan

    Wrote a dinky little multithreaded chat server in Tokio, wasn't too hard.

    I did it using standard mutex/lock code to learn how it works, but typically prefer lockless code using pipes / actors. I think it suits the way I think about problems better, even if it is an abstraction

    It did make me wonder something about Rust, specifically how to avoid copies

    In conversation about 6 months ago from freeradical.zone permalink
  5. Embed this notice
    Ryan (aer@freeradical.zone)'s status on Friday, 27-Dec-2024 02:14:56 JST Ryan Ryan
    in reply to

    Mainly, my "database" is just a bunch of hashmaps in a struct. HashMap<i32, User>, HashMap<String, Room> etc

    What I don't get is, how do I implement a get_user function such that it returns a read-only reference to a User, as opposed to a cloned User object?

    I keep running into scoping/lifetime issues, and I get it. Realistically my Storage struct has a static lifetime, so it /should/ be fine, but the compiler doesn't know that

    Do I have to return an Rc?

    In conversation about 6 months ago from freeradical.zone permalink
  6. Embed this notice
    Ryan (aer@freeradical.zone)'s status on Wednesday, 29-May-2024 13:03:13 JST Ryan Ryan

    You don't have to put question marks after "I wonder" statements, and probably shouldn't

    "I wonder" is a way of phrasing a question as a statement, and adding the question mark implies an interrogative tone that sound weird in context

    In conversation about a year ago from freeradical.zone permalink
  7. Embed this notice
    Ryan (aer@freeradical.zone)'s status on Thursday, 02-May-2024 03:30:14 JST Ryan Ryan

    The Kansas vote to ban puberty blockers just failed because of a 78-vote margin Democratic victory in the 2022 district elections.

    I don't care if they suck. Vote for them anyway, because the alternative is worse and real. Your moral highground will lead to real life harm.

    In conversation about a year ago from freeradical.zone permalink
  8. Embed this notice
    Ryan (aer@freeradical.zone)'s status on Thursday, 26-Oct-2023 08:12:15 JST Ryan Ryan
    • Thomas 🔭🕹️

    @thomasfuchs

    Fortunately the model is always learning

    In conversation Thursday, 26-Oct-2023 08:12:15 JST from freeradical.zone permalink

    Attachments


    1. https://nfts.freeradical.zone/media_attachments/files/111/297/618/890/220/879/original/5aae5a9cb7766905.png

User actions

    Ryan

    Ryan

    I do physical design on CPU cores at AMDI'm mostly interested in functional programming, networks, and digital communication. @ryan:matrix.aerscape.net

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          204042
          Member since
          25 Oct 2023
          Notices
          8
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.