• 0 Posts
  • 32 Comments
Joined 3 years ago
cake
Cake day: February 15th, 2021

help-circle
  • Saying that I dont trust a homophobe is not “sharing my political opinions”

    That’s true.

    However, you did not just say that. You mentioned how he supports some homophobic politics (ie. regulation against gay marriage), which you (and I’m sure a lot of people, me included) disagree with. That’s politics.

    You also shared your opinion about why you think privacy is important for our society. That’s also politics.

    I’m not saying that what you said is wrong… I’m saying that what you said is political. Sharing political opinions is ok. It’s not like talking about politics is somehow a bad thing. At least not in this context. A lot of what surrounds the choice of a web browser like this is political.


  • You still call the period before when the sun is directly overhead “morning” and the period after “afternoon” and similarly with “evening”, “night”, “dawn”, “noon”, “midnight” etc.

    Note that the Sun position is not consistent throught the year and varies widely based on your latitude.

    In Iceland (and also Alaska) you can have the Sun for a full 24 hours in the sky (they call it “midnight sun”) during Summer solstice (with extremelly short nights the whole summer) and the opposite happens in Winter, with long periods of night time.

    I think it still makes the most sense to decide that the days of the week (“Monday”, “Tuesday”, etc) last from whatever time “midnight” is locally to the following midnight, again probably rounding to the nearest whole hour.

    Just the days of the week? you mean that 2024-06-30 23:59 and 2024-07-01 00:01 can both be the same weekday and at the same time be different days? Would the definition of “day” be different based on whether you are talking about “day of the week” vs “universal day”?


  • Bash. By default it might seem less featureful than zsh… but bash is a lot more powerful and extensible than some give it credit for. It might be more complex to set it up the way you like it, but once you do it, that configuration can be ported over wherever bash exists (ie. almost everywhere).



  • “you want a government backdoor on GPL licensed code? publish the backdoor for everyone to use, see and exploit/check for themselves. And/or watch as people simply take a version of the software built from a more reputable source without that backdoor instead. Thanks for the money!”

    “you want to force all foss projects existing in the global internet across countries to get paid by you or close? enjoy your logistic nightmare as you pay to be made fun of by all other countries while I fork projects with one click”


  • This.

    I don’t understand the appeal of microblogging. The content is generally very low quality, the signal-to-noise ratio is horrible… I’m not interested in the shower thoughts of any particular individual …or in marketing stunts.

    The only individuals I’m interested on are my family & friends, and even for them I’d rather use a more private platform.

    And when I want to read a public post I’d rather it’s well thought and ideally not restricted by micro-limitations. Even better if it’s curated by a public voting process among a community of people with my same interests, or some other process that makes it so I don’t have to waste my time going through tons of content I’m not remotelly interested on.


  • It can be formatted “nicely” with no issue. But that doesn’t necessarily make it easy to understand.

    What that person posted was in a function named smb() that only gets called by rmb() under certain conditions, and rmb() gets called by AdB() under other conditions after being called from eeB() used in BaP()… it’s a long list of hard to read minified functions and variables in a mess of chained calls, declared in an order that doesn’t necessarily match up with what you’d expect would be the flow.

    In the same file you can also easily find references to the user agent being read at multiple points, sometimes storing it in variables with equally esoteric short names that might sneak past the reader if they aren’t pedantic enough.

    Like, for example, there’s this function:

    function vc() {
        var a = za.navigator;
        return a && (a = a.userAgent) ? a : ""
    }
    

    Searching for vc() gives you 56 instances in that file, often compared to some strings to check what browser the user is using. And that’s just one of the methods where the userAgent is obtained, there’s also a yc=Yba?Yba.userAgentData||null:null; later on too… and several direct uses of both userAgent and userAgentData.

    And I’m not saying that the particular instance that was pointed out was the cause of the problem… it’s entirely possible that the issue is somewhere else… but my point is that you cannot point to a snippet of “nicely formated” messed up transpiler output without really understanding fully when does it get called and expect to draw accurate conclusions from it.


  • It doesn’t really matter whether it was “targeted” at Firefox specifically or not, what matters is whether the website has logic that discriminates against Firefox users. Those are 2 different things. “End” vs “means”.

    I wouldn’t be surprised if the logic was written by some AI, without specifically targeting any browser, and from the training data the AI concluded that there’s a high enough chance of adblocking to deserve handicapping the UX when the browser happens to be Firefox’s. Given that all it’s doing is slowing the website down (instead of straight out blocking them) it might be that this is just a lower level of protection they added for cases where there’s some indicators even if there’s not a 100% confidence an adblock is used.


  • That’s out of context. That snippet of code existing is not sufficient to understand when does that part of the code gets actually executed, right?

    For all we know, that might have been taken from a piece of logic like this that adds the delay only for specific cases:

    if ( complex_obfuscated_logic_to_discriminate_users ) {
    
        setTimeout(function() {
            c();
            a.resolve(1)
        }, 5E3);
    
    } else {
    
        c();
        a.resolve(1)
    
    }
    

    It’s possible that complex_obfuscated_logic_to_discriminate_users has some logic that changes based on user agent.

    And I expect it’s likely more complex than just one if-else. I haven’t had the time to check it myself, but there’s probably a mess of extremely hard to read obfuscated code as result of some compilation steps purposefully designed to make it very hard to properly understand when are some paths actually being executed, as a way to make tampering more difficult.


  • Ferk@lemmy.mltoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    8 months ago

    It’s changing by having a library like wlroots do most of the work.

    When you consider the overall picture, “wlroots + compositor” is actually less complex than “X11 + window manager” because you no longer need to consider the insanely high requirements of having to have a team maintaining the spaghetti mess of X11 code.

    Wayland-based dwl has roughly the same line count as X11-based dwm (about 2.2k), without having to depend on a whole separate service as big as X11.

    But of course, it being a completely different approach, it’s likely that for most smaller projects (ie. not Gnome or KDE) it’s easier to start a new project than creating a layer to maintain two different parallel implementations.

    If you want something that’s more or less compatible with openbox, there seems to be this project, labwc, which claims to be inspired by openbox and compatible with its config/themes… though I haven’t personally tried it.

    Also keep in mind that openbox (and I expect labwc too) doesn’t include any “panels” / “taskbars” or anything like that… and it’s likely your X11 panels might not work well if they do not explicitly support Wayland (but I believe that, for example, xfce-panel now supports both).





  • I think part of the reason why the long extension is often preferred is because it’s much clearer and it’s guaranteed to be supported and decompressed by the respective tools. Even when they don’t suppot tar archives, they’ll just give you the uncompressed tar in that case.

    It’s also very common to do that with other extensions (not just .tar) when compressing big files. For example, when archiving logs they’ll often be stored as .log.gz, which makes it automatically clear that it’s a log file directly compressed with gzip and meant to be examined with tools like zcat and zless to view it.

    And in cases like that you really need it to be clear on what data does the gzip stores, since it does not keep metadata about the file so you might not be able to get back the original name/extension of the file if you rename the gz file.





  • How do you measure it?

    Popularity contest? over which population? What’s popular in America is not the same as what’s popular in the Middle East… what’s popular among trans circles might not match what’s popular amonst traditional familymen. If we do an actual statistics count we might be surprised about what topics are actually of interest to the common folk.

    I don’t think measuring how “political” something is makes much sense… whenever I see someone applying a measure like that what they are measuring is not the amount of real impact on the human race a particular societal philosophy will have, but rather how it will affect a particular group in a very particular case, or sometimes how “trendy” it is. But most philosophies, when analized deeply in they purest form, are usually atemporal, and their importance is absolute… not something that changes with time or with the trends.

    Of course you can have your own way of seeing things. I expect most people do. I probably am a minority in how I don’t see any sense to use “political” like that… since aparently a lot of people use it.


  • I’m not saying people can opt out of politics.

    I’m saying politics is in the actions, not in the objects.

    A penis or a vagina are not political. But the decisions/assumptions people might make about them, are.

    There’s no such thing as “political times”. Conflict has always existed. Trans people existed before too. It wasn’t any less political then than now. Even if some things might have changed, it’s not that before things were not politically motivated, either in one direction or another.

    Maybe some topics oscillate in popularity with the mainstream tides. Maybe opinions evolve (sometimes to polar extremes). But that doesn’t make things today any less (or more) political than they were before.


  • “lot’s of things” != “everything”.

    Is there one thing that isn’t political using your criteria? Or did you use “lots of things” because you do think there might actually be an issue if “everything” was political?

    Imho, it diminishes the value of things when definitions are applied so liberally. It distracts. It suddently makes things now be about the root of a plant, instead of being about specific human actions.

    Also: I just don’t see the issue with not flagging physical things as “political”. It’s still possible to discuss human behavior, or discuss about food distribution, it’s possible to talk about politics (the ideas and acts) without attributing human traits to a potato.