search for: chatgpt

Displaying 20 results from an estimated 25 matches for "chatgpt".

2023 Feb 13
2
An interesting chat with ChatGPT
Duncan - Indeed, this has now been well documented; I have called these constructions "Schr?dinger Facts", since they arise from a superposition of truths in the training data that collapse into an untruth when observed. https://sentientsyllabus.substack.com/p/chatgpts-achilles-heel Now, the curious question is: why can it program. Why is its production of R-syntax less vulnerable to this effect than a literature quote, or reference? Maybe it has to do with the fact that in producing correct syntax there is a ground truth - errors just will not run. But I'm...
2023 Feb 13
1
An interesting chat with ChatGPT
..." and "b" matches the target string. What appears to happen is that the first match wins, and that's how it is documented in Python, but I was looking for docs on this in R. As far as I can see, the ?regex help page doesn't resolve this. So just for fun, I decided to ask ChatGPT, and got an interesting response. I won't show the whole conversation here, but just some extracts: --------------------------------------- Me: In a regular expression in R, if both "a" and "b" match, which does "(a)|(b)" match? Please include authoritative r...
2023 Aug 13
3
OFF TOPIC: chatGPT glibly produces a lot of wrong answers?
**OFF TOPIC** but perhaps of interest to some on this list. I apologize in advance to those who may be offended. The byline: ******************************** "ChatGPT's odds of getting code questions correct are worse than a coin flip But its suggestions are so annoyingly plausible" ************************************* from here: https://www.theregister.com/2023/08/07/chatgpt_stack_overflow_ai/ Hmm... Perhaps not surprising. Sounds like some expert c...
2023 Apr 07
2
python module
I am looking for the python-samba module. I would like to add/disable/modify AD accounts using python running on a linux machine. ChatGPT suggested the python-samba module. Sample code as follows: from samba.credentials import Credentials from samba.netcmd.user import create as create_user from samba.netcmd.user import setpassword as set_user_password ... I am running Debuan bullseye and I can import the samba module. But there is...
2024 Apr 13
1
Just for your (a|be)musement.
I recently had the chance to read a book explaining how to use ChatGPT with a certain programming language. (I'm not going to describe the book any more than that because I don't want to embarrass whoever wrote it.) They have appendix material showing three queries to ChatGPT and the answers. Paraphrased, the queries are "if I throw 2 (3, 4) fair dice,...
2023 Apr 07
1
python module
On 07/04/2023 20:20, David Bear via samba wrote: > I am looking for the python-samba module. I would like to > add/disable/modify AD accounts using python running on a linux machine. > ChatGPT suggested the python-samba module. Sample code as follows: > > from samba.credentials import Credentials > from samba.netcmd.user import create as create_user > from samba.netcmd.user import setpassword as set_user_password > > ... > I am running Debuan bullseye and I can im...
2023 Apr 07
1
python module
Thanks Rowland. I really appreciate your rapid responses and many years of work helping the python community. To answer your question, I could wrap samba tool -- but I thought it would be easier -- and more pythonic to keep the code pure python. As for what chatgpt knows... for the curious I'll paste the relevant responses below. Chat did suggest making calls to the samba-tool. I thought things would go faster for the script if it didn't have to spawn a new shell to execute samba-tool in. ---- now, on the chat answers..---- There are several Python l...
2023 Mar 07
1
insert hyperlink into svg graphic
This was actually the first thing that ChatGPT debugged for me. The issue was that I was able to click on the link when I displayed the raw SVG in the browser (you can use that to test whether the syntax is even correct), but not when the svg displays inside a html page with the <img ...> tag. ChatGPT correctly identified the issue and...
2024 Apr 15
2
Synthetic Control Method
...quot;2010-01-01"):as.Date("2017-10-01"), time.plot = as.Date("2010-01-01"):as.Date("2024-03-01"), unit.names.variable = "BFS" ) synth_out <- synth( data.prep.obj = dataprep_out ) I keep getting the same error message. Unfortunately, ChatGPT and solutions from various forums do not help. My unit variables are all numeric except one, which is a date and has POSIXct as type. Fehler in dataprep(foo = INVESTMENTVOLUME, predictors = c("Predictor 1", : unit.variable not found as numeric variable in foo. I would be ver...
2023 Nov 21
1
Cambiar el intervalo de confianza en un anova
...estigación Operativa Institución: Escuela Superior de Ingeniería Organización: Universidad de Cádiz -------------------------------------------------- El mar, 21-11-2023 a las 12:43 +0000, Relloso Barrio, Juan Bautista escribió: > Gracias Carlos. > Yo también he visto el ejemplo que te pone chatGPT, pero la salida que te da no soy capaz de interpretarla. > Os paso las ordenes y las respuestas de R de la propuesta de chatGPT >   > Ejemplo.aov<- aov(P~TRAT+CORTE+REP) > > summary (Ejemplo.aov) >            Df Sum Sq Mean Sq F value Pr(>F)    > TRAT         6 0.0028 0.0...
2023 Nov 21
1
Cambiar el intervalo de confianza en un anova
Gracias Carlos. Yo también he visto el ejemplo que te pone chatGPT, pero la salida que te da no soy capaz de interpretarla. Os paso las ordenes y las respuestas de R de la propuesta de chatGPT Ejemplo.aov<- aov(P~TRAT+CORTE+REP) > summary (Ejemplo.aov) Df Sum Sq Mean Sq F value Pr(>F) TRAT 6 0.0028 0.00046 0.777 0.590 CORTE...
2023 Mar 07
2
insert hyperlink into svg graphic
Perhaps this thread on stackoverflow (from a search on "include hyperlink in svg graphic") may be of use: https://stackoverflow.com/questions/41970535/a-hyperlink-in-svg-use Cheers, Bert On Tue, Mar 7, 2023 at 12:34?AM Rusty Travis <rusytravis19 at gmail.com> wrote: > Greetings, > > I am creating plots of weather data and wish to include a link to the > data source
2023 Jul 22
2
plotly
ChatGPT-4: ------ Query: ---------------------------------- Thank you. The `value` in the code example is 2874. The plot shows a large number at the center and a smaller value computed as a delta relative to the `reference` of 4800. But the large value is given as 2870, and the smaller value is given as...
2023 Aug 11
1
Expresión en un objeto
Esta es la respuesta que te da ChatGPT-4: Entiendo tu pregunta y, aunque no hay una función nativa en R que te permita hacer exactamente lo que estás pidiendo, puedes lograr el mismo resultado utilizando una función. Una función te permitiría encapsular la lógica de la expresión que quieres reutilizar y luego llamar a esa función donde...
2023 Aug 11
1
Expresión en un objeto
Muchas gracias, Manuel: Que bueno! No se me había ocurrido lo de GPT! Lo pruebo. Saludos. On Fri, 11 Aug 2023 18:15:18 +0200 Manuel Mendoza <mmendoza en fulbrightmail.org> wrote: > Esta es la respuesta que te da ChatGPT-4: > > Entiendo tu pregunta y, aunque no hay una función nativa en R que te > permita hacer exactamente lo que estás pidiendo, puedes lograr el mismo > resultado utilizando una función. Una función te permitiría encapsular la > lógica de la expresión que quieres reutilizar y luego l...
2023 Aug 12
1
Expresión en un objeto
...om>) escribió: > Muchas gracias, Manuel: > > Que bueno! No se me había ocurrido lo de GPT! > > Lo pruebo. > > Saludos. > > On Fri, 11 Aug 2023 18:15:18 +0200 > Manuel Mendoza <mmendoza en fulbrightmail.org> wrote: > > > Esta es la respuesta que te da ChatGPT-4: > > > > Entiendo tu pregunta y, aunque no hay una función nativa en R que te > > permita hacer exactamente lo que estás pidiendo, puedes lograr el mismo > > resultado utilizando una función. Una función te permitiría encapsular la > > lógica de la expresión que quie...
2023 May 26
1
Problems solved
...st worked instantly. For my next trick: setting up voicemail. The book does it all with smoke and mirrors (SQL), but I'm fresh outa those, so I'll be doing it the old-fashioned way, by editing the voicemail.conf and users.conf files with some hopefully helpful hints from our friends at ChatGPT.
2024 Oct 25
1
Good practice for packages with Fortran and C code
My older packages have some Fortran and C routines. The Fortran is ancient and I am started to convert it to Fortran 2018 (thanks ChatGPT). To have a mixture of Fortran and C code in a package I have had a src/init.c file that provides names for routines of the form F77_name, and I called the routines with .Fortran(F77_name, ...) and in NAMESPACE had useDynLib(package name, .registration=TRUE, .fixes="F_"). Now I find tha...
2023 Jul 22
1
plotly
What do you mean "Rounded"? What do you expect, what do you get instead? ? > On Jul 22, 2023, at 10:40, Thomas Subia via R-help <r-help at r-project.org> wrote: > > Colleagues, > Thanks for the update. > My colleagues at work have run this script but the resulting graph output for value is rounded. How can one turn this annoying feature off? > I've
2024 Jul 12
1
smbd interoperability with sssd on Kerberos no winbind
...: So it is reading someone's Windows SID, as I made a mount -o sec=krb5 from another AD-joined Linux machine to it. The SID combined with the RID seems to mean the Domain Admins. Then, obviously this group is not present in the passdb.tdb because the tdb does not reflect the entire AD. I asked ChatGPT and Google Gemini a lot about this, and they all insist I should change security = user to security = ads, but, according to man smb.conf, security = ads can only be used when the net utilities were used to join the computer into the domain, which was not the case. Changing to security = ads resul...