A little bit of neuroscience and a little bit of computing

  • 20 Posts
  • 549 Comments
Joined 1 year ago
cake
Cake day: January 19th, 2023

help-circle


  • Every browser released since 2020 supports this

    It’s a little paranoid of me, but I like the idea that a basic web app I make can be thrown onto any old out of date machine, where ~2015 or younger seems about right for me ATM.

    You mean the Html template Element? I’ve never really got that to work, but I also never seriously tried.

    Yea. From memory, it’s just an unrendered chunk of HTML that you can select and clone with a bit of JS. I always figured there’d be a pattern that isn’t too much of a cludge and gets you some useful amount of the way to components for basic “vanilla-js” pages, just never gave it a shot either.


  • Yea, I’m unclear on how you can take web components and still have widespread browser support (not knowing enough about their ins and outs).

    Plain template elements are widely supported and have been for ~10 years (which ideologically matters to me along the same lines as the top post’s article) … perhaps a little bit of hacking together can get you close with just that?



  • Youre right about lemmy-ui, unfortunately it doesnt have enough contributors. I dont know why that is, you’d think a project written in a popular language like Typescript would easily find contributors.

    Random thoughts:

    • Is it obvious enough that one can contribute to the UI separately from the backend and that it’s a Typescript SPA style UI?
      • If not, maybe a bit of a “dev recruitment campaign” could help … let people people know and what sorts of issues could really do with new contributors lending a hand? Maybe even a bit of a “Inferno isn’t that different from all of the other SPA frameworks/libraries spiel?”
    • Is the use of Inferno as oppose to one of the big 3 React/Vue/Svelte a repellent? (perhaps a downside to the “diversity” of frontend frameworks?)
    • Are would-be UI contributors more inclined to make their own front-end or app than contribute to the default webUI?

    More generally:

    • Would a server side rendered webUI be welcome?
      • Then the contributions would mainly be on templates and their “simpler” logic, which might be more attractive or easier to get started on?
      • Plus, it might be more efficient? The current UI feels to me like it would suit server side rendering well.
      • Is this where the new leptos UI is heading … more server side rendering (I don’t know much about leptos)
    • Do you have a sense of usage numbers for the different apps and frontends? Obviously you only run lemmy.ml, but do you have a sense of how much the front-end gets hit versus the API directly?
      • I ask, because If the default WebUI is really the main interface, then it makes sense to try to organise some more contributors (It’s certainly my main, nearly exclusive interface, as much as I’ve like some of the alt front ends or apps)

  • Absolutely!

    The bit I’m conceptually stuck on (not know much at all about how a good plugin architecture would work) is how a plugin can surface or affect the UI, especially in an ecosystem with multiple UIs/Apps/Frontends, and, a federated ecosystem at that.

    Given the apps, I figure it’s not possible without a convention of plugins providing APIs which apps can then implement against when available, which adds a good amount of complexity but should be viable for popular/useful plugins. Though, tangentially, this does affirm for me that the whole native mobile app expectation is a bit of a trap for a social system like the fedi (as webUIs are naturally more universal and maleable).

    So, for immediate results, I can see only two options:

    1. a plugin operates on the backend directly manipulating or creating content not unlike a bot
    2. a plugin provides its own webUI which is made available through a simple and dedicated location in the UI

    Is there something I’m missing about how a plugin system could work?




  • but we’re at a critical point right now. It’s no longer software that is just fun side projects and building stuff that looks cool, it has some real issues now that it has a real userbase. I’m definitely one to say “But it’s FOSS, and other people can pick up and submit a PR” - but it also says something when the head devs just completely ignore a massively huge issue with it.

    This is a general issue I think, not just for lemmy but the whole fediverse (whatever one’s opinions might be on particular priorities).

    It’s all non-profit and being run and built at a much smaller scale than many users would appreciate (I think). Sure there are plenty of people here, but not that many. Combined with no obvious revenue streams, such as ads or subscription fees, there really is only so much that can be done. Some time last year even the Mastodon team (by far the most successful fediverse platform) admitted that they didn’t have the capacity to work on new things for a while … they were just busy keeping things running. And they are (apparently) notorious at being slow to ship new features. Meanwhile platforms like firefish just straight up died last year.

    So yea, it might be a critical point, for sure. But putting more on the core dev teams may not be the answer for the simple reason that it’s just not viable in the long run.

    If we enjoy the bigger community focus and open and non-profit organisations that makeup the fediverse, the “answer” at this critical point might be to find a way to give back somehow … to organise, build communities, run fund-raising campaigns, think of ideas for more sustainable funding, find devs who can help etc etc. It’s perhaps onerous and annoying, even to read perhaps … but this is likely the tradeoff we have to make for a place like this.





  • I’m a little late on this thread/issue, but I agree with @sabreW4K3@lazysoci.al .

    I’m also inclined to push back on the anti-lemmy.ml stance being pushed here. And to be clear, While I’m on lemmy.ml, I joined before “the migration” when it made sense to join the “main” instance as it then was and I have no particular affiliation with them or their politics.

    Inline with what sabre is saying, I think there’s a certain degree of political entitlement and “defederation-fever” creeping into this general sentiment. I think the communists/tankies should be allowed to do their thing without it being an issue, just like any other niche interest/viewpoint that can build a space here.

    I suspect there’s some dangerously presumptive politics at play here … where moderation action is presumed to be “power tripping” mainly because the moderator’s politics is presumed to be completely wrong. How about, “yea, that’s their thing, it’s unlikely something productive will come out of speaking flatly critically about china on lemmy.ml … their moderation can go overboard sometimes, but their defensive about all of that … if you want to do that, you’ll need to go to a more western instance/community”

    Building different spaces with different rules, vibes and beliefs, while simultaneously committing to inter-connectivity as much as possible … is basically the idea of the fediverse. It allows us to talk to each other without being stuck in one group’s (or corporation’s) policies and world-view … and more idealistically, allows us to see different world-views more clearly as we contrast the different spaces we can be connected to. If everything were on lemmy.world, it’d be hard to see the world-view (ha) that the mods/admins and even majority there impose on the rest.

    That’s the idealism, and I think it’s very real.

    But the pointy end of the stick is disagreements which lead to downvotes and moderation. That’s what enables the creation of a particular space, and needs to just kinda be accepted a bit more.

    That’s the part not stated enough IMO … at some point, if you’re going to be committed to the inter-connectivity part, you need to be respectful of the fact that another space exists and can be antagonistic to some of your views. That’s fine. On reddit, we’d just steer clear of a particular sub-reddit and maybe disparage them elsewhere. De-federation or targeting an instance as plain bad or wrong is a useful tool that the fediverse provides but which, IME, can easily become over zealously embraced in a sort of dog-pile behaviour. A more useful behaviour, IMO, is to try to work out ways that the fediverse can persist with such antagonism and disagreements.

    Not being surprised that communists are hard on criticism of communist countries seems like a start to me (where, TBF, such criticism is pretty wide spread in the west to the point that I don’t blame them for being cranky about it). Being open to the idea that you can get along with same communists on just about any other issue is a good next step. It’d be the same with criticising tech workers on programming.dev or trans/gender/queer issues on blahaj.zone or criticising western imperialism and capitalism on lemmy.world. Though I suspect the lemmy.ml admins could do a better job at sign-posting their politics/policies here.

    These are spaces with particular sensitivities. Antagonising them indifferently is kinda rude at some point. Demanding that they not have their sensitivities is kinda against the fediverse at some point. Interestingly, the admin of lemmy.ml, dessalines, basically said the same thing recently.

    Now, to be fair, I haven’t looked into the moderation stuff that seems to have precipitated this conversation and I’m certainly open to the idea that the lemmy.ml mods overstepped (mods tend to do that IME). But my general view is that, as communists living in the west, they’ve probably come against a good amount superficial criticism and frankly prejudice that us general westerners wouldn’t really notice, and so have pretty sharply guarded boundaries around that sort of dialogue. So they’ve built their own space (well platform actually), that is generally geared toward FOSS and privacy about which many of us have shared interests … but they also have some pretty clear policies around communism that are clearly very personal to the admins that are better respected than exiled or antagonised.

    Also, none of this is to say everything should be on lemmy.ml. Quite the opposite. Diversify! That’s part of my point. But away from lemmy.world too, and with the understanding that part of diversification is enabling niche spaces that can cause friction and said friction isn’t, in itself, a problem. Instead, IMO, we tend to get a bit feverish whenever these sorts of things spark up. Anyway … rant over!



  • Kinda funny, not too long ago it was a fun mental exercise if you were paying attention to the tech industry to try to think of the ways in which Google or MS could fall.

    Now, AFAICT, neither are falling any time soon, but there certainly seems to be a shift in how they’re perceived and how their brand sits in the market (where even so I’m still probably in a bubble on this).

    But I’m not sure how predictable it would have been that both would look silly stumbling for AI dominance.

    And, yea, I’m chalking recall up to the AI race as it seems like a grab for training data to me, and IIRC there were some clues around that this could be true.


  • the notion that Europe “may be bad at migration” and being “shit” to others whilst protecting their culture comes of as uninformed at best and holier than thou preachy at worst.

    So Europeans and/or Germans can’t be bad at something?

    But they should be competent enough to function in order to integrate into the society.

    For refugees, this seems like a hard ask.

    … Those people rely on friends and family when it comes to simple tasks as doctor appointments.

    Maybe then it’s fine? This sort of thing is perfectly common for first generation migrants. And in the age of decent AI translation, I’m really not sure stringency on this makes too much sense anymore.


  • If people want to migrate to a specific country long term, the spoken language has to be learned to become a member of society and prevent the forming of parallel societies.

    Two points:

    • There’s learning a language to a basic level to be functional in every day activity and then there’s learning it well/fluently. Reality is that first generation migrants rarely learn the native language well and it isn’t until the second/third generations that the native language becomes a first language amongst the migrants’ families.
    • Given the above, your hard statement about “parallel societies” being inevitable without sufficient language education is false over a long enough time period (~25yrs), as children of migrants will inevitably learn their country’s language and culture … because that’s how children and language and culture work.

    All up, presuming that you’re German, it feels like you and your culture might not know how immigration works. Which I say not just to be argumentative but because the one thing that is likely to prevent the above is an entrenched anti-immigration culture that forces the migrants to feel alienated and form more insular cultures rather than integrate with an accepting culture.

    Reality is that migration seems to have worked plenty well in many other places. Europe may just be bad at this. And while there may be something to the issue of “protecting the culture” … I’m just not convinced the finer details of any culture are worth protecting at the expense of being shit to others and conservative about how things have to be.


  • “More than half of young people feel severely mentally stressed. A quarter of young people feel very lonely,” Prof Dr Joachim Bauer, a psychotherapist and brain researcher, told Euronews, adding that he observed this every day in his practice, especially with young people who are depressed and lonely due to their intense use of social media and video games.

    Dr Bauer pointed out that the AfD tries to give the impression that if societies reduce immigration or flaunt their national pride again, all problems would be solved.

    Seems to be the situation here. Neoliberal hyped capitalism is a gateway drug to fascism because at some point the stress needs an outlet and minorities and “golden age myth” style trad values are just sugar for “solving” political problems.


    One dynamic I’m curious about here is the whole thing about new migrants not learning German well enough.

    On one hand I wonder if this is just Germans (and perhaps many other European nations) not knowing what immigration looks like, compared to other nations like the US, India and maybe England and other English colonies.

    On the other hand, I wonder if there’s some tension between what makes sense for migrants and what makes sense for Europeans who natively speak a language that is ultimately globally niche, such as German. Why would a migrant care about being fluent in German when they probably feel like they have to know English and/or French (or some other more global language) to be employable in the long run?