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

help-circle

  • Ferk@kbin.socialtoProgramming@programming.devApple Wants To Kill PWAs
    link
    fedilink
    arrow-up
    2
    arrow-down
    6
    ·
    edit-2
    5 months ago

    It’s also not that uncommon of an acronym in web tech, all the first results when searching “PWA” are consistent and it’s a very common way to refer to that technology. The term PWA has made the news in tech channels a few times before (like when Firefox discontinued support for PWA on desktop).

    Even if they said “Progressive Web Apps” it would not have been immediatelly clear what that means for anyone who is not familiar with what PWA is. It’s also not the only acronym they use in the article without explaining it (eg. “API”, or “iOS” which is also an acronym on itself), it just so happens that it’s likely not a well known one in this particular lemmy community where the article was posted. The author advertises himself as a writer dedicated to web technologies (PWA and Web Component in particular), so it would be silly if he has to explain what those are on every of his posts.


  • Ferk@kbin.socialtoProgrammer Humor@programming.devWhitespace
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    5 months ago

    But C syntax clearly hints to int *p being the expected format.

    Otherwise you would only need to do int* p, q to declare two pointers… however doing that only declares p as pointer. You are actually required to type * in front of each variable name intended to hold a pointer in the declaration: int *p, *q;


  • That’s even harder. Specially if we aspire to have a community that protects privacy & anonymity.

    Keep in mind “rich” does not necessarily mean “famous”.
    For all anyone knows, you and me could be part of the wealthy, yet nobody here would know, no online service would deny us service. Being forced to live an anonymous and private life is not really much of a punishment, at least it wouldn’t be for me… if I were part of that wealthy I’d just lay low… I’d get a reasonably humble but comfortable house in a reasonably neighborhood where people mind their own business, dressing modestly and living life without having to “really” work a day of my life, while my companies / assets / investments keep making money so I can go on modest trips and have some nice hobbies that are not necessarily really that expensive anyway. Anyone who figures it out, I set them up. It’d still be worth it to live that life.


  • Boycotting is an expected/intended tool in capitalism. It’s part of the “free market” philosophy, the regulatory “invisible hand”. The reason you can boycott a company is because the economy is based on a capitalist free market.

    If boycotts were actually a good and successful method for the society to regulate the wealthy, then there would be no issue with capitalism. So that’s not how you “end” capitalism, that’s just how you make it work.

    The issue is, precisely, that boycotts do not work (and thus, capitalism does not really work). Particularly when entire industries are controlled by private de-facto monopolies. If they worked you would not need social-democratic laws to force companies into compliance in many ethical aspects.

    What you are advocating is not an alternative to capitalism (like communism or socialism), but a more ethical/educated capitalism that works at controlling the wealthy, just like many proponents of capitalism expected it would.




  • it’s even ISO standardized

    Not only are there other ones that are also ISO standards when it comes to software layouts, but funny enough, when it comes to physical layouts, US keyboards normally follow an ANSI standard (not an ISO one), whereas many non-US keyboards typically follow a physical key layout known as “ISO Keyboard”, so one could argue those are more of an “ISO” standard.

    https://upload.wikimedia.org/wikipedia/commons/b/b2/Physical_keyboard_layouts_comparison_ANSI_ISO_KS_ABNT_JIS.png

    right ctrl + left shift + 9 will do?

    No keyboard layout uses ctrl like that… in fact, I don’t think you ever really need to press more than one modifier in any standard non-US keyboard. Unless you have a very advanced custom layout with fancy extra glyphs… but definitelly not for the typical programming symbols.

    ISO keyboards actually have one more key and one more modifier (“AltGr”, which is different from “Alt”) than the ANSI keyboards.

    In fact, depending on the symbol it might be easier in some cases. No need to press “shift” or anything for a # or a + in a German QWERTZ keyboard, unlike in the US one. Though of course for some other ones (like = or \) you might need to press 1 modifier… but never more than 1, so it isn’t any harder than doing a ) or a _ in the US layout.


  • “Capitalism” just means that the industry (or specifically, “means of production”) can be privately owned.

    The whole idea of Lemmy is allowing smaller groups / individuals to own smaller instances, so we don’t depend on big corporations.

    So the way I understand it, it’s more of a big vs small thing, not really a “private” vs “governmental/social” ownership thing.

    Sure, Lemmy gives freedom for people so, even governments, can make their own public instances… but this all still relies on capitalism, since individual instances can still owned by (smaller?) private groups that can compete amongst each other for users, so you basically are competing as if you were just another company in a capitalist system controlled by offer/demand and reliant on what the average consumer goes after.

    This would be the equivalent of asking people to purchase ethically sourced goods and drive the market with their purchase decisions (which is actually what a capitalist system expects) as opposed to actually making laws that forbid companies from selling unethical products. That means we are not ignoring capitalism, but rather participating on it, and just asking consumers to choose ethically when they go buy a product. That’s just an attempt at ethical/educated capitalism, but still capitalism.


  • Ferk@kbin.socialtoProgrammer Humor@programming.devifn't
    link
    fedilink
    arrow-up
    17
    ·
    edit-2
    6 months ago

    Yes… how is “reducing exclamation marks” a good thing when you do it by adding a ' (not to be confused with , ´,or’` …which are all different characters).

    Does this rely on the assumption that everyone uses a US QWERTY keyboard where ! happens to be slightly more inconvenient than typing '?



  • coders revealed to 404 Media that “some of Kirsina’s Instagram posts are word-for-word copies of Sizovs’ LinkedIn posts, sometimes published more than a year later.” In addition, “some of the images [Kirsina] posted on Instagram show computer monitors with code that show her logged in under Sizovs’ name.” But perhaps most striking is the fact that an administrator told 404 Media that both Sizovs’ and Kirsina’s accounts were banned “multiple times” by the Lobste.rs coding forum for “sockpuppeting”—using a false identity to deceive others—in 2019 and 2020.

    Lol… for reference, this is the twitter account: https://nitter.net/UnicornCoding

    It’s full of advertisements about the DevTernity conference… as does the instagram, which has so many professional-looking photos that feel like she was an actual model, always with different backgrounds. Is the laptop wirelessly streaming to the ultrawide screen in her Twitter profile picture? because I see no cables, she’s not even connected to a charger, how long of a coding session can you have like that?


  • Ferk@kbin.socialtoProgramming@programming.devWhy Git is hard
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    8 months ago

    It’s also kinda annoying to have a history full of “merge” commits polluting the commit messages and an entwined mix of parallel branches crossing each other at every merge all over the timeline. Rebasing makes things so much cleaner, keeping the branches separate until a proper merge is needed once the branch is ready.




  • The problem comes when the vegan store has items you want but they decided that they will not distribute them to stores that also sell chicken stock. And if that happens with multiple other cases you’ll be forced to visit multiple stores to get your groceries.

    Which wouldn’t be that weird if it wasn’t because all those stores belong to the same “universal general store” chain that was originally designed so you would only need to visit your closest store to access all products.


  • I mean, federating with an instance doesn’t necessarily mean you NEED to have it added to the default feeds.

    It could theoretically be done in such a way that it only shows content from the communities you are subscribed to, and never show content from that instance in general feeds, for example.

    Or it could even be done in such a way that instance blocking is enabled by default for every user, and each user has to opt in to see content from other instances outside of maybe a selected curated few that might be allowed by default.


  • If making your own instance were something common for normal users, then I expect the federation would have to face thousands of single-user instances made by random people without ever being sure which ones are safe and which ones are just bots/spam/illegal-stuff.

    A lot of instances would (understandably) want to disconnect from the fediverse if that were a common thing… or at the very least they would use allowlists for federation instead of blocklists (in fact, some already do). So it would just result in more fragmentation, not less.

    This means the process for your instance to initiate federation with all other ones would likely become more complex/inefficient than directly creating one separate user account in each of the instances you want to visit (if it isn’t already).

    I feel the issue is in the design of how the fediverse places so much responsibility in each individual instance… instances shouldn’t be required to mirror third party content just so people can access it. It should be possible for people to simply connect to third party websites if they want to (with their home instance only acting as a sort of identity provider, like OpenID), without the home instance having to proxy/host that content if they don’t approve of it.


  • Ferk@kbin.socialtoProgrammer Humor@programming.devIntuitive UI
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    10 months ago

    Yes, the way his hand is positioned, it would not have worked if they had wanted to make it hold the wooden stick. They’d have needed to edit the hand too much and it would have likely been noticeable / even weirder.

    Probably they decided: f*ck it, let them grab it however they want. Maybe it’ll even become a thing.

    And it looks like it worked, since we are talking about it and spreading the ad. Smart advertising, imho.


  • Other-phobic

    Honestly, the “cosmic horror” or the mere fear of the unknown kind of plays into that as well.

    One could argue there’s something inherently racist in sci-fi horror that depicts aliens as monsters when in fact they might just simply be different intelligent lifeforms with their own set of needs…

    There might be sometimes problems among intelligent lifeforms to properly understand / communicate, or conflicts in our goals. But painting everything alien/unknown as inherently scary is kind of racist, even if in some situations it might be written in our instincts to not trust that which is unfamiliar.