Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 23 2015 19:49
    vaz-ar starred darthlukan/gobot
  • Jun 28 2015 09:34

    darthlukan on master

    Update README (compare)

  • Jun 28 2015 09:26

    darthlukan on api

    (compare)

  • Jun 27 2015 22:14
    setkeh commented #19
  • Jun 27 2015 21:57
    darthlukan assigned #19
  • Jun 27 2015 21:57
    darthlukan labeled #19
  • Jun 27 2015 21:57
    darthlukan opened #19
  • Jun 27 2015 21:54
    darthlukan assigned #18
  • Jun 27 2015 21:54
    darthlukan labeled #18
  • Jun 27 2015 21:54
    darthlukan opened #18
  • Jun 27 2015 21:53
    darthlukan assigned #17
  • Jun 27 2015 21:53
    darthlukan labeled #17
  • Jun 27 2015 21:53
    darthlukan opened #17
  • Jun 27 2015 21:48

    darthlukan on api

    Add todo items for this branch (compare)

  • Mar 15 2015 12:33

    darthlukan on master

    don't quit anytime an admin say… (compare)

  • Mar 15 2015 08:49

    darthlukan on master

    set default to blank (compare)

  • Mar 15 2015 08:42
    darthlukan closed #14
  • Mar 15 2015 08:42
    darthlukan commented #14
  • Mar 15 2015 08:37

    darthlukan on master

    let the lib handle the connecti… (compare)

  • Mar 15 2015 08:17

    darthlukan on master

    correct the code for help comma… (compare)

Setkeh
@setkeh
Brian can u use JavaScript to encode a base 64 image in the browser then submit that base 64 to mongo or redis so server load is low ??
For example
Actually never mind thinking about the example question has basically answered both questions lol
And I think I know how to implant it in a painless way
Setkeh
@setkeh
Gotta love it when that happens lol
Stefan Cristian B.
@StefanCristian
@darthlukan nothing happened. don't bother.
Brian Tomlinson
@darthlukan
o.0
Stefan Cristian B.
@StefanCristian
nothing happened.
doesn't matter.
Brian Tomlinson
@darthlukan
why is it looking for package: package
Stefan Cristian B.
@StefanCristian
HOLY SHIT
Brian Tomlinson
@darthlukan
?
don't you mean package main
?
Stefan Cristian B.
@StefanCristian
it was PEBKAC
Brian Tomlinson
@darthlukan
:)
it happens
Stefan Cristian B.
@StefanCristian
started to freak out
anyway, excellent feature of GO-lang
I love this feature
Brian Tomlinson
@darthlukan
:)
Stefan Cristian B.
@StefanCristian
didn't even start to use it, I already love it
Brian Tomlinson
@darthlukan
@setkeh - Um, you can store whatever you want in a database
whether or not the DB constraints allow the data type in that column/document/field/etc is a whole other ball game
Setkeh
@setkeh
Oh yeah i was more thinking of using th browser to encode being an issue but its pretty basic JS so i dont think it will be an issue
i know i can put base64's in mongo since i have done it with node already
Brian Tomlinson
@darthlukan
just keep in mind that the browser gets one thread
and if that encode takes a bunch of time, you're gonna get yelled at
better to encode it server-side
but even then, you're using Node, so you get only one thread as well
Setkeh
@setkeh
well im going to change it to go
but for an image encode would it be a problem inside one thread ??
Brian Tomlinson
@darthlukan
make sure your server is using channels in goroutines at the least :)
Setkeh
@setkeh
yeah im investigating that right now ;D
Brian Tomlinson
@darthlukan
it would be your biggest performance bottle-neck on a single thread in the browser
remember, that render thread is being clobbered everytime an event happens
and thanks to the JS hipsters...
Setkeh
@setkeh
Hmm the only reason i thought it would be ideal to do it in the browser would be its easier to send a string of text in the form of a base64 then it is to send down a binary image XD
i guess it will take some testing
but i dont see any reason why i cant do it serverside then discard the binary after its not needed anymore
to save space
Brian Tomlinson
@darthlukan
Forked
make a gitter chat for it so that it gets its own channel :shipit:
Stefan Cristian B.
@StefanCristian
is the mongodb lib stable enough? :-?
Setkeh
@setkeh
gor the Gallery ??
s/gor/for
ill add you to the gitter :D
Stefan Cristian B.
@StefanCristian
heh
thanks