linux
Linux 3mo ago
Jump
Zed on Linux is out!
  • adamnejm adamnejm 3mo ago 100%

    Found the Windows user. On Linux we actually have polkit that can elevate privileges with a GUI prompt.

    5
  • 42 key points of the secret #EUGoingDark surveillance plan for the new EU Commission
  • adamnejm adamnejm 5mo ago 95%

    2029: EU proposes to criminalize the use of mathematics.

    22
  • Question: yt-dlp does anyone know how to increase retries for SponsorBlock? [Solved]
  • adamnejm adamnejm 5mo ago 100%

    Working on your yt-dlp wrapper I see, nice. Keep up the good work!

    4
  • linux
    Linux 5mo ago
    Jump
    It's time to move to Linux - YouTube
  • adamnejm adamnejm 5mo ago 73%

    If Linux suddenly started gaining traction on a bigger scale, Microsoft would make a user-facing proprietary distro and those bastards would still flock to it.

    9
  • linux
    Linux 5mo ago
    Jump
    Linux kernel Rust coding guidelines are heretic.
  • adamnejm adamnejm 5mo ago 87%

    First saying that tabs are a no go, then proceeding to deliberate on the correct amount of spaces...

    Long live tabs!

    6
  • lu5 : Lua Interpreter for Creative Coding
  • adamnejm adamnejm 6mo ago 100%

    Nice, used to love playing with p5 back in the day, good to have such tools for Lua which is often recommend as a beginner language.

    I wish the author did implement some built-in libraries like middleclass, that would allow people that don't necessarily understand how metatables to fake classes in more elaborate ways than what's showcased in the instances.lua example.

    4
  • linux
    Linux 9mo ago
    Jump
    Clipboard randomly clearing
  • adamnejm adamnejm 9mo ago 100%

    Clipboard in Linux is weird. Can you replicate this:

    1. Copy text
    2. Close the application you copied from
    3. Paste into a different application
    4. Nothing appears

    If so, that means you don't have a clipboard manager running, default for KDE is Klipper I believe.

    8
  • Gotta get those github stats up
  • adamnejm adamnejm 11mo ago 100%

    Unit focus groups

    1
  • Was forced to use a third party to fill a rental application. The application failed and now they're demanding significantly more sensitive information than what I ever provided before they'll comply.
  • adamnejm adamnejm 11mo ago 100%

    Most companies I've sent data deletion request just do it, but when they start to argue I just hit them with most ridiculous bullshit while acting like the most privileged bitch until they do it my way.

    Try saying no, see what happens.
    Fearmongering, gaslighting, lawful threats, technical jargon and the word 'rape' are your friend.


    Just recently when requesting GDPR data deletion from UK-based company they also wanted to confirm my identity, hell they will.

    I hit them with the fact that a person controlling the e-mail address can use their 'Forgot password' feature to take control over the account and access my sensitive data they're in possession of or steal my identity using their own services. I also not so kindly suggested that I'll report them so their security practices are investigated for the safety of their customers.

    ...they deleted the data without any further questions.

    PS. Not sure about UK laws, but for GDPR: Always request confirmation of the deletion and the detailed steps they've taken to ensuring your data has been properly erased. They're obligated to tell you that upon request.

    10
  • Gitlab now requires phone number/credit card verification
  • adamnejm adamnejm 11mo ago 100%

    Just tried this out using a typical temporary email address (temp-mail.org) and a VPN (AirVPN).
    I was only asked to confirm my e-mail address within 3 days, never for a phone address or any banking details.

    Judging by the first post you've linked to, it's only necessary for paid accounts or free trials.
    The person in the second post is trying to register via GitHub / Google, well... sucks for them.

    26
  • Where can I find tutorials on embedding Lua scripting into applications
  • adamnejm adamnejm 11mo ago 100%

    One Lone Coder has made few videos about adding Lua scripting to a C++ program, maybe it has what you're looking for: Embedding Lua in C++ #1

    2
  • What is your favourite font for code ?
  • adamnejm adamnejm 11mo ago 100%

    JetBrains Mono all the way.

    There's also a new kid in town - Monaspace, its texture healing feature is pretty interesting. I might give it a try later.

    71
  • Jitsi, the open-source video conferencing platform, now requires a Google, Microsoft, or Facebook account for their online service
  • adamnejm adamnejm 1y ago 100%

    Its like when OnlyFans declares they wouldn't allow adult content

    So... Tumblr?

    19
  • UPDATE: So after I broke grub, I tried reinstalling Fedora. Now windows has disappeared from BIOS
  • adamnejm adamnejm 1y ago 71%

    Honestly I just watched some Indian YouTube video, I recognize some of the commands, so it's probably it.

    3
  • UPDATE: So after I broke grub, I tried reinstalling Fedora. Now windows has disappeared from BIOS
  • adamnejm adamnejm 1y ago 97%

    Jesus, stop. You probably only removed the boot entry, happened to me before. Download Windows ISO, put it on a pendrive, boot into it and navigate to the terminal. Then look up a guide on how to restore the boot entry, should be just couple of simple commands and you're done.

    If you are too lazy, at least boot into Linux, mount the Windows drive and back up your stuff.

    45
  • Windows vs Linux
  • adamnejm adamnejm 1y ago 100%

    Deleting a bootloader is a perfectly valid thing to do.

    4
  • Windows 11 vs Linux supported HW
  • adamnejm adamnejm 1y ago 100%

    Linux graphics stack only supports implicit sync, Nvidia only supports explicit sync. It's not something that a desktop environment can fix as patches are needed to be implemented in Nvidia drivers, Wayland protocols, XWayland and maybe even Mesa or the kernel itself.
    https://gitlab.freedesktop.org/xorg/xserver/-/issues/1317

    1
  • gitlab.com

    Lazy is a library that extends the standard Lua library. It exposes function modules such as `math`, `string`, `table`, etc. It's aimed to fill the gaps of Lua's standard libraries by providing functions such as `math.round` to round numbers, `string.trim` to remove leading and trailing white spaces from a string and many many many more. One important feature of Lazy is that the require path of modules is automatically resolved, which allows you to require the `lazy` library from virtually anywhere. For example the `lazy` folder may be located in the root of your project or any sub-directory. More so, upon setting your `LUA_PATH` correctly, `lazy` can be required anywhere from your PC without having to import it into your project. Please refer to the GitLab page for more information . ___ Example usage: ```lua local lazy = require "lazy" lazy.math.round(1234.5678, 2) --> 1234.57 lazy.os.capture("pwd") --> /home/name/projects/lua/lazy lazy.string.split("Lua is amazing!", " ") --> { "Lua", "is", "amazing!" } lazy.table.append({ "A" }, { "B" }, { "C" }, { "D" }) --> { "A", "B", "C", "D" } ``` ___ Contributions and requests are welcome :P

    2
    0

    All the rules from this Lemmy instance apply. Additionally, please try to follow these community-specific rules: # Rules ### **1. Posts must relate to Lua** All posts must be related to the Lua programming language. This also includes related and derivative projects, such as [Luau](https://luau-lang.org/) or [MoonScript](https://moonscript.org/). ### **2. Use descriptive titles** Your title should in short describe the contents. That applies to all kinds of posts, no matter whether you're showcasing a project, discussing a feature or asking for help. **Examples of bad titles:** - *please help!* ^ Doesn't provide any information about the post - *How to rotate SENT?* ^ Should also information about API and ideally expand **SENT** which is a rather niche acronym - *request.lua* ^ Could provide a short description of the library **Examples of good titles:** - *[Help] Lua errors when using string.format with the %p flag* - *How to rotate a Scripted Entity in Garry's Mod when spawned?* - *request.lua - Lua >=5.1 library to simplify HTTP requests* Please note that there are no strict rules related to tagging posts *(eg. including **[Help]** or **[Roblox]** in the title)*, but they are very welcome nonetheless. ### **3. Provide reproduction code** When asking for help, you should provide a reproduction code whenever applicable. This doesn't mean that you should copy and paste your whole project or script into the post, in fact the opposite. Try to isolate the issue you're facing on your own and only include the code needed to reproduce it. A screenshot or image of the code is never valid. Additionally the code should be provided using the following Markdown syntax: ````markdown ```lua <your code goes here> ``` ```` ### **4. Information about environment** When asking for help, and ideally releasing a project, you should include as much information as possible about the target environment. Most important thing is the Lua API in use, that means the video game, game engine, framework, library, etc. Other information such as Lua version, environment variables, operating system, etc. may be useful as well. ___ Posts not following the rules may be deleted without prior notice. Repeated offenders may be issued a warning and banned. If you do not agree with the rules or statements made here, please discuss your issue in the comment section, I'm sure something can be done about it. # Moderation If you want to help and moderate this community, please message leave a comment under this post or contact me in any other way.

    1
    0