• 0 Posts
  • 84 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle

  • I’ve been playing around with the disabled GIL build and though I use threads fairly extensively in my projects, it’s been smooth sailing so far. I feel like my GUI scripts might be a bit more responsive now? (I tend to farm out user events to dedicated threads, so this is entirely possible.)

    But overall, everything is stable and awesome! I’m so excited! This has been a long time coming for Python.


  • My most common use case is probably looking up stuff that may or may not be in a dict.

    if (val := dct.get(key)) is not None:
        # do stuff with val
    

    I guess that’s pretty similar to what you were doing?

    Sometimes I also use it in some crazy list comprehension thing when I get backed into a corner, though it’s hard to think of an example off the top of my head? It usually happens when I’m in a rush and desperate to get something working, but it has an uncanny way of being just the thing you need at that point.





  • Any New Yorkers here? I’m interested in your perspective on Giuliani. I only have a cursory knowledge of him. He first came to my attention when he made headlines busting some crime family as a DA way back when. Then he was in the news a lot as the mayor of NYC during 9/11. He seemed pretty respected at the time? I dunno. And next thing you know, he resurfaces as an enforcer for the Trump administration, winding up getting disbarred and generally shunned by society. I guess I’m curious as to whether he was always a scumbag or grew into the role?





  • I suppose the regolith itself could be used as a heat sink. I don’t know what its thermal properties are like?

    But yeah, I imagine heat dissipation is a limiting factor. Everything I’ve read suggests the 1st gen reactors will put out something on the order of 10s of kilowatts, so rather modest by nuclear standards but still plenty for a nascent Moon base I imagine?


  • tunetardis@lemmy.catoWorld News@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    3 months ago

    The trouble with solar on the moon is that the day-night cycle is a month long. You have to figure out what to do during the 2 Earth weeks worth of night.

    I suppose with a polar base, you could have several solar farms strategically placed so that at least one of them is operational at any given time, but that’s a lot of infrastructure and this is early days.




  • You raise a good point that it would be nice to have more control over which group of communities you are drawing from at a given time. (Is there a way to group subscriptions and switch between them?) It’s a bit disconcerting to see 5 tech headlines and then suddenly something about the war in Ukraine or whatever. It jars my train of thought. With an RSS client, you can group feeds however you want.

    That said, my experience with RSS readers is not quite so idyllic. In the end, rather than having nicely partitioned feed groups by topic, I wind up having to separate the ones that produce content frequently but with a poor signal-to-noise from those that post once in awhile but are generally worth your time. With something like lemmy, people are helping you do the work of finding the more interesting content from that site that posts every 10 minutes.



  • Anyways, did I miss anything?

    I think the big problem in link aggregation is how to sort/prioritize content for the end user. RSS does not provide a way to do this, nor should it as far as I’m concerned. It should simply be about public content being tagged in a standardized way for any app to come along and organize it using whatever algorithm.

    A simple RSS reader has the problem that the more prolific sites will tend to flood your feed and make it tedious to scroll through miles of links. Commercial news portals try to learn your tastes through some sort of machine learning algorithm and direct content accordingly. This sounds like a good idea in theory, but tends to build echo chambers around people that reinforce their biases, and that hasn’t done a lot of good for the world to put it mildly.

    The lemmy approach is to use one of a number of sorting algorithms built atop a crowd-sourced voting model. It may not be perfect, but I prefer it to being psychoanalyzed by an AI.

    Btw there was a post from about a month ago where someone was offering to make any RSS feed into a community. I’ve subscribed to a few of them and it’s actually pretty awesome.


  • Spent breakfast researching this:

    • the plant would store 200 MWh
    • given the 10-hour figure, one would assume it can feed up to 20 MW to the grid at any time
    • they have already built a 4 MWh pilot plant in Italy
    • the utility has also been building lithium-ion battery farms, so it stands to reason they see enough potential in this approach to continue pursuing it
    • compressed CO2 storage has advantages over compressed air in that it can be stored indefinitely at ambient temperature and has a higher energy density in liquid form
    • it has disadvantages in terms of plant safety