Discuss Scratch

BookOwl
Scratcher
1000+ posts

Nustack

Jonathan50 wrote:

BookOwl wrote:

Here is the regex used to match unquoted symbols:
[0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&()*+,-./:;<=>?@\\^_|~]+
Quoted symbols are the same, except that there is a ` in front of the character class.
Why not
[0-9a-zA-Z!#$%&()*+,-./:;<=>?@\\^_|~]+
?
Because I generated that string dynamically with Python and I was to lazy to edit it to that.
MegaApuTurkUltra
Scratcher
1000+ posts

Nustack

__init__ wrote:

SUBLIME IS BEST USE IT PLS
Please.
Brackets
it starts up faster than NPP for me…given that it's literally node.js + html I'm not sure how exactly that works :P
comp09
Scratcher
1000+ posts

Nustack

MegaApuTurkUltra wrote:

__init__ wrote:

SUBLIME IS BEST USE IT PLS
Please.
Brackets
it starts up faster than NPP for me…given that it's literally node.js + html I'm not sure how exactly that works :P
It's probably in your disk cache. Try timing it after a fresh reboot.
MegaApuTurkUltra
Scratcher
1000+ posts

Nustack

comp09 wrote:

MegaApuTurkUltra wrote:

__init__ wrote:

SUBLIME IS BEST USE IT PLS
Please.
Brackets
it starts up faster than NPP for me…given that it's literally node.js + html I'm not sure how exactly that works :P
It's probably in your disk cache. Try timing it after a fresh reboot.
No need for a reboot
They have similar load times on a cleared cache.
Brackets feels faster though because it displays its window as fast as it can and displays a splash before you can actually edit while npp doesn't display its window until all the components are loaded.

and then there's sublime, which takes longer than both combined ಠ_ಠ

Last edited by MegaApuTurkUltra (March 6, 2016 04:24:04)

Jonathan50
Scratcher
1000+ posts

Nustack

Yay updates!

Do you think Berkeley-style sockets will be to much bloat for the standard library?
Jonathan50
Scratcher
1000+ posts

Nustack

Nustack v0.10.1 Interactive Prompt
Running on Python 3.5.1 (default, Dec 7 2015, 12:58:09)
[GCC 5.2.0]
Enter your EOF character to exit.
Press Ctrl-C to stop any running code and go back to the prompt.
>>> `Requests import
>>> "http://api.scratch.mit.edu/" Requests::get
>>> ::text show
{"website":"scratch.mit.edu","api":"api.scratch.mit.edu","help":"help@scratch.mit.edu"}
>>>


Who's going to write a JSON parser (or a simple wrapper) for Nustack?

Last edited by Jonathan50 (March 7, 2016 23:52:03)

Powered by DjangoBB