WasPentalive
- 4 Posts
- 133 Comments
WasPentalive@lemmy.oneto Programmer Humor@lemmy.ml•Most programmers just google it anywayEnglish31·3 months agoI used chatGPT to work up a backup program that tracked rsync backups as I wanted and could report which backups needed to be run and which ones should be started fresh because too many rsync runs from my home dir to the target dir. It’s call Loci, and it’s on codeberg.
WasPentalive@lemmy.oneOPto Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish3·3 months agoMy system came with Python3 installed. Debian 12.
WasPentalive@lemmy.oneOPto Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish1·3 months agoAh, Improvements!
WasPentalive@lemmy.oneOPto Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish1·3 months agoLooks like a line by line translation from the python. Will you use it to backup your home directory?
WasPentalive@lemmy.oneOPto Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish2·3 months ago@[email protected] I see what you’re asking. You’re wondering if, instead of storing a duplicate file when another backup set already contains it, I could use a hardlink to point to the file already stored in that other set?
I have a system where I create a backup set for each day of the week. When I do a backup for that day, I update the set, or if it’s out of date, I replace it entirely with a fresh backup image (After 7 backups to that set). But if the backup sets became inter-dependent, removing or updating one set could lead to problems with others that rely on files in the first set.
Does that make sense? I am asking because I am not familiar with the utilities you mentioned and may be taking your post wrong.
WasPentalive@lemmy.oneOPto Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish32·3 months agoEspecially one that lets you know how long it’s been since you took time to run a backup, keeps track of which set of backups could be updated, and which should be refreshed, and keeps a log file up to date and in .csv format so you can mess with it in a spreadsheet?
WasPentalive@lemmy.oneOPto Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish3·3 months agoThat’s ok Like any landing you can walk away from. Any code that runs to spec is good, much could be better.
WasPentalive@lemmy.oneOPto Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish15·3 months agoYeah, no problem… I started out with just bare rsync - but I did the backup infrequently and needed my notes to know the command. Then I wrote a simple shell script to run the rsync for me. Then I decided I needed more than one backup, redundancy is good. Then I wanted to keep track of the backups so I had it write to .backuplog then that file started getting dated (every time I run a “sun” backup the record of the previous one is useless) so Finally TaDa! loci is born.
WasPentalive@lemmy.oneOPto Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish341·3 months agoIt’s also to help me learn python. And it works for me. : ^ )
WasPentalive@lemmy.oneto Technology@lemmy.ml•Cloudflare's next-generation "AI Labyrinth" promises to "waste resources" as-a-service, using today's machine learning models to sabotage tomorrow'sEnglish5·3 months agoLike Beer, AI is the cause, and the solution of all our problems. – Homer Simpson
WasPentalive@lemmy.oneto Selfhosted@lemmy.world•Advice on how to deal with AI bots/scrapers?English7·4 months agoToo bad you can’t post a usage notice that anything scrapped to train an AI will be charged and will owe $some-huge-money, then pepper the site with bogus facts, occasionally ask various AI about the bogus fact and use that to prove scraping and invoice the AI’s company.
WasPentalive@lemmy.oneto Technology@lemmy.ml•Belgium to harness AI to find criminals with first dedicated ministerEnglish3·5 months agoA minister whose job is to promote AI and also promote Privacy - seems like a built-in conflict of interests.
It did add some superlatives, almost as though it had an ego.
Tell me more. Why?
However, in the art arena AI is frustrating when you need a very specific image and not just a ‘a tree a dog a bird and a farmhouse’ AI art is getting better with text in the image but still makes some mistakes there. AI does poorly when you try to use it as a search engine : “What movie had a ball shaped robot” might bring back any answer. Warning though - AI is getting better at hands and spurious limbs.
What is AI good for - Images that are suitable for screen backgrounds, Creative text work - I had chatgpt work with me on a procedure to un-mothball a starship, it suggested details I did not think of. I had chatgpt also read and suggest re-wording and correction on text for documentation. I fed it a chapter at a time and proofread the output carefully to mitigate hallucination.
Here is the text above after a chatgpt re-write:
AI excels at creating stunning screen backgrounds and tackling creative text work. For example, I worked with ChatGPT to craft a procedure for un-mothballing a starship, and it offered valuable details I hadn’t considered. It’s also a fantastic tool for refining documentation—I had it review and reword chapters, carefully proofreading to ensure accuracy. The results were efficient, insightful, and elevated the final product.
WasPentalive@lemmy.oneto Technology@lemmy.ml•‘Now Is the Time of Monsters’ The Old World Is Breaking Down. A New One Is Breaking Through.English5·6 months agoA Bard, an advanced story teller, One who draws pictures of things that never were (people with 3 arms for example), Lore from Star Trek. Don’t give it power to do anything on its own, always monitor it.
When one of these guys attacks your site, do they send the info back to the spoofed address or does the scraped info go to their real IP address? Is there some way to get a fix on the actual bot and not on some home user that got his network facing IP address hijacked?
deleted by author cuz @scaverat beat me to it. : ^ )
A stein is a cup to drink beer from, If your beer is not very yellow, you might have a pale stein.