• 0 Posts
  • 21 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle

  • someone painting him as a morally righteous

    The first thing @seSvxR3ull7LHaEZFIjM said was: “Assange is a bit of a scumbag” …

    The closest thing to “righteousness” said was: “his efforts for freedom of information should not land him in US torture prisons like many others.”

    Which, being true, it’s absolutely not challenged or contradicted by anything you said in response.

    Note that “freedom of information” is totally compatible with “picking and choosing” the manner in which you exercise that freedom. In fact, I’d argue that the freedom of “picking and choosing” what’s published without external pressure is fundamentally what the freedom of press is about.

    Assagne (like any other journalist) should have the freedom of “picking and choosing” what facts he wants to expose, as long as they are not fabrications. If they are shown to be intentionally fabricated then that’s when things would be different… but if he’s just informing, a mouthpiece, even if the information is filtered based on an editorial, then that’s just journalism. That’s a freedom that should be protected, instead of attacking him because he’s publishing (or not publishing) this or that.


  • Ferk@kbin.socialtoProgramming@programming.devApple Wants To Kill PWAs
    link
    fedilink
    arrow-up
    2
    arrow-down
    6
    ·
    edit-2
    11 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
    11 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;




  • 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.


  • Ferk@kbin.socialtoProgrammer Humor@programming.devifn't
    link
    fedilink
    arrow-up
    17
    ·
    edit-2
    11 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?


  • I agree with the sentiment. But I didn’t want to be too critical about it, because like you said, it’s their project and they don’t have to give particularly strong reasons for what they choose to spend their time on.

    And after all, this approach is probably fitting for a non-POSIX compliant shell like fish. I expect that those who would rather break compatibility in exchange for a “look & feel” that appears more “modern” are likely to also prefer breaking support for some old but stable tooling by switching to a more “modern” language ecosystem, even if doesn’t have the battle-tested history and wide compatibility of more traditional languages. Those who care about that kind of stability might be better off using more traditional shells anyway. So maybe doing this would actually make working on fish more attractive for the kind of devs who would be more likely to contribute. We’ll see.


  • Just wondering: why was the rewrite necessary?

    It doesn’t look like they did it for performance, since they claim the code might actually be slower, at least for now.
    Was there a particular reason that made Rust give a gain significant enough to deserve a full rewrite or was it just because the maintainers wanted to restructure things anyway and particularly liked Rust?

    EDIT: Ok, found their reasoning after some digging.
    It seems to be a combination of both things. They believe that switching will attract contributors and make it more modern… but also they seem to have had some trouble with thread safety in C++ that would have required them to do some restructuring anyway.


  • 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.





  • Ferk@kbin.socialtoMemes@lemmy.mlJust say no.
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    1 year ago

    Just like building up your muscle, it takes time. Which is why you don’t see memes/people saying: “So weak that you can’t lift 100kg? just say no, raise your arms while holding a 100kg weight. It can’t legally fall if you don’t drop it.”

    I mean, logically stopping depressive thoughts is the only way to stop depression, the same way as how lowering the caloric intake is how you get rid of obesity, or lowering the resistance to insulin is how you stop being diabetic type 2. Or how the only way to be someone who lifts 100kg is to actually lift a 100kg weight.

    But that’s so obvious that it’s not helpful. It’s not like people don’t know what makes them depressed… or obese… or weak… what they want is advice in how to train themselves, not someone telling them they should “just” stop being the way they are (which is probably something they already keep reminding themselves about! …most of the time, that’s the one thing they don’t need help with).


  • Ferk@kbin.socialtoMemes@lemmy.mlJust say no.
    link
    fedilink
    arrow-up
    16
    arrow-down
    3
    ·
    edit-2
    1 year ago

    You mean saying “no” to depressive thoughts?
    I feel that if you can combat depression that way, then you are not really having clinical depression.

    It’s like asking a type 2 diabetic to stop being so resistant to insuline. If your body can stop resisting insuline, then it’s not diabetic.


  • Ferk@kbin.socialtoMemes@lemmy.mlJust say no.
    link
    fedilink
    arrow-up
    39
    arrow-down
    17
    ·
    edit-2
    1 year ago

    Yep, this is akin to: “Depressed? Just say no.” “Depressive thoughts cannot legally enter your mind if you don’t have them.”

    People don’t realize that overfeeding is not the real cause of the problem, but rather a consequence.


  • Ferk@kbin.socialtoMemes@lemmy.mlNokia be like p2
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Leaving a lithium battery charging for a long time, even when it’s already 100% can degrade it.
    Most devices have failsafes against this, but I still always try to not leave a device charging if its already mostly full… perhaps it’s just me being paranoid, but what I rather do is set up rules so that the phone automatically goes into airplane/battery saving mode at night.