Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
33 user(s) are online (25 user(s) are browsing Forums)

Members: 1
Guests: 32

arfcarl, more...

Headlines

Forum Index


Board index » All Posts (broadblues)




Re: Updater tool: latest releases and updates
Home away from home
Home away from home


@Futaura

Quote:

May I ask why AmiSphereServer (and therefore Updater) doesn't itself use AmiSSL and instead uses an outdated, obsolete, statically linked OpenSSL 1.0.2o? It should be easy to make the switch and it'll make AmiSphereServer much smaller too! Please support AmiSSL, rather than waste time messing with OpenSSL directly.


It was written by it's original authors using libcurl. as you note below. That makes / made using AmiSSL problematic...

Quote:

As the OpenSSL team itself says: "All older versions (including 1.1.0, 1.0.2, 1.0.0 and 0.9.8) are now out of support and should not be used."


An ideal we often fall short of in amiga land
Quote:

It appears to be using libcurl too - the latest libcurl has built-in AmiSSL v5 support, but you may not even need to use libcurl at all either. OpenSSL 3.0 has its own simple built-in HTTP(S) client.


Two bbits of useful info thanks. Does the inbuilt https support cookies etc??

Go to top


Re: Recording from a sound card
Home away from home
Home away from home


@Gregor

HDREC and Audio Evolution are also options.

I would connect the line out of the instrument to the line in of the sound card. (Blue input?)

Go to top


Re: Enhanger 2.2
Home away from home
Home away from home


@Mlehto
Quote:

You are correct, it is not possible rename disk with RAWBInfo. Memory can be tricky... :)


Actually it does, but has a bug with certain combinations, such as changing FOO to FOOD doesn't work but changing FOO to BARFOOD does work.

When tested just now, I tried something closer to the first case so it didn't work, I rested with a change of Ram Disk to Ram_Disk and it did.

Anyway InfoWB has the feature "unumplmented" working on that...

Go to top


Re: AmigaOS4 DOS Tripos Alignment
Home away from home
Home away from home


@rjd324

Quote:

Has the AmigaOS4 DOS moved on from tripos where on classic machines you had to align your FileInfoBlocks to word boundaries?


FileInfoBlocks should be allocated with AllocDOSObject() from Version 36 (AmigaOS2.04?) onwards.

Go to top


Re: Enhanger 2.2
Home away from home
Home away from home


@Mlehto

Quote:

For some reason(s) Multiviewer doesnt start properly on my system. Its tc_State is suspended in Scout Task&Process list. Doesnt open.


Could you perhaps run snoopy whilst starting MVer to get a feel for where it hangs? I've not heard any other reports, but it could be a broken datatype causing issues at5 startup.

Quote:

InfoWB doesnt allow disk renaming via name stringbox. Drawers and files can be renamed as with RAWBInfo.


I did a comparative test and RAWBInfo also doesn't rename volumes. Relableing a volume is different operation to renamng a file so will need seperate code to deal with that.

Quote:

If I change icon via InfoWB, Transparent part of icon will turn visible black.

What do you mean by "change icon" here? Are you dropping a icon on the window? Loading an image? If the latter what format?

Go to top


Re: gcc bug or am I a looser?
Home away from home
Home away from home


@yescop

Quote:

the precision is 16 (using double).

float or double you would get the same kind of problem.
Quote:

Broadblues, I am not a looser but a too confident person.

Of course not, I was just joking based on your question title

Quote:

I was thinking wrongly that the comparison in gcc was smarter.
For example, if a=1.0 and b=1.0, a==b would always return true.


In fact it will, the problem was that after your progressive calculations a was 1.0 and b 0.9999999 or in your specific case perhaps 4.4 and 4.399999

Quote:

But it is not true because the comparison will examine all digits (here 16) and not only a few (here only one digit, smarter as the variables used in my code were equal to numbers from 1 to 4 with a step of 0.2) and as you wrote, the conversion is not precise.


It's an easy trap to fall into. If you had chosen 0.25 as the interval you might have found it worked at first until later when you changed the step to 0.2, so it's good in a way that you found it sooner rather than later.

I would convert your iterator to an integer, multipled by 10 so that you go in steps of 2 (instead of 0,2)

Then you can make an exact comparison in the range 0 to 44 and if you need the value as a float calculate it with a cast

value = ((float)iterator) / 10.0

Go to top


Re: gcc bug or am I a looser?
Home away from home
Home away from home


@yescop

It's not a gcc bug so you must be a looser

To be serious though, you are incrementally adding 0.2 in decimal ie base 10, to a floating point number stored in binary ie base 2. But 2 / 10 cannot be exactly expressed as base 2 fraction (in the same way that 1/ 3 can't be exactly expressed in a base 10 fraction (ie 0.3333333...) so each time you accumulate a small rounding error, so the final value you compare is slightly more than 4.4 and so your program correctly reports that it's outside the range.

Go to top


Re: ImageFX and grab screen
Home away from home
Home away from home


@walkero

It works with 8 bit screens.

It looks like it doesn't understand or recognise deeper screens and tries to convert them to 24 bit, even though they are already.

Using SGrab and importing gives better results.

Go to top


Re: Porting Question wrt. Conflicting TypeDefs
Home away from home
Home away from home


@rjd324

I have used two approaches in the past to deal with such issues.

1. A Raziel suggested use conditionals arround the type definitions to avoid redefining the types. That should work as long as int32 is a signed 32 intetger in both systems. (Most likely it is).

2. Isolate the amiga specific code in sperate compilation units (src files)

In a number of ports I've done, most notably perl and blender, some of the amigaos specific code is seperated out completely to avoid these kind of type clashes.

Editing systems headers should be an absolute last resort, if you must, make local copy so that the SDK version remains unaltered

Go to top


Re: Strange AllocVec Problem
Home away from home
Home away from home


@MigthyMax

Quote:

So what else can make AllocVecTags fails?


AllocVecTags can fail for a number of reasons, the most obvious being insufficient memeory to meet the request. (that could be due to an overall lack of memory or due to memory fragmentations or asking for something very specific (an unssuported alignment maybe).

You should ALWAYS test the result for success and fail gracefully if possible if it fails.

Go to top


Re: need clarify about libdl and all dlopen/dlclose calls
Home away from home
Home away from home


@Raziel

Quote:

I'm still wondering if elf.library took over the libdl functionality (so we can get rid of this library) or if it's a coincidence with rather unfortunate naming?


libdl is implemented by calls to elf library. There no name clash as the low level elf.library calls have a different case to libdl.

Go to top


Re: Why with clib2 proc: requester popup as expected, and with newlib are not ?
Home away from home
Home away from home


@kas1e

Is the clib2 version compiled with -lunix and the newlib version not?

12.RAM Disk:> gcc -o ram:testit_newlib test.c
12.RAM Disk:> testit_newlib
chdir() error(): Invalid argument
12.RAM Disk:> gcc -o ram:testit_newlib test.c -lunix
12.RAM Disk:> testit_newlib
chdir() error(): No such device or address
112.RAM Disk:> gcc -mcrt=clib2 -o ram:testit_clib2 test.c
12.RAM Disk:> testit_clib2
chdir() error(): Invalid argument
12.RAM Disk:> gcc -mcrt=clib2 -o ram:testit_clib2 test.c -lunix
12.RAM Disk:> testit_clib2
chdir() error(): Device not configured

Go to top


Re: APPDIR: and its implicitly created "symbolic links"
Home away from home
Home away from home


@NinjaCyborg

SYS:Documentation/appdir-handler.doc

Go to top


Re: Determine the program that locks a file
Home away from home
Home away from home


@Raziel

WRT snoopy you could capure a general log, a save it to ram:mysnoopylog and the do something like


cat ram:mysnoopylog | grep "myfilename"


Go to top


SketchBlock XMas Video
Home away from home
Home away from home



A little behind schedule this year but still in time for christmas, here my video christmas card design for 2021.

https://youtu.be/0zzZILZdPY0

Painted in SketchBlock , and music composed in a combinatin of HD-Rec (for the drums) and AudioEvolution (everything else).

Hope you like it!

Go to top


Re: A new editor for AmigaOS 4 is in the works
Home away from home
Home away from home


@NinjaCyborg

Quote:

And Linux rexx i.e. regina doesn't have that feature


It does though.

Pick a link from the following search

https://www.google.com/search?q=does+r ... &sourceid=chrome&ie=UTF-8

Quote:

and neither does the editor walkero is porting


The question was for syntax highlighting.

Go to top


Re: A new editor for AmigaOS 4 is in the works
Home away from home
Home away from home


@NinjaCyborg

Honestly, wind your neck in, you are somewhat misinformed...

https://www.ibm.com/docs/en/zos/2.3.0?topic=instructions-address

The exact mecanismsmight be different but the syntax, intention and effect are virtual identical

Go to top


Re: Is anyone have readdir_r() implementation for aos4 ?
Home away from home
Home away from home


I think BZillis workarround should be sufficient investigating I see that in the posix world readdir_r() is actually depricated and readdir() is general threadsafe (when working on seperate directory streams). I belive this is the case for newlibs readdir() too.

https://man7.org/linux/man-pages/man3/readdir_r.3.html

Go to top


Re: EasyRPG Player
Home away from home
Home away from home


@BSzili

Hmm I wonder if that message is comming from the instance of Internal_RunCommand() that laucnhed EasyRPG itself.


At a guess it might occur if objects were allocated with AllocSysObject() or AllocDoSObject() and not Free with the corresponding Free#?Object() function.

Go to top


Re: Qt 6 progress
Home away from home
Home away from home


@alfkil

Quote:

It is quite hard to understand the "does not change the current section to .bss" part. Why would it not do that? Perhaps this the clue to the 'solution' to the above - that the AmigaOS linker doesn't interpret these correctly by instead give priority to the empty version of the structure.


It's essentially saying that this symbol should be put in .bss with this much space. You would find lines like that interleaved with other code in the assembly output.

Using a really bad and probably not quite accurate ARexx analogy

address FOO

changes the address for all commands

address FOO command

only for that line.


Go to top



TopTop
(1) 2 3 4 ... 111 »




Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project