abakobo

Forum Replies Created

Viewing 15 posts - 436 through 450 (of 455 total)
  • Author
    Posts
  • in reply to: Compiling on Mac OS X #3235

    abakobo
    Participant

    Not all the files in the repo are ending their lines with linefeed (unix/linux/osx). The files in modules/std/fiber/native/asm are all ending lines with CRLF (windows style) (LINCENSE.TXT has the same problem but doesn’t matter for code of course)
    I tried to play with .gitattributes on a branch but I could not force the .S and .asm (or any file with some CR or CRLF in it) to stop having the CR (chr13) at eol. I could force files with LF as eol to be transformed to CRLF though so I don’t understand, must learn more about git/.gitattribute use.

    There probably is a solution with .gitattributes but for now I copied the 3 modified files in in a branch and all compiles ok directly with it when dowloading the zip… it should probably be better if all files in the repo had LF eol as it seems to be the standard with git repos.

    PS: By trying all this I accidentaly deleted the branch with a pull request for ted2 “file>open”, sorry if you received duplicate messages about it.

    in reply to: Ted2 1.0.3 crashes when trying to open a file on W10 and W7 #3225

    abakobo
    Participant

    no crashes anymore, no crashes similar to gcmartijn neither.

    thx impixi, did pull request your code! it worked nice for me.

    in reply to: Compiling on Mac OS X #3222

    abakobo
    Participant

    solved the problem by editing the following files:

    jump_x86_64_sysv_macho_gas.S
    make_x86_64_sysv_macho_gas.S
    ontop_x86_64_sysv_macho_gas.S

    “unixed” them with sublime_text_3 view>line_endings>Unix (there’s a osx9 choice too but i chose unix first and it worked)

    don’t know how to manage that in github though, will try on my fork using this manual “https://help.github.com/articles/dealing-with-line-endings/” or other googled sources. any suggestion is appreciated.

    modified files are attached to this post

    in reply to: Compiling on Mac OS X #3164

    abakobo
    Participant

    uninstalled xcode and command line tools. downloaded zip master from github, installed command line tools with readme suggested command and still have the same error.
    I’m on a hackintosh(asus laptop but no virtual machine) so it may be that. though it would be the first time I have issues like that with it (MX1 runs perfectly for example). Usualy only drivers problems occur.
    Should I update to 10.11.6? (don’t want to because it can be painfull with a hackintosh).

    in reply to: Compiling on Mac OS X #3110

    abakobo
    Participant

    just tried to compile v1.03 on osx 10.11.3 with latest xcode and comand line get this error (no -c flag problem anymore

    [/crayon]
    in reply to: Ted21 thoughts. #2850

    abakobo
    Participant

    I would love to try ted21 for mx2 coding but could not change the font size (too small for me, have to change screen resolution…). It would be great if we could chose some fonts and their sizes, would it be a big work to have that? It’s kind of mandatory for a serious editor. (Or I missed something!?)

    in reply to: Binary and Source wont execute #2753

    abakobo
    Participant

    Working for me on W7 x64, m2 folder in my home dir. Always better to be in that authorised part (desktop is in that part too) to avoid UAC and other security blockers.

    Had to copy vcruntime140.dll in a PATH because I don’t have VC runtime installed but the dll should not be necessary so this should change.

    in reply to: Binary and Source wont execute #2740

    abakobo
    Participant

    are you noticed of any errors (like “vcruntime140.dll is missing” for example?) or is it just not doing anything?

    in reply to: How about a Monkey 2 Projects forum? #2612

    abakobo
    Participant

    I would vote for these added to this forums main page. Keymaster would you?

    in reply to: Ted21 progress #2475

    abakobo
    Participant

    Is those ted improvements on github already? Is it functional/usable? I’m looking forward to see this running.

    Code folding and (fully auto)indent by fold+else/elseif+select/case are top features for me.

    in reply to: Julia set fractal generator optimisation (drawpoint) #2467

    abakobo
    Participant

    Here’s the most optimized I could find, if anyone see something to be done for optimization welcome!
    I tried a bit to use RGB24 for the pixmap but don’t understand how to get a pointer of that length. But I suppose it won’t change anything with speed or may be worse.
    It can zoom and move and save the picture now. Can we set the png quality for pixmap saving? It does not have the exact same look when saved.

    [/crayon]
    in reply to: Julia set fractal generator optimisation (drawpoint) #2345

    abakobo
    Participant

    I continued a bit on this exercise and had the flowing conclusions:

    -as Simon said Float or Double doesn’t change anything (due to 64bit CPU?)

    -Struct is making things slower (made a complex struct based on Vec2)
    One thing about that is that setting a Field directly is (much) faster than setting via Properties.
    So why would we use such properties if it is only to get and set the field the same way it would be done directly?

    I made a github repo for my further exercices and posted the two julia versions on it…
    https://github.com/abakobo/learn_monkey2


    abakobo
    Participant

    Occured on W7 home x64 using the mingw package advised in readme (i686-5.3.0-posix-dwarf-rt_v4-rev0)

    in reply to: Julia set fractal generator optimisation (drawpoint) #2228

    abakobo
    Participant

    wow! now running at 30fps with FullHD on the edges!

    Thanks for that. It shows how pointers are powerfull and is a great lesson.
    I will need some time to understand all of that well. Especially the Cast operator that let you use p as an array. Is that some kind of pointer arithmetics?

    I will have to try some simple examples to get that part.


    abakobo
    Participant

    Ok so OnUpdate (not documented yet) is a must in some situations…? May be I should wait for more complete docs before trying to understand the whole appInstance/window process.

Viewing 15 posts - 436 through 450 (of 455 total)