waspentalive

joined 2 years ago
[–] [email protected] 2 points 1 month ago

A stein is a cup to drink beer from, If your beer is not very yellow, you might have a pale stein.

[–] [email protected] 1 points 2 months ago (1 children)
         position: 1 of 3 (0%), column: 0
        character: : (displayed as :) (codepoint 58, #o72, #x3a)
          charset: ascii (ASCII (ISO646 IRV))

code point in charset: 0x3A script: latin syntax: . which means: punctuation category: .:Base, a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET 3a" or "C-x 8 RET COLON" buffer code: #x3A file code: #x3A (encoded by coding system utf-8-unix)

          position: 2 of 3 (33%), column: 1
        character: SPC (displayed as SPC) (codepoint 32, #o40, #x20)
          charset: ascii (ASCII (ISO646 IRV))

code point in charset: 0x20 script: latin syntax: which means: whitespace category: .:Base, a:ASCII, l:Latin to input: type "C-x 8 RET 20" or "C-x 8 RET SPACE" buffer code: #x20 file code: #x20 (encoded by coding system utf-8-unix)

                  position: 3 of 3 (67%), column: 2
        character: = (displayed as =) (codepoint 61, #o75, #x3d)
          charset: ascii (ASCII (ISO646 IRV))

code point in charset: 0x3D script: latin syntax: _ which means: symbol category: .:Base, a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET 3d" or "C-x 8 RET EQUALS SIGN" buffer code: #x3D file code: #x3D (encoded by coding system utf-8-unix)

 

I keep finding it in my code, in areas I am not working in or in areas I just completed. Is there some sort of autocomplete or spell checker that thinks it knows better than me?

I tried searching for : space = but it found := (no space)

[–] [email protected] 1 points 2 months ago

I guess if you write a set of declarations for NixOS you can copy that same file to the new machine. Thanks for the pointers. What about the "install facts" being just a byproduct of the first install? You don't even have to write a script.. anyway. It seems there are ways to do this already, Thanks!

 

Please let me know if there is already an accepted way to do this.

Early in the install process, you'd have a field to type a hostname of a local machine that you'd like to install like. The installer would download an "Install facts" file and install the new machine like the model machine.

The "install facts" file is created at install time. it contains things like timezone, language, percentage of disk space for each partition (to handle disk space of differing sizes) Optional files selected, username/password for root and for first user - anything needed to make the install a two click operation.

Note that this would be a full new install - not a clone of a machine that has been in use for a while.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

I have changed the syntax a little: //jo jobname owner(username) log(mailto=user@location) class(a) //** Note that the next step copies /etc/passwd to /tmp/jobname/passwd and then later deletes it when the job is done //dd passwd disp(scratch) source(file=/etc/passwd)
//ex cat passed //!! End of Job

[–] [email protected] 1 points 2 months ago

What if one could use this to submit jobs to run on a local server (or a far away one) via email - mail [email protected] Then either paste in the lcl file or attach it to the email. If your owner clause is an email address, the job will be returned via email. The username on the owner clause has to be also a user on the remoteserver. If your username on the two machines differ, you may have to use a //ex to send the log back to you.

[–] [email protected] 2 points 2 months ago

ce n'est pas un comment

[–] [email protected] 2 points 2 months ago

It is not mandatory that you install it - Yes, there are other choices already. But in the beginning, Unix only had C and Assembly why didn't we just stick with those?

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

More Detail::: What SUBMIT Does with Each LJL Statement:

For every statement, SUBMIT generates corresponding commands in the .deck file. Below is a step-by-step breakdown:

One //jo line, as many /dd lines as are required, and as many //ex as are required

//jo sumjob [email protected] log=print class=a

  • Generates a deck command to invoke ifclass a, which checks if the job's class allows execution at run time.

  • Generates a deck command to Log "sumjob is starting" to /var/log/JCL/ with a timestamp.

  • Generates a deck command to create /tmp/sumjob

  • Generates a deck command to initializes /tmp/sumjob/jobname.log with a formatted header (e.g., via figlet sumjob).

Job Classes: A = Runs as soon as submitted B = Runs only if load is low enough C = Runs in Off-Hours

//dd alias source(here|file=pathandfilename|new) disp(keep|scratch)

  • Note the disp (disposition) if keep the put the file in /home/user/.lcl/jobname as whatever the alias is if the disp(scratch) then the file will go into the /tmp/jobname directory as named by the alias.

  • Generate deck commands to

-- if source is here: copy lines from lcl up to '/*' to the deck file as a here document if source is a file: add commands to copy the file into a working directory either in user's home or in the tmp directory under the alias. //dd users source(file=/etc/passwd) disp(keep) ==> copy /etc/passwd to /home/user/.ljl/users

//ex somecommand --options < alias

-Generate doc commands to execute the program as specified and save the output to the logfile In this case echo (somecommand --options < aliasproperlyexpanded ) > logfile

The deck file now forms a fully functional batch file to do the specified computation.

[–] [email protected] 2 points 2 months ago

I manually created a .deck file to compile and run a Fortran program with specific data and to create a .log file of all the output, the Fortran program, and the data. I found it to be picky and somewhat hard. So I thought to myself: With something like JCL, one could take simple JCL-like statements, here documents for the source and data files, and programmatically combine them to make a script like the one I created manually.

6
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

Any interest in this:

LJL is a job creation language that takes a job file, gathers items mentioned in its various lines and here-documents, and generates a runnable .deck file (short for "deck of cards").

The .deck file is a complex Bash script that creates a log spool and several temporary files in /tmp/. It automatically cleans up scratchable files after the run. The log file contains the output of each step, including any program results.

Any questions about it? Any suggestions?

 

TK5 is an IBM 370 / MVS emulator that comes ready to go from here: https://www.prince-webdesign.nl/tk5 - have a mainframe in your desktop?

Anyway I would like to find people who can help a complete mainframe noob with probably easy stuff.

I looked in the communities link at the top of the page.

Thanks

[–] [email protected] 1 points 2 months ago

I have not done one yet - but I have had the camera less than 3 months.

 

Sorry for the wall of text...

I carefully paged through my manual, and did several searches for things like "thermometer" - what I saw earlier today was a thermometer and a set of bars with the first one lit. All indications were that my camera was overheating?

I was shooting from our car today - a photo drive, as we have done before. The car was cool, but not so cold as to need extra clothing, and not hot. The camera spent time both in sun and shade. It never showed the 2nd bar. I was shooting still pictures, not movies (as the web article suggested). At one point I pulled the battery out and it was slightly warm, but not hot. The indicator would remain for a while, then might go away - only to return when taking a few more pictures.

Blowing the AC in the car on the camera did not make the icon go away.

I am not to sure what is going on. After returning home, I swapped out the battery for my other one and was not able to re-create the issue (even taking rapid pictures), I swapped the batteries back again and was still not able to re-create with the battery used on the drive.

One of the batteries was accidentally washed in the laundry, but they both seem to work, and take a charge, and run the camera equally well. I should have marked the washed one - now I am not sure which one it was. The washed battery had one of those plastic covers over the connectors. Anyway both batteries are acting perfectly for the moment.

What to do?

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago)

Debian/KDE because I like the way I can customize (1 panel on the left with everything) No features removed just as one gets used to them. (looking at you gnome) No breaking changes to the desktop gadget api every update (you gnome again) Nice big repo.

[–] [email protected] 1 points 2 months ago (1 children)

Sorry my drawing did not come out well.

 

What if we could reinvent networking from the ground up—no collisions, no IPv4 exhaustion, no centralized configuration—just a clean, scalable, self-managing system? Introducing Orbula: a fresh protocol built on logical-ring/physical-star topology using standard CAT6 cabling.

Each host connects through a relay-style device that seamlessly links it into a ring when powered and ready. Nodes communicate using simple but powerful hardware signals: "Clear to Send" and "Packet Ready" lines coordinate direct neighbor-to-neighbor transmission, eliminating contention and packet collision entirely. No CSMA. No waiting for a token. Just smooth, orderly flow.

Addresses are built from a pair—your MAC and your gateway’s MAC—making each node’s identity globally unique and routing-friendly. Gateways stitch rings into higher-level rings, forming a natural hierarchy (Department → Company → City → Region → Global), avoiding routing loops and allowing fast, fixed-size packet forwarding (e.g., 1MB fixed-size packets).

This isn't just another Ethernet variant—it's an alternative vision for how networks could work.

Would love input—has this been tried before? Would it be worth prototyping?

Yep I had ChatGPT help me condense a lot of detail down to an elevator pitch.

Each host only talks to it's upstream neighbor. The connection is mediated by a "clear to send" signal, likewise that same host only listens to it's downstream neighbor mediated by a "I have a packet signal" data flows around the ring as each neighbor becomes free to accept it.

 

Since they are both Kyocera machines, would the Model 100's floppy drive work on the NEC machine? Did it have a floppy of it's own?

 

I have a laptop that will not allow anything but UEFI and I must run FreeDOS.. (or one of many other OSes that wont boot via UEFI)

Is there a UEFI Bios shim? UEFI thinks it is an OS, but It loads the BIOS boot block and runs it?

Is that even possible?

 

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.

 

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!

 

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 
 

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 more: next ›