Skip Navigation
Deleted
*Permanently Deleted*
  • By the way, I am an apple hater because I tried apple after years of using Linux and it was a true mess. Here's a story: I had to make an app building CICD pipeline and guess what? We had to run a macbook as a server because they fucking cannot share at least a VM for building. A CLI command brought up a GUI confirmation. How should I automate something that brings up a GUI. Garbage. Package management is horrible. Command line utilities was outdated. Case insensitive filesystem. Then Ruby...

    And it's not enough that they are shit, but they are actively holding back innovation. They held back PWAs for example. And they shit on open-source. They are the definition of vendor lock-in.

    They look good though.

  • Deleted
    *Permanently Deleted*
  • It works between android and any linux distro through kde connect. It let's me do more than just clipboard sharing. e.g.: I could remote control my laser engraver through it.

  • Deleted
    *Permanently Deleted*
  • Vertical integration and progressive company are good for Apple but for the consumer they are irrelevant I think.

    Security is ok, privacy must be a joke, siri is listening, just like google. You have to be logged in to install an app from the store etc...

    Pretty limited ui. Some might like it, some may don't, but they can't change nothing.

  • Cuple RPC: Typesharing between frontend and backends made easy. The missing type-safety for full-stack.
  • Thanks for the question. GraphQL works with multiple languages, Cuple works only with Typescript. Despite this drawback this also gives you some advantages:

    • The Request and Response types are auto-inferred from the endpoint you write
    • Because the types are in Typescript you don't need to generate a client, you just simply use it with @cuple/client and get instant feedback.
    • You don't have to learn another language. It's just typescript.

    Practically it means less boilerplate and it let's you focus on the feature you write. Cuple is also not a query language, you get what the server sends you, it's more likely a type-safe FFI binding. With Cuple you can build a REST API, or anything similar to that with HTTP method, header, path, query, body, and you can use it type-safely.

  • Cuple RPC: Typesharing between frontend and backends made easy. The missing type-safety for full-stack.

    Hey, I'm not a fan of advertising libraries, but otherwise, nobody will know them. I think this package is really spot on and solves many issues with current web technologies.

    I'd like to continue this project. If you found it interesting please give some feedback.

    github.com/fxdave/cuple intro: The Missing Type-Safety for Full-Stack

    2
    What're some of the dumbest things you've done to yourself in Linux?
  • I deleted /lib64/ld-linux-x86-64.so.

    I did it because valgrind had a problem with it. I thought I can fix it with reinstalling the package. I tried to lookup which package is it from, but the command I used was wrong and I didn't get any result. So I thought, what if I created it, maybe I just forgot it.

    the moment I deleted it everything stopped working. It was fixable only from a pendrive.

  • ‘Meta is out of options’: EU regulators reject its privacy fee for Facebook and Instagram
  • I would imagine it as lemmy. It would be a free, ethical software which is indirectly funded by the government. Everybody uses facebook so that's a good reason to turn it into a public property. We could make it without anti-features. Made for people, not for profit.

  • How do we know if there aren't a bunch of more undetected backdoors?
  • Afaik, most phones are backdoored that can be abused using tools like "pegasus" which led to a huge indignation in Hungary. I don't belive PCs are exceptions. Intel ME is a proprietary software inside the CPU, often considered as a backdoor in Intel. AMD isn't an exception. It's even weirder that Intel produces chips with ME disabled for governments only.

  • Tried Arch for the first time | My experience and impressions
  • Try donating projects you would like to use. If your adobe subscription amount is going to gimp and inkscape, you are buying yourself into the future of freedom. If you buy adobe, you will limit yourself more and more.

  • How to make plugins?
  • Thanks, I forgot to mention but that's what I do now. My problem with this is that I would like to make a plugin that makes sense only for me and not for the other users. I could maintain my personal fork though.

  • How to make plugins?

    I have a plugin trait that includes some heavy types that would be almost impossible to wrap into a single API. It looks like this: rust pub struct PluginContext<'a> { pub query: &'a mut String, pub gl_window: &'a GlutinWindowContext, flow: PluginFlowControl, pub egui_ctx: &'a Context, disable_cursor: bool, error: Option<String>, } pub trait Plugin { fn configure(&mut self, builder: ConfigBuilder) -> Result<ConfigBuilder, ConfigError> { Ok(builder) } fn search(&mut self, ui: &mut Ui, ctx: &mut PluginContext<'_>); fn before_search(&mut self, _ctx: &mut PluginContext<'_>) {} }

    Here is what I considered:

    1. Keeping all plugins in-repo. This is what I do now, however I'd like to make a plugin that would just pollute the repository. So I need another option that would keep the plugins' freedom as it is right now, but with the possibility to move the plugin out to a separate repository.
    2. I tried to look into dynamic loading, and since rust doesn't have a stable ABI, I'm okay with restricting the rust versions for the plugin ecosystem. However, I don't think it's possible to compile this complex API into a dynamic lib and load it safely.
    3. I'm also ok with recompiling the app every time I need a new plugin, but I would like to load these plugins automatically, so I don't want to change the code every time I need a new plugin. For example, I imagine loading all plugins from a folder. Unfortunately, I didn't find an easy solution for this neither. I think I will write a build macro that checks the ~/.config/myapp/plugins and include all of them into the repo.

    Do you have any better ideas, suggestions? Thanks in advance.

    (For context, this the app I'm writing about: https://github.com/fxdave/vonal-rust)

    9
    I repasted my Dell XPS 9500, I can't believe it helped this much

    Hey everyone,

    Just wanted to share my recent experience with gaming on my laptop. While playing CS:GO was manageable, CS2 was a different story. My laptop kept hitting thermal limits, causing frustrating performance drops. So, I decided to do it myself and repaste it.

    I wrote a simple script to monitor my temperatures and frequencies: thermalog script.

    The results speak for themselves: thermalog results.

    I wasn't even near to thermal limit even when I played in 2K instead of FHD.

    I used Arctic MX-6. (I bought liquid metal also as a backup plan, but luckily I don't need it). I'm more than happy with the results.

    My laptop is four years old, I highly recommend giving it a go if you're facing similar thermal issues.

    Happy gaming!

    14
    What do you suggest visiting in Austria?

    We decided to test whether the car can handle long ranges by going to Austria next week. It's a large country with numerous places, so I want to ask your help. Have you ever been to there?

    EDIT: Thanks the suggestions for everyone, they were really useful!

    19
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)FX
    fxdave @lemmy.ml
    Posts 5
    Comments 41