• 0 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle


  • Seems the pitch is just that it supports Apple specific bells and whistles like the emoji bar and beyond that has the stuff other terminals have. I use tilda and use that because it has a critical core feature I haven’t seen in other terminals: it appears full screen over all other windows with a keypress and disappears the same way. Since I use terminal heavily I don’t want to treat it as just another window but as a first class experience which tilda allows. I don’t really get why you’d make yet another terminal without some fundamental core functionality difference like that.









  • key@lemmy.keychat.orgtoProgramming@programming.devDefault To Large Modules
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    4 months ago

    That makes no sense. If you join b’ and b’’ into b then the external interface of b is the union of the external interfaces of b’ and b’'. The risk of conflicts between those two interfaces is minimal in the situation they described so no need for namespacing.

    I expected the argument to be based on total effort to split then join the internal code compared to the context switching cost of splitting and then splitting again (with an appeal to agile vs waterfall). But this argument feels like they were either dealing with a language/stack with a broken module system that lacks an explicit separation of internal vs exposed or were just joining things strangely.

    Expressing a general rule based solely on a specific situation is a disservice (irony intended).







  • Seems kinda trash tbh. Like the concept I love, I would love a cross-language “by examples” learning resource and snippet repository beyond SO. But looking through there most of the function options are trivial problems. The ones that aren’t one or two lines mostly have broken code that passes very few tests. The weird Z naming of function and variable makes it totally unreadable. The “composition” option is barely comprehendable and beyond that I only see two language options so it can’t even serve as a “rosetta stone”.




  • Mastodon and lemmy handle this in slightly different ways. Mastodon (according to the link) replicates media on every instance while lemmy (mostly) only replicates thumbnails. That means a popular post doesn’t cause load for one server on mastodon but does on lemmy. But Mastodon has a higher aggregate cost due to all the replicated data, which is what the linked proposal solves by making it sublinear.

    If the torrent is instance to instance I don’t see any real benefit (and instance to client is infeasible). On Mastodon side you still have data duplication driving storage costs and bandwidth usage regardless of whether it’s delivered via direct http or torrent. On the lemmy side it wouldn’t gain much (asymmetric load is based on subscription count and so not very bursty) but would add a lot of non-determinism and complexity to the already fragile federation process.

    Conventional solutions like cache/CDN/Object Storage or switching to a shared hosting solution (decoupled from instances like your link proposes) seems like a more feasible way to address things.