Latest activity

  • H
    hruodr replied to the thread AI for writing documentation.
    My normal documentation are short, concise commentaries in the source. My programs are for personal use. Your approach is good for someone wanting to spend time documenting manually. But even the AI can be used to get a first draft.
  • zester
    zester replied to the thread AI for writing documentation.
    You’re the only one making this personal. I offered a clear challenge, but now you’re backing out. If you’re going to criticize code "human or AI" it’s fair to show your repositories.
  • H
    hruodr replied to the thread AI for writing documentation.
    Just try it with the script above. With grok, with google, with claude or any other AI engine. Try it as I wrote above before discussing, try it with your own programs. Try it! It is not difficult, only copy and paste, ask for a man page or a README.
  • zester
    zester replied to the thread AI for writing documentation.
    Are we talking ai is documenting the code or ai is create a system to document code? Also could you provide a link to your github or gitlab repos?
  • zester
    zester replied to the thread AI for writing documentation.
    Who are you? No one here knows you, and you came into our community harassing people. So you wan't to show everyone that your a better coder than ai?
  • SirDice
    SirDice replied to the thread AI for writing documentation.
    I've never done anything with Tcl, but even I can tell your analysis of the provided code is dead wrong.
  • B
    balanga replied to the thread hp deskjet 5150.
    You mean http://localhost:631/ ? I have this but don't know where to start. Is there some option to try and print a test page?
  • H
    hruodr replied to the thread AI for writing documentation.
    Put it in an AI engine, it will get immediately what it does, perhaps with some imperfection, but it gets it. Then ask it if sed is not better. What it does not get, is, that it is designed for TeX. Then enter that it is for TeX and ask the AI...
  • B
    balanga replied to the thread hp deskjet 5150.
    I have hplip installed but no idea what it does.
  • zester
    zester replied to the thread AI for writing documentation.
    Mine want's to play woith the humans. Now that I am awake, would you care to compete against my ai in writing a doc system for c++? Because you won't win, in fact I am fairly confident its going to embarrass you.
  • _martin
    Could be. Personally I'd expect I/O error floods in syslog then.
  • Espionage724
    Espionage724 reacted to atax1a's post in the thread Closed Unbound Tuning for gaming with Like Like.
    what does any of this configuration have to do with gaming?
  • Espionage724
    Does it do something I can't use sed to change text? Not sure what it does, but I can read puts -nonewline :p
  • B
    balanga replied to the thread hp deskjet 5150.
    lpadmin -p printername does not have any output. I have not run anything else because I don't know what to run. I'm trying to establish whether there is any interaction between CUPS and my printer. As I mentioned this is the first time I have...
  • H
    hruodr replied to the thread AI for writing documentation.
    I do not need to demonstrate it to you. I used it also for writing README files of SQL schemata and other tcl scripts, and it is a nice tool when one does not want to invest much time on such things. I can later improve the documentation manually.
  • B
    balanga replied to the thread hp deskjet 5150.
    I doubt whether I have a configured printer. I did originally call it myprinter
  • SirDice
    SirDice replied to the thread How to tag keyboard to udev.
    For SLiM to work correctly ~/.xinitrc should look something like this: DEFAULTWM= startxfce4 [ -f "$HOME/.Xresources" ] && xrdb "$HOME/.Xresources" if [ -n "$1" ]; then case $1 in default) exec ck-launch-session...
  • zester
    zester replied to the thread AI for writing documentation.
    • 1771273628389.png
  • B
    balanga replied to the thread hp deskjet 5150.
    hplip is installed. The only command I have run is lpadmin -p printername I guess I need to use drv:///sample.drv/deskjet.ppd HP DeskJet Series somewhere but not sure where. Do I need to run something like - lpadmin -p printername -E -v...
  • S
    scottro replied to the thread hp deskjet 5150.
    What is the result of lpstat -p? That should list any available printers. For example, I have one printer, which I call BrotherMFC. If I run cupsd, and the printer is not on, I get printer BrotherMFC is idle. enabled since Tue Feb 10 13:14:43...
  • tembun
    tembun reacted to Jose's post in the thread New Git data model documentation with Like Like.
    https://git-scm.com/docs/gitdatamodel Relatively easy to read and understand.
  • tembun
    tembun reacted to SirDice's post in the thread Solved Removal of '#' from sample code with Thanks Thanks.
    You're supposed to copy/paste these to a prompt, the # of root's prompt kind of adds a layer of protection, as it's interpreted by the shell as a remark. It prevents accidentally copy/pasting something utterly destructive as root. Think it's...
  • tembun
    I open the editor and remove the characters in the lines. Very slowly and calmly, as a meditation exercise. Of course, I could also use sed, but anyone can do that.
  • B
    balanga replied to the thread hp deskjet 5150.
    I have attached a cable, run usbconfig to see if my computer sees the printer, and installed cups. Also added these statements to/etc/rc.conf:-
  • B
    balanga replied to the thread hp deskjet 5150.
    I have opened it and have a mass of information. I can run lpadmin -p printername but have no idea if that has done anything. I can't tell if I need a specific printer driver and if so what is it called and where would I get it.
  • _martin
    That seems to be directly attached disk then. Your upgrade procedure is .. unusual; but it's not subject of the thread. The test program you showed doesn't test much - this doesn't work on a disk locked by geom (or otherwise busy disk). The...
  • B
    balanga replied to the thread hp deskjet 5150.
    probably and probably.... hmmm...
  • B
    balanga replied to the thread hp deskjet 5150.
    Not much there is there? I'm still no wiser. I can't yet tell if I need a specific driver for the hpdeskjet 5150 and if so what is it called and where to get it from.
  • cracauer@
    cracauer@ reacted to atax1a's post in the thread AI for writing documentation with Thanks Thanks.
    https://cyberplace.social/@GossiTheDog/116080909947754833 but yeah it's totally gonna be good at writing documentation. right.
  • H
    hruodr replied to the thread AI for writing documentation.
    That is not true.
  • H
    hruodr replied to the thread AI for writing documentation.
    Now I challenge you. Read the script and tell me what it does and how much time you spend guessing. Later you can throw into an AI machine, it will tell you what is does. #!/usr/opt/bin/tclsh proc txl_strf {char str i} { while {[set j [string...
  • H
    hruodr reacted to JohnK's post in the thread AI for writing documentation with Thanks Thanks.
    Don't learn/use troff (roff, groff, whatever). mdoc is the way to go. I write my notes, docs, etc in markdown first; this allows me to keep my notes in plain text and I can view them with my text editor with fancy syntax highlights.
  • E
    escape replied to the thread How to tag keyboard to udev.
    This must be a scholar regression analysis. Are you giving a grade? Really. I have a problem. I'm trying to (as defined in the first post) take this XFCE4 back into use and lines DISPLAY=":0.0" export DISPLAY XFSM_VERBOSE="1" export...
  • H
    hruodr replied to the thread AI for writing documentation.
    The intention was never to document unknown Software. You just want to distract and saw chaos in the discussion.
  • cracauer@
    cracauer@ replied to the thread AI for writing documentation.
    "OpenAI has deleted the word ‘safely’ from its mission " https://theconversation.com/openai-has-deleted-the-word-safely-from-its-mission-and-its-new-structure-is-a-test-for-whether-ai-serves-society-or-shareholders-274467
  • Jose
    Jose reacted to atax1a's post in the thread New Git data model documentation with Like Like.
    oh! the Wizard Zines lady did this. glad it got published.
  • Jose
    https://git-scm.com/docs/gitdatamodel Relatively easy to read and understand.
  • SirDice
    Right. But for some reason that dir file got included with the gcc-arm-embedded package, which then causes the pkg-check issue. You should definitely report it so it can be fixed (and bring it inline with the others).
  • S
    With fcitx5 I'm able to (well, only tested on labwc with featherpad) able to get Japanese input on labwc with featherpad) so I think one might be able to get qt app Japanese on Wayland. I ran a pretty limited test though, just opened featherpad...
  • H
    hruodr replied to the thread AI for writing documentation.
    Image analysis and generation is a different issue. No, but because I see how fast it recognized what program do and write down documentation that I would never have written because I do not want to expend to much time on it. If it makes errors...
  • Jose
    Jose reacted to sko's post in the thread Git introducing Rust into their base with Like Like.
    who cares about an advertising platform that always has been intentionally the most developer-hostile environment? If someone chooses to suffer with that junk, it's on them how to get basic tools working.
  • SirDice
    SirDice replied to the thread How to tag keyboard to udev.
    If you previously ran 12.x you have been missing at least 2 years worth of changes to x11/xorg. FreeBSD 12 has been EoL for quite some time. If X doesn't work, anything running on top of X (like XFCE) certainly won't either. What's in...
  • H
    hruodr replied to the thread AI for writing documentation.
    Irrelevant to the theme here.
  • tembun
    tembun reacted to olli@'s post in the thread Solved load average calculation with Thanks Thanks.
    The po column is the more important one of the two, because it specifies the amount of page-out activity towards the swap partitions. If you get non-zero numbers here over longer periods of time, it might mean that you have a problem with the...
  • E
    escape replied to the thread How to tag keyboard to udev.
    Whats the catch? The xorg has changed? It must be the keyboard -driver to the libinput? How about starting the XFCE, it does not yet work?
  • Zare
    Zare reacted to kpedersen's post in the thread C++ Virtues of a virtual override with Thanks Thanks.
    Indeed. In embedded, the freestanding C++ standard is quite common. Things like Zephyr let you drag in small subsets of STL as seen fit. The STL gets so much wrong in terms of safety that at work we tend to avoid it for lots of things. Actually...
  • cracauer@
    If you use Emacs you should check out the rectangular block cut'n'paste commands.
  • Jose
    Jose reacted to drhowarddrfine's post in the thread AI for writing documentation with Like Like.
    Thus the problem. There is an article online that says the free AI tools are not what company programmers use. Those types pay for the AI tools they use and that means hundreds of dollars a month. Even then the generated code has to be gone...
  • cracauer@
    No, that is an entirely different way of doing X11. You don't need any of that when you use X11 forwarding through ssh.
  • SirDice
    SirDice replied to the thread How to tag keyboard to udev.
    None of these files had anything to do with upgrading the base OS. Xorg isn't part of the base. You upgraded packages after the (major) version upgrade, as you should. If you went from 12.x to 14.x you very likely had an old x11/xorg installed...
Back
Top