Skip Navigation

Posts
20
Comments
62
Joined
2 yr. ago

Currently studying CS and some other stuff. Best known for previously being top 50 (OCE) in LoL, expert RoN modder, and creator of RoN:EE's community patch (CBP). He/him.

(header photo by Brian Maffitt)

  • Fair enough - glad you've found it helpful (Y)

  • You're making assumptions about how they work based on your intuition - luckily we don't need to do much guesswork about how the sorts are actually implemented because we can just look at the code to check:

     
        
    CREATE FUNCTION r.scaled_rank (score numeric, published timestamp with time zone, interactions_month numeric)
        RETURNS double precision
        LANGUAGE sql
        IMMUTABLE PARALLEL SAFE
        -- Add 2 to avoid divide by zero errors
        -- Default for score = 1, active users = 1, and now, is (0.1728 / log(2 + 1)) = 0.3621
        -- There may need to be a scale factor multiplied to interactions_month, to make
        -- the log curve less pronounced. This can be tuned in the future.
        RETURN (
            r.hot_rank (score, published) / log(2 + interactions_month)
    );
    
      

    And since it relies on the hot_rank function:

     
        
    CREATE FUNCTION r.hot_rank (score numeric, published timestamp with time zone)
        RETURNS double precision
        LANGUAGE sql
        IMMUTABLE PARALLEL SAFE RETURN
        -- after a week, it will default to 0.
        CASE WHEN (
    now() - published) > '0 days'
            AND (
    now() - published) < '7 days' THEN
            -- Use greatest(2,score), so that the hot_rank will be positive and not ignored.
            log (
                greatest (2, score + 2)) / power (((EXTRACT(EPOCH FROM (now() - published)) / 3600) + 2), 1.8)
        ELSE
            -- if the post is from the future, set hot score to 0. otherwise you can game the post to
            -- always be on top even with only 1 vote by setting it to the future
            0.0
        END;
    
      

    So if there's no further changes made elsewhere in the code (which may not be true!), it appears that hot has no negative weighting for votes <2 because it uses the max value out of 2 and score + 2 in its calculation. If correct, those posts you're pointing out are essentially being ranked as if their voting score was 2, which I hope helps to explain things.


    edit: while looking for the function someone else beat me to it and it looks like possibly the hot_rank function I posted may or may not be the current version but hopefully you get the idea regardless!

  • "Hot" is a mix of recency and votes. The posts in your example score low on votes but very high on recency (<1 hour ago) and extremely high on the size scaling because that community ( [email protected] ) is tiny with only two subscribers.

    You may consider Scaled to be a more appropriate sorting option for when you're viewing the communities that you've subscribed to, rather than the firehose of /all

  • Deleted

    Permanently Deleted

    Jump
  • Memory connected via the pci bus to the CPU, would be too slow for application use like that.

    https://www.intel.com/content/www/us/en/content-details/842211/optimizing-system-memory-bandwidth-with-micron-cxl-memory-expansion-modules-on-intel-xeon-6-processors.html

    The experimental results presented in this paper demonstrate that Micron’s CZ122 CXL memory modules used in software level ratio based weighted interleave configuration significantly enhance memory bandwidth for HPC and AI workloads when used on systems with Intel’s 6th Generation Xeon processors.

    Found via Wendell: YouTube

    edit: typo

  • Deleted

    Permanently Deleted

    Jump
  • Using ram doesn't add anything.

    It would improve access latency vs flash though, despite less difference in raw bandwidth

  • Nice to see he took it in stride given how.. aggressive the post was about him lol

  • Please don't give the US any ideas ;_;

  • Presumably the member states can decide to interpret it however they'd like, but for whatever it's worth I'm just paraphrasing what political scientist William Spaniel (..who I thought would have had a Wikipedia page by now) has said on the topic of Article 5 (though the context wasn't the US invading Greenland lol)

  • Additionally, it's helpful to know the specific language used in Article 5:

    Article 5

    “The Parties agree that an armed attack against one or more of them in Europe or North America shall be considered an attack against them all and consequently they agree that, if such an armed attack occurs, each of them, in exercise of the right of individual or collective self-defence recognized by Article 51 of the Charter of the United Nations, will assist the Party or Parties so attacked by taking forthwith, individually and in concert with the other Parties, such action as it deems necessary, including the use of armed force, to restore and maintain the security of the North Atlantic area.

    Any such armed attack and all measures taken as a result thereof shall immediately be reported to the Security Council. Such measures shall be terminated when the Security Council has taken the measures necessary to restore and maintain international peace and security.” (emphasis added)

    Article 5 doesn't actually oblige NATO members to defend anything by force, it obliges NATO members to decide what actions are "deemed necessary" and then to undertake those actions. If a NATO member gets invaded, everyone could -- in theory -- write a sternly worded letter and call it a day (though I doubt that would be the actual response). As you/others have more or less said, the actual action chosen would largely be the result of political will.

  • I don't know how well this works for Macs, but is a multi-boot environment a possibility? You could have a separate OS set up for a group of tasks which you boot into when you need to do that. It seems a bit clunky compared to e.g., virtual desktops or similar though.

  • Particularly with the voices of Sokka and Korra there :'D

  • Searching for the phrase, documentation matches for Taiga so maybe you're right!

  • computer sad

  • I can get behind the general idea, but in this implementation specifically it seems like the low modulation example isn't distinct enough from simply lower-quality audio, but the higher modulation example (where the effect is more distinct as an intentional effect), is just not nice to listen to. Maybe there are other ways to distort the voice that don't have as much of that downside?

  • If a few servers are linked up and talk to each other using TCP/IP (?) but aren't connected to the wider network, that's not enough for it to be considered another internet (but it could be an intranet).

    If a few instances are linked up and talk to each other using ActivityPub but aren't connected to the wider network, I think that's not enough for it to be considered another fediverse.

  • No worries, easy mistake to make just based on naming. Hope you find an answer!

    1. This is not a support community.

    It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.

    The [email protected] suggestion isn't that helpful here because that's intended for .world only, but you could try [email protected], [email protected] (if you're federated), or maybe the lemmy GitHub?

  • I do some game modding, and sometimes have to hack together software to help with it, some of which ends up public.

    One of my programs relied on the location of other, existing files and so would poke around at runtime to see where the user had launched it from, alerting the user if it was in a location where it wasn't supported. If that happened, an interactive message box pops up with the title "UNSUPPORTED LOCATION" and text that says, verbatim sans my [notes]:

    "Running [this program] from [unsupported] folder is NOT SUPPORTED, and is likely to produce errors. Run [other program] instead.

    If you want to run [this program] from here anyway, type "I understand".

    You can't skip or just "OK" the message to dismiss it, otherwise the program just immediately begins a managed shutdown of itself to prevent any of the aforementioned potential errors from occurring. I STILL had a user message me saying how making them type in "I understand" was a weird thing to make them do in order to use the program. Thankfully I think they've been the only one so far so it's certainly not the norm, but the average computer user is also much less tech-savvy than someone downloading mods for a video game.