Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you use dusk? #6

Closed
alexapostolu opened this issue Oct 7, 2020 · 33 comments
Closed

How do you use dusk? #6

alexapostolu opened this issue Oct 7, 2020 · 33 comments

Comments

@alexapostolu
Copy link

alexapostolu commented Oct 7, 2020

So I'm writing the readme file for sqdlib, and I need to know how dusk works. Could you provide a refresher? Like how will it be installed, and how will it be used with Night?

@firefish111
Copy link
Owner

@DynamicSquid can you not read the readme
dusk add x to install x
dusk del x to delete x
dusk upd x to update x
dusk inf x to show information about x on the server
dusk ls to list all information about installed packages
and yet to add dusk find x to search for all packages containing "x"

@alexapostolu
Copy link
Author

So you have to install Go as well?

@firefish111
Copy link
Owner

No, It's am ELF binary, go's runtime is embedded in the binary that's why it's so big @DynamicSquid

@alexapostolu
Copy link
Author

But what about windows? Can you run a ELF on windows without installing Go?

@firefish111
Copy link
Owner

firefish111 commented Oct 7, 2020

NO! Look in the release, have supplied both
image

@firefish111
Copy link
Owner

@DynamicSquid I hope you realise you can put binaries in release assets
image

@alexapostolu
Copy link
Author

Yes I know that, but I swear you need to install go to run the dusk.exe file...

@alexapostolu
Copy link
Author

bruh I can't download it because of a virus threat lol!

@alexapostolu
Copy link
Author

Oh okay, I downloaded it, but it gives me an error:

Screenshot (242)

It says "dusk is not recognized"...

@alexapostolu
Copy link
Author

alexapostolu commented Oct 7, 2020

lol jk. I tried it but is doesn't seem to be working, it says 404 error whenever I try to add a new package. which repl is it on again? I might be able to help

@firefish111
Copy link
Owner

@DynamicSquid repl.it removed the always on repl feature. GAH.

@alexapostolu
Copy link
Author

Uh oh, that's not good! Can we fix it though?

@firefish111
Copy link
Owner

firefish111 commented Oct 8, 2020

@DynamicSquid Well I could find another service that does always on servers, other than repl.it (disrespectful to amasad, but yes)

EDIT: mat1 made a tool that does exactly this

@alexapostolu
Copy link
Author

Oh yeah forgot about that

@firefish111
Copy link
Owner

the repl is https://repl.it/@firefish/duskcdn @DynamicSquid

@alexapostolu
Copy link
Author

alexapostolu commented Oct 8, 2020

@firefish111 hey do you know anyone with 0 followers? I'm making this webscraper thingy that scrapes your github profile. And I need a person with 0 followers as a test

@firefish111
Copy link
Owner

@DynamicSquid Well through Lethdev2019 I found this guy called @DillonJoshua2004

@alexapostolu
Copy link
Author

Cool thanks! Also do you have any ideas on what to web scrape? I already scraped:

  • username
  • bio
  • location
  • repos
  • starts
  • followers
  • following

@ghost
Copy link

ghost commented Oct 9, 2020

@DynamicSquid Well through Lethdev2019 I found this guy called @DillonJoshua2004

no please - not one of my team members... oh well.

@firefish111
Copy link
Owner

@DynamicSquid Most common languages used

@alexapostolu
Copy link
Author

@Lethdev2019 just for testing purposes. do you guys want to try it out?

@ghost
Copy link

ghost commented Oct 10, 2020

no color is in it - it works though.
image

@alexapostolu
Copy link
Author

Oh okay, ill give it another try

@firefish111
Copy link
Owner

@Lethdev2019 Try it under MinGW or under WSL

@firefish111
Copy link
Owner

@DynamicSquid For colours, You said do \033. In Golang, as far as I know, the half-arsed octal sequences are broken, as that'll print a null followed by 33.

@alexapostolu
Copy link
Author

@firefish111 want me to test it for you?

@firefish111
Copy link
Owner

@DynamicSquid Yes; please do (i will actually try the half-arsed octal sequences, rmember this is still in alpha

@alexapostolu
Copy link
Author

@firefish111 okay, so I have a long weekend next week so I'm thinking we can get everything done by then and maybe release it Saturday/Sunday, sound good?

@alexapostolu
Copy link
Author

alexapostolu commented Oct 18, 2020

@firefish111 how'd you get ansi colours to work for the windows command prompt? Cause I tried everything but the windows command prompt doesnt recognize it. I think the main issue is the escape code

@firefish111
Copy link
Owner

@DynamicSquid But how could that be? because \033 and \x1b are both printing the same exact character. Take a look at these ascii charts: (top octal, bottom hex)
image
The 33 pointing to escape, that's \033. The 1b also pointing to escape? That's \x1b.

@alexapostolu
Copy link
Author

Screenshot (248)

This is what happens when I try to do colours on command prompt

@alexapostolu
Copy link
Author

alexapostolu commented Oct 24, 2020

@firefish111 wait if the CDN is hosted on repl.it, how does it work? Cause I though a CDN always needed to be on, but repl remove that feature??

@alexapostolu
Copy link
Author

How are we going to do user submissions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants