These are chat archives for OpenSprites/OpenSprites-next

3rd
Jul 2016
Florrie
@towerofnix
Jul 03 2016 00:27

THIS IS WHAT YOU GET FOR LEAVING ME

(to sleep)
huh, it's actually okay.
Look decent?
(..and yes, it's hooked up to the database)
Florrie
@towerofnix
Jul 03 2016 00:33
Pushed. OpenSprites/OpenSprites-next@f295360
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 00:58

anything you want me to do with OS-next?

do you guys have an upload page yet?

Florrie
@towerofnix
Jul 03 2016 01:18
Yeah, we do.
Not quite finished - I don't think multiple file uploads work at once for example
There should be a preview in the "select a file" box etc.
@nanalan Anything MATU can do? :P
alex
@heyitsmeuralex
Jul 03 2016 06:17
um
yes
He can port over his sprite2/sb2 -> collection thing
@liam4 try to put db finding stuff in the viewmodel
rather than in db.js like before
:)
alex
@heyitsmeuralex
Jul 03 2016 06:44
@MegaApuTurkUltra might implement https://www.npmjs.com/package/waveform
Does scratch convert to wav or mp3?
checks
wav
righty then
alex
@heyitsmeuralex
Jul 03 2016 07:09
blob
alex
@heyitsmeuralex
Jul 03 2016 08:04
woo, now audio works
and you can play it from the collections/index page
blob
yay media events
alex
@heyitsmeuralex
Jul 03 2016 08:29
blob
What do you think?
That albumart is automagically generated
hoi kvack
Arthur
@kvackkvack
Jul 03 2016 08:29
hi
alex
@heyitsmeuralex
Jul 03 2016 08:30
waddah you think?
Arthur
@kvackkvack
Jul 03 2016 08:30
Looks very cool
alex
@heyitsmeuralex
Jul 03 2016 08:30
blob
Arthur
@kvackkvack
Jul 03 2016 08:30
It'd be nice to be able to change the image but have that automatically generated be the default
alex
@heyitsmeuralex
Jul 03 2016 08:31
+1
Arthur
@kvackkvack
Jul 03 2016 08:31
also why do some of them not have icons?
alex
@heyitsmeuralex
Jul 03 2016 08:31
You have to hover/be playing it to get it to show the icon
Spotify-like
Arthur
@kvackkvack
Jul 03 2016 08:31
Oh
There should be some showing of "category" or whatever under the title
:P
Slightly transparent, smaller, some cool color
alex
@heyitsmeuralex
Jul 03 2016 08:32
good point
k
blob
How's this?
Arthur
@kvackkvack
Jul 03 2016 08:35
Oo
I like it
"By" probably shouldn't be capitalized
alex
@heyitsmeuralex
Jul 03 2016 08:36
it's part of the title
@/all perhaps, rather than resources, we should use "Stuff" like Scratch
"Popular Stuff"
"Newest Stuff"
"nanalan's Stuff"
Arthur
@kvackkvack
Jul 03 2016 08:37
Wait what? The "By nanalan" part is part of the title?
alex
@heyitsmeuralex
Jul 03 2016 08:37
no
It's capitalised though because it's it's own title in of itself
it's a sentence m8
Arthur
@kvackkvack
Jul 03 2016 08:38
It looks better not capitalised though :P
alex
@heyitsmeuralex
Jul 03 2016 08:38
hm...
Arthur
@kvackkvack
Jul 03 2016 08:38
And "By nanalan" isn't a correct sentence anyways
alex
@heyitsmeuralex
Jul 03 2016 08:39
blob
I like the lowercase more now lol
kek
Arthur
@kvackkvack
Jul 03 2016 08:39
:P
alex
@heyitsmeuralex
Jul 03 2016 08:40
@/anyonedoingbackend make sure when db.Resource.find(...)ing you pass in { data: false } as the second parameter
otherwise you'll get the entire buffer data
which slows down os like, uh, Totoro on a bicycle
:package:
alex
@heyitsmeuralex
Jul 03 2016 08:48
I pushed :tada: if you wanna try it out.
alex
@heyitsmeuralex
Jul 03 2016 08:59
Gonna go for "Stuff" for now so I don't have to change it later :P
Arthur
@kvackkvack
Jul 03 2016 08:59
Make it some sort of constant
alex
@heyitsmeuralex
Jul 03 2016 09:00
...meh
fine
alex
@heyitsmeuralex
Jul 03 2016 09:11
done
pushed :tada:
alex
@heyitsmeuralex
Jul 03 2016 10:41
currently making the Share page look nice
:P
alex
@heyitsmeuralex
Jul 03 2016 11:17

hoi liam

blob
I made your thing look nice (and works)!
That sound actually plays too :P
Florrie
@towerofnix
Jul 03 2016 11:36
Yay! :tada:
alex
@heyitsmeuralex
Jul 03 2016 11:40
:P
Gonna make it ajaxy with progress bars and stuff now
alex
@heyitsmeuralex
Jul 03 2016 13:32
why are you guys not :clap:ing me
:(
:clap:s self
Arthur
@kvackkvack
Jul 03 2016 13:32
:clap: :clap: :clap:
:tada:
alex
@heyitsmeuralex
Jul 03 2016 13:32
:P
Arthur
@kvackkvack
Jul 03 2016 13:32
:sparkles:
alex
@heyitsmeuralex
Jul 03 2016 13:33
pushed it
kvack
you should do something
Arthur
@kvackkvack
Jul 03 2016 13:35
indeed
I don't know how to set things up though
alex
@heyitsmeuralex
Jul 03 2016 13:35
wunt halp?
:P
Arthur
@kvackkvack
Jul 03 2016 13:35
ys pls
alex
@heyitsmeuralex
Jul 03 2016 13:36
Make an mLab account.
Arthur
@kvackkvack
Jul 03 2016 13:36
Uh, what should the "account name" be?
alex
@heyitsmeuralex
Jul 03 2016 13:36
Doesn't matter
:P
you've already git cloned and npm ied right?
Arthur
@kvackkvack
Jul 03 2016 13:36
yes
alex
@heyitsmeuralex
Jul 03 2016 13:36
k
git pull && npm i again pls
Arthur
@kvackkvack
Jul 03 2016 13:37
I am :P
alex
@heyitsmeuralex
Jul 03 2016 13:37
kek
Arthur
@kvackkvack
Jul 03 2016 13:37
Well, npm i just finished
alex
@heyitsmeuralex
Jul 03 2016 13:37
Yeah, so make an mlab account and confirm your email addr
:tada:
Arthur
@kvackkvack
Jul 03 2016 13:38
mLab sucks, it doesn't detect right-clicking and choosing "open in new tab" as clicking a link >:(
alex
@heyitsmeuralex
Jul 03 2016 13:38
Middle clicking is fun
:P
+1
If you middle click, it opens in a new tab on every site
very halpful
meow
Arthur
@kvackkvack
Jul 03 2016 13:39
k, what to do now?
alex
@heyitsmeuralex
Jul 03 2016 13:39
You've made an account and are signed in, right?
Arthur
@kvackkvack
Jul 03 2016 13:39
Yes
alex
@heyitsmeuralex
Jul 03 2016 13:39
Make a free one
Arthur
@kvackkvack
Jul 03 2016 13:40
Alright
alex
@heyitsmeuralex
Jul 03 2016 13:40
Add a user & password w/ write permission
blob
Arthur
@kvackkvack
Jul 03 2016 13:41
Yeah
alex
@heyitsmeuralex
Jul 03 2016 13:41
Done?
Arthur
@kvackkvack
Jul 03 2016 13:41
Database name? :P
alex
@heyitsmeuralex
Jul 03 2016 13:41
any
It's all configurable
blob
Then take note of the highlighted bit on yours
tell me when you're ready to go on
Arthur
@kvackkvack
Jul 03 2016 13:42
So I connect now?
alex
@heyitsmeuralex
Jul 03 2016 13:42
no
That url
copy it
Arinerron
@Arinerron
Jul 03 2016 13:42
hoi
alex
@heyitsmeuralex
Jul 03 2016 13:42
hoihoi
Arthur
@kvackkvack
Jul 03 2016 13:42
Done
Arinerron
@Arinerron
Jul 03 2016 13:42
I just woke up
alex
@heyitsmeuralex
Jul 03 2016 13:42
;-;
Arinerron
@Arinerron
Jul 03 2016 13:43
What is happening, tl;dr
:P
alex
@heyitsmeuralex
Jul 03 2016 13:43
Helping kvack install osnext
@kvackkvack make a .env file in the os-next dir you cloned locally
Arinerron
@Arinerron
Jul 03 2016 13:43
k
Arthur
@kvackkvack
Jul 03 2016 13:43
why is this so tedious :(
alex
@heyitsmeuralex
Jul 03 2016 13:43
xD
give it these contents, substituting the db_xxxx values for your actual ones
Arinerron
@Arinerron
Jul 03 2016 13:43
:P
alex
@heyitsmeuralex
Jul 03 2016 13:43
db_host=localhost
db_name=next
db_user=username
db_pass=password

resources_name=Stuff
session_secret=thisandagainplsexplain
Arthur
@kvackkvack
Jul 03 2016 13:44
tfw windows doesn't consider .env a valid file
alex
@heyitsmeuralex
Jul 03 2016 13:44
lol
Arthur
@kvackkvack
Jul 03 2016 13:44
I'll have to do it through the sucky commandline
alex
@heyitsmeuralex
Jul 03 2016 13:44
:shipit:
windows ftw!!!111one
Arinerron
@Arinerron
Jul 03 2016 13:44
rip in peices
alex
@heyitsmeuralex
Jul 03 2016 13:44
peices
:clap:
Arinerron
@Arinerron
Jul 03 2016 13:44
Yep
(it's a joke)
alex
@heyitsmeuralex
Jul 03 2016 13:45

clap

singularsingular
:package:
Arthur
@kvackkvack
Jul 03 2016 13:45
type NUL > .env
got to love windows!!! :D
alex
@heyitsmeuralex
Jul 03 2016 13:45
lol
db_host=xxxx.mlab.com:xxxx
db_name=next
db_user=username
db_pass=password

resources_name=Stuff
session_secret=thisandagainplsexplain
Arinerron
@Arinerron
Jul 03 2016 13:46
rip into pieces? tear into pieces?
y'know?
alex
@heyitsmeuralex
Jul 03 2016 13:46
i lik pei
incase you didn't know, @Arinerron, I was picking up on the fact you spelt "pieces" wrong, not that you made it plural
:shipit:
Arinerron
@Arinerron
Jul 03 2016 13:47
Is there a line version of OpenSprites next I can try? I didn't see one while scrolling up (?)
alex
@heyitsmeuralex
Jul 03 2016 13:47
a line version?
Arinerron
@Arinerron
Jul 03 2016 13:48
Oh, right.
alex
@heyitsmeuralex
Jul 03 2016 13:48
oh, online - no
Arinerron
@Arinerron
Jul 03 2016 13:48
I'll fix that :P
Florrie
@towerofnix
Jul 03 2016 13:48
invades discussion
alex
@heyitsmeuralex
Jul 03 2016 13:48
:P
gg
Arinerron
@Arinerron
Jul 03 2016 13:48
Phone autocorrect
:P
alex
@heyitsmeuralex
Jul 03 2016 13:48
xD
Arthur
@kvackkvack
Jul 03 2016 13:48
Uh
I think I did the file correctly? :P
What to do now?
alex
@heyitsmeuralex
Jul 03 2016 13:48
cat it pls
No, there's not atm sorry @Arinerron
Arthur
@kvackkvack
Jul 03 2016 13:48
wat
How does one cat something? :P
Florrie
@towerofnix
Jul 03 2016 13:48
Online, not yet, because no HTTPS + people probably aren't smart enough to not send their master password to the server :shipit:
alex
@heyitsmeuralex
Jul 03 2016 13:48
xD
Florrie
@towerofnix
Jul 03 2016 13:48
cat = type on windows?
alex
@heyitsmeuralex
Jul 03 2016 13:49
nvm, doesn't matter
npm start @kvackkvack
If it worked it'll say "Listening on http://localhost:3000 :tada:"
Arthur
@kvackkvack
Jul 03 2016 13:49
YAY
IT WORKS
alex
@heyitsmeuralex
Jul 03 2016 13:49
:P
Make an account and do stuff.
@liam4 I made sharing better
pull and try it out
Florrie
@towerofnix
Jul 03 2016 13:50
# do mongo things :(
git clone url
cd OpenSprites-next
npm install
# in separate tabs/processes/WHATEVER:
npm run watch
npm start
alex
@heyitsmeuralex
Jul 03 2016 13:50
yeh.
mLab isn't actually that hard to setup
Florrie
@towerofnix
Jul 03 2016 13:50
updating is git pull && npm i
Arinerron
@Arinerron
Jul 03 2016 13:50
Oh, okay. I'm excited to see your progress :P
alex
@heyitsmeuralex
Jul 03 2016 13:50
:P
and I like mongoose
Florrie
@towerofnix
Jul 03 2016 13:50
What's mLab?
Mongo lab?
alex
@heyitsmeuralex
Jul 03 2016 13:50
yes
:P
Florrie
@towerofnix
Jul 03 2016 13:50
Can I use to hack interact with your database?
:D
alex
@heyitsmeuralex
Jul 03 2016 13:51
see .env :P
Florrie
@towerofnix
Jul 03 2016 13:51
mhm
.env
.gitignore much?
alex
@heyitsmeuralex
Jul 03 2016 13:51
blob
@Arinerron
@liam4 :P
Florrie
@towerofnix
Jul 03 2016 13:51
# dotenv file
.env
alex
@heyitsmeuralex
Jul 03 2016 13:51
xD
Florrie
@towerofnix
Jul 03 2016 13:51
That looks nice!
db_host=localhost
db_name=next
db_user=liam
db_pass=not4u
session_secret=thisandagainplsexplain
Arthur
@kvackkvack
Jul 03 2016 13:51
I think I glitched something... Are you supposed to be able to remove the "About me" from your about me?
Arinerron
@Arinerron
Jul 03 2016 13:51
Very nice!
Florrie
@towerofnix
Jul 03 2016 13:51
Whoa there's people
Arthur
@kvackkvack
Jul 03 2016 13:52
Hm, "glitched something" sounds nooby
alex
@heyitsmeuralex
Jul 03 2016 13:52
@kvackkvack yes
Arinerron
@Arinerron
Jul 03 2016 13:52
Is there a button for Options?
alex
@heyitsmeuralex
Jul 03 2016 13:52
options?
blob
^ new share page
Arinerron
@Arinerron
Jul 03 2016 13:52
For each resource
alex
@heyitsmeuralex
Jul 03 2016 13:52
...no?
You click on the data
it ajaxes
markdown amazingness
They act exactly as if they were uploaded on the Share page except with an upload btn/contenteditable
Arinerron
@Arinerron
Jul 03 2016 13:53
ex. Change name, picture, description, visibility, etc
alex
@heyitsmeuralex
Jul 03 2016 13:53
clicks description
types
clicks off of description
Arinerron
@Arinerron
Jul 03 2016 13:53
k
saves
Florrie
@towerofnix
Jul 03 2016 13:54
OpenSprites/OpenSprites-next#19
Arinerron
@Arinerron
Jul 03 2016 13:54
:P
Florrie
@towerofnix
Jul 03 2016 13:54
@nanalan that was a quick GH reaction
Arthur
@kvackkvack
Jul 03 2016 13:54
Is stuff actually saved?
alex
@heyitsmeuralex
Jul 03 2016 13:54
:P
@kvackkvack yes ofc
Arthur
@kvackkvack
Jul 03 2016 13:54
k
alex
@heyitsmeuralex
Jul 03 2016 13:54
See db/uploads/xxx.dat files
they're node buffers
Florrie
@towerofnix
Jul 03 2016 13:54
Yep!
Oh yeah
Need to add db to my Sublime ignore
alex
@heyitsmeuralex
Jul 03 2016 13:55
:P
wait
that's a thing?
GIB PACKAGE PLS
Florrie
@towerofnix
Jul 03 2016 13:56
A package?
Arinerron
@Arinerron
Jul 03 2016 13:56
:package:
there @nanalan
alex
@heyitsmeuralex
Jul 03 2016 13:56
...
Arthur
@kvackkvack
Jul 03 2016 13:56
Atom automatically reads your .gitignore ;)
alex
@heyitsmeuralex
Jul 03 2016 13:56
Problem is I don't want it to hide .env
Arthur
@kvackkvack
Jul 03 2016 13:57
There's probably a package for hiding whatever you want
Without .gitignore-ing it
Latest stuff isn't supposed to work yet, right?
alex
@heyitsmeuralex
Jul 03 2016 13:57
it does work...?
Florrie
@towerofnix
Jul 03 2016 13:57
{
    "folders":
    [
        {
            "path": ".",
      "folder_exclude_patterns": ["db", ".dist"]
        }
    ]
}
Arthur
@kvackkvack
Jul 03 2016 13:57
... Not for me
alex
@heyitsmeuralex
Jul 03 2016 13:57
Wat error
blob
:P
@liam4 is that .sublime-project?
Florrie
@towerofnix
Jul 03 2016 13:58
Yeah
alex
@heyitsmeuralex
Jul 03 2016 13:58
@kvackkvack error pls
Arthur
@kvackkvack
Jul 03 2016 13:58
No error
alex
@heyitsmeuralex
Jul 03 2016 13:59
...how does it not work then
Arthur
@kvackkvack
Jul 03 2016 13:59
I've attempted to share an image and clicked "upload and share" but it isn't popping up in Latest Stuff :P
alex
@heyitsmeuralex
Jul 03 2016 14:00
What does cmd prompt say
Arthur
@kvackkvack
Jul 03 2016 14:00
> opensprites@1.0.0 start C:\Users\frisk\Documents\js\OpenSprites-next
> nodemon -w server/.dist

[nodemon] 1.9.2
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: C:\Users\frisk\Documents\js\OpenSprites-next\server\.dist/**/*
[nodemon] starting `node server/.dist/main.js`
Connecting to MongoDB...
Listening on http://localhost:3000 �
kvackkvack joined! �
alex
@heyitsmeuralex
Jul 03 2016 14:00
hm
Arthur
@kvackkvack
Jul 03 2016 14:00
Does it work for you?
alex
@heyitsmeuralex
Jul 03 2016 14:00
HEY CMD PROMPT DOESNT SUPPORT EMOJI
Arthur
@kvackkvack
Jul 03 2016 14:00
Indeed
alex
@heyitsmeuralex
Jul 03 2016 14:00
THATS TERRIBLE
@kvackkvack yes
:P
um
Did you click share
Arthur
@kvackkvack
Jul 03 2016 14:01
Yes
alex
@heyitsmeuralex
Jul 03 2016 14:01
...
did it redirect you to /users/kvackkvack?
Arthur
@kvackkvack
Jul 03 2016 14:01
Yep
alex
@heyitsmeuralex
Jul 03 2016 14:03
git pull pls
I made it throw fs errors on upload
Arinerron
@Arinerron
Jul 03 2016 14:03
5 authors have pushed 53 commits to all branches, excluding merges. On master, 45 files have changed and there have been 3,185 additions and 1 deletions .
alex
@heyitsmeuralex
Jul 03 2016 14:04
:P
Arinerron
@Arinerron
Jul 03 2016 14:04
1 deletion only?
alex
@heyitsmeuralex
Jul 03 2016 14:04
try and upload something?
Arinerron
@Arinerron
Jul 03 2016 14:04
wow
alex
@heyitsmeuralex
Jul 03 2016 14:04
xD
Arthur
@kvackkvack
Jul 03 2016 14:04
Sign out doesn't work :(
alex
@heyitsmeuralex
Jul 03 2016 14:04
...
Arinerron
@Arinerron
Jul 03 2016 14:04
When I get home I can contribute, but 'till then...
sry
alex
@heyitsmeuralex
Jul 03 2016 14:05
@kvackkvack you botched your signin then
@Arinerron not your fault :P
Arthur
@kvackkvack
Jul 03 2016 14:05
Botched my signin?
alex
@heyitsmeuralex
Jul 03 2016 14:05
somehow
go to mlab and delete the users collection
Florrie
@towerofnix
Jul 03 2016 14:05
Somehow my internet (even local!) entirely derped out for a minute there.
I dunno.
alex
@heyitsmeuralex
Jul 03 2016 14:05
:P
Arthur
@kvackkvack
Jul 03 2016 14:05
It says there aren't any collections :P
alex
@heyitsmeuralex
Jul 03 2016 14:06
...
well thats why
Arthur
@kvackkvack
Jul 03 2016 14:06
nvm
I didn't refresh
alex
@heyitsmeuralex
Jul 03 2016 14:06
:shipit:
Arthur
@kvackkvack
Jul 03 2016 14:09
I messed something up
alex
@heyitsmeuralex
Jul 03 2016 14:09
:P
Arthur
@kvackkvack
Jul 03 2016 14:09
Users collection is gone, it's still thinking that I'm signed in as kvackkvack despite restarting npm start multiple times but it says that kvackkvack isn't a user
And signout throws the error " Cannot set property 'online' of null"
Again showing that I'm logged in as a non-existent user :tada:
Florrie
@towerofnix
Jul 03 2016 14:10
How do I log into the OpenSprites-next mlab database?
uh
alex
@heyitsmeuralex
Jul 03 2016 14:10
...
wat
@kvackkvack delete db/session/*.json
Florrie
@towerofnix
Jul 03 2016 14:10
You guys were talking about mlab earlier
Arthur
@kvackkvack
Jul 03 2016 14:10
how?
alex
@heyitsmeuralex
Jul 03 2016 14:10
@liam4 ah
Florrie
@towerofnix
Jul 03 2016 14:10
Kinda implies you had gotten a server set up
Arthur
@kvackkvack
Jul 03 2016 14:10
You make your own @liam4
I think
alex
@heyitsmeuralex
Jul 03 2016 14:11
^
Florrie
@towerofnix
Jul 03 2016 14:11
Okay :P
alex
@heyitsmeuralex
Jul 03 2016 14:11
It's incase you don't wanna install Mongo locally
Florrie
@towerofnix
Jul 03 2016 14:11
does mlab have any handy server managing online tools?
alex
@heyitsmeuralex
Jul 03 2016 14:11
yes
Florrie
@towerofnix
Jul 03 2016 14:11
For those who don't like to type giant JSON objects to handle user accounts
Okay cool :P
Arinerron
@Arinerron
Jul 03 2016 14:11
What do you think of a feature where on the user page, it says the last time you were seen (aka last time you sent a request to the webserver)?
alex
@heyitsmeuralex
Jul 03 2016 14:11
@Arinerron I'm working on that
Arinerron
@Arinerron
Jul 03 2016 14:11
It's a feature Scratch lacks that I like
Thank you @nanalan
:)
Arthur
@kvackkvack
Jul 03 2016 14:12
How do I delete the thing? :P
alex
@heyitsmeuralex
Jul 03 2016 14:12
wat
Arthur
@kvackkvack
Jul 03 2016 14:12
@kvackkvack delete db/session/*.json
alex
@heyitsmeuralex
Jul 03 2016 14:12
...
My Documents
NanalanIsTheBest/
OpenSprites-Next/
Arthur
@kvackkvack
Jul 03 2016 14:13
Oh, in the actual folder
alex
@heyitsmeuralex
Jul 03 2016 14:13
db/
yes
:P
Arthur
@kvackkvack
Jul 03 2016 14:13
I thought I had to do something in mLab
:P
alex
@heyitsmeuralex
Jul 03 2016 14:13
xD
no
Arinerron
@Arinerron
Jul 03 2016 14:13
windows \
alex
@heyitsmeuralex
Jul 03 2016 14:13
:P
good point
Arinerron
@Arinerron
Jul 03 2016 14:13
:P
alex
@heyitsmeuralex
Jul 03 2016 14:13
sessions and rawdata is stored locally because mongo isn't so good at that
I found that out the hard way
waits 5 mins for 2 min sound to upload
Arinerron
@Arinerron
Jul 03 2016 14:14
plays after 6 hours
alex
@heyitsmeuralex
Jul 03 2016 14:14
:P
Arthur
@kvackkvack
Jul 03 2016 14:16
I really messed something up, I can't sign up or log in now. It's logging "kvackkvack joined :tada:" then "[]"
brb
alex
@heyitsmeuralex
Jul 03 2016 14:16
...
@kvackkvack delete all collections and try again? :P
@liam4 getting any more errors after my last commit?
alex
@heyitsmeuralex
Jul 03 2016 14:23
I've got some ideas for support OS file formats
perhaps we could take fonts and when downloaded turn them into .sprite2s
Florrie
@towerofnix
Jul 03 2016 14:24
Senpai
NodeLists don't implement forEach
And you shouldn't be using a function
When you can be using a loop
:P
alex
@heyitsmeuralex
Jul 03 2016 14:25
kek
ironically it seemed to work
why? :P
Arinerron
@Arinerron
Jul 03 2016 14:25
lol
Florrie
@towerofnix
Jul 03 2016 14:27
depends on the browser
lemme check the spec
I have a good reason to avoid forEach
alex
@heyitsmeuralex
Jul 03 2016 14:28
fix it pls
:P
Florrie
@towerofnix
Jul 03 2016 14:28
If you want to put async functions in a forEach
it probably breaks.
I know it does w/ map which is sad
alex
@heyitsmeuralex
Jul 03 2016 14:28
it seemed to work with traceur
alex
@heyitsmeuralex
Jul 03 2016 14:28
but kek
Arthur
@kvackkvack
Jul 03 2016 14:28
I sometimes use normal for loops. They have been made ugly with the new cool loops, but they actually do provide really cool functionality still and are somewhat faster
alex
@heyitsmeuralex
Jul 03 2016 14:29
^
exactement
Arinerron
@Arinerron
Jul 03 2016 14:30
nexe is basically a utility to compile several node files to one executable node file with a cli.
alex
@heyitsmeuralex
Jul 03 2016 14:31
mm
interesting
Arinerron
@Arinerron
Jul 03 2016 14:32
Features: - Ability to run multiple applications with different node.js runtimes.
  • Distributable binaries without needing node / npm.
  • Starts faster.
  • Lockdown specific application versions, and easily rollback.
  • Faster deployments.
alex
@heyitsmeuralex
Jul 03 2016 14:33
Cons: Doesn't fully support dirname, __filename, or require()
Arinerron
@Arinerron
Jul 03 2016 14:33
Oh :/
alex
@heyitsmeuralex
Jul 03 2016 14:33
:P
It's cool tho
Arthur
@kvackkvack
Jul 03 2016 14:33
Uh, now both joining and signing in leads to an infinite loading and nothing getting logged
alex
@heyitsmeuralex
Jul 03 2016 14:34
...
wtf
Arthur
@kvackkvack
Jul 03 2016 14:34
^
Arinerron
@Arinerron
Jul 03 2016 14:34
6 hours later...
alex
@heyitsmeuralex
Jul 03 2016 14:34
what's your .env?
Arinerron
@Arinerron
Jul 03 2016 14:34
jk
alex
@heyitsmeuralex
Jul 03 2016 14:34
:P
Arthur
@kvackkvack
Jul 03 2016 14:35
I assume you only want the db stuff:
db_host=ds013300.mlab.com:13300
db_name=os
db_user=kvackkvack
db_pass=password123
alex
@heyitsmeuralex
Jul 03 2016 14:35
hm
no errors? at all?
Arthur
@kvackkvack
Jul 03 2016 14:36
Nope
Should I just delete the folder and my user and redo everything? :P
:P
Arthur
@kvackkvack
Jul 03 2016 14:36
kvackkvack without read only
alex
@heyitsmeuralex
Jul 03 2016 14:37
hm
dir db
my windows knowledge is endless
Arthur
@kvackkvack
Jul 03 2016 14:37
2016-07-03  15:36    <DIR>          .
2016-07-03  15:36    <DIR>          ..
2016-07-03  16:34    <DIR>          session
               0 File(s)              0 bytes
               3 Dir(s)  60 015 583 232 bytes free
alex
@heyitsmeuralex
Jul 03 2016 14:37
did you git pull
there should be db/uploads too
not like it makes a difference lol
Arthur
@kvackkvack
Jul 03 2016 14:38
I hadn't
I'll try again
alex
@heyitsmeuralex
Jul 03 2016 14:38
...
:P
git pull && npm i && npm start
Arthur
@kvackkvack
Jul 03 2016 14:39
Now I get kvackkvack joined! � but I'm not signed in after signing up and can't sign in
alex
@heyitsmeuralex
Jul 03 2016 14:39
:/
Arthur
@kvackkvack
Jul 03 2016 14:39
Eh, I can't be bothered anymore :P
I'll try again later with a complete reset
alex
@heyitsmeuralex
Jul 03 2016 14:40
lol
I'll setup a test server for @Arinerron & you if you want
Arthur
@kvackkvack
Jul 03 2016 14:40
Nah
I'll just redo it myself
Florrie
@towerofnix
Jul 03 2016 14:40
nexe sounds like it would work better w/ the new js modules
Arinerron
@Arinerron
Jul 03 2016 14:40
That would be awesome @nanalan
I'll be sure to set a spam password too
:P
alex
@heyitsmeuralex
Jul 03 2016 14:41
xD
@liam4 see commit
Florrie
@towerofnix
Jul 03 2016 14:42
lol changed that locally too
alex
@heyitsmeuralex
Jul 03 2016 14:42
xD
James
@The-Cheese-Eater
Jul 03 2016 14:43
I installed Mongo locally and all works <3
alex
@heyitsmeuralex
Jul 03 2016 14:43
:heart:
Arinerron
@Arinerron
Jul 03 2016 14:43
wb @The-Cheese-Eater
alex
@heyitsmeuralex
Jul 03 2016 14:43
^
James
@The-Cheese-Eater
Jul 03 2016 14:43
Thanks :P
Florrie
@towerofnix
Jul 03 2016 14:43
one sec, one more forEach I need to fix
Arinerron
@Arinerron
Jul 03 2016 14:43
<3 I'm late
alex
@heyitsmeuralex
Jul 03 2016 14:43
:P
Florrie
@towerofnix
Jul 03 2016 14:43
Wb James :D
James
@The-Cheese-Eater
Jul 03 2016 14:44
:P
alex
@heyitsmeuralex
Jul 03 2016 14:44
setting up osnext on my linode now
xD
Florrie
@towerofnix
Jul 03 2016 14:44
Cool!
James
@The-Cheese-Eater
Jul 03 2016 14:44
Is that for testing?
alex
@heyitsmeuralex
Jul 03 2016 14:44
Yep.
James
@The-Cheese-Eater
Jul 03 2016 14:44
Coolio
alex
@heyitsmeuralex
Jul 03 2016 14:45
I'll stick it on http://alex.bates.is:3000 or something
Florrie
@towerofnix
Jul 03 2016 14:45
OpenSprites/OpenSprites-next@68b7013
Dummy?
alex
@heyitsmeuralex
Jul 03 2016 14:45
dummy?
dummydummy
Florrie
@towerofnix
Jul 03 2016 14:45
?????
alex
@heyitsmeuralex
Jul 03 2016 14:46
wot?
Arinerron
@Arinerron
Jul 03 2016 14:47
Anyone know how I could get a free server in the cloud for testing projects 'n' stuff?
:package:
Arinerron
@Arinerron
Jul 03 2016 14:47
It is important to me that it is in the cloud btw (for reasons)
alex
@heyitsmeuralex
Jul 03 2016 14:47
@Arinerron what language
Arinerron
@Arinerron
Jul 03 2016 14:48
Language? I mean like my own box
alex
@heyitsmeuralex
Jul 03 2016 14:48
oh
nitrous is ok
Arinerron
@Arinerron
Jul 03 2016 14:48
ex aws, linode
alex
@heyitsmeuralex
Jul 03 2016 14:48
Nitrous :P
Arinerron
@Arinerron
Jul 03 2016 14:48
Oh, I forgot to mention for free
It doesn't have to be an amazing speedy server or anything...
alex
@heyitsmeuralex
Jul 03 2016 14:49
nitrous
Arinerron
@Arinerron
Jul 03 2016 14:49
Oh, I did mention that, nvm :P
alex
@heyitsmeuralex
Jul 03 2016 14:49
whoever just tried to signup on my server
Arinerron
@Arinerron
Jul 03 2016 14:49
Thanks
James
@The-Cheese-Eater
Jul 03 2016 14:49
me
alex
@heyitsmeuralex
Jul 03 2016 14:49
im banned from scratch remember?
xD
I'll add a thing to .env to change the projectid
James
@The-Cheese-Eater
Jul 03 2016 14:49
I thought you got away with it?
Florrie
@towerofnix
Jul 03 2016 14:50
^
alex
@heyitsmeuralex
Jul 03 2016 14:50
server got banned :package:
Florrie
@towerofnix
Jul 03 2016 14:50
Oh :P
James
@The-Cheese-Eater
Jul 03 2016 14:50
rip
alex
@heyitsmeuralex
Jul 03 2016 14:50
I shot the st an email: "somebody hacked my serveur"
:package:
Florrie
@towerofnix
Jul 03 2016 14:50
Seriously? :P
alex
@heyitsmeuralex
Jul 03 2016 14:50
I made it so you can disable the scratch username check in the code
yep
:P
Florrie
@towerofnix
Jul 03 2016 14:50
lol
James
@The-Cheese-Eater
Jul 03 2016 14:50
:P
alex
@heyitsmeuralex
Jul 03 2016 14:50
const signupProjectId = 115307769 // null to disable check
STOP TRYING TO SIGN UP
Florrie
@towerofnix
Jul 03 2016 14:51
k :shipit:
James
@The-Cheese-Eater
Jul 03 2016 14:51
:(
alex
@heyitsmeuralex
Jul 03 2016 14:52
try now
It'll remove "Step 2" if it's null
James
@The-Cheese-Eater
Jul 03 2016 14:52
k
alex
@heyitsmeuralex
Jul 03 2016 14:52
thatandagain joined :tada:
m8
:P
James
@The-Cheese-Eater
Jul 03 2016 14:53
lol
alex
@heyitsmeuralex
Jul 03 2016 14:53
WHO'S UPLOADING
:package:
I'm not done setting up yet lel
James
@The-Cheese-Eater
Jul 03 2016 14:53
oh :(
:P
alex
@heyitsmeuralex
Jul 03 2016 14:54
try now
git doesn't seem to be picking up db/uploads/.keep
Arthur
@kvackkvack
Jul 03 2016 14:54
Wait what, you were banned from Scratch? :P
alex
@heyitsmeuralex
Jul 03 2016 14:54
server was lol
Arinerron
@Arinerron
Jul 03 2016 14:54
^
pls explain
alex
@heyitsmeuralex
Jul 03 2016 14:54
"kid friendly gun"
Arinerron
@Arinerron
Jul 03 2016 14:55
:P
alex
@heyitsmeuralex
Jul 03 2016 14:55
@Arinerron They broke through the proxies again
:P
Arinerron
@Arinerron
Jul 03 2016 14:55
Oh :P
alex
@heyitsmeuralex
Jul 03 2016 14:55
btw on /share if you open the console you'll get a percentage uploaded
Arinerron
@Arinerron
Jul 03 2016 14:56
wth
Florrie
@towerofnix
Jul 03 2016 14:57
why does my terminal default to using node 5 :(
alex
@heyitsmeuralex
Jul 03 2016 14:57
:P
Florrie
@towerofnix
Jul 03 2016 14:57
OpenSprites-next $ node
> [].includes
undefined
> 
(To exit, press ^C again or type .exit)
> 
OpenSprites-next $ nvm use 6
Now using node v6.2.1 (npm v3.9.3)
OpenSprites-next $ node
> [].includes
[Function: includes]
alex
@heyitsmeuralex
Jul 03 2016 14:57
"nvm use 6" >> ~/.zshrc
:P
Florrie
@towerofnix
Jul 03 2016 14:57
Yeah
music!!1!
Florrie
@towerofnix
Jul 03 2016 14:58
Last login: Sun Jul  3 11:56:42 on ttys001
Now using node v6.2.1 (npm v3.9.3)
OpenSprites-next $
Yay
MUSIC
that better be creative commons no attribution m8
:shipit:
alex
@heyitsmeuralex
Jul 03 2016 14:59
:P
Arinerron
@Arinerron
Jul 03 2016 14:59
Not letting me upload screenshots of an issue with the resources
:(
alex
@heyitsmeuralex
Jul 03 2016 14:59
thatandagain, why you upload screenshots
Arinerron
@Arinerron
Jul 03 2016 14:59
OpenSprites: No! I will not let you upload pictures of my flaws!
:P
alex
@heyitsmeuralex
Jul 03 2016 14:59
:P
blob
@Arinerron what's the issue?
dahell
Arinerron
@Arinerron
Jul 03 2016 15:00
So the button uploads, but doesn't alert you?
:P
Florrie
@towerofnix
Jul 03 2016 15:00
Error: Module version mismatch. Expected 48, got 47.
:(
alex
@heyitsmeuralex
Jul 03 2016 15:00
It should redirect @Arinerron
Arinerron
@Arinerron
Jul 03 2016 15:00
Compare the size of the gun image to the header and footer in the screenshots
alex
@heyitsmeuralex
Jul 03 2016 15:00
@liam4 matu had that error on node 5
mm
alex
@heyitsmeuralex
Jul 03 2016 15:01
mm
Florrie
@towerofnix
Jul 03 2016 15:02
Glad to know MATU had that issue!
Florrie
@towerofnix
Jul 03 2016 15:02
I'm assuming
I'll just install node6
via the dmg from the site
pkg*
Arinerron
@Arinerron
Jul 03 2016 15:02
apple :(
alex
@heyitsmeuralex
Jul 03 2016 15:02
:P
Arinerron
@Arinerron
Jul 03 2016 15:02
:P
Florrie
@towerofnix
Jul 03 2016 15:02
i hate macs!!!!!
alex
@heyitsmeuralex
Jul 03 2016 15:02
@Arinerron css is weird
Florrie
@towerofnix
Jul 03 2016 15:02
and apple users!!
alex
@heyitsmeuralex
Jul 03 2016 15:02
why does html, body { width 100vw } not work :cry:
Florrie
@towerofnix
Jul 03 2016 15:03
margin, padding
Arthur
@kvackkvack
Jul 03 2016 15:03
because no colon
:P
Arinerron
@Arinerron
Jul 03 2016 15:03
?
Florrie
@towerofnix
Jul 03 2016 15:03
That's true :P
alex
@heyitsmeuralex
Jul 03 2016 15:03
@kvackkvack stylus
I'm terrible at body styling
Arthur
@kvackkvack
Jul 03 2016 15:03
and also min-width and max-width might help
alex
@heyitsmeuralex
Jul 03 2016 15:03
nope
aha
blob
Arinerron
@Arinerron
Jul 03 2016 15:04
lol
alex
@heyitsmeuralex
Jul 03 2016 15:05
fixed @Arinerron?
let's make os gr8 again!
:package:
ima implement comments
and borrow the styling I made for gwiddle
Arthur
@kvackkvack
Jul 03 2016 15:07
I didn't manage to get mine to work despite completely redoing everything so yeah, I think I'll do that :P
alex
@heyitsmeuralex
Jul 03 2016 15:07
:P
:(
:tada:
kvackkvack joined! 🎉
Arthur
@kvackkvack
Jul 03 2016 15:07
:D
alex
@heyitsmeuralex
Jul 03 2016 15:07
what's a lagom duck?
:P
Arthur
@kvackkvack
Jul 03 2016 15:07
lagom is a very good swedish word
alex
@heyitsmeuralex
Jul 03 2016 15:08
gg
Arthur
@kvackkvack
Jul 03 2016 15:08
thanks
alex
@heyitsmeuralex
Jul 03 2016 15:08
:P
Arthur
@kvackkvack
Jul 03 2016 15:09
should've tagged it as OC :P
alex
@heyitsmeuralex
Jul 03 2016 15:09
oc?
Arthur
@kvackkvack
Jul 03 2016 15:09
original creation
lol
alex
@heyitsmeuralex
Jul 03 2016 15:09
haha
Arthur
@kvackkvack
Jul 03 2016 15:09
Also search needs to at least have a page
alex
@heyitsmeuralex
Jul 03 2016 15:09
:P
Arthur
@kvackkvack
Jul 03 2016 15:09
Or you get stuck in an infinite loop of getting told to search
alex
@heyitsmeuralex
Jul 03 2016 15:09
xD

Error 1337 Too Many Redirects

:P
Arinerron
@Arinerron
Jul 03 2016 15:13
:P
alex
@heyitsmeuralex
Jul 03 2016 15:13
const Comment = mongoose.Schema({
  who: String,
  what: String,
  when: Number,
})
:P
const Comment = mongoose.Schema({
  who: String,
  what: String,
  when: Number,
  replies: [ Comment ]
})
ohno
recursive db
:P
Arinerron
@Arinerron
Jul 03 2016 15:17
Image does not exist (the icon)
alex
@heyitsmeuralex
Jul 03 2016 15:17
where?
Arinerron
@Arinerron
Jul 03 2016 15:17
Uhh
To the left of thatandagain
alex
@heyitsmeuralex
Jul 03 2016 15:17
thatandagain should be a scratch user
but it doesn't exist
Florrie
@towerofnix
Jul 03 2016 15:18
^
alex
@heyitsmeuralex
Jul 03 2016 15:18
so no icon
:P
gg
Arinerron
@Arinerron
Jul 03 2016 15:18
Ohhh
:P
I thought you'd choose the icon
alex
@heyitsmeuralex
Jul 03 2016 15:19
Nah, it just takes your scratch one
I really like the animations.
mres
pls
Arinerron
@Arinerron
Jul 03 2016 15:20
The... search... button... :(
Has no text field
alex
@heyitsmeuralex
Jul 03 2016 15:20
it's not done m8
Arinerron
@Arinerron
Jul 03 2016 15:21
k
alex
@heyitsmeuralex
Jul 03 2016 15:21
adding meta tags to pages to make em appear in gitter better
Arinerron
@Arinerron
Jul 03 2016 15:23
Huh. The upload button doesn't seem to work sometimes
Florrie
@towerofnix
Jul 03 2016 15:24
Reinstalled node.
New terminal.
Still getting this error :(
Error: Module version mismatch. Expected 48, got 47.
Arinerron
@Arinerron
Jul 03 2016 15:25
@nanalan can't upload audio
Florrie
@towerofnix
Jul 03 2016 15:25
bcrypt
alex
@heyitsmeuralex
Jul 03 2016 15:25
:/
Florrie
@towerofnix
Jul 03 2016 15:25
..doesn't work w/ ndoe 6?
hmm.
alex
@heyitsmeuralex
Jul 03 2016 15:25
I'm on 6.
:(
Florrie
@towerofnix
Jul 03 2016 15:26
hmm.
reinstalling dependencies just in case
alex
@heyitsmeuralex
Jul 03 2016 15:30
lol
I should readd maxlength
:P
Arinerron
@Arinerron
Jul 03 2016 15:32

ERR_CONNECTION_REFUSED

alex.bates.is refused to connect
alex
@heyitsmeuralex
Jul 03 2016 15:33
yep
it's updating
Arinerron
@Arinerron
Jul 03 2016 15:33
K
Thanks :P
cheese
why
sao test...
...gitter doesn't look @ metas! yay!
:(
Arinerron
@Arinerron
Jul 03 2016 15:35
It should shrink the image when displaying the sample.
Otherwise it breaks :(
alex
@heyitsmeuralex
Jul 03 2016 15:35
screenshot pls
Arinerron
@Arinerron
Jul 03 2016 15:35
Uhh... pot noodle?
It is cup noodle here... :P
alex
@heyitsmeuralex
Jul 03 2016 15:36
:P
@the-cheese-eater your about me tho
Florrie
@towerofnix
Jul 03 2016 15:36
Okay, uninstalling and reinstalling dependencies fixed it.
alex
@heyitsmeuralex
Jul 03 2016 15:37
:P
Florrie
@towerofnix
Jul 03 2016 15:37
And now everything is working again :tada:
alex
@heyitsmeuralex
Jul 03 2016 15:37
:tada:
Florrie
@towerofnix
Jul 03 2016 15:37
that XSS though
kappa
alex
@heyitsmeuralex
Jul 03 2016 15:37
xD
Arinerron
@Arinerron
Jul 03 2016 15:42
It should choose a random welcome message to replace Howdy from 'Welcome back', 'Hey', 'Hello', 'Greetings', 'Howdy'
low priority
Arthur
@kvackkvack
Jul 03 2016 15:43
I don't think things like that should be classed as low-priority, because it just makes not handling them immediately acceptable even though they would require changing just a couple lines of code
:P
alex
@heyitsmeuralex
Jul 03 2016 15:44
:P
Florrie
@towerofnix
Jul 03 2016 15:44
@Arinerron Make an issue? :P
Arinerron
@Arinerron
Jul 03 2016 15:44
Okay :P
Florrie
@towerofnix
Jul 03 2016 15:44
Or you know
Just implement it
alex
@heyitsmeuralex
Jul 03 2016 15:44
I'll do that
Florrie
@towerofnix
Jul 03 2016 15:44
It would take, like, zero time :P
I feel like implementing the download button
alex
@heyitsmeuralex
Jul 03 2016 15:44
+1
do it
:P
I'm adding descriptions for resources
Florrie
@towerofnix
Jul 03 2016 15:45
Okay
alex
@heyitsmeuralex
Jul 03 2016 15:45
and the hello thing
:P
Florrie
@towerofnix
Jul 03 2016 15:47
.float-right {
  float right
}
.float-left {
  float left
}
Is that bad?
style: "float: right" seems nicer
like, that's unnecessary code
alex
@heyitsmeuralex
Jul 03 2016 15:47
style is better
:P
Arinerron
@Arinerron
Jul 03 2016 15:47
OpenSprites/OpenSprites-next#20
Easy
:P
alex
@heyitsmeuralex
Jul 03 2016 15:48
blob
Arthur
@kvackkvack
Jul 03 2016 15:48
Unnecessary dependency >:(
alex
@heyitsmeuralex
Jul 03 2016 15:49
:P
Arinerron
@Arinerron
Jul 03 2016 15:49
brb, gunna go eat some bacon :D
alex
@heyitsmeuralex
Jul 03 2016 15:49
xD
Florrie
@towerofnix
Jul 03 2016 15:50
<small></small>
What's that for in resource.hbs?
alex
@heyitsmeuralex
Jul 03 2016 15:50
Populated by js
after saving the description
.bio + small
Florrie
@towerofnix
Jul 03 2016 15:50
It should probably have an ID :P
alex
@heyitsmeuralex
Jul 03 2016 15:50
^^
nah
:P
Florrie
@towerofnix
Jul 03 2016 15:54
Screen Shot 2016-07-03 at 12.53.54 PM.png
I just uploaded cancer to my resources collection
:shipit:
alex
@heyitsmeuralex
Jul 03 2016 15:54
:P
:tada:
Florrie
@towerofnix
Jul 03 2016 15:57
Why are we using fs? :(
fsp
lol
alex
@heyitsmeuralex
Jul 03 2016 15:57
blob
@liam4 idek :P
migrate if you want
Arinerron
@Arinerron
Jul 03 2016 16:01
thnx @nanalan
alex
@heyitsmeuralex
Jul 03 2016 16:02
:P
adding percentage uploaded to shares
Arthur
@kvackkvack
Jul 03 2016 16:02
Ugly audio thing/10
alex
@heyitsmeuralex
Jul 03 2016 16:03
:P
Florrie
@towerofnix
Jul 03 2016 16:03
@nanalan how to debug syntax errors?
alex
@heyitsmeuralex
Jul 03 2016 16:03
hm?
<audio>
@liam4 thrown in which console
Florrie
@towerofnix
Jul 03 2016 16:03
main.js:543:39: Unexpected token =>
main.js:543:42: Semi-colon expected
main.js:544:26: Semi-colon expected
build
alex
@heyitsmeuralex
Jul 03 2016 16:03
look for that =>
Florrie
@towerofnix
Jul 03 2016 16:03
:(
alex
@heyitsmeuralex
Jul 03 2016 16:03
:P
It's annoying, ik
Florrie
@towerofnix
Jul 03 2016 16:03
:( :( :( :(
Arthur
@kvackkvack
Jul 03 2016 16:03
It should be similar to how it is in "Latest Stuff"
alex
@heyitsmeuralex
Jul 03 2016 16:03
kek
Florrie
@towerofnix
Jul 03 2016 16:04
I hate that.
alex
@heyitsmeuralex
Jul 03 2016 16:04
:P
Why?
Florrie
@towerofnix
Jul 03 2016 16:04
Syntax error debugging.
alex
@heyitsmeuralex
Jul 03 2016 16:04
xD
Not much we can do about it
@kvackkvack how about I port matu's visualizer over
or something
Florrie
@towerofnix
Jul 03 2016 16:06
jslint says single quote strings are syntax errors.
abandoned
alex
@heyitsmeuralex
Jul 03 2016 16:06
xD
Florrie
@towerofnix
Jul 03 2016 16:08
Aha
Thanks Chrome
  return new Promise(resolve, reject) => {
alex
@heyitsmeuralex
Jul 03 2016 16:08
xD
Florrie
@towerofnix
Jul 03 2016 16:08
whatafsdflkj?
rip me
The syntax error debugging is fine
I just didn't realize that main.js is so huge
alex
@heyitsmeuralex
Jul 03 2016 16:09
:P
Florrie
@towerofnix
Jul 03 2016 16:09
I thought it was a big bundled file lololol
alex
@heyitsmeuralex
Jul 03 2016 16:09
lol
same
xD
Florrie
@towerofnix
Jul 03 2016 16:09
can I make a promise from an async function?
return new Promise(async function (resolve, reject) {
:shipit:
alex
@heyitsmeuralex
Jul 03 2016 16:09
:P
probably lol
just do async function then lol
await ajax.put('/share', data, {
  headers: {
    'X-CSRF-Token': window.csrf
  },

  progress: p => {
    let percent = Math.floor((p.loaded / p.total) * 100)
    resource.querySelector('.file-type').innerText = percent + '% uploaded'
  }
})
syntax error, 2nd line
wat
Unexpected identifier
Florrie
@towerofnix
Jul 03 2016 16:10
/Users/towerofnix/GitHub Projects/OpenSprites-next/server/.dist/main.js:3
    $__69 = $traceurRuntime.initTailRecursiveFunction(getResource);
Goody!
alex
@heyitsmeuralex
Jul 03 2016 16:10
:P
lol $_69
James
@The-Cheese-Eater
Jul 03 2016 16:14
When this is at a further stage, are we going to ask people to attempt to hack the site to test security?
Arinerron
@Arinerron
Jul 03 2016 16:14
penetration testing
alex
@heyitsmeuralex
Jul 03 2016 16:14
yes
:P
Arinerron
@Arinerron
Jul 03 2016 16:14
I'd like that, yeah.
Florrie
@towerofnix
Jul 03 2016 16:14
..
jonathan50
alex
@heyitsmeuralex
Jul 03 2016 16:15
:P
James
@The-Cheese-Eater
Jul 03 2016 16:15
:P
Would we put it out on the ATs?
Florrie
@towerofnix
Jul 03 2016 16:15
:shipit:
Arinerron
@Arinerron
Jul 03 2016 16:15
We need a policy though for exploit disclosure
James
@The-Cheese-Eater
Jul 03 2016 16:15
Yeah
alex
@heyitsmeuralex
Jul 03 2016 16:15
^
Arinerron
@Arinerron
Jul 03 2016 16:15
I know a few guys who can help
Florrie
@towerofnix
Jul 03 2016 16:15
hi pls dont rm -rf /. kthx. hack away!!!11!!
alex
@heyitsmeuralex
Jul 03 2016 16:15
  ajax.all(req).then(ajax.spread(funciton() { // Unexpected token {
    window.location.href = '/you'
  }))
@liam4?
Arinerron
@Arinerron
Jul 03 2016 16:15
:P
Florrie
@towerofnix
Jul 03 2016 16:15
funciton
alex
@heyitsmeuralex
Jul 03 2016 16:15
derp
Arinerron
@Arinerron
Jul 03 2016 16:15
^
alex
@heyitsmeuralex
Jul 03 2016 16:15
:P
Florrie
@towerofnix
Jul 03 2016 16:15
funciton() is a function call, it doesn't expect { :P
Why is traceur runtime not defined? :(
alex
@heyitsmeuralex
Jul 03 2016 16:16
er
idek
Florrie
@towerofnix
Jul 03 2016 16:16
More importantly
Why did it work before and not now?
Arinerron
@Arinerron
Jul 03 2016 16:16
How about we create a few sample accounts with weak password for them to try to crack assuming they get access to the storage
alex
@heyitsmeuralex
Jul 03 2016 16:16
..
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:17
re: waveform
alex
@heyitsmeuralex
Jul 03 2016 16:17
that's just pentesting bcrypt m8
James
@The-Cheese-Eater
Jul 03 2016 16:17
lol, my account on the test server has a really weak password
alex
@heyitsmeuralex
Jul 03 2016 16:17
@MegaApuTurkUltra?
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:17
I think we should store as mp3
not convert
alex
@heyitsmeuralex
Jul 03 2016 16:17
What if they upload a wav
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:17
cause mp3 is compressed already and wav usually isn't
alex
@heyitsmeuralex
Jul 03 2016 16:17
+1
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:17
then store that too
but ofc we limit file size
alex
@heyitsmeuralex
Jul 03 2016 16:17
How make waveforms
50mib atm
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:17
we use waveform when generating projects tho
Arinerron
@Arinerron
Jul 03 2016 16:17
Yep ik @nanalan
alex
@heyitsmeuralex
Jul 03 2016 16:17
matu want to plug in your visualiser?
since you're here
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:18
sure
alex
@heyitsmeuralex
Jul 03 2016 16:18
:tada:
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:18
later tho
alex
@heyitsmeuralex
Jul 03 2016 16:18
:P
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:18
first we should make some dank waveforms of the audio with waveform :P
alex
@heyitsmeuralex
Jul 03 2016 16:18
waveform?
:P
Arinerron
@Arinerron
Jul 03 2016 16:18
And testing if bcrypt is adequate
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:18
also validate file type server side by looking for the wav/mp3/png/jpeg headers and validating json and xml
alex
@heyitsmeuralex
Jul 03 2016 16:18
I can always change @Arinerron
@MegaApuTurkUltra idek how to do that
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:18
I can implement it
alex
@heyitsmeuralex
Jul 03 2016 16:19
@Arinerron I added concurrent/percent shared
pls do
Arinerron
@Arinerron
Jul 03 2016 16:19
And the pentesting is a perfect time to find out if it is time to change it :P
alex
@heyitsmeuralex
Jul 03 2016 16:19
:P
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:19
somebody install waveform and add to package.json pls
alex
@heyitsmeuralex
Jul 03 2016 16:19
bcrypt's security is directly proportional to the salt size
@MegaApuTurkUltra k
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:19
I can write stuff later today I think
Arinerron
@Arinerron
Jul 03 2016 16:19
k
alex
@heyitsmeuralex
Jul 03 2016 16:20
wait no
matu
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:20
what
alex
@heyitsmeuralex
Jul 03 2016 16:20

Install libgroove dev package. Only the main library is needed.

Install libpng and zlib dev packages.

^
waveform
:(
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:20
also pls add a thumbnail Buffer to the resource schema
bleush
@bleush38p
Jul 03 2016 16:20
unrelated: can we get compressed/cropped/resized images for the thumbnails going instead of the raw files? the homepage is looking pretty heavy right now and every byte counts
also gzip
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:20
we want to cache thumbnails not reprocess on each load :P
looks better
Florrie
@towerofnix
Jul 03 2016 16:21
Okay so the issue is, traceur explodes when you give it an asynchronous function that doesn't return anything.
..I think.
alex
@heyitsmeuralex
Jul 03 2016 16:22
:P
Arinerron
@Arinerron
Jul 03 2016 16:23
re: pentesting opensprites... Are we going to have a Bug Bounty like GitHub?
alex
@heyitsmeuralex
Jul 03 2016 16:23
...bug bounty
bountysource?
probably not
alex
@heyitsmeuralex
Jul 03 2016 16:24
meh.
Cool, but probably not worth it.
:P
Arinerron
@Arinerron
Jul 03 2016 16:25
Software security researchers are increasingly engaging with Internet companies to hunt down vulnerabilities. Programs by Google, Facebook, Mozilla, and others have helped to create a strong bug-hunting community. Our bounty program gives a tip of the hat to these researchers and provides some cold hard cash for their efforts.
Quote from GitHub Bug Bounty
We don't have to give them cash of course
alex
@heyitsmeuralex
Jul 03 2016 16:26
meh
@The-Cheese-Eater ^^^?
Arinerron
@Arinerron
Jul 03 2016 16:26
Alright
alex
@heyitsmeuralex
Jul 03 2016 16:26
We can just have a "Found a bug? Report it here"
like in the footer
Arinerron
@Arinerron
Jul 03 2016 16:26
K. And of show public key?
Or will the client auto encrypt it before sending?
alex
@heyitsmeuralex
Jul 03 2016 16:27
wat?
context pls
Arinerron
@Arinerron
Jul 03 2016 16:27
PGP..?
alex
@heyitsmeuralex
Jul 03 2016 16:27
you mean the session key?
see .env
Arinerron
@Arinerron
Jul 03 2016 16:27
No?
alex
@heyitsmeuralex
Jul 03 2016 16:28
What do you mean, then? :package:
Arinerron
@Arinerron
Jul 03 2016 16:28
Do you know what PGP is?
alex
@heyitsmeuralex
Jul 03 2016 16:28
pretty good privacy, yeah
what does it have to do with os tho
Arinerron
@Arinerron
Jul 03 2016 16:28
You understand how it works?
alex
@heyitsmeuralex
Jul 03 2016 16:29
not really - I haven't had lessons on security m9
:shipit:
Arinerron
@Arinerron
Jul 03 2016 16:29
To encrypt the bug report (or exploit report)
heyitsmeuralex @nanalan is trying to implement stuff
heyitsmeuralex @nanalan refuses
Arinerron
@Arinerron
Jul 03 2016 16:29
k
Florrie
@towerofnix
Jul 03 2016 16:29
PGP?
sure that's not GPG?
alex
@heyitsmeuralex
Jul 03 2016 16:29
we're getting ahead of ourselves
:P

yay feature creep

Florrie
@towerofnix
Jul 03 2016 16:30
pretty good privacy
ok
Arinerron
@Arinerron
Jul 03 2016 16:30
:P
Alright
That was just in reply to @The-Cheese-Eater 's message
bleush
@bleush38p
Jul 03 2016 16:31
question: why doesn't the main with the stuff in it have .center?
the stuff feels off balance, especially on small screens
alex
@heyitsmeuralex
Jul 03 2016 16:31
wat?
where
bleush
@bleush38p
Jul 03 2016 16:32
blob
body > main:nth-child(5)
alex
@heyitsmeuralex
Jul 03 2016 16:32
they don't scale on mobile
I'll add a margin auto
bleush
@bleush38p
Jul 03 2016 16:32
but with .center
blob
alex
@heyitsmeuralex
Jul 03 2016 16:33
adds
bleush
@bleush38p
Jul 03 2016 16:34
and you can add text-align: left to .resource if you don't want that stuff centered
alex
@heyitsmeuralex
Jul 03 2016 16:34
Just did that lel
bleush
@bleush38p
Jul 03 2016 16:34
awesome
alex
@heyitsmeuralex
Jul 03 2016 16:36
lol
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 16:37
:swimmer_with_hands_up:
alex
@heyitsmeuralex
Jul 03 2016 16:37
gg
Arinerron
@Arinerron
Jul 03 2016 16:38
:P
alex
@heyitsmeuralex
Jul 03 2016 16:39
wat
Arinerron
@Arinerron
Jul 03 2016 16:40
idk
alex
@heyitsmeuralex
Jul 03 2016 16:41
@MegaApuTurkUltra let's use the trianglify cover art for now rather than waveforms
too many non-node dependencies = hell
We can generate waveforms on the client instead?
:package:
Florrie
@towerofnix
Jul 03 2016 16:42
resource.downloads++
resource.save()
Is that what I would do to update a resource?
bleush
@bleush38p
Jul 03 2016 16:42
what's going on with the nav's children's margin-tops?
alex
@heyitsmeuralex
Jul 03 2016 16:42
@liam4 await db.Resource.find({ id: xxx }) first, but yes
@bleush38p they're for desktop - are you on a smaller screen?
bleush
@bleush38p
Jul 03 2016 16:43
oh yeah it gets worse as the screen gets smaller
blob
baseline woes
is there a way to vertical-align that or something instead?
Florrie
@towerofnix
Jul 03 2016 16:44
flexbox
alex
@heyitsmeuralex
Jul 03 2016 16:44
@bleush38p fixed
@liam4 +1
bleush
@bleush38p
Jul 03 2016 16:44
what can't flexbox do
alex
@heyitsmeuralex
Jul 03 2016 16:44
:P
Arinerron
@Arinerron
Jul 03 2016 16:45
Ehh, I want to help with osn, but writing code on a phone keyboard is 3hard5me
:(
alex
@heyitsmeuralex
Jul 03 2016 16:45
:P
@Arinerron mobile bug reports
:shipit:
Arinerron
@Arinerron
Jul 03 2016 16:46
..
:P
Joined: 1467557559429
thatandagain's acct
alex
@heyitsmeuralex
Jul 03 2016 16:48
:|
Arinerron
@Arinerron
Jul 03 2016 16:48
Unix timestamp :P
It didn't convert for some reason
alex
@heyitsmeuralex
Jul 03 2016 16:48
weird
works for me
perhaps your browser has down syndrome is mentally unstable
:shipit:
Arinerron
@Arinerron
Jul 03 2016 16:49
http://alex.bates.is:3000/users/thatandagain navbar on phone indents after the OpenSprites button (?), but on index page, the whole navbar is on one line
@nanalan site down jsyk
alex
@heyitsmeuralex
Jul 03 2016 16:50
reload page / clear cache
I was git pulling
Arinerron
@Arinerron
Jul 03 2016 16:50
up
thnx
alex
@heyitsmeuralex
Jul 03 2016 17:00
@bleush38p did stuff with regards to your comments on responsiveness
@Arinerron try reloading, the user pages should be nicer now :)
James
@The-Cheese-Eater
Jul 03 2016 17:03
How often is the test site being updated?
alex
@heyitsmeuralex
Jul 03 2016 17:03
Whenever I commit - I should setup some hooks tbh
Want the testsite to stay up as osdev then?
James
@The-Cheese-Eater
Jul 03 2016 17:03
Yeah :P
alex
@heyitsmeuralex
Jul 03 2016 17:03
k
Florrie
@towerofnix
Jul 03 2016 17:04
Screen Shot 2016-07-03 at 14.04.20.png
f5 f5 f5 f5
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 17:05
time(s) ಠ_ಠ
Florrie
@towerofnix
Jul 03 2016 17:05
:shipit:
James
@The-Cheese-Eater
Jul 03 2016 17:05
Why are images so big?
Florrie
@towerofnix
Jul 03 2016 17:05
I'll fix it
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 17:05
n==1?"time":"times"
alex
@heyitsmeuralex
Jul 03 2016 17:05
I'll add that, liam
after you commit
Florrie
@towerofnix
Jul 03 2016 17:05
Okay
alex
@heyitsmeuralex
Jul 03 2016 17:06
time{{s?}}'ll be the syntax :tada:
Florrie
@towerofnix
Jul 03 2016 17:06
..pushed.
alex
@heyitsmeuralex
Jul 03 2016 17:07
awesome
Florrie
@towerofnix
Jul 03 2016 17:07
nvm?
oh
I need to git pull first lol
alex
@heyitsmeuralex
Jul 03 2016 17:07
:P
Florrie
@towerofnix
Jul 03 2016 17:07
Okay pushed
James
@The-Cheese-Eater
Jul 03 2016 17:08
Why are images so big?
alex
@heyitsmeuralex
Jul 03 2016 17:08
Where?
alex
@heyitsmeuralex
Jul 03 2016 17:08
It makes them as big as it can fit
James
@The-Cheese-Eater
Jul 03 2016 17:09
Takes up loads of the page
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 17:09
pls
take screen size into account
Florrie
@towerofnix
Jul 03 2016 17:09
Speaking of screen size
alex
@heyitsmeuralex
Jul 03 2016 17:09
done
Florrie
@towerofnix
Jul 03 2016 17:09
This doesn't look good...
alex
@heyitsmeuralex
Jul 03 2016 17:09
...eep
Florrie
@towerofnix
Jul 03 2016 17:09
Screen Shot 2016-07-03 at 2.09.33 PM.png
..but this does:
James
@The-Cheese-Eater
Jul 03 2016 17:10
1336x768 means I need to scroll to read the description
alex
@heyitsmeuralex
Jul 03 2016 17:10
...
Florrie
@towerofnix
Jul 03 2016 17:10
Screen Shot 2016-07-03 at 2.10.01 PM.png
alex
@heyitsmeuralex
Jul 03 2016 17:10
@MegaApuTurkUltra @The-Cheese-Eater reload that resource
James
@The-Cheese-Eater
Jul 03 2016 17:10
Nice :P
Florrie
@towerofnix
Jul 03 2016 17:11
Downloaded at least times
alex
@heyitsmeuralex
Jul 03 2016 17:11
xD
screen size will never exceed 30% of the screen size
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 17:11
yay
alex
@heyitsmeuralex
Jul 03 2016 17:11
@liam4 db doesn't have a downloaded value for every resource uploaded till your commit
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 17:11
let's have a lightbox tho
lel
alex
@heyitsmeuralex
Jul 03 2016 17:11
:P
@liam4 downloaded should be done on ip tbh
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 17:12
recommendation
James
@The-Cheese-Eater
Jul 03 2016 17:12
When I edit the description box the cursor is on the other side of the image
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 17:12
on the DMCA page instead of 72 hours say "3 business days"
James
@The-Cheese-Eater
Jul 03 2016 17:12
Moves when I enter a character
MegaApuTurkUltra
@MegaApuTurkUltra
Jul 03 2016 17:12
so not weekends or holidays lel
James
@The-Cheese-Eater
Jul 03 2016 17:13
Makes sense :P
alex
@heyitsmeuralex
Jul 03 2016 17:13
@The-Cheese-Eater will fix
Arinerron
@Arinerron
Jul 03 2016 17:13
Now the join date is gone completely
@nanalan n0pe
Florrie
@towerofnix
Jul 03 2016 17:13
@nanalan oh right
Arinerron
@Arinerron
Jul 03 2016 17:13
(on purpose maybe? tldr)
alex
@heyitsmeuralex
Jul 03 2016 17:14
yea
on purpose
It's not really needed on mobile anyway lel
Florrie
@towerofnix
Jul 03 2016 17:14
signup hanging?
alex
@heyitsmeuralex
Jul 03 2016 17:14
;-;
derp
Florrie
@towerofnix
Jul 03 2016 17:14
Do I need to enter the project ID?
Please no :P