on-internet

Tidal Bans AI-Generated Music

submitted by Beep to technology 10 points | 1 comments https://stereogum.com/2521184/tidal-bans-ai-generated-music/news cross-posted from: feddit.online/c/…/tidal-bans-ai-generated-music

Join the discussion →

Mayo Clinic To Give Appointment Workers 5 Paid Minutes a Day To Boot Up Computers

Mayo Clinic has agreed to pay more than $906,000 in back wages to employees who schedule patient appointments. An investigation by Minnesota Attorney General Keith Ellison found that employees were performing unpaid work before and after their shifts, including time spent booting up computers and finishing patient calls. Under the settlement (PDF), Mayo will stop rounding employees' work hours and give them five paid minutes at the start of each shift to boot up their computers. CBS News reports: In a statement, Mayo Clinic said it reached the agreement to resolve concerns about "certain timek

Join the discussion →

Is AI actually going to take over the world?

submitted by Typiswag to asklemmy 1 points | 0 comments I’ve heard so many different viewpoints and I’m curious what you all think. Are we actually going to become slaves to AI or was all the hype about AI just to boost the spacex and anthropic IPOs??

Join the discussion →

Detecting input prompts from SSH2 commands

How can we detect a remote input prompt after executing an SSH2 command? At first, I was sure to just handle data event on the stream.stdin, but I found through testing that it is not the case, and the handler gets notifications even when there is no input prompt of any kind. import {Client as SSH2Client} from 'ssh2'; function executeCommand(client: SSH2Client, cmd: string) { client.exec(cmd, (err, stream) => { stream.stdin.on('data', (chunk: Buffer) => { // why is it called when there is no input prompt? }); }); } But if this doesn't work, then how else can we detect input prompts? Normal (no

Join the discussion →

Set custom SSL context vs. SSLSocketFactory

I tried Apache CXF for a SOAP client with special TLS/SSL requirements (certs, trusts, crypto, ...). I generate an SSL context in method getSslCtx. This context works - I can successfully use it outside of CXF, e.g. HttpClient. Now I tried it for CXF: if I set it with setSSLContext it does not work. Get SSL errors like no SSL context set at all: SSLException - TlsFatalAlert - certificate unknown (46)... If I set it by setSSLSocketFactory it works without problems. Why is that? I would expect both ways are OK. MyService service = new MyService (); MyServicePortType port = service.getMyServicePo

Join the discussion →

CXF: set custom SSL-context vs. SSLSocketFactory

I tried Apache CXF for a SOAP client with special TLS/SSL requirements (certs, trusts, crypto, ...). I generate a SSL-context in method getSslCtx. This context works - I can successfully use it outside of CXF - e.g. HttpClient. Now I tried it for CXF: If I set it with setSSLContext it does not work. Get SSL errors like no SSL ctx set at all. SSLException - TlsFatalAlert - certificate unknown (46)... If I set it by setSSLSocketFactory it works without problems. Why is that?? I would expect both ways are ok. MyService service = new MyService (); MyServicePortType port = service.getMyServicePort

Join the discussion →

Go Without Wires: TinyGo on ESP32

[edited to call out the connection to TinyFlight first thing, since the YouTube title doesn't call it out] I originally tried to submit the URL for the Github project, https://github.com/hybridgroup/tinyflight, but was thwarted by submission system. I wanted to call attention to the project because it is very nicely documented, full of clear (to me, an intermediate gopher) examples of TinyGo code to interact with devices, handle multicore concurrency on an MCU, and build a testable design for a microcontroller application. Started off with the architecture doc and have been reading and playing

Join the discussion →

GTA 6 Hacker Released On License With Warning 'Don't Let This Happen Again'

Arion Kurtaj, the 21-year-old Lapsus$ hacker responsible for the 2022 leak of Grand Theft Auto VI, was released on license the same day he was sentenced to seven years in prison. He is subject to a five-year Serious Crime Prevention Order restricting his online activities, including banning him from Telegram and Discord. "You are a very talented young man," the judge told Kurtaj, warning him: "Don't let this happen again." The BBC reports: [...] With his computer confiscated, Kurtaj hacked Rockstar using an Amazon Fire Stick plugged into his hotel room television along with a Bluetooth keyboar

Join the discussion →

Determining the size of my continents

I am working on a fantasy map, and have that one of the continents is roughly 200,000 km². However I am stumped on what that makes the size of every other area on my map. I have attached the images that are relevant below. One is the height map, the other are national borders. The blue country is the one that is 200,000 km².

Join the discussion →

Determining the size of my contients

I am working on a fantasy map, and have that one of the continents is roughly 200,000 km². However I am stumped on what that makes the size of every other area on my map. I have attached the images that are relevant below. One is the height map, the other are national borders. The blue country is the one that is 200,000 km². https://imgur.com/a/7rIKImk

Join the discussion →

How to manage audio player volume on a real device?

I'm finishing up an app update and I realized that the code I'm using to lower the volume only works on the simulator, it does not work on when I test my app on a real device. Below is my code summarized: func playSoundEffect(soundName:String) { var soundExtension:String = "mp3" guard let url = Bundle.main.url(forResource: soundName, withExtension: soundExtension) else { return } let player: AVAudioPlayer do { player = try AVAudioPlayer(contentsOf: url) } catch { return } // THIS HAS NO EFFECT ON A REAL DEVICE player.volume = 0.10 audioQueue.async { player.play() } player.delegate = self playe

Join the discussion →

How to manage volume with SwiftUI on a real device?

I'm finishing up an app update and I realized that the code I'm using to lower the volume only works on the simulator, it does not work on when I test my app on a real device. Below is my code summarized: func playSoundEffect(soundName:String) { var soundExtension:String = "mp3" guard let url = Bundle.main.url(forResource: soundName, withExtension: soundExtension) else { return } let player: AVAudioPlayer do { player = try AVAudioPlayer(contentsOf: url) } catch { return } // THIS HAS NO EFFECT ON A REAL DEVICE player.volume = 0.10 audioQueue.async { player.play() } player.delegate = self playe

Join the discussion →
Older stories