Skip Navigation
So let's say I wanna ping 1.1.1.1... every 5 seconds... forever. Alternatives?
  • Hmmm, is CloudFlare known for being a bad actor in terms of privacy?

    Setting that aside, no matter what you pick, you'll be exposing your IP address, from which your ISP and/or general location may be derived

    If you don't trust CloudFlare with that information then you basically cannot trust anyone else, so maybe you'd need to run your own service and ping that instead now that you're in a situation where you can only trust yourself 🤷

    The other issue that comes to mind is that you're only testing reachability to one address, which means you could get a false negative where that address stops working but the rest of the internet is actually fine

  • What laptop do you use/recommend?
  • Without being specific, I'd try to get something with firmware updates available on LVFS: https://fwupd.org/

    And you might want to check for distribution specific notes on that model e.g.

    If Wayland is more important to you than AI/ML/LLMs then you probably don't want anything with an nVidia GPU

  • Wi-Fi connectivity issues resolved by dropping wpa_supplicant in favour of iwd
  • I did actually do this already, separate from working on this issue, but can confirm the intermittent problems with the combination of wpa_supplicant and systemd-networkd

  • Wi-Fi connectivity issues resolved by dropping wpa_supplicant in favour of iwd

    My desktop PC is the only machine in the house having Wi-Fi connectivity issues (connects fine, but drops out randomly after a few minutes or sometimes a few hours)

    I think wpa_supplicant is getting confused and thinks signal strength is poor (I have a Netgear mesh, but this seems increasingly common, so it's weird for that to be the issue)

    I did pick up a TP-Link USB Wi-Fi adapter, but can reproduce the same connectivity issues

    The fix was switching away from wpa_supplicant in favour of iwd, which seems rock solid in comparison

    I'm sure there's a way to fix wpa_supplicant, but it's man pages only seem to list the options without actually describing what they do, which seems sort of poor considering how old the project is 🤷

    11
    Do you daily drive Wayland, if so since when, if not when will you?
  • I'm not an expert, but my understanding of the Global Shortcuts portal is that it's very much designed for the push-to-talk use case where an app is not focused but still receives button events for exactly the keys its interested in and no other keys: I think this would cause problems if an app requested every key (e.g. if the request was approved then no keys would work in every other app)

    It'll be interesting to see how the remaining compatibility/accessibility issues are tackled, either in portals or in wayland protocols

  • Do you daily drive Wayland, if so since when, if not when will you?
  • There's a portal for Global Shortcuts: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.GlobalShortcuts.html

    KDE and Hyprland already implement it, and COSMIC seems likely to

    On the app side, if we can get the major toolkits to adopt it, then hopefully that covers most actively-maintained apps (but it's unlikely to cover legacy apps): https://github.com/electron/electron/issues/38288

  • Firefox "tabs" in a tiling WM
  • Gosh, I'm so fascinated by the concept of removing/hiding the tabs implementation from every app and relying 100% on the window manager to provide this

  • A response to the "Boycott Wayland" article
  • Wayland breaks global hotkeys: I present to you: Hyprland (where you can get global hotkeys). Now, it is normally not allowed by design, as a security measure

    Not disagreeing at all, but I'd like to add some information here to support your correction

    There's a GlobalShortcuts portal ( https://flatpak.github.io/xdg-desktop-portal/docs/#gdbus-org.freedesktop.impl.portal.GlobalShortcuts ), and this is implemented for hyprland in xdg-desktop-portal-hyprland ( https://github.com/hyprwm/xdg-desktop-portal-hyprland/blob/b2fc1110963fa583ad5348a9dc0101bd58ceac7a/hyprland.portal#L3 )

    So, technically, there is nothing in the wayland collection of protocols that supports global keyboard shortcuts, but (along with lots of other supporting functionality), this is addressed via the collection of portal APIs

    As it happens, KDE already supports the GlobalShortcuts portal: https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/data/kde.portal#L3

    Any desktop can provide an implementation of the GlobalShortcuts portal, and any app can adopt it as required (although if it's implemented within popular toolkits/frameworks, then app developers won't have to even think about it)

    Here are related tracking issues:

  • *Permanently Deleted*
  • Proton emails are stored in an encrypted form that goes beyond the simple authentication that is part of the POP/IMAP specifications

    Proton does have open-source bridges/proxies, so they aren't hiding these details from us

    Perhaps Thunderbird could be enhanced to support the Proton features directly?

  • Quantum Resistance and the Signal Protocol
  • EFF still recommend Signal (and others) for people fitting various risk profiles: https://ssd.eff.org/

  • signal.org Quantum Resistance and the Signal Protocol

    The Signal Protocol is a set of cryptographic specifications that provides end-to-end encryption for private communications exchanged daily by billions of people around the world. After its publication in 2013, the Signal Protocol was adopted not only by Signal but well beyond. Technical informat...

    Quantum Resistance and the Signal Protocol

    > We believe that the key encapsulation mechanism we have selected, CRYSTALS-Kyber, is built on solid foundations, but to be safe we do not want to simply replace our existing elliptic curve cryptography foundations with a post-quantum public key cryptosystem. Instead, we are augmenting our existing cryptosystems such that an attacker must break both systems in order to compute the keys protecting people’s communications. > > ... > > Our new protocol is already supported in the latest versions of Signal’s client applications and is in use for chats initiated after both sides of the chat are using the latest Signal software. In the coming months (after sufficient time has passed for everyone using Signal to update), we will disable X3DH for new chats and require PQXDH for all new chats. In parallel, we will roll out software updates to upgrade existing chats to this new protocol.

    15
    about.gitlab.com Migrating Arch Linux's packaging infrastructure to GitLab

    Arch Linux developer Levente Polyak explains how the project recently migrated its packaging infrastructure to GitLab and what Arch Linux gained as a result.

    Migrating Arch Linux's packaging infrastructure to GitLab
    0
    opensource.googleblog.com Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022

    Wondering about Rust? We're addressing rumors and providing insight gained from years of early adoption of Rust here at Google.

    Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022

    > Rumor 1: Rust takes more than 6 months to learn – Debunked ! > > ... > > Rumor 2: The Rust compiler is not as fast as people would like – Confirmed ! > > ... > > Rumor 3: Unsafe code and interop are always the biggest challenges – Debunked ! > > ... > > Rumor 4: Rust has amazing compiler error messages – Confirmed ! > > ... > > Rumor 5: Rust code is high quality – Confirmed! > ...

    1
    The Beta for Android 13 is out now: Android 13 Beta 1
  • Huh, I shared this a year ago Not sure why this is popping up again :shrug:

  • Explanation of the Advantage of Immutable Distros
  • I encounter misinformation and other FUD about immutable distributions quite frequently

    Imagine a root filesystem that is only modified when you expect, instead of at any time by any software on your system, the horror! </sarcasm>

  • cross-posted from: https://lemmy.ml/post/1073275

    > Great explainer / FAQ > > I'll probably still use my Precursor and Yubikeys for the most part, but I'll definitely enable Passkeys wherever they are an option

    3

    Great explainer / FAQ

    I'll probably still use my Precursor and Yubikeys for the most part, but I'll definitely enable Passkeys wherever they are an option

    0
    Google is activating their own Bluetooth-based tracking network
    blog.google How Android keeps you and your devices safe

    At I/O 2023, Google shares the latest ways Android keeps you and your devices safe.

    How Android keeps you and your devices safe

    > That’s why later this summer, we're launching a refreshed Find My Device experience that makes it easier than ever to locate your devices and belongings quickly and securely by ringing compatible devices or viewing their location on a map in the app – even when they’re offline. The new Find My Device network will harness over a billion Android devices across the world to help you locate your missing belongings like headphones, tracker tags, or even your phone via Bluetooth proximity.

    This earlier announcement about a joint effort with Apple to work out how stop stalkers and other criminals from abusing these networks now makes a bit more sense: https://security.googleblog.com/2023/05/google-and-apple-lead-initiative-for.html

    0
    Bloatware pushes the Galaxy S23 Android OS to an incredible 60GB

    > We can take a few guesses as to why things are so big. First, Samsung is notorious for having a shoddy software division that pumps out low-quality code. The company tends to change everything in Android just for change's sake, and it's hard to imagine those changes are very good. > > ... > > Unlike the clean OSes you'd get from Google or Apple, Samsung sells space in its devices to the highest bidder via pre-installed crapware. A company like Facebook will buy a spot on Samsung's system partition, where it can get more intrusive system permissions that aren't granted to app store apps, letting it more effectively spy on users.

    Urgh, it's so frustrating that Samsung is the leading Android manufacturer, the market is rewarding greed and incompetence

    0
    arstechnica.com Requiem for a string: Charting the rise and fall of a theory of everything

    String theory was supposed to explain all of physics. What went wrong?

    Requiem for a string: Charting the rise and fall of a theory of everything

    > In fact, all the “easy” versions of supersymmetry have been ruled out, and many of the more complicated ones, too. The dearth of evidence has slaughtered so many members of the supersymmetric family that the whole idea is on very shaky ground, with physicists beginning to have conferences with titles like “Beyond Supersymmetry” and “Oh My God, I Think I Wasted My Career.”

    1
    Is the PineTime good enough for non tech-savvy people to use?
  • I bought a sealed device, with the intention of doing development but have not yet done anything like that

    I installed GadgetBridge on my Android phone, paired it with the watch, uploaded the latest PineTime firmware, all without looking at code or opening it up or anything

    It works perfectly fine as a basic watch with step counter and heart-rate monitor (although, I am not sure how accurate these features are)

    If you can browse the web, download files, and find that file again when using a different app, then I think you'll be fine

  • Researchers look a dinosaur in its remarkably preserved face
  • I love this part in the sidebar:

    “It is correct to call Borealopelta an ankylosaur (which would mean Ankylosauria) or a nodosaur (which would mean Nodosauridae). You just can’t call it an Ankylosaurid, Ankylosaurine, or Ankylosauridae (as these have specific meanings).”

  • arstechnica.com Archaeologists discovered a new papyrus of Egyptian Book of the Dead

    Dubbed the "Waziri papyrus," scholars are currently translating the text into Arabic.

    Archaeologists discovered a new papyrus of Egyptian Book of the Dead

    > Archaeologists have confirmed that a papyrus scroll discovered at the Saqquara necropolis site near Cairo last year does indeed contain texts from the Egyptian Book of the Dead—the first time a complete papyrus has been found in a century, according to Mostafa Waziri, secretary-general of the Supreme Council of Antiquities in Egypt. The scroll has been dubbed the "Waziri papyrus." It is currently being translated into Arabic.

    1
    arstechnica.com Google plans AirTag clone, will track devices with 3 billion Android phones

    Google recently made the world's largest device-tracking network; now it has a tag.

    Google plans AirTag clone, will track devices with 3 billion Android phones

    Huh, I have mixed feeling about Google doing this

    Yay that Apple isn't the only game in town for this functionality

    But then it's this functionality in particular with all the horrible stalking that it facilitates

    0
    I'm very happy with the completion plugin that is part of mini.nvim
    github.com GitHub - echasnovski/mini.nvim: Library of 30+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort

    Library of 30+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort - GitHub - echasnovski/mini.nvim: Library of 30+ independent Lua modules impr...

    GitHub - echasnovski/mini.nvim: Library of 30+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort

    I switched over to the completion plugin that is part of https://github.com/echasnovski/mini.nvim and I'm impressed with how suitable it is for my use case without any configuration

    Sure, it's not as extensible, but it's so set-and-forget and still gives suggestions from LSP

    0
    blog.kagi.com The Age of PageRank is Over | Kagi Blog

    When Sergey Brin and Larry Page came up with the concept of PageRank in their seminal paper The Anatomy of a Large-Scale Hypertextual Web Search Engine ( http://infolab.stanford.edu/pub/papers/google.pdf ) (Sergey Brin and Lawrence Page, Stanford University, 1998) they profoundly changed the way we ...

    > Over the years, the web deteriorated to the state it is in now - a highly destructive force. Much of the damage is driven by the monetization of users and every aspect of their lives. Enterprises capture our preferences, our friends, our families, the information we consume, and the information we create. They manage and maximize for their benefit our preferences, our opinions, our purchases, and our relationships. The web can poison individual opinions, freedoms, and political and social institutions. It steals from us, addicts us, and harms us in many ways.

    0

    > The UX team has been carefully designing widgets and applications over the last year. We are now at the point where it is critical for the engineering team to decide upon a GUI toolkit for COSMIC. After much deliberation and experimentation over the last year, the engineering team has decided to use Iced instead of GTK. > > Iced is a native Rust GUI toolkit that's made enough progress lately to become viable for use in COSMIC. Various COSMIC applets have already been written in both GTK and Iced for comparison. The latest development versions of Iced have an API that's very flexible, expressive, and intuitive compared to GTK. It feels very natural in Rust, and anyone familiar with Elm will appreciate its design.

    The main jumping-off point for COSMIC is this repository, I think: https://github.com/pop-os/cosmic-epoch

    The iced crate is here: https://github.com/iced-rs/iced

    Other GUI tookits for Rust can be found here: https://www.areweguiyet.com/

    0
    How sustainable are fake meats? (Spoiler: much better than real meat/dairy)
    arstechnica.com How sustainable are fake meats?

    Checking whether plant-based burgers may have lighter environmental footprints.

    How sustainable are fake meats?

    > Indeed, when independent researchers at Johns Hopkins University decided to get the best estimates they could by combing through the published literature, they found that in the 11 life cycle analyses they turned up, the average greenhouse gas footprint from plant-based meats was just 7 percent of beef for an equivalent amount of protein. The plant-based products were also more climate-friendly than pork or chicken — although less strikingly so, with greenhouse gas emissions just 57 percent and 37 percent, respectively, of those for the actual meats. > > Similarly, the Hopkins team found that producing plant-based meats used less water: 23 percent that of beef, 11 percent that of pork, and 24 percent that of chicken for the same amount of protein. There were big savings, too, for land, with the plant-based products using 2 percent that of beef, 18 percent that of pork, and 23 percent that of chicken for a given amount of protein. The saving of land is important because, if plant-based meats end up claiming a significant market share, the surplus land could be allowed to revert to forest or other natural vegetation; these store carbon dioxide from the atmosphere and contribute to biodiversity conservation. Other studies show that plant-based milks offer similar environmental benefits over cow’s milk.

    ...

    > Soy milk, for example, requires just 7 percent as much land and 4 percent as much water as real milk, while emitting only 31 percent as much greenhouse gas. Oat milk needs 8 percent of the land and 8 percent of the water, while releasing just 29 percent as much greenhouse gas. Even almond milk often regarded as a poor choice because almond orchards guzzle so much fresh water—uses just 59 percent as much water as real milk. > > But not all plant-based milks deliver the same nutrient punch. While soy milk provides almost the same amount of protein as cow’s milk, almond milk provides only about 20 percent as much—an important consideration for some. On a per-unit-protein basis, therefore, almond milk actually generates more greenhouse gas and uses more water than cow’s milk.

    2

    > The new type of USB4 will continue the USB-IF's questionable naming scheme that only its members and a thumbtack-and-string-covered corkboard can truly appreciate. When it's all said and done, it seems you'll be able to find USB-C ports that are USB4 Version 2.0, USB4 Version 1.0, USB 3.2 Gen 2x2, USB 3.2 Gen 2, USB 3.2 Gen 1, or USB 2.0, plus some will opt for Intel Thunderbolt certification. And in the case of USB4 Version 1.0, you'll still need more information to know if the port supports the spec's max potential speed of 40Gbps.

    screaming intensifies

    1

    > On the whole, I would rate the Poco F1’s bull**** level as follows: > - Initial setup: miserable > - Ongoing problems: minor

    0
    arstechnica.com Should we be trying to create a circular urine economy?

    Urine has lots of nitrogen and phosphorus—a problem as waste, great as fertilizer.

    > In excess, nitrogen and phosphorus in our waste streams can stimulate algal blooms and create conditions dangerous to marine and lake ecosystems and human health. According to the website of the Rich Earth Institute, a Vermont-based company focused on using human waste as a resource, most of the nitrogen and phosphorus in wastewater comes from human urine, even though it makes up only 1 percent of wastewater. Removing urine could remove 75 percent of the nitrogen and 55 percent of the phosphorus from municipal wastewater treatment plants. And those nutrients could then be recycled for use as fertilizer.

    3
    Productivity @lemmy.ml jokeyrhyme @lemmy.ml
    opensource.com 4 common issues with implementing Agile and how to address them

    Whether it's lack of awareness, support, participation, or poor user stories, there are certain strategies that make handling these problems more manageable.

    4 common issues with implementing Agile and how to address them

    > Establishing an Agile way of thinking in an existing company is a big task with plenty of potential pitfalls. However, some problems are more prevalent than others and tend to span organizations. I've identified the four most common issues I've encountered. Whether it's lack of awareness, support, participation, or poor user stories, there are certain strategies that make handling these problems more manageable. How can you implement these approaches to help smooth the way for great Agile success?

    0
    Rust is coming to GCC
  • LLVM supports fewer target machines than GCC

    https://gcc.gnu.org/backends.html has a big table

               |      Characteristics
    Target     | HMSLQNFICBD lqrpbfmgiates
    -----------+--------------------------
    aarch64    |     Q        q  b  gia  s
    alpha      |  ?  Q   C    q    mgi  e
    arc        |          B      b  gia
    arm        |                 b   ia  s
    avr        |    L  FI    l  p   g
    bfin       |       F            gi
    c6x        |   S     CB         gi
    cr16       |    L  F C          g    s
    cris       |       F  B         gi   s
    csky       |                 b   ia
    epiphany   |         C          gi   s
    fr30       | ??    FI B     pb mg    s
    frv        | ??       B      b   i   s
    gcn        |   S     C D  q       a e
    h8300      |       FI B         g    s
    i386       |     Q        q  b   ia
    ia64       |   ? Q   C    qr b m i
    iq2000     | ???   FICB      b  g  t
    lm32       |       F            g
    m32c       |    L  FI    l   b  g    s
    m32r       |       FI        b       s
    m68k       |                pb   i
    mcore      |  ?    FI       pb mg    s
    mep        |       F C       b  g  t s
    microblaze |         CB          i   s
    mips       |     Q   CB   qr     ia  s
    mmix       | HM  Q   C    q      i  e
    mn10300    | ??                 gi   s
    moxie      |       F            g  t s
    msp430     |    L  FI    l   b  g    s
    nds32      |       F C           ia  s
    nios2      |         C           ia
    nvptx      |   S Q   C    q    mg   e
    pa         |     Q   CBD  qr b   i  e
    pdp11      |    L   IC    qr b      e
    pru        |    L  F              a  s
    riscv      |     Q   C    qr    gia
    rl78       |    L  F     l      g    s
    rs6000     |     Q   C    qrpb   ia
    rx         |                         s
    s390       |     Q        qr    gia e
    sh         |     Q   CB   qrp    i
    sparc      |     Q   CB   qr b   ia
    stormy16   | ???L  FIC D l   b   i
    tilegx     |     Q   C    q     gi  e
    tilepro    |   S   F C          gi  e
    v850       |                    g a  s
    vax        |  M     I        b   i  e
    visium     |          B         g  t s
    xtensa     |         C
    

    https://www.llvm.org/Features.html

    An easily retargettable code generator, which currently supports X86, X86-64, PowerPC, PowerPC-64, ARM, Thumb, SPARC, Alpha, CellSPU, MIPS, MSP430, SystemZ, WebAssembly and XCore.

  • jokeyrhyme jokeyrhyme @lemmy.ml

    he/him/his, cis, gay, husband, Beagle chew-toy, JavaScript jockey, Rustacean

    Posts 41
    Comments 15