onlinepersona

joined 2 years ago
MODERATOR OF

Github users right now: I don't care, I'll depend on it harder now!

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

IPhones dont have copy and paste???

Do you have the original link? archive.ph spreads malware and attempts to DDOS people the owner doesn't like.

If you think creating something means you must maintain it out of a sense of"responsibility", no amount of money can prevent burnout, unless it goes to therapy. For other people, money will definitely prevent burnout.

If I had UBI and could work on anything I like without being forced to work on a specific thing, the most I'd get is choice paralysis, not burnout. That would probably be similar for other devs. It wouldn't surprise me if a majority would immediately drop their current jobs if they could work on whatever they like and still get paid. Burnout would be rare.

[–] onlinepersona@programming.dev 5 points 6 hours ago (1 children)

Same. Hobbywise, my stuff is still packed up after a move.

Professionally, I'm cleaning up AI slop. It pays!

Foo fighters start playing

Pre and post install hooks are a mistake, jfk

Requiring an LLM to use a tool is not "sane". Very much the opposite, I'd argue.

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

Too many brackets

Aaaand that page has endless scrolling. Hmmmmmm

Ban life, it carries the risk of death.

Build it upon the certainty that nothing is certain. Religion is a walking oxymoron anyway!

 

And that without calling in twice. Laptop cameras as normally very crap. They say "1080p", but most of the time they are 720p or less and have maybe 2 megapixels or less. Phones have way more and can be connected to the laptop via USB. There must be a way to use their camera over USB, right?

I know of USB over LAN, so surely this is possible.

 

Can't wait for the virus that uses this to replace a windows install with a Linux install that's riced to look like windows. Will the normies even notice?

 

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.

view more: next ›