Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    brotzeit
    @brotzeit
    :D
    different start page sounds like good-first-issue
    David DeSimone
    @DavidDeSimone
    yeah I don't know enough to comment on the decoupled UI either. I agree it sounds hard.
    but I think the new start page can be something we start making moves on in the very near future.
    brotzeit
    @brotzeit
    sure why not
    first impression is important
    the next steps would be general appearance and basic configuration
    Murilo Pereira
    @mpereira
    decoupled UI would certainly be a big effort, just like it was for Neovim. they nailed it though :)
    someone shared my post on reddit by the way, if you'd like to check out the discussion
    brotzeit
    @brotzeit
    I'm no expert, but I think it will be tougher to achieve this for emacs than for vim
    some time ago I looked at their libvterm code because I was working on implementing it for remacs, and it seemed to me that the vim code doesn't seem to be as complex as the emacs codebase
    Murilo Pereira
    @mpereira
    aye
    Ivan Yonchovski
    @yyoncho
    @harryfei what are your thoughts on that?
    David DeSimone
    @DavidDeSimone
    emacs-ng/emacs-ng#153 It sounds like someone got clojurescript working on ng
    16 replies
    i need to try that myself. I think a lot of people would be excited if that works. Especially if you can call eslip functions through the JS layer
    brotzeit
    @brotzeit
    nice
    Murilo Pereira
    @mpereira
    that is sweet
    Harry Fei
    @harryfei
    Not harder than webrender :smile: @mpereira @yyoncho
    We can add a new grahpic backend(just like webrender backend) which using RPC api to contact GUI frontends.
    1 reply
    Ivan Yonchovski
    @yyoncho
    @harryfei does it make sense to abstract webrender backend to allow running it locally and remote?
    Harry Fei
    @harryfei
    It's very practical to do that
    johann bestowrous
    @jobez
    i sort of gleamed this from skimming through the issues, but the convention to marshall data from elisp land to js land is to call .json on a given object? is there a way to go from js obj to elisp object via similar method?
    18 replies
    petr-tik
    @petr-tik

    hey, tried build with web-render and ran into an issue that feels like it might happen to others. Also the readme alludes to the error, so I was curious if someone can share the exact fix
    emacs-ng/emacs-ng#154

    thanks again

    David DeSimone
    @DavidDeSimone
    are you operating in a VM? I saw that issue when running in virtualBox, and I needed to enable 3D acceleration to solve it
    petr-tik
    @petr-tik
    i am on my linux desktop
    David DeSimone
    @DavidDeSimone
    interesting, I will have to defer to @harryfei then
    petr-tik
    @petr-tik
    let me know if you need other info. It's an AMD desktop
    Harry Fei
    @harryfei
    Something related to rust-windowing/glutin#1262
    I think it means our OS's GL library need to support vsync extension.
    petr-tik
    @petr-tik
    IIRC, Is it possible to support systems without VSYNC? I don’t know too much about drivers, so would appreciate any pointers
    Can you try to add .with_vsync(false) here?
    I find a option in glutin which we are using for window library.
    Ivan Yonchovski
    @yyoncho
    Just want to share something funny:
    (dotimes (i 1000)
      (url-copy-file "http://google.com" "/tmp/oo" t))
    (actually, not funny but kind of interesting)
    This code will block. But if you execute:
    (make-thread (lambda () (recursive-edit)) "foo")
    It won't. From now on stuff that blocks the main thread will allow the thread "foo" to run.
    petr-tik
    @petr-tik

    Can you try to add .with_vsync(false) here?

    i had to move it to https://github.com/emacs-ng/emacs-ng/blob/master/rust_src/src/webrender_backend/output.rs#L113 because it is a method on ContextBuilder. Still getting an error though

    brotzeit
    @brotzeit
    maybe we should also add a "help" room to encourage users to ask for help
    /potential contributors
    David DeSimone
    @DavidDeSimone
    I'm down for additional rooms
    David DeSimone
    @DavidDeSimone
    has anyone tried building ng with docker?
    we have like a 90% solution, I think the only reason it wouldn't work is a couple references to 'remacs' we have renamed back to 'emacs'
    brotzeit
    @brotzeit
    nope never tried it, not even with remacs
    maybe it's a good first issue ?
    David DeSimone
    @DavidDeSimone
    I think it would be, docker seems to be popular, and it does make building things easy
    petr-tik
    @petr-tik
    nix-shell could be a useful way to define reproducible versions of dependencies - i am not sure how well it supports rust, but could be at least useful to non-rust native libraries for native-comp, native json, webrender and other deps
    David DeSimone
    @DavidDeSimone
    so running my basic benchmarks with clojurescript, there does seem to be some general overhead
    3 replies
    for things like Fibonacci, I'm seeing clojurescript being 0.5x times a pure JS implementation