fxdave

joined 2 years ago
[โ€“] [email protected] 1 points 3 days ago (1 children)

I don't use any of these, but I'm curious. Could you please write some examples?

[โ€“] [email protected] 3 points 3 days ago* (last edited 3 days ago) (3 children)

I've never understood putting arbitrary limits on a company laptop. I had always been seeking for ways to hijack them. Once I ended up using a VM, without limit...

[โ€“] [email protected] 1 points 5 days ago (1 children)

Fairphone 5 on Fairphone OS looking for alternative OSes. Do you guys use NFC payments, and apps with play protect, do they work well?

[โ€“] [email protected] 16 points 1 week ago (3 children)

afaik from youtube, HDL is good, LDL is bad.

[โ€“] [email protected] 2 points 1 week ago

hmm you're right

[โ€“] [email protected] 0 points 1 week ago (2 children)

Cashless is also a way to stop black market

[โ€“] [email protected] 10 points 2 weeks ago (1 children)

MS Office is scriptable with basic. LibreOffice, on the other hand, supports basic, python, js, beanshell.

Both software have there advantages. Scientific research is often done on Linux, and they use LibreOffice. In University, we also used it, because they said it has better functions for our use-case.

[โ€“] [email protected] 3 points 2 weeks ago

The reason why OpenDocument format is enforced in MS Office, is because it enforces compatibility. Tell everyone who uses docx to stop promoting a proprietary software, they have the option to save to a neutral file format.

[โ€“] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

Unfortunately, not every component is open source, they publish anything that they legally can. But key components are closed source e.g. camera app. Google makes sure you cannot just use your own android ROM, so software-wise, practically, they are just as bad as a Samsung.

hardware-wise: big, expensive, but easy to repair. Hoping to see a new wide cam, because the actual is horrible.

[โ€“] [email protected] 1 points 2 weeks ago

do they interfere?

[โ€“] [email protected] 2 points 2 weeks ago

me neither, I was joking. (scp is command for copying files over ssh)

[โ€“] [email protected] 2 points 2 weeks ago (8 children)

At least I know what SCP is. I use it sometimes.

-1
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

Correct me if I'm wrong.

Afaik, liberalism ambiguously meant both advocacy for human rights and an economic system. To avoid this confusion, the economic system has been moved out as libertarianism.

For example, accessibility improvements of government buildings is a liberal movement.

Minimizing the control over capitalism is a libertarian movement.

There's also so called "liberals" which is not more than a hate speech. We are not "conservatives" or "liberals" in every topic.

73
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

I lost my Canon EOS M50 II. Basically my whole camera gear just spin off from a 3km tall mountain in Austria because I forgot to close my bag. I know...

After a month of mourning, I started to look again to the market, but It's hard to swallow. Prices are manually kept high. Affiliate links everywhere. Old gear is not cheaper. An average smartphone can record 4k video with in-body stabilization, but if you want it in a camera then the body will cost you a fortune. Lenses are not compatible with every body, technology exists for good lenses but they keep producing trash. And I have to buy the trash because of my price range.

Moreover, firmwares are proprietary. Smartphone sync apps are limited and proprietary (As a developer it's quite annoying, that they don't even let me fix their issues.) The raw format is only very rarely DNG but mostly proprietary.

I could list the injustices in the world we live in all they long.

But, I miss the image quality, and I need another one. What do you think, which brand is the least like above? What do you suggest for traveling?

(The photo has been made with my phone shortly after losing my camera, sitting there sadly, but somehow the land is so quite and calming.)

 
 

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:

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)

 

cross-posted from: https://lemmy.ml/post/7885746

I created a lib for designing cabinets. I'm not a woodworker, but I can design some for myself and I found this lib useful enough to share. So enjoy.

 

I created a lib for designing cabinets. I'm not a woodworker, but I can design some for myself and I found this lib useful enough to share. So enjoy.

view more: next โ€บ