Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Aug 17 01:43
    @bjorno43 banned @linkin-park
  • Jun 20 21:20
    @bjorno43 banned @shenerd140
  • May 10 09:13
    @bjorno43 banned @zhaokunhaoa
  • Apr 27 19:47
    @mstellaluna banned @zhonghuacx
  • Apr 25 17:12
    @mstellaluna banned @cmal
  • Jan 08 22:00
    @mstellaluna banned @dertiuss323
  • Dec 15 2018 23:36
    @mstellaluna banned @18835579411
  • Dec 13 2018 23:57
    @mstellaluna banned @brandon6190
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:13
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:58
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:15
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
Moisés Man
@moigithub
im still stuck on map generatoin.. but found this.. probably gonna copy/paste after check the algorithm... http://bigbadwofl.me/random-dungeon-generator/
did cellular automata but it only build a big room with walls
Rafael J. Rodriguez
@Rafase282
@darrylpargeter seed document?
Darryl Pargeter
@darrylpargeter
a json document, that holds all your data that you can import
Andre Alonzo
@paycoguy
@moigithub I followed something like this http://journal.stuffwithstuff.com/2014/12/21/rooms-and-mazes/
I followed everything before "A dark and twisty passageway"
general idea for me was
Sprinkle a bunch of randomly located, non-overlapping rooms.
Draw random corridors to connect them.
Freddy
@Lemony-Andrew
Hello how's it going! Does anyone know if Buffers automatically add a null terminator?
specifically* in this case: new Buffer("a string");
tigger
@tanya53
working on image-search abstraction, have the mongo working for retrieving and storing searches, do I want to use google's api, if so where is the best place to read about it?
Darryl Pargeter
@darrylpargeter
@tanya53 bing or imgur api is better googles api is a pain and only gives you 100 calls a day
tigger
@tanya53
what is the best site to learn how to use the bing api?
Darryl Pargeter
@darrylpargeter
erm, bing?
http://www.bing.com/toolbox/bingsearchapi might be a good place to start
tigger
@tanya53
@darrylpargeter thanks, any change you have done this one or how hard it will be to figure out how to get the images?
CamperBot
@camperbot
tanya53 sends brownie points to @darrylpargeter :sparkles: :thumbsup: :sparkles:
:star: 741 | @darrylpargeter | http://www.freecodecamp.com/darrylpargeter
Darryl Pargeter
@darrylpargeter
@tanya53 I’ve done it, I can’t tell you how hard bings api is to use I didn’t use it, I used google and wish I hadn’t but @HermanFassett used it if I remeber so he might be able to help more if he isn’t busy
tigger
@tanya53
thanks for the help
Darryl Pargeter
@darrylpargeter
no prob
Jess Johnson
@jessjo
@tanya53 for what it's worth, I found an external module for bing's API that made it a ton easier
Jess Johnson
@jessjo
I'm a little stuck on the file-metadata. I can do a console.log and output file size but I haven't figured out how to use a post to update the screen. I've found it using javascript but then I don't get how to access the variable I need from the javascript...
Code I have
app.post('/', upload.single('upl'), function(req,res){
      console.log(req.file.size); //form file size
      res.status(204).end();
  })
this works great
but I don't know how to update the screen as a res.send wasn't working
Darryl Pargeter
@darrylpargeter
@jessjo try res.json
CamperBot
@camperbot
jessjo sends brownie points to @darrylpargeter :sparkles: :thumbsup: :sparkles:
Jess Johnson
@jessjo
thanks @darrylpargeter ! that worked! :)
CamperBot
@camperbot
:star: 742 | @darrylpargeter | http://www.freecodecamp.com/darrylpargeter
Darryl Pargeter
@darrylpargeter
@jessjo no prob =D
Jess Johnson
@jessjo
Amazing how the tiny things are what trip you up sometimes..
Darryl Pargeter
@darrylpargeter
yer, that one little bit that makes everything fall into place, at lets it wasn't a missing ;
Mafalda
@otmeek
This message was deleted
wyattelliott
@wyattwade
Hey guys
so I'm relatively new to node and express
and I want to give it a go at one of the backend projects
like the voting app
I know it will take a lot of time going through tutorials etc. Does anyone have good resources for tutorials?
Jess Johnson
@jessjo
@wyattwade are you skipping the api projects?
Those are node and express
wyattelliott
@wyattwade
@jessjo haven't done them yet
even with those I'm having some difficulty
did you have any resource outside of FCC that helped @jessjo .
Rafael J. Rodriguez
@Rafase282
I would like to pair with someone who has used JWT to secure an API
could use some help
Jess Johnson
@jessjo
@wyattwade - I struggled on the early ones too. Have you used the clementine.js tutorials? Those helped me deconstruct what I was trying to do. (http://www.clementinejs.com/tutorials/tutorial-beginner.html)
Malcolm
@noinkling
Can someone tell me why token authentication is preferred over a session cookie for private APIs?
I mean it makes sense for public APIs that you can access without an interface, but what about one that just serves a single-page app?
It's something I never understood.
Ka Lun Lee
@kalunlee136
@noinkling from my understanding, the benefit is for scaling. jwt are stateless and are sent with every request so the server doesnt need to keep track of it thus removing some stress on server . It just receives the payload (with the auth info) from the jwt, parses it, and accepts it if it matches. I remember reading something about jwt authentication working better with mobile too, but im not too sure about it. Aside from those things, i dont see much difference between session vs jwt
@noinkling i think this might make more sense to you: http://stackoverflow.com/questions/17000835/token-authentication-vs-cookies. it's about emberjs/rails, but the logic still applies.
DuckyDisciple
@DuckyDisciple
Is anyone familiar with HighStocks/HighCharts for making graphs?