Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #70: nesting roaches shorted out the ether cable


comp / comp.os.linux.advocacy / The Power of AI!

SubjectAuthor
* The Power of AI!Chris Ahlstrom
`- Re: The Power of AI!candycanearter07

1
Subject: The Power of AI!
From: Chris Ahlstrom
Newsgroups: comp.os.linux.advocacy
Organization: None
Date: Tue, 22 Oct 2024 10:59 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: The Power of AI!
Date: Tue, 22 Oct 2024 06:59:06 -0400
Organization: None
Lines: 42
Message-ID: <vf80ia$1etvo$1@dont-email.me>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Tue, 22 Oct 2024 12:59:22 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="000aa55e0092510a018350e779ccaa75";
logging-data="1538040"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18200/MLWzX7A2ZaG2TbflJ"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:fMoFaqrMpBmQ6AVEyJuAavmbzfc=
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
View all headers

The googoo query: "C++ start the jack server".

The AI overview:

Starting the JACK server directly from C++ code is not a common practice.
You usually start the JACK server using external tools like jackd from the
command line or using a graphical tool like QjackCtl. However, if you
really need to control the JACK server from your C++ code, you can use a
library like libjack. Here's a basic example:

#include <jack/jack.h>

int main() {
jack_status_t status;
jack_client_t* client =
jack_client_open("MyClient", JackNullOption, &status);

if (client == NULL) {
fprintf(stderr, "jack_client_open() failed, status = 0x%2.0x\n",
status);
if (status & JackServerFailed) {
fprintf(stderr, "Unable to connect to JACK server\n");
}
exit(1);
}

// ... your JACK client code here ...

jack_client_close(client);
return 0;
}

In other words, wrong. Actually not even wrong; it does not answer the
question.

Heh heh:

--
One of the things that hamper Linux's climb to world domination is the
shortage of bad Computer Role Playing Games, or CRaPGs. No operating system
can be considered respectable without one.
-- Brian O'Donnell, odonnllb@tcd.ie

Subject: Re: The Power of AI!
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Fri, 25 Oct 2024 18:40 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: The Power of AI!
Date: Fri, 25 Oct 2024 18:40:04 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 42
Message-ID: <slrnvhnp8o.4t2o.candycanearter07@candydeb.host.invalid>
References: <vf80ia$1etvo$1@dont-email.me>
Injection-Date: Fri, 25 Oct 2024 20:40:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c888727e652c6f0f842ad30fb4e9232d";
logging-data="3469183"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ApiE9jfJIC7BqVJESerdUaC4Vk3hxOTrWBF5cfmHjHg=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:rac2xaNFTKLZVipxSXHvsJMKuLQ=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Chris Ahlstrom <OFeem1987@teleworm.us> wrote at 10:59 this Tuesday (GMT):
> The googoo query: "C++ start the jack server".
>
> The AI overview:
>
> Starting the JACK server directly from C++ code is not a common practice.
> You usually start the JACK server using external tools like jackd from the
> command line or using a graphical tool like QjackCtl. However, if you
> really need to control the JACK server from your C++ code, you can use a
> library like libjack. Here's a basic example:
>
> #include <jack/jack.h>
>
> int main() {
> jack_status_t status;
> jack_client_t* client =
> jack_client_open("MyClient", JackNullOption, &status);
>
> if (client == NULL) {
> fprintf(stderr, "jack_client_open() failed, status = 0x%2.0x\n",
> status);
> if (status & JackServerFailed) {
> fprintf(stderr, "Unable to connect to JACK server\n");
> }
> exit(1);
> }
>
> // ... your JACK client code here ...
>
> jack_client_close(client);
> return 0;
> }
>
> In other words, wrong. Actually not even wrong; it does not answer the
> question.
>
> Heh heh:

Was the message cut off by my provider, or did you mistype a period?
--
user <candycane> is generated from /dev/urandom

1

rocksolid light 0.9.8
clearnet tor