Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
117 user(s) are online (73 user(s) are browsing Forums)

Members: 0
Guests: 117

more...

Headlines

Forum Index


Board index » All Posts (billyfish)




Re: Updater locking up
Just popping in
Just popping in


@amigakit

Quote:

You are expressing your opinion and preference. Lots of others have differing opinion and the choice is in there for the user to decide whether to install Format or other components or not. It is not up to anyone to dictate what users do and whether or not they support a software package or development with their hard earned cash.


No-one is saying that users cannot install stuff if they want so I think that's talking at cross purposes

Quote:

The name "Format" is not the preserve of anyone.


Really? So to check can I, as a user who can do what I want, rename it as formatter to stop the name clash so I, with my freedom to choose, can have both AEON and OS tools? Would the Updater program be ok with that?

Quote:

Format and similar components have been inside the Enhancer Software for approximately five years and upgraded steadily. Many users have freely decided to use these and had great satisfaction for the steady stream of updates our team has provided over a long period of time when no OS updates were forthcoming.

The Enhancer Software was borne from the slow pace of software development in the Next Generation niche. A-EON's software is principally developed to support users of A-EON's hardware platforms. It has plugged the gaps for customers and will continue to progress for those same customers who expect something more than maintenance update every 5 years.


I don't think anyone disputes that you plugged gaps and given the apparent stasis of the OS, it's great that you developed stuff.


Quote:

I am sure you agree that it's A-EON's right and discretion to supply any software it develops in-house on it's own hardware platform in the efforts to enhance the product experience for it's customer base.


No-one as far as I can see is disputing that. As I keep mentioning, I think the software is great. It's literally just the naming/versioning that is problematic.

Maybe I'm doing a really bad job of trying to explain my point, in which case apologies to all! So I'll give it another go. Let me try and describe a situation from a developer point of view.

Say I create a tool that uses some functionality from something that exists with the same name from both AEON and the OS, format for example. Now imagine that these two versions of the program diverge in their functionality due to priorities for the teams developing them. Which is completely fair enough. Now I, writing my program, want to check what version is installed so I can offer different features to different versions of the OS. Can you see that as they're effectively forked and using the same versioning scheme, I'm going to have a nightmare determining whether it's AEON's v54.xx of Hyperion's V54.xx tool.

Now imagine users, like me with my small brain getting confused between whose fork I have installed, etc. I don't think you'll have any less sales, or have a lower level of customer satisfaction, if they had non-clashing names?

Does this make sense?

Something as simple as changing the name makes the problem go away.

Again I like the software and thanks for it!


Edited by billyfish on 2021/1/20 15:46:46
Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


Version 1.1 is now in the os4depot upload queue which hopefully fixes all of these issues and adds a few more features. As ever feel to free to submit any bug reports, feature requests, general diatribes my way 🙂

Go to top


Re: Updater locking up
Just popping in
Just popping in


@amigakit

Quote:

The Enhancer Software Install, although verbose, gives you individual choice to install as little or as much as you want. It is flexible.

The Enhancer Software Sound datatype is more advanced than the OS4.1 version so you may or may not want to upgrade to it. The choice again is yours.


Absolutely. Like I said the software is great.

So sound datatype got updated in the latest OS update, do I go with it as it is newer than the enhancer one? Has it got bugs fixed that the Enhancer one hasn't? You've set the enhancer version numbers higher even though it's now older that the OS one. Do you see the dilemma?

Quote:

You should be aware that some users have an alternative view and want to install everything from the Enhancer Software.


Sure! I'm not claiming to speak for the masses. However surely you can see that having two sets of identically-named components with different functionality is not ideal?

How about something like you could install all of the files with identical names, like sound datatype, to a separate location? You can then run adddatatypes for that location from user-startup or something similar? That way you're not overwriting the original files, but you're still giving people the choice.

Quote:

This is not new concept: go to Aminet and you will find a plethora of third party direct replacement of system components.


For example https://aminet.net/search?name=format&path[]=disk/misc&path[]=util/sys, virtually all of the format replacements use a different name.


Just to clarify, the software is great, But overwriting named OS files, when you could name them differently like you did for multiviewer and multiedit, feels really odd to me.

Go to top


Re: Updater locking up
Just popping in
Just popping in


@broadblues


Quote:

but sound.datatype can only really be called sound.datatype esle the subclasses like wav.datatype et al wouldn't be able to find it.


Sounds (no pun intended ) like you need a system, like an env variable to say which sound.datatype to use for the sound child classes like WAV, etc. Having two different components with the same name but differing functionality seems like a recipe for disaster!

Go to top


Re: Updater locking up
Just popping in
Just popping in


@amigakit

The enhancer software is great, however would you consider renaming the components that have the same name as the OS ones like the sound datatype, etc? That's really problematic to juggle whether it's the OS one or your one that we have installed. Especially now that the OS updates are re-emerging. With the latest OS update, I've just had to go through and individually install the different enhancer components to make sure I don't overwrite the OS ones.

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


@walkero

Again thanks for these, I'll get on them.

Quote:

3. The settings Save button, IMO should propose the default name that earmark wait to load, giving the user the option to change it, if he wants. Or there should be a tooltype where the user should set the default config file.


Yup, I'll add a default name and also get on adding a tooltype.

Quote:

4. If you mark a line and you choose bold, italic, etc.. then the editor adds the necessary markdown characters. The problem is that if that line starts/ends with space, then the markdown is broken, because md4c includes that space, and the asterisks are staying as characters. To be more precise
**this is a broken bold line, not translated by md4c **
** this is also a broken bold line, not translated by md4c**
**this bold line works fine**


Oooh that's a great spot! I'll get the code to trim any whitespace at either end of the selected text.


Quote:

5. Why do you include {} on code block? This stays as character by md4c on preview. I never used it with code blocks, but I might be wrong to be honest.


Ah yeah, the brackets aren't needed, I'm so used to typing bracketed code in these when I'm writing markdown I just did it by habit!

Quote:

6. Can the Save not work as "Save as...", showing the file requester? IMO, it should save over the file.


Yup! I'll add menu items too so you can have "Save" and "Save as..."

Quote:

7. If I make changes on the file, that are not saved, it would be nice to have something at the window title that shows that this file was edited.


Yeah another great idea! I'll add it in.

I emailed @Chris about whether it might be feasible to have a netsurf render gadget, unfortunately he doesn't think it's currently possible.

Unless Odyssey could be stripped down to just a render gadget (does that sound possible @kas1e), then it looks like the options are:

1. Arexx scripts for Odyssey, Netsurf, IBrowse, etc.
2. Tracking down and fixing the issues with HTMLview
3. Using the SimpleHTML datatype, @trixie, you didn't sound hopeful about this yeah? Does anyone know if it has a developer kit at all?


Thanks again George.

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


@Capehill

Quote:

Opened some files successfully. RMB quit option didn't work for me and toolbar is super wide on my setup (doesn't fit on the screen).


Aaargh, well-spotted! Yup the quit menu item is currently "fake news", I'll fix that for the next release I'll look at how I can split the toolbar up into separate sections so that they can take up more rows to reduce the required width when the screen resolution isn't high enough.

Thanks for the feedback and bug reports, they all help

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


@ktadd

Thanks! Another new version is in the os4depot queue with the frankly much better name of "earmark" courtesy of trixie. As ever all feedback, including diatribes, are more than welcome.

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


@walkero

Quote:

The ultimate solution would be to include, if even possible, a cut down version of netsurf inside the app. No buttons, urlbar, search bar etc.. Just the rendering part, which would be updated even on any change. Cris could elaborate on that, if it is even possible.


Yup! That was the original reason that I used an HTMLview gadget in the UI. A render widget from either netsurf, odyssey, etc. would be awesome. The other option would be a HTML datatype that could support enough of the features I guess

billy

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


@walkero

Yassou George, thanks for trying it out and finding these, I'm working through them I've done 1-4 and 8 so once I've got the other ones done, I'll upload an updated version. For the others:

Quote:

5. At the main window, at the buttons, if you have assigned any shortcuts, it would be great if you show them on help bubbles as well


I'll investigate whether this can be done automatically in TheBar mcc docs as the toolbar has the shortcuts defined. If not, I can add them explicitly to the help bubbles.

Quote:

6. If you start a new project, you cannot preview it. I guess because there is no way to run md4c while there is no file. Maybe create a new one only in Ram, and work with that.


Good find, I hadn't noticed that. Yup the md to html part works ok without being saved, but it saves the html to a file with the original filename and appends ".html". So when it hasn't been saved yet, it was silently stopping at this point.

Quote:

7. I don't know if you have this in your plans, but it would be good if there was a way to use always a specific browser and not open new tabs all the time. I am working on ideas on that, and I will be back with proposals. I guess a good candidate would be to use NetSurf, since it doesn't need to support Javascript. Which brings us maybe to a way to set if the user wants to use OpenURL (like it is now) or use ARexx to send the url to a specific browser. And let the user create it.


Yeah I agree, like @kas1e mentioned too, that opening a new tab every time is a pain. Launch-Handler doesn't seem to offer the function to reload an existing tab if the url is already open. So any proposals that you have would be great!

Quote:

9. The last version includes Makefile and the project file from Codebench, which might not needed.


oops!


Again thanks for going through the pain of testing it and the bug reports, it's really appreciated

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


So I've just uploaded a new version to os4depot, quite a few nice changes in there like a proper(!) toolbar and bits for generating tables, images, etc.. As ever, any level of feedback is more than welcome.

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


@trixie

Quote:

don't lose any sleep over the comments on OS4depot: looks like someone had a bad day or two.


Yeah they're not a happy camper are they?!? I'm sleeping ok over it though

Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


@kas1e

Quote:

Is it possible to make it so you will have to open it one time (for the first "update" click), and then each other "update" click will refresh content in the already opened browser?


Yeah I wanted that too According to the launch handler docs, it's a single event where you instantly close the file handle that you use to launch the browser. I'll look to split the convert function into convert or "convert and launch". That way you can just use convert and then refresh the web browser window.

Go to top


Re: MineCraft (MineTest) work in progress help need it
Just popping in
Just popping in


@salass00

Quote:

'data' does not point to a floating point if that is what you mean. Instead it points to a signed 32-bit fixed point number which is converted to a float by casting and then dividing by the number FIXEDPOINT_FACTOR which is probably a power of two.


Ah yeah, that's what I meant I just wanted to get at the raw byte representation of those numbers.

Go to top


Re: MineCraft (MineTest) work in progress help need it
Just popping in
Just popping in


@kas1e

Quote:

readF1000(is) == 54.534 , our = 53.534004
readF1000(is) == -300000.32, our = -300000.343750


Ok can you change readF1000 to

inline f32 readF1000(const u8 *data)
{
    
printf ("raw: 0x%04x\\n"data);
    return (
f32)readS32(data) / FIXEDPOINT_FACTOR;
}


And tell us what their, ours and the raw values are for the values that fail the asserts? I just want to check what the raw byte values are to see if that helps. They should all be IEEE 754 values, I just want to check.

FWIW comparing floating point values with == is a bad idea anyway, they should really be checking that the two values are within a specified tolerance of each other. The thing is this tolerance is dependent on how big the values are in the first place due to the way that floating point values are stored in memory.

cheers

Go to top


Re: MineCraft (MineTest) work in progress help need it
Just popping in
Just popping in


@kas1e

so if you change the assert to line to

Quote:

UASSERT(deSerializeString(is).compare ("foobar!") == 0);


it works? If so, that means the == overloaded operator has not been compiled correctly

Go to top


Re: MineCraft (MineTest) work in progress help need it
Just popping in
Just popping in


@kas1e


Sorry I was being dumb compare returns 0 when they match so

if (str.compare (temp) == 0)
{
 
std::cout << "matched\\n";
}


is what it should be. So what does


std::string t ("foobar!");
std::string s deSerializeString(is);

if (
s.compare (t) == 0)
{
  
std::cout << "matched\\n");
}
else
{
  
std::cout << "not matched\\n");
}


give?

Go to top


Re: MineCraft (MineTest) work in progress help need it
Just popping in
Just popping in


@kas1e

Quote:

@Salas00
Quote:


UASSERT(strcmp(deSerializeString(is).c_str(), "foobar!") == 0);



For that one saying "Caigh unhandled exception: deSerializeString: couldn't read all chars".




Ok looking at the API doc at http://doxy.minetest.net/serialize_8c ... 35e6a8f405f880373bf1284ed, can you try

std::string str deSerializeString(is);

std::cout << "The size of str \\"" << str << "\\" is " << str.length() << " bytes.\\n";


I'm just wondering if there are some non-printable characters or maybe initial whitespace at the start of str that is causing the UASSERT to fail.

As since it's a string we haven't got to worry about endian issues and the == operator is overloaded

str == "foobar!"


should work although you could try

std::string temp ("foobar!");
if (
str.compare (temp))
{
 
std::cout << "matched\\n";
}


just to check



Go to top


Re: MineCraft (MineTest) work in progress help need it
Just popping in
Just popping in


@kas1e

Quote:

What is also strange that this one also fails:

UASSERT(deSerializeString(is) == "foobar!");

While if i just do :

printf("test !! : %s\n",deSerializeString(is).c_str());

it prints me correctly "foobar!"


What do you get if print out deSerializeString(is).c_str() byte by byte? Something like

char *temp =  deSerializeString(is).c_str();
const 
size_t l strlen (temp);
size_t i;

for (
0l; ++ i)
{
  
printf ("temp [%lu] = \\'%c\\'\\n"i, * (temp i));
}




Go to top


Re: Markdown Editor / Viewer
Just popping in
Just popping in


Ok a new version has been uploaded to os4depot.net. Amongst other things, I've moved to using the OS launch-handler for showing the converted html which gets rid of the image problems with HTMLview. It's still a work-in-progress, and yes the name will change @trixie . Any feedback, good, bad or indifferent, is welcome.

Enjoy!

Go to top



TopTop
« 1 2 3 4 (5) 6 7 8 9 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project