WasPentalive
- 26 Posts
- 94 Comments
WasPentalive@lemmy.oneto
AI Generated Images@sh.itjust.works•ce n'est pas une imageEnglish
0·1 year agoce n’est pas un comment
WasPentalive@lemmy.oneOPto
Linux@lemmy.ml•Request for Opinion - JCL but for Linux??English
0·1 year agoIt 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?
WasPentalive@lemmy.oneOPto
Linux@lemmy.ml•Request for Opinion - JCL but for Linux??English
0·1 year agoMore Detail::: What SUBMIT Does with Each LJL Statement:
For every statement, SUBMIT generates corresponding commands in the
.deckfile. 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 owner=me@mail.com 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) > logfileThe deck file now forms a fully functional batch file to do the specified computation.
-
WasPentalive@lemmy.oneOPto
Linux@lemmy.ml•Request for Opinion - JCL but for Linux??English
0·1 year agoI 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.
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.
WasPentalive@lemmy.oneOPto
networking@sh.itjust.works•Orbula: A Collision-Free, Self-Organizing Ring-Based Network ArchitectureEnglish
0·1 year agoSorry my drawing did not come out well.
WasPentalive@lemmy.oneOPto
networking@sh.itjust.works•Orbula: A Collision-Free, Self-Organizing Ring-Based Network ArchitectureEnglish
0·1 year agoDrawing it up… : ^) Sorry, I am not a very good artist and it’s hard getting AI to give you exactly what you want when you want something exact.
WasPentalive@lemmy.oneOPto
networking@sh.itjust.works•Orbula: A Collision-Free, Self-Organizing Ring-Based Network ArchitectureEnglish
0·1 year agot+ and T- to upstream neighbor (2) + a single wire from upstream to tell you to send (3), R+ and R- (5) to down stream neighbor + a single wire to let downstream know when you can receive from them.(6) And a pair to control a relay in what would be like a token ring MAU. Token ring is also a logical ring and a physical star: All the physical cables come to a central hub (physical star) but the machines are connected
Logical Ring Physical Star +-->[ r t ]--> [r t] -->[ r t ]--> [r t] --> [ r t]--+ [ machine1 ] ===== cat 6 ==== | mau |=====cat6== [ machine 3 ] | | [ machine2 ]====== cat 6 ====| |====cat 6 == [ machine 4 ] +-----------------------------------------------------+until the last machine loops around to connect to the first.
Is it anything like token ring? No, The difference is no token to lose, No ring master or deputy ring master to lead things- everyone just plays along according to basic rules. Any machine can move data to it’s upstream neigbor at any time that neighbor is ready to take it, no one machine at a time getting to talk. So it’s not like token ring. Also unlike Ethernet, you can connect any number of machines in a ring: 5 for a small office, 20 for a department of a large firm, 200 for every employee of a firm, 2000 for all the offices of a company or a part of a neighborhood. Since machines are not contending for bandwidth there is no collision, no backdown and resend.
Rings of machines are connected to bigger rings via gateways - which also have their own way of assigning addresses to each of their ports.
WasPentalive@lemmy.oneOPto
networking@sh.itjust.works•Orbula: A Collision-Free, Self-Organizing Ring-Based Network ArchitectureEnglish
0·1 year ago- enough network wide addresses for anyone
- addresses not controlled by any agency, but each machine gets a “computed” address by virtue of it’s own port address+the port on the gateway it is talking to.
I don’t bend my values for entertainment. I pick my OS for privacy and freedom first. If a game won’t run on it, that game doesn’t run in my life.
WasPentalive@lemmy.oneto
Programmer Humor@lemmy.ml•Most programmers just google it anywayEnglish
0·1 year 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
retrocomputing@lemmy.sdf.org•Of BIOS and UEFI: A shim??English
0·1 year ago“UEFI does have a legacy compatibility layer” And this is how one may have a “system firmware” that allows both. Could DOS be made UEFI compatible maybe by loading a .sys driver or maybe by replacing io.sys with one that made use of UEFI?
WasPentalive@lemmy.oneOPto
Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish
0·1 year agoMy system came with Python3 installed. Debian 12.
WasPentalive@lemmy.oneOPto
Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish
0·1 year agoLooks like a line by line translation from the python. Will you use it to backup your home directory?
WasPentalive@lemmy.oneOPto
retrocomputing@lemmy.sdf.org•Of BIOS and UEFI: A shim??English
0·1 year agoActually, I do have a quite usable FreeDOS running in DOSBox on my Linux machine, but it’s not quite the same as running DOS / FreeDOS on the metal. Getting floppies to work as seamlessly as they do on a machine meant for DOS for example.
WasPentalive@lemmy.oneOPto
retrocomputing@lemmy.sdf.org•Of BIOS and UEFI: A shim??English
0·1 year agoLinux for example will boot easily under both UEFI and BIOS - but I suppose that is because Linux does not ask anything of either once it is running.
WasPentalive@lemmy.oneOPto
Selfhosted@lemmy.world•I wrote a python script to backup my home directoryEnglish
0·1 year ago@droolio@feddit.uk 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 directoryEnglish
0·1 year 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 directoryEnglish
0·1 year 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.




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