Spyke

Posts

I wrote a python script to backup my home directory

Loci is a python script that can backup a directory to a server using rsync - It keeps track of the backups that have been done. Multiple backups may be kept. Rsync is used to handle the backups so only the needfull is copied and single files can be recovered from the backup if needed. loci -b tag : Backup under the tag given (I used days of the week)

loci -l : List backups showing those tags unused, backups that are needed, and backups that been run more than 5 times. I refresh these.

loci -r tag : Refresh a tag's backup - delete the files under that tag and backuplog entries to prepare for a fresh backup using loci -b

~/.backuplog a file in .csv format that keeps track of backups done.

~/.config/loci/settings Settings file. Fully commented.

I wrote a python script to backup my home directoryhttps://codeberg.org/WasPentalive/Loci.gitOpen linkView original on lemmy.one
49

[Solved - Setting ]Why F9 after any edits? LibreCalc 7.3.4.2 vs 7.4.7,2

Solved by u/[email protected] Thanks! A setting: Choose Data - Calculate - AutoCalculate.

Hi all,

I’m experiencing an issue in LibreOffice Calc where I have several columns that check a single column for any value (i.e., not blank) before showing their own values. Whenever I make changes, I need to press F9 to correctly update and show the edited values.

For example, I’m using the following formula: =IF(s1+"","",IF(n1>5,"big","little"))

Instead of showing "big" or "little," it shows "0" until I press F9. After pressing F9, it updates to "big" or "little" based on the condition for s1.

Some context:

My setup: LibreOffice Calc 7.4.7.2, running on Linux Debian

My wife's setup: LibreOffice Calc 7.3.4.2, running on Windows, and her spreadsheet works as expected without needing to press F9.

This issue started about 11 days ago, and it used to work correctly before.

Has anyone experienced a similar issue or know how to fix it? Any help would be greatly appreciated!

Thanks in advance!

View original on lemmy.one
6
freedos·Everything DOSbyWasPentalive

A batch file for FreeDOS to ease tty font selection

Here is a batch file that will let you audition the different console fonts provided with FreeDOS. Mine is named TRY.BAT. At the end of mine I also run a program called cookie that gives a fortune cookie from a file, the reason I run that is cookie uses the line drawing characters to create a box around the fortune.

You can run TRY.BAT without any parameter to just see the list of fonts provided, then TRY NAME.FNT to see what that font looks like. gnuchcp -r will reset you back to the factory font if you want.

@ ECHO OFF
CLS
ECHO.
ECHO.
DIR /ON /B /W C:\UTIL\GNUFONTS\*.FNT
GNUCHCP  C:\UTIL\GNUFONTS\%1
ECHO WHY NOT?  0 O, 5 S, 1 l 
View original on lemmy.one
2

Call for opinion: Your choice of Shotwell / DigiKam / Darktable

Of course Darktable is not only a photo sorter, but also does a lot of photo touch up 'darkroom' work. Debian system with KDE desktop. i5 with some bargain basement NVIDIA gpu (No, really it does not even have it's own fan).

Which of the 3 do y'all like the best?

Edit - Update - More details:

I am dedicating a laptop to be my "portable darkroom"- My desktop machine is only an i5, this laptop is a nice Asus Vivobook with an i7 in it. I do have Rapid Photo Down Loader (which works well with my camera connected via USB C) Each photo drive or session goes in to a folder named by date 20250309 for today for example. These go inside a year folder. Inside the day folder I put the DCIM folder from the camera. I sort and grade on the computer. I have now tried Darkroom, and it seems to just pile every picture I have into one continuous unsorted stream of pictured with no grouping. I hope the other two do better in that regard.

View original on lemmy.one
14

Which Way to face camera in camera case

Ok, this may seem a silly question, and I suppose it is a matter of choice. I can put my camera in the case I bought for it with the lens facing down, out (to the right so the lens is against the outside wall of the case, in (to the left toward the other case compartment that holds a lens) or up toward the opening. What is safest? (detail if you need it this is a Canon EOS R50 in a Lowepro "Nova" case)

Another question - When I am to store my camera for a while should I remove the lens and afix covers to the body and the lens or may I just leave it on? Probably 2 weeks to a month between normal uses.

View original on lemmy.one

How Can I... Regain lost resolution

Some of the photos I take, to get the subject large enough in the frame I have to use electronic zoom. I don't have money for a nice zoom lens. I tried using an adapter for one of Dad's zoom lenses but it sometimes gives me issues. So I use a 4x zoom - which basically cuts off 3/4 of my sensor then expands the picture to full size (I guess by some sort of averaging math to create the discarded pixels)

Is there anything I can do in post to get some of that resolution back - even if it made up. I am a Linux user, so a workflow in GIMP would be great, or any other Free/Libre software you might suggest?

View original on lemmy.one
haikuos·The Haiku Operating SystembyWasPentalive

Floating Point Tiny

I have developed an 'esoteric' programming language - Floating Point Tiny !

You may have seen "Tiny" in Haiku Depot. Floating Point Tiny is a big brother to Tiny - replacing integer line numbers with double sized floating point line numbers, and doing math and comparisons in a double width floating point stack.

Floating Point Tiny is an RPN based language. You can find the C source and the manual at:

https://github.com/pentalive/FPTiny

To the kind person who put Tiny in the Depot for me - do you want to do it again?

View original on lemmy.one
3
esolangs·Esoteric LanguagesbyWasPentalive

GitHub - pentalive/FPTiny: Floating Point Tiny - an RPN based language for writing programs in

Floating Point Tiny is an RPN based esoteric language and is the big brother to Tiny (an integer version.) The source and documentation are available at https://github.com/pentalive/FPTiny

"Floating Point Tiny" does not quite roll off the tongue as well I would like. A better name would be appreciated.

GitHub - pentalive/FPTiny: Floating Point Tiny - an RPN based language for writing programs inhttps://github.com/pentalive/FPTinyOpen linkView original on lemmy.one
2

I am hunting all around - I want to change a color but I need to know the "face" that needs changing

Updates - Formatting, one more small information.

I have been hunting documentation and trying things in my .emacs file for 2 days now..

The type of message that appears at the bottom of the screen, one example is "Save the file ? (y,n,! ...." On my system it is dark blue on black. Also "Modified buffers exist..." dark blue on black - hard to read. What face is that?

Here is what I have tried so far:

(custom-set-faces
  '(mode-line ((t (:foreground "white" :background "blue" :weight bold))))
  '(warning ((t (:foreground "yellow" :weight bold))))
  '(error ((t (:foreground "yellow" :weight bold))))
  '(success ((t (:foreground "yellow" :weight bold))))
  '(default ((t (:foreground "white" :background "black"))))
  '(minibuffer-prompt ((t (:foreground "yellow" :weight bold))))
  '(shadow ((t (:foreground "yellow"))))
  '(completions-common-part ((t (:foreground "yellow"))))
  '(completions-first-difference ((t (:foreground "yellow" :weight bold))))
  '(default ((t (:foreground "white" :background "black"))))
 )

describe-face for another prompt with the same coloring says it is the default face. So I tried changing that from the M-x prompt but that turned my screen white on yellow.

The mode-line line works - my active mode line is white on blue.

Does it matter that I am running emacs in a tty instead of the GUI version?

View original on lemmy.one
6

[Solved] Minecraft on an i5 with 8gb of memory?

[Solved Empirically] I have loaded this up on my machine and I seem to be getting good frame rates, but I am working under Fluxbox, a really light weight window manager. I would like to run KDE instead. It's a little heavier. Will that make a difference to Minecraft? Will minecraft work better if I am running with a server on another machine? (logic would say that with some portion of the work happening on that other machine the client should not need as much processing power)

Or is it just useless to worry about all this?

--Update Ok, I have re-installed the machine on KDE and tried it both against a server and a local game and both seem to run just fine, just an occasional double place but not a big deal.

View original on lemmy.one
1

Seeking Opinion - Best TUI/CLI distro for Dual Booting with FreeDOS.

I have a machine who's mission is to run FreeDOS. It will do this most of the time, but sometimes it would be nice to be able to get it connected to a modern network to transfer DOS files out to my 'production machine' If DOS is like Windows the system clock ticks local time, but usually Linux likes UTC time - so this may be an issue that needs resolving too.

UPDATE - For now I have Debian in multi-user mode. I have set Grub to remember what I chose last so reboots from FreeDOS are hands free after ctrl-alt-del (Just like if FreeDOS were the only OS here) I have set the clock in Debian to run on the local timezone too, Thanks over_clox. Please continue to recommend your favorite distro.

View original on lemmy.one
22
freedos·Everything DOSbyWasPentalive

[Solved] USB connected floppy ignores disk swap? MSDOS 6.22

[Solved] Put in the first disk, do a DIR and see what is there. Remove it and put in a second disk and do a DIR and see the same contents. Reboot, and see different contents for the same 2nd diskette. USB floppy 3.5" 1.44, Connected directly to a USB port on the computer. Running MSDOS 6.22.

Solved by switching to FreeDOS. Be aware of the minor issue with FreeDOS format.exe = the /u flag is causing errors in the FD13 version. But one can do without it.

View original on lemmy.one
1

Canon EOS R50 is unexpectedly zooming back out Can anyone tell me why?

I was attempting to capture the full moon tonight using my Canon EOS R50 mounted on a tripod. I had a telephoto lens attached to the camera via a Canon adapter, as this lens was originally designed for my father's Canon Digital Rebel and had an incompatible mount for the R50.

While zoomed in on the moon to fill the frame, I observed an unexpected behavior: the camera appeared to automatically zoom the image back out. I was under the impression that the camera itself lacked the capability to adjust the zoom setting, but the viewfinder clearly indicated a change in magnification

Update: In case it is important, the lens has image stabilization built in, but I have it turned off as it lets me set focus and recompose better.

View original on lemmy.one

Is this of any Interest ? - An interpreter/simulator

I am thinking of starting a project and I am looking to see if there is any interest. This will be an interpreted language that is very much like the language used in the HP41C, except you get labels to jump to (to avoid needing to renumber as one does in BASIC) and named variables instead of registers. The interpreter would interpret text source code directly, and would be capable of producing textual and numeric output

It will be a pretty big undertaking and I would rather only do it if there was a 'market' for it. The program will be distributed under an open source license.

Anyone?

View original on lemmy.one
15
freedos·Everything DOSbyWasPentalive

Overstrike vs. Insert

This is strange, I am running MSDOS 6.22 on a modern laptop, a Lenovo i7 ideapad. The machine boots directly to MSDOS. There is an external keyboard attached because lenovo swapped the right shift key and the up arrow key in some way that causes me to hit up arrow when I mean shift.

I am finding that I can press the Insert key to switch to insert mode, as soon as I hit it sets itself back to overwrite mode. I have tried swapping the external keyboard for a different one, Removing CMDEDIT and loading doskey instead, then removing DOSKEY too and going without a command editor. The problem persisted through out all of this.

I even searched the BIOS for some salient setting, no luck.

I am sure it used to work as I am remembering it - the system starts up in insert mode and pressing the insert key toggles between insert and overwrite. The setting persists thru carriage returns.

View original on lemmy.one
2