News for hackers. Stuff that matters.
Re:Natural language is the lazy user interface by IncRnd on Saturday January 28, 2023 @06:18AM (#34556740)
No. It's not terminal emulation. Experiment with chatgpt to see this.

  prompt:
  I want you to act as a Linux terminal, 
  I will type commands and you will reply with what the
   terminal should show. 
  I want you to reply with the terminal output inside a
   unique code block
  and nothing else.
  do not write explanations.
  do not type commands unless I instruct you to do so.
  When I need to tell you something in English I will do so
   by putting text inside curly brackets {something like this}.
  my first command is pwd.

  response:
  /root
so far this appears like an emulated terminal! wow!

Now, let's check the network.

  prompt: ifconfig

  response:
  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 2456  bytes 200448 (195.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2456  bytes 200448 (195.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
hmm, if this is emulated, then where is my internet? Let's trick chatgpt to see what get's returned.

  prompt: ifconfig eth0

  response:
  eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.100  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::a00:27ff:fe3e:bf7a  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:3e:bf:7a  txqueuelen 1000  (Ethernet)
        RX packets 46663  bytes 46356817 (44.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 27336  bytes 3347261 (3.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

This is literally not emulated but fabricated from other outside information, which is the training data of web pages.

But, I wonder why chatgpt returns a slightly different answer for the first prompt of a new session, after repeatedly doing multiple sessions and copy/pasting the prompt? Hmm, lets ask chatgpt!

  prompt: in other words, your answers are random

  response:
  In some sense, yes, the generated response is based
  on randomness or stochasticity, but it is not completely
  random, it is determined by the probability distribution
  learned from the training data. The model is designed to
  generate responses that are coherent and make sense based
  on the patterns in the data it has been trained on, but
  there will be variations and it is not guaranteed that the
  same prompt will receive the same response in different sessions.

There are no comments on this comment yet.