topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday March 19, 2024, 12:54 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tuxman [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 98next
1
0.13.1 is there. Replaced the new loading window by a threaded process.

2
Changelog for the upcoming 0.13.0 release, to be uploaded some time between "in four hours" and "in twelve hours":

[Feature] Support for hdtbl.
[Changed] Build extras and build preprocessors are now listed in a multi-select box.
[Improved] If no error has occurred, the log file will contain a success message.
[Improved] The default font looked gross on macOS. This should be better now.
[Bugfix] Calling troff over the system default shell now, potentially finding more paths.
[Improved] BuildDocument uses a simpler execution approach now.
[Feature] macOS Cmd+X/C/V are supported now.
[Feature] Added a loading window so you won't think groffstudio would procrastinate.

3
DC Member Programs and Projects / Re: GroffStudio under Windows 10?
« on: January 11, 2024, 03:46 AM »
I can't reproduce the paste problem. Copying any text to groffstudio works for me on Windows 10.  :huh:

4
DC Member Programs and Projects / Re: GroffStudio under Windows 10?
« on: January 10, 2024, 02:00 PM »
Also, the window not appearing onscreen has been resolved!

I did not address that.  :-[

5
DC Member Programs and Projects / Re: GroffStudio under Windows 10?
« on: January 10, 2024, 01:59 PM »
Don't do that.  :D

No, seriously, I'll investigate. Built with "nightly" FPC/Lazarus, so there is a huge variety of possible issues hidden within.
When it's fixed, I'll post here. :) (If my day job lets me check that tomorrow.)

Thank you for testing, this is really bleeding edge code. I appreciate that.

6
DC Member Programs and Projects / Re: GroffStudio under Windows 10?
« on: January 10, 2024, 05:14 AM »
The "build problem" message was a missing check. Please ignore it. (Fixed in 0.13, to be released when your file works.)  :P

Creating a PDF file has another potential (Windows-only) problem which I'll hunt next. But let's first see if I can do something about your "-me is ignored" problem.
How does this version work for you?

(Yes, there are UI changes. Not sure whether they're final.)

7
DC Member Programs and Projects / Re: GroffStudio under Windows 10?
« on: January 09, 2024, 09:04 PM »
Ah, now I have an idea what might be wrong. It's not your file!
I'll take a look at it soon and report back. (Not on Windows right now, but fixed a few unrelated issues while I was at it. Not yours yet.)

8
DC Member Programs and Projects / Re: GroffStudio under Windows 10?
« on: January 09, 2024, 06:44 PM »
One idea is that TProcess doesn't catch your PATH (which would be weird).
Just curious: copy groffstudio to C:\ProgramData\Chocolatey\Bin and see if it works from there. If it does, I might have to reset a thing or two.

9
DC Member Programs and Projects / Re: GroffStudio under Windows 10?
« on: January 08, 2024, 04:43 PM »
Does any error occur or does nothing happen at all?  :huh:

10
DC Member Programs and Projects / Re: GroffStudio under Windows 10?
« on: January 07, 2024, 07:45 PM »
groffstudio does not really care about where your macros are. In theory, all it does is call cmd /c groff -<options>, at least on Windows.
Where did you install groff?

12
Living Room / Winter Solstice 2023
« on: November 30, 2023, 04:49 AM »
In the third of sunwait we light
The candle of Thurisaz so bright
When the force of winter upon us lies
May the return of spring in it rise


23 days and three more candles until the celebration left.

46047351_2043129022374817_2809974454963142656_n.jpg

13
FWIW, iOS 17 has a similar feature built-in. Next time I’ll just wait until someone else does the work for me…

https://www.macrumor...tracking-protection/

15
N.A.N.Y. 2024 / Re: NANY 2024 - WordStar to Markdown converter
« on: August 28, 2023, 10:05 AM »

16
N.A.N.Y. 2024 / Re: [Pre-Release] Reddit Image Downloader
« on: August 26, 2023, 06:59 PM »
What can this tool do that Hydrus Network can't?

17
N.A.N.Y. 2024 / Re: NANY 2024 - WordStar to Markdown converter
« on: August 26, 2023, 04:41 AM »
Pandoc does not support WordStar and I’m not interested in learning Haskell; for everything else, it is a pretty good tool. :)

18
N.A.N.Y. 2024 / NANY 2024 - WordStar to Markdown converter
« on: August 25, 2023, 08:47 PM »
While mouser plays games, I learned how to write a parser.

NANY 2024 Entry Information

Application Name ws2markdown
Version 0.2.0
Short Description Converts .ws into .md (= WordStar into Markdown).
Supported OSes  :tellme:
Download Link See "Installation"
Version History
  • 0.2.0: A few quality improvements for a better first start experience.
  • 0.1.0: First version. Could actually work. (Tried with ws2markdown's README.)
Author  :-*

Description
This is a small utility that converts WordStar (.ws) into Markdown (.md) files. I wrote it because the WordPress input field sucks, so now I can write my blog posts in a real text processing software, then convert them into Markdown and upload them with one of the gazillion Markdown-to-WordPress converters. There is no good Markdown editor either, I'm afraid.

Features
Can convert (basic) WordStar files into Markdown.

Planned Features
A couple of (non-Markdown-compliant) dot commands are not supported (= detected as dot commands) yet. Maybe I'll push an update. Or I'll just wait for contributions.

Screenshots
2023-08-26_03-33.png

Usage
Installation

% cargo install ws2markdown

Using the Application
Usage: ws2markdown [inputfile.ws] [outputfile.md]
If inputfile = empty, a file picker will appear.
If outputfile = empty, the output will be printed to stdout.

Uninstallation

% cargo uninstall ws2markdown

Tips
Yes, please.

Known Issues
Complex WordStar documents might still spawn dot commands in your text. See "Planned Features" for the reason.

20
Living Room / Re: More good web comics you've discovered
« on: August 04, 2023, 10:59 AM »
Incredibly amusing (dark humor), found it on social media and immediately subscribed to the author:
https://www.berkeleymews.com/

21
Living Room / Re: Interesting "stuff"
« on: July 31, 2023, 07:36 AM »
Potential idea for game development:
Use the raylib - with COBOL.

(At least it would work and people will less likely steal your code...  :D ...)

22
Coding Snacks / Re: Celsius <-> Fahrenheit in COBOL
« on: June 14, 2023, 04:11 AM »
Ha! Learned a new thing today…  :D

23
Coding Snacks / Re: Celsius <-> Fahrenheit in COBOL
« on: June 12, 2023, 11:31 AM »
Oh, indeed! It was the default choice and I was too lazy to write [ code] myself this time.
Fixed!

24
Coding Snacks / Celsius <-> Fahrenheit in COBOL
« on: June 12, 2023, 08:33 AM »
I migrated to macOS, so my C/F converter in PowerShell makes less sense to me. That's why I rewrote it ...



... in COBOL.  8)

       IDENTIFICATION DIVISION.
       PROGRAM-ID. cf.
       DATA DIVISION.
       
       WORKING-STORAGE SECTION.
       
       *> We store four variables here:
       *> - input unit (c/C or f/F)
       *> - input value (decimal number)
       *> - formatted input (without leading zeroes)
       *> - output value (without leading zeroes)
       01 input-unit PIC X(1) VALUE SPACES.
       01 input-value PIC S9(10)V999 COMP-3.
       01 input-formatted PIC +ZZ9.99.
       01 output-value PIC +ZZ9.99.

       PROCEDURE DIVISION.
       PERFORM 0000-START.

       0000-USAGE.
           DISPLAY "Usage: cf <c or f> <value>."
           STOP RUN.

       0000-START.
           ACCEPT input-unit FROM ARGUMENT-VALUE
           IF input-unit = SPACE OR LOW-VALUES THEN
               PERFORM 0000-USAGE
           ELSE
               *> Cleanup: trim() input-unit
               INSPECT input-unit REPLACING ALL SPACES BY LOW-VALUES
               MOVE FUNCTION UPPER-CASE(input-unit) to input-unit
           END-IF

           ACCEPT input-value FROM ARGUMENT-VALUE
           MOVE input-value TO input-formatted

           IF input-unit = "C" THEN
               COMPUTE output-value = input-value * (9 / 5) + 32
               DISPLAY input-formatted " °C = " output-value " °F"
           ELSE
               COMPUTE output-value = (input-value - 32) * (5 / 9)
               DISPLAY input-formatted " °F = " output-value " °C"
           END-IF

       STOP RUN.
.

% ./cf c 0
+  0.00 °C = + 32.00 °F

25
N.A.N.Y. 2021 / Re: NANY 2021: yaydl
« on: May 02, 2023, 08:58 PM »
YouTube has decided to break its old APIs. yaydl 0.13.0 uses Invidious as a YouTube proxy now. That should fix most issues with YouTube, sans playlist support.

Pages: [1] 2 3 4 5 6 ... 98next