[-] onlinepersona@programming.dev 2 points 7 hours ago

Not one line, I tell you. Not a single one.

[-] onlinepersona@programming.dev 1 points 8 hours ago

Reading comprehension really is a problem 🫠

[-] onlinepersona@programming.dev 2 points 18 hours ago

I'm not the one complaining, Mr "SKG is trash". I have a preference, but have no need for changes nor am I saying something's wrong.

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

It unfortunately isn't. It looks exactly as I would expect.

You prioritise it another way, which is fine. Just don't make the assumption everybody thinks like you do.

It looks like you're looking to customise order of search results. That's a feature you can suggest. I find files first very useful as it what I search for more often than settings, so I would have a different customisation.

[-] onlinepersona@programming.dev 7 points 1 day ago* (last edited 22 hours ago)

Which results "matter"? This isn't a helpful post. You aren't describing what existed before, what you expect, what qualifies as good, and what qualifies as bad. You just say "it's bad".

If I walked into you house and said "your fridge is worse", I imagine you would be puzzled too.

8

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?

Hilarious. First the US bans China from acquiring tech, now its companies are running to China for Chinese tech. Can't make this up.

Which language is it written in and with which framework?

Not yet It simply can't yet. Forgejo hadn't had the devs nor funding to implement it.

[-] onlinepersona@programming.dev 16 points 2 days ago

Why the hell is this even possible? Why should a web page have access to the extensions you run?

[-] onlinepersona@programming.dev 11 points 3 days ago

I already see this is going to be a fruitless discussion with those proposed discussion points. "His attempt to reduce government spending" 🤣 "attempt".

[-] onlinepersona@programming.dev 17 points 3 days ago

That it's owned by ... the person who owns it.

4

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

20

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...

3

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?

-6
submitted 1 month ago* (last edited 1 month ago) by onlinepersona@programming.dev to c/security@programming.dev

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.

27

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

17
29

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.

4
submitted 1 month ago* (last edited 1 month ago) by onlinepersona@programming.dev to c/fediverse@lemmy.world

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.

35

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).

5

Bloody Roar is a Fighting Arena game made by 8ing/Raizing in 1997. It features a 3D space where movement works more like 2.5D. The Battles are fast, bloody and furious.

Eight Mysterious warriors appear, all with the ability to transform into half beasts. Blessed with super-human strength and agility, what will they choose to do with their new found abilities?

You can play as Yugo the Wolf, Alice the Rabbit, Hans the Fox, Mitsuko the Wild Boar, Gado the Lion, Bakuryu the Mole, Long the Tiger and lastly, Greg the Gorilla.

6

The European Union is slowly waking up to the fact that the US might not continue protecting it (a Republican senator introducing a bill to exit NATO, a new security direction talking about breaking up the EU) and the possibility of a Russian invasion. Multiple military and civilian facilities reporting drone sightings, Polish railway tracks being sabotaged, Portugal and Spain losing electricity for multiple hours, Russian submarines and warships along the EU coasts, severing fiber connections between Sweden and central Europe, the list goes on and on.

Obviously infrastructure will be attacked and communication cannot depend on Starlink, services from US tech companies, nor be centralised.

So, which networks (from software to hardware), can citizens join to bolster their communication in case of war? Meshtastic? Meshcore? Jami? Briar? Freifunk? What exists? What can work? Which limitations are there?

view more: next ›

onlinepersona

0 post score
0 comment score
joined 2 years ago
MODERATOR OF