• 3 Posts
  • 61 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle



  • I don’t have experience with Twitter or Mastodon but it reminds me of time when I quit drinking.

    When I quit drinking and tried to stay around people I used to drink with, I realized really fast how pointless this “engagement” (really just two people speaking past each other, and feeling like they have deep conversation) is. It’s almost insulting what a waste of effort such an “engagement” can be.



  • Why? Why ask for this from the creator?

    If someone can create new software and offer it for free, they should not also be expected to also create a comprehensive analysis of what other people did and list of differences.

    Just take it or leave it, it’s that simple. No need to act as if you’re trying to waste some door-to-door salesman’s time.

    Edit: I expected some downvotes but not that many.

    To my defense, the question in this thread is “you could elaborate what exactly you did different than all the others”. Look, I’m not a native English speaker either but I feel we could agree that is still pretty far away from simply being curious about design choices or “what led you to create this” sort of exploratory question.

    I might have overreacted, though, so sorry for that.



  • When it comes to identifying the server, hostname the first thing that counts. lemmy.world or mastodon.social or google.com are three different hostnames. At this point you can basically treat the period as no special character, it’s just part of the funny world. This basically answers your question: those are two different domains, ie. for all purposes, different instances.

    However, your computer does not really connect to hostname but to IP address, so the next important thing is to translate the hostname to an IP address.

    Aside: a valid hostname does not even have to have period in it. For example, localhost is a valid hostname! But generally hostnames without periods don’t get translated to any useful IP addresses. localhost is probably the only one widely used hostname but your OS will translate it to a special IP address which marks your own device.)

    So to translate the hostname to IP address is done using so-called DNS. So before you can connect, your computer already knows an IP address of a DNS server, and asks it to translate the hostname to IP address. Technically, this is still not where the period is strictly important.

    Where the period does start to be meaningful is when you think about: so we have billions of IP addresses, billions of hostnames, how do we organize it all? Who is going to maintain the huge massive list?

    So it works like this: There are dozens of organizations, each of which is assigned one or more “top level domains” (TLD). Then they are responsible for maintaining lists of all hostnames ending with those domains. Many of these organizations are local to certain states. For example, in Czech Republic, where I live, we have organization called CZ.NIC which maintains all domains ending with .cz. So it’s up to CZ.NIC how it manages permissions and gives out the domains. In this case, basically anyone can register any free domain ending with .cz, and what this registration means is that now they can get a server with an IP address, run whatever they want and have the registered domain name point to that IP address.

    Note that other organizations may decide to add additional rules. For example .uk domains are managed with extra rules, where non-government (commercial) entities are normally allowed to register only .co.uk and other .uk names are not handed out easily. I don’t actually know the details about .uk but my point is that if you are going to think about a hostname and how to begin to understand who owns it, first thing that matters is the TLD, and from that point the rules might be slightly different. To be fair, I haven’t seen much variance between this; almost all public TLD’s I’ve seen were either “simple”, meaning myname.tld or this thing that UK does (also New Zealand, from the top of my head).

    One almost universal rule is, though, that if I, say, register seznam.cz with CZ.NIC, then I automatically get not only seznam.cz but also any address I can possibly come up which ends with .seznam.cz. foo.seznam.cz, bar.seznam.cz, www.seznam.cz, I can now start organizing my servers using this whole infinite space, with any number of extra periods. I could totally start a business and start promoting my server foo.bar.baz.whatever.cz on billboards, as long as CZ.NIC grants me whatever.cz.

    So back to your question: mastodon.social and piefed.social are two completely different domains. All we know that they have in common is that whoever registered them, had to deal with the same organization; that is whoever maintains .social.

    So TL;DR: there’s really nothing that suggests that they would be the same instance.


  • What’s even worse that the stolen comment got much more engagement than the original.

    I’ve seen her comments all around YouTube, and this always seems to happen to her. (I’m assuming it’s because they are the most insightful, informative yet still on point.) Don’t give up Barbara, some of us are seeing through the scam and rooting for you!



  • Also in my experience LLM can often propose solutions which are working but way too complex.

    Story time: just yesterday, in VueJS I was trying to iterate over a list of items and render .text of reach item as HTML, but I needed to process it first. Note that in VueJS this is done by adding eg. <span v-html="item.text"></span> where content of the attribute is the JavaScript expression needed to get the text.

    First I asked ChatGPT to write the function for processing the text. That worked pretty well and even used part of the JavaScript API which I was not aware about.

    Next, I had a “dumb moment” when I did not realize that as I’m iterating through items I can just say <span v-html="processHtml(item.text)"></span>, that’s all I really needed. Somehow I thought (or should I say, “hallucinated”, ba dum tsss) for a moment that v-html is special or something (it is used differently than the most abundant type of syntax). So I went ahead and asked ChatGPT how to render processed texts while iterating.

    It came with a rather contrived solution which involved creating another computed property containing a list of processed texts. I started to integrate it into the existing loop: I would have to add index and use that index to pull the code from the computed property, which already felt a little bit weird.

    That’s when it struck me: no, no, no, I can just f*ing use the function.

    TL; DR: The point is, while ChatGPT was helpful I still needed to babysit it. And if I didn’t snap from my lazy moment, or if I simply didn’t know better, I would end up with code which is more complex, more surprising, which means harder to reason about for both humans and LLM’s. (For humans because now it forces you to speculate about coder’s intent, and for LLM’s because it’s less likely to be reminiscent of surrounding code in its learning data.)



  • netvor@lemmy.worldtoLinux@lemmy.ml33 years ago...
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    Well, I was thinking of a quote that was much more similar to what I wrote (and it’s not in the video you linked).

    I had such a trouble finding it that I’m starting to feel like it might be one of those “quotes” where the credited author never really said that, but I haven’t completely given up :D

    Here’s one closer to what I paraphrased (but not quite it)–quoting an article from cio.com

    While Linux pretty much dominates almost every walk of our lives, even on the consumer devices like smartphones and smart TVs, it has not had the same success on the desktop. What does Torvalds think about it? Is Linux a failure on the desktop? Not really. “The desktop hasn’t really taken over the world like Linux has in many other areas, but just looking at my own use, my desktop looks so much better than I ever could have imagined. Despite the fact that I’m known for sometimes not being very polite to some of the desktop UI people, because I want to get my work done. Pretty is not my primary thing. I actually am very happy with the Linux desktop, and I started the project for my own needs, and my needs are very much fulfilled. That’s why, to me, it’s not a failure. I would obviously love for Linux to take over that world too, but it turns out it’s a really hard area to enter. I’m still working on it. It’s been 25 years. I can do this for another 25. I’ll wear them down.”



  • netvor@lemmy.worldtoLinux@lemmy.ml33 years ago...
    link
    fedilink
    arrow-up
    184
    arrow-down
    1
    ·
    edit-2
    3 months ago

    Funny how he made it basically for his desktop computer.

    33 years later, and Linux is dominating in every part of the OS world except … the desktop.

    (I’m paraphrasing his quote – he said something like this years ago, can’t find it, though.)

    (Edit: to be more fair with quotes, it might be the case that I “hallucinated” the quote. he might not have said that, or he might have just said part of it and other part would be someone else’s comment. This cio.com article is probably a better source on his position )


  • netvor@lemmy.worldtoLinux@lemmy.ml33 years ago...
    link
    fedilink
    arrow-up
    8
    ·
    3 months ago

    Yeah. And I like how even from the message it shows that it’s been already well recognized by then.

    If I recall correctly from some RMS’ talks I’ve seen many years ago, they’ve been working on it for years before, it’s just the kernel that was missing. As I see it, GNU and Linux was the breakthrough for FLOSS, since at that time you would still have to use a proprietary kernel. (Well, there’s GNU Hurd, but I’m not sure if it existed at that time, and even if it did, it was not ready.)





  • I have lots of music which I got basically for free, and a lots of music for which I paid.

    My general attitude towards music is that I’m in it to explore, learn and enjoy the indescribable human connection that I get through, and only through listening to someone’s little “message in a bottle”. Doing this for many years (I’m 44 so over 30 years now) I’ve learned that training my brain on multiple styles and genres, the connection can always get deeper and more rich.

    So I would not be able to ever say a purchase was not worth it, because I would always assume such decision to be rushed. I had too many experiences when I listened to something, didn’t quite like it, but later I somehow “grew into” it, and then I learned to love it for years and years.

    Different music ends up playing different roles in my life. Some albums end up teaching me a genre or a style, some end up acting like a gateway drug, some end up as a “stand in” for whole genre. Some end up as “holy relics” of who I was, and are re-visited from time to time to see whether I’ve changed and how. Some end up on a shelf and get re-discovered, some end up on a shelf forever.

    (That “stand in” part is kinda tongue-in-cheek, but it sometimes almost works; eg. I would never set out to get a Dub album, but Dub Guerilla is one of the 100 best things I’ve ever heard, and it’s just so darn satisfying that it satisfies all and any of my Dub needs.)

    Sometimes my brain can be just really petty about things, like completely disregarding an album because of a track or a section which I feel is a mistake. Sometimes I just know I will need much more time, sometimes I feel certain things might remain hard to get into maybe forever.

    Don’t get me wrong, somewhere among those piles, there are really things that I won’t ever care to pick up, and perhaps would not purchase them again, but it almost never has much to do with number of listens. It might be things that I just got with bad expectation (ie. not listening upfront) or things that I enjoyed because of content (eg. lyrics) but I have changed and moved on.

    Other times music is best experienced live, for some bands the “spirit” simply cannot be tamed, let alone reproduced. Sometimes I get album from band directly after a show and then end up never feeling it again from the CD, but then again, I would say it was not worth it, because it’s still a great way to “tip” the artist, and sometimes it will just work out.

    (A bit more related to the OP: Incidentally, just today I broke my all-time record by spending about 20 EUR for V​í​n by Janus Rasmussen, and for reasons completely unrelated to OP and the price (but related to a sub-thread) I also did something I would never do normally–put one of the tracks on repeat for several hours. That’s not to brag about money–it’s just funny how it ended up accidentally as “$ per listen” experiment, although )