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 - Alex Taylor

Pages: 1 2 3 [4] 5 6 ... 26
46
Setup & Installation / Re: Multiple installations of AOS?
« on: September 01, 2023, 01:48:42 pm »
Then there is the question of whether I need the Personal or Commercial AOS.  If I, a sole person, write a novel and flog it to a publisher (hey, one can dream), that's commerce, right?  But if AOS helps make a communicable form of the novel from a version previously fashioned in my mind...?

I'm not speaking for Arca Noae, but...

TTBOMK, "commercial" use of software means any of:
  • Using the software as part of running a business (whether incorporated or not)
  • Using the software to directly earn income (e.g. doing consultancy on it, reselling it as part of an integrated product, etc.)
  • Using the software to support an income-generating infrastructure (e.g. using it to develop commercial software, running an income-generating website on it, etc.)

Your novel question gets into fuzzy territory.  If you use word processing software to write a novel, which you then publish and earn income from, that would likely count as commercial use of the word processor.  Anything at a further remove from the activity is more ambiguous IMO.  Does it count as commercial use of the OS you run the word processor on?  (That isn't quite the same as the developing-software example above, because most likely neither the word processor nor the published novel depend on that particular OS to function.)   Commercial use of the computer you run the OS on?  Commercial use of the home where the computer is located?  Commercial use of the electricity you use to power the computer?  I think the answer to all of those is "maybe, but it depends".

Maybe a simple rule of thumb would be to use your local government's definition of what qualifies as a business expense.

Some interesting (though not very conclusive) discussion on the topic.  There isn't really a cut-and-dried answer.
https://opensource.stackexchange.com/questions/12642/how-is-commercial-use-of-software-defined

47
General Discussion / Re: Firefox or Dooble for the OS2World Forum
« on: August 30, 2023, 01:32:46 pm »
I generally use whatever browser I have open, on whatever system (OS/2, Linux, or Windows) I happen to be working at.  Most often that's some version or other of Firefox.

48
Applications / Re: YUM Update Issue
« on: August 17, 2023, 02:12:38 pm »
I’m seeing this issue now also. I told ANPM to update/replace the i686 python to 2.7.x and it insists on installing Python 3 and won’t do it because of other package dependencies.

The "python" package seems to have been obsoleted, which is why yum is trying to replace it with python3.

Instead of trying to update the "python" package, you should install the "python2.7" and "python3" packages (together, if possible).  That should deal with the dependencies properly.

49
Networking / Re: Release IP and Refresh IP from DHCP
« on: July 17, 2023, 11:34:35 pm »
In my experience, release/request by itself isn't generally enough if you're moving from one network to another.

My procedure to clear out the current network configuration on, say, lan0 is (I have a 'fluship' script to do this) is:

Code: [Select]
dhcpmon -t
route -f
ifconfig lan0 down
ifconfig lan0 delete
arp -f

Then (assuming I'm connected to the new network), I run mptn\bin\setup.cmd, which will start the DHCP client on lan0 with a fresh configuration.

This works well 99% of the time.  Very rarely, something of the old configuration seems to get stuck to the point that only a reboot will clear it.

50
Programming / Re: Qt6 Application Testing
« on: July 09, 2023, 11:57:01 pm »
That sounds about right.

The character map copies characters to clipboard as both text/unicode and as codepage text.  Apps which are aware of the text/unicode clipboard format will paste that.  All other apps will paste the codepage text. 

When copying as codepage text, the character map converts into whatever encoding you are currently looking at; if you have Unicode selected, it will use UTF-8, in all other cases it will use the direct codepage byte values. 

You can thus force it to use the system codepage by changing the character map's selected encoding to System before pasting into AE.  (When you change encodings, the current contents of the clipboard panel are automatically re-copied based on the new selection.)

https://github.com/altsan/os2-ucharmap/blob/master/dbcsmap.c#L1720

51
Programming / Re: Qt6 Application Testing
« on: July 09, 2023, 02:19:32 pm »
I get Ç for ALT 0128, both in AE and here in SM. QE (Qt5) gives me nothing.
Looking at Charmap, I can't even find the Euro when in Unicode. Switching to codepage 850, I see the Euro at ALT 0213, and typing it into AE or here gives, €. Blank in QE.
Why the Euro doesn't show up in Unicode here and why ALT 0128 gives the Ç seems strange. Moziila apps should be unicode aware.
Tried a few different fonts as well. Maybe Alex can help

The Euro is available under Unicode in the character map.  But unlike codepage 850, it's not in the first 256 codepoints, so you need to select a leading byte of 20 (Euro is U+20AC).

(I should probably add a scrollbar next to the valueset so you can browse through leading byte wards more intuitively.)

I would expect Alt+128 to give you Ç no matter what the app, because it's coming in as direct keyboard input, not a pre-encoded text value.  Moz will store the value as Unicode internally after you enter it.

52
Applications / Re: FeatherNotes for OS/2
« on: July 04, 2023, 02:51:56 pm »
I glanced briefly at the file open/save code in fn.cpp; it doesn't look as though the QTextStream object is setting the codec anywhere. 

Are you building with Qt5 or Qt6? Apparently, the text codec logic changed radically between the two versions.

53
Applications / Re: FeatherNotes for OS/2
« on: July 04, 2023, 12:38:08 am »
Looks as though it's saving the file in UTF-8 but opening it in the default system encoding (850).

54
Setup & Installation / Re: ArcaOS 5.0.x OVA for VirtualBox
« on: June 08, 2023, 02:12:21 pm »
Did you boot using USB or did you mount the ISO directly?  Glancing at the OVA config, I don't see any IDE (PIIX4) device configured, only AHCI. ISTR you need the DANI drivers loaded to boot from CD/DVD, and those require IDE/ATAPI hardware.

55
Programming / Re: Source Code Text Editor Suggestions
« on: May 30, 2023, 04:24:15 am »
FWIW, I use MED for programming. It's shareware; I have a registered copy, no idea if that's still possible to do nowadays. The website -  http://www.utopia-planitia.de/indexus.html - still exists, although it doesn't seem to have been updated in many years.

It does have a few bugs/quirks but those are easy enough to live with once you get used to them. (Marking text occasionally goes glitchy, especially when the program's been running for a while; I've also seen the odd very rare crash, usually shortly after the aforementioned glitchiness starts happening, but neither of these things happen more than once in a blue moon.)

It's nicely customizable, and I have toolbar buttons set up to call GNU Make, IBM nmake32, and Watcom wmake, as needed. It has a dropdown list of functions and other definitions in the current source file (extensible using user-configurable syntax files) that makes navigating code very easy.

56
The four lousy looking ones are TrueType ones I made, and I can tell you exactly why: it's because they're not manually hinted.

Vector-based fonts like TrueType will naturally tend to look jaggy and uneven when reduced to a pixel grid without anti-aliasing. The proper way around this is to manually hint (or "grid-fit") the font. With TrueType/OpenType this is done using an extremely complex instruction syntax that resembles assembly-language programming (and can be about as difficult and complicated). It's a rare skill which TTBOMK is only possessed by a small number of highly-paid professionals, and is certainly beyond my capacity as a hobbyist.

This page explains the problem in more detail.

In this day and age, when most platforms anti-alias fonts as a matter of course, hinting is less commonly done. I think you'll find that these fonts look quite a lot better in Mozilla, QT, or OpenOffice, than they do under "raw" Presentation Manager output (which can't do antialiasing).

57
Programming / Re: Rexx cumulative values
« on: May 15, 2023, 12:29:58 pm »
Try something like:
Code: [Select]
ok = VRMethod( "QRY_2", "MoveFirst" )
row = 0
do while( ok = 1 )
    call VRMethod "QRY_2", "RowData", "data."
    prev = row
    row = row + 1
    if row == 1 then
        data.row.3 = data.row.2
    else
        data.row.3 = data.prev.3 + data.row.2
    say data.row.1 ',' data.row.2 ',' data.row.3
    ok = VRMethod( "QRY_2", "MoveNext" )
end

58
Internet / Re: RPM: Switching from i686 to Pentium4
« on: May 13, 2023, 06:37:18 pm »
with some effort ifound out which packes i need. its 27 packages that cannot be installed seperately due to dependencies. and here comes my problem:
ANPM only allows to enter the paths for 3 or 4 packages (text input is limited).

I guess I should increase the text limit of that entryfield.

In the meantime, does it work if you put the package (file) names into a text file (one per line) and try to install using the "Import package list" option?

59
Networking / Re: NAT Network & Host-Only Network
« on: May 07, 2023, 05:56:06 pm »
Here's another old article that I found very useful way back in the day: https://ardent-tool.com/network/sea.html

One WAG: possibly the virtual networking is interfering with TCPBEUI broadcast mode? You might try the article's suggestion to configure Hybrid mode (section 3.1.1).

60
Applications / Re: ANPM - libc upgrade error...?
« on: May 06, 2023, 11:58:11 pm »
A bug in the conflict dialog initialization. I'll fix it.

However, that won't fix your underlying problem, which is that yum is reporting a package dependency conflict.  You can try looking examining the end of %LOGFILES%\anpm.log, which records the raw output from yum.

Pages: 1 2 3 [4] 5 6 ... 26