Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 01 2019 18:46
    robotlolita labeled #99
  • Oct 01 2019 18:46
    robotlolita labeled #99
  • Oct 01 2019 18:46
    robotlolita labeled #99
  • Oct 01 2019 18:46
    robotlolita labeled #99
  • Oct 01 2019 18:46
    robotlolita opened #99
  • Jul 02 2016 05:19
    VegaDeftwing edited #98
  • Jul 02 2016 02:15
    VegaDeftwing edited #98
  • Jul 02 2016 01:43
    VegaDeftwing edited #98
  • Jul 02 2016 01:40
    VegaDeftwing opened #98
  • Mar 16 2016 18:09
    robotlolita commented #97
  • Mar 16 2016 18:08
    robotlolita labeled #97
  • Mar 16 2016 18:08
    robotlolita labeled #97
  • Mar 16 2016 18:08
    robotlolita labeled #97
  • Mar 16 2016 18:08
    robotlolita labeled #97
  • Mar 16 2016 18:08
    robotlolita labeled #97
  • Mar 15 2016 15:17
    StefanYohansson opened #97
  • Mar 14 2016 04:53
    robotlolita labeled #96
  • Mar 14 2016 04:53
    robotlolita labeled #96
  • Mar 14 2016 04:53
    robotlolita opened #96
  • Mar 14 2016 04:53
    robotlolita labeled #96
Konstantin Tarkus
@koistya
Why do you use SJS as opposed to regular JavaScript + Promises for async coding?
Simon
@psyomn
Just wanted to say thank you for this. Always wanted something like this!
Quil
@robotlolita

@koistya Sweet.js allows me to have macros to abstract over syntax, so I can get rid of all the boilerplate that you'd get with regular JS code (like the "a.then(f).then(g).then(h)" with Promises/A+). As for why I don't use promises, I've written about it here: http://robotlolita.me/2013/06/28/promises-considered-harmful.html, but in short: they're impure, too complex, and they don't compose, so I'd have to write much more and I wouldn't be able to reuse as much code.

@psyomn :3

Alexey Raspopov
@alexeyraspopov
@robotlolita hi! can you tell me, where can I find SJS macros code for this project? I'm curios about implementation of $do macros. Thanks
Quil
@robotlolita
@alexeyraspopov the $do macro is currently in a branch on my repository (https://github.com/robotlolita/sweet-fantasies/blob/patch-compatibility/src/do.sjs). I haven't merged it back yet because I want to take the time to optimise it before that.
Talon
@talon
@robotlolita what kind of conventions do you follow/are generally accepted when writing macros as far as recognizing them from vanilla JS and what not?
Oh, it looks like you declare them with $ that might be the answer I was looking for.
Quil
@robotlolita
@LegitTalon yeah, I'll usually prefix them with an $ (which is taken from Kernel's macros), unless they're already an ES feature, like destructuring and such
nick hulea
@naeluh
hello ?
where am i ?
Talon
@talon
@naeluh hi
@naeluh this is a chatroom for the opensource project raven
nick hulea
@naeluh
oh weird ok haha
cool later have a happy cyber monday !
Özgün Gör
@zgngr
When i try to "make run" i get "libudev.so not found" on osx. Any help?
Quil
@robotlolita
@zgngr Sorry, that Make rule was defined just for Linux distributions. I've updated the Makefile and the build instructions, so it should work now. See https://github.com/robotlolita/raven#building
Özgün Gör
@zgngr
@robotlolita Thank you. It worked.
cnd
@cnd
@robotlolita hi!
npm bin on windows returns string \ and it breaks Makefile
@robotlolita bin = "$(shell npm bin)" will work, I can make pull request :)
cnd
@cnd
same in other repositories...
mzubairkhan
@mzubairkhan
HI
i want to integrate raven text editor on my website
can anyone guide me please
Quil
@robotlolita
@mzubairkhan Raven is a desktop application, not a webpage, so that's not possible.
Juan Carlos
@juancnh80_twitter
Buen día, saludos desde Venezuela.
¿Hay algún paquete .deb para Debian Jessie basado en Devuan para Raven?
Juan Carlos
@juancnh80_twitter

¿Como puedo hacer para agregar el corrector ortográfico?
How can I add spell check?

How can I add spell check?

Quil
@robotlolita
@juancnh80_twitter no .deb package currently, but you can download the Linux zip.
Spellchecking is not supported by the nwjs version Raven uses, unfortunately.
Wiadomy
@Wiadomy
Hey you should add information on github that the nwjs-bin is needed for raven
Quil
@robotlolita
@Wiadomy for running from source?