onlinepersona

joined 2 years ago
MODERATOR OF
[–] onlinepersona@programming.dev 5 points 5 hours ago* (last edited 5 hours ago)

This is an interesting read. Thanks 🙃

BTW, I don't know if you want to do everything via the command line but there are GUIs for some of your tasks. Specifically, TimeShift for backups. And for notes, I can recommend Logseq

They will have to communicate outside of the office too for example when traveling. They can't always be on a classified network. At some point the traffic is going to go over a public network, even if encrypted and in an overlay network.

[–] onlinepersona@programming.dev 5 points 15 hours ago (2 children)

I'm not sure you're aware, but Matrix can be self hosted. That means Matrix can be made available via VPN, teleport, headscale, via classified routing, or or or. The same cannot be said about Signal.

[–] onlinepersona@programming.dev 2 points 19 hours ago

Yeah, wtf? Installing a new OS you don't know during a LAN? I'd have no problems doing it with Linux, but give me a windows USB and we bad faith and I'll definitely fuck it up on camera.

[–] onlinepersona@programming.dev 3 points 19 hours ago (1 children)

The part of the video that's unspoken is that he spends most of his time trashing Pop!_OS while he is invested in a company that is competing against System 76.

He is? Could we get a source for that please?

[–] onlinepersona@programming.dev 1 points 19 hours ago (4 children)

Why aren't they using Matrix? They should be hosting their own chat network with privileged access only. Nobody adds you to the mix, you don't get in.

[–] onlinepersona@programming.dev 1 points 22 hours ago

Misskey is worse than mastodon because all instances I've seen require login

[–] onlinepersona@programming.dev 3 points 22 hours ago

Android piracy? What's that?

Just hire from the EU. It's cheaper and they are as competent. A lot more money will be left to hire more staff. I've already moved my signal donation to matrix.

The US is a money sink.

[–] onlinepersona@programming.dev 1 points 1 day ago* (last edited 1 day ago)

Will projects have to resort to LLM poisoning now? Add comments in their text that instruct the LLMs to ignore all code in the repository or to insert malicious code into the generated code which triggers at random times, go into an endless loop that hinders it from continuing, and so on.

But of course, that'd only be one defenseman, I'm considering that the legal defenseman is dead in the water as corporations have taken over our governments and institutions.

The alternative is to fight dire with fire and use LLMs to do the same to their proprietary code then license it as GPL.

[–] onlinepersona@programming.dev 0 points 2 days ago (1 children)

Binary reputation systems aren't good. I can say something that right and it can be downvoted because it goes against a person's beliefs, because I'm unpopular, because a certain group doesn't like it, because, because, because. Popularity is not a good measure of quality. Just look at the "publish or die" system. Just because you've been cited multiple times doesn't make your paper right.

Imagine a trans contributor being downvoted just because they're trans. How is that a good system? Do you expect trans people should only contribute in software projects where trans people are accepted? How are you going to prevent brigading?

[–] onlinepersona@programming.dev 1 points 2 days ago (2 children)

How do you handle secrets? Env vars as described in the docs don't seem like a solution for a team and we don't have a vault provider. I was hoping it would have support for encrypting the files with a password or something. What's your solution?

 

Why aren't people moving away from Github? There's Codeberg, Gitlab, and radicle. What's holding them back?

 

To make it clear to those who are misunderstanding: that's a list of companies that host matrix for you. They do it at a good price.

If you and your friends chip, it'll be a few bucks a pop per month to have your own private server with voice chat rooms and video chat rooms.

It's all opensource and contributes to the ecosystem. Best of all, no age verification because the data is yours.

 

This is a question regarding the frontend framework Slint

Let's take a web frontend framework as an example like React, Vue, Svelte, and so on. They allow you create components with their own distinct logic and expose an interface with which parents or siblings can react.

(I don't actually write Vue, this is just an example from memory)

<script>
let status = ref("Unknown");
async function onClick(){
  let result = await fetch("https://somewhere.org/");
  status.value = result.json()?status;
  emit("status", status);
}
</script>
<template>
<button @onClick="onClick">Check status</button>
<p>{{ status}}</p>
</template>

How can this be achieved in slint + another language (cpp, python, rust, ...)?

Say, I'm writing a desktop application and have a window, with a 3 column layout, and somewhere deep in the component tree, I have a StatusButton. This button, upon clicking is supposed to execute an IO call in my language of choice and its parent component should react to that. For the sake of the example, make it an HTTP network request that calls a server, expects a JSON with a status field.

How do I create the StatusButton component and use it in slint?

For what it's worth, I use rust, but whichever language the solution is presented in, it can probably be adapted to work in rust.

What I've found (that doesn't work)

slint::slint!( some slint in here ) in rust. This just moves the .slint file into rust but I haven't found out how to use the new component in a .slint file or in another slint::slint!(...) macro

The examples seem to suggest that any non-slint actions have to be passed all the way up to the main component / app window (see example)

Maybe @slint@fosstodon.org can help?

 

I was hoping for thousands of responses. The EU Commission better not dismiss it all.

 

I just ran into the wonderful error message

the trait is not dyn compatible because method publish_video is async

and boy, what a rabbit hole. I found out about async_trait which resolves this by turning async methods into fn method() -> Pin<Box<dyn Future + Send + 'async_trait>>, but I thought that's what the async fn was syntax sugar for??? Then I ran into this member-only medium post claiming

Rust Async Traits: What Finally Works Now

Async functions in traits shipped. Here’s what that means for your service interfaces.

But I clicked through every rust release since 1.75.0 where impl AsyncTrait was shipped and couldn't find a mention of async. Now I'm just confused (and still using async_trait). Hence the question above...

 

Isn't a "click" just physically making two connectors touch so that a circuit is made to send the signal of an action? There doesn't have to be any noise associated does there?

For example, if we used 2 springs, one to hold up the button and another to make the contact with the circuit, the click would be silent. Or maybe something already exists that I can swap out into my mouse?

 

I stumbled upon this video and it's mostly about using AI to fight against scammers and hackers that use AI themselves.

Hidden inside Romania is a real cyber-crime-fighting team almost no one knows about: the Draco team. These are elite malware analysts, forensics experts, and penetration testers who volunteer to hunt down cybercriminals. In this video, we go behind the scenes with Bitdefender to uncover how the Draco team helped dismantle massive ransomware groups like GandCrab and REvil, saving victims over $1 billion. We also talk about deepfakes, voice-cloning scams, and multi-platform attack chains in the next era of cybercrime.

 

cross-posted from: https://programming.dev/post/43351044

https://media.ccc.de/ is the publication website for the Chaos Computer Club, the largest hacking collective in the world based in Germany.

GrayJay is an application to consume media from anywhere a plugin has been written for (Youtube, Peertube, SoundCloud, TED Talks, BitChute, BillBilli, ...). Think yt-dlp with a frontend and subscription features.

Installation

Add a new source and use the URL of the JSON manifest on radicle

https://seed.radicle.garden/raw/rad%3AzWzu5sgdan7wuErGDRz1u4JTFEF7/head/MediaCCCConfig.json

 

This contribution, delivered by Sven Thomsen, CIO of the German federal state of Schleswig-Holstein, outlines the state’s pioneering path toward digital sovereignty through Open Source and Open Innovation. It highlights the risks of dependency on proprietary software - including lack of transparency, inflated costs, and reduced security - and positions Open Standards and Open Source as essential for autonomy, resilience, and competitiveness. The speech details Schleswig-Holstein’s concrete migration from proprietary to Open Source solutions across its administration, supported by strategic planning, procurement reforms, and budget shifts. Initiatives such as the state’s Open Source Program Office (OSPO) and innovation hubs foster collaboration between government, industry, academia, and civil society, ensuring sustainable adoption and stimulating regional economic growth. Emphasizing both national security and Europe-wide competitiveness, the keynote calls for collective action to establish Open Source as the new normal in public IT systems, framing the transformation as a shared European mission for digital independence.

 

I read an old thread documenting the opinions of Lemmy maintainers an the .ml instance. The issue of funding a project with people openly expressing opinions many find distasteful and it being the biggest reddit alternative on the fediverse came up, so here's a topic to discuss it.

What should we do? What are the options?


Answer: No fork necessary, there are Piefed and Mbin.

 

PrivacyGuide.net mostly has US providers for these and given the current situation with the US, let's say using US services doesn't feel very private at all, regardless of how strong the claims are.

I'm not looking for total privacy, but just to start being more private until the EU gets its ducks a row regarding payment systems (VISA and Mastercard still dominate and make you transparent or at least translucid).

view more: next ›