« first day (3313 days earlier)      last day (1626 days later) » 
02:00 - 18:0018:00 - 00:00

6:00 PM
Maybe the book is shit and you shouldn't use it to learn?
 
kind of hard to know what's good and what's bad when you don't know
 
You said it may have been using ES5 code a bit ago. So its probably out dated which is an inherit problem with books in general.
Your best bet is to learn from internet and documentation such as MDN.
@forresthopkinsa had a good website to start with js iirc
 
Hello yes
Practical Javascript
Free course, proven to save lives
 
i thought it was a decent book, every time i look on the internet about it people say it's good to learn js, i think i learned a lot but maybe i should leave it there
did everything but that last chapter though
 
> Every week, I jump on video chat and host a live study session that's open to everyone. It's a fun way to get your questions answered and also meet other students in the course. It also means that if you get stuck with something, there are no excuses. The responsibility is on you to show up, ask questions, and take ownership of your progress.
Thats beautiful, and probably extremely helpful
 
6:05 PM
@JBis where is that from?
 
2 mins ago, by forresthopkinsa
 
6:29 PM
thanks jbis
@JDCH what book is it
 
@forresthopkinsa eloquentjavascript.net
looked at the course you posted, i'll do it, thought, i looked at it and i think i know everything taught in there and other stuff that doesn't appear there i think, like asynchronity and stuff like that, i'll still do it in case there are things i missed
 
That's not a bad book
 
i did every exercise but the last one
 
Practical Javascript is 90% fundamentals so if you read Eloquent Javascript all the way through then it would probably be mostly review
 
you did practical javascript?
 
6:32 PM
No but my girlfriend is doing it now
It suits a particular learning style, hers but not mine
 
so, i understood everything in eloquent javasscript, even the last chaper (i think) but didn't do those last two ejercises
 
well if you want to keep reading I would move on to YDKJS
but Eloquent JS probably covered a decent amount of that too
if you find yourself at the end of Eloquent JS and you're struggling with application, then it's time to stop reading and start doing
Find a github project looking for contributors or think of a simple project you'd like to start
 
i've read that last chapter like 4 times now, i think i understood everything, these last days i've been coding the exercises
unsuccessfully
yeah i tried doing that
but everywhere i look, everything seems very complicated
 
well most things are at first
 
Whats the best way to have modules made specifically for only your projects?
 
@forresthopkinsa But isn't npm for public modules that everyone can use? So just make it private?
 
I'm asking if that's what you mean, i.e. a module that can be consumed by a package.json
 
github private repos.
 
@JacobPenney Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
@forresthopkinsa what's that you just posted? "good-first-issue" i barely know how to use github
 
6:41 PM
jbis: NPM docs
 
i was going to dedicate myself on learning it after finishing the book
 
there are a number of ways to depend on a package outside of the NPM registry
@JDCH it's not hard. The link is just a ton of bugs all over Github that have been judged good starting points for new contributors to projects.
I'm sure there are dozens of tutorials on using Github online
 
oh, alright
 
ok i guess a github project as a dependency would work
thanks
 
@JacobPenney private repos make things harder because then you have to handle credentials, a public repo is fine for this, he just doesn't want to pollute the registry with internal modules
@JBis right on. sure
 
7:02 PM
alright, i made it even more simple just to know how the hell do i what's written inside the stream
this is the server
const {createServer} = require("http");
let server = createServer((request, response) => {
  response.writeHead(200, {"Content-Type": "text/html"});
  response.write(`
    <h1>Hello!</h1>
    <p>You asked for <code>${request.url}</code></p>`);
  response.end();
});
server.listen(8000);
console.log("Listening! (port 8000)");
this is the client
 
@JDCH your server code is not the problem
 
const {request} = require("http");
let requestStream = request({
  hostname: "eloquentjavascript.net",
  path: "/20_node.html",
  method: "GET",
  headers: {Accept: "text/html"}
}, response => {
  console.log("the server responded with "+ response);
});
requestStream.end();
wait, not that piece
 
7:23 PM
is this method const {request} = require("http"); this: nodejs.org/api/http.html#http_http_request_options_callback
 
 
2 hours later…
9:49 PM
 
 
1 hour later…
10:49 PM
hi
 
how did you get this number
 
|| magic
 
@KevinB Invalid command! Try help for a list of available commands..‍.‍.‍.‍.‍
 
|| whoosh
 
@KevinB Invalid command! Try help for a list of available commands..‍.‍.‍.‍.‍.‍.‍.‍.‍
 
10:56 PM
|| poe or d3
 
@KevinB Invalid command! Try help for a list of available commands..‍.‍.‍.‍.‍.‍.‍
 
|| learn
 
@forresthopkinsa Invalid Number of args
 
|| help learn
 
@forresthopkinsa Command documentation and syntax can be found here.
 
10:59 PM
|| learn magic (∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵀᴴᴱ ᴳᴬᴹᴱ
 
@forresthopkinsa magic has been added
 
|| magic
 
(∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵀᴴᴱ ᴳᴬᴹᴱ
 
spectacular
|| learn woosh i.imgur.com/axJmn.gif
 
@forresthopkinsa woosh has been added
 
11:00 PM
|| learn whoosh Did you mean 'woosh'? Now the joke is on you.
oops I think that was one too many for James
|| woosh
 
|| whoosh
 
@forresthopkinsa Invalid command! Try help for a list of available commands..‍.‍.‍.‍.‍.‍.‍.‍.‍
 
|| learn whoosh Did you mean 'woosh'? Now the joke is on you.
pinging @JBis
 
|| sandbox
 
11:02 PM
@KevinB Invalid command! Try help for a list of available commands..‍.‍.‍.‍.‍.‍.‍.‍
 
ironic
 
|| tell jbis woosh
 
@KevinB Invalid command! Try help for a list of available commands..‍.‍.‍.‍.‍.‍.‍.‍.‍
 
|| welecome
 
11:07 PM
@KevinB Invalid command! Try help for a list of available commands..‍.‍.‍.‍.‍.‍.‍.‍
 
the docs say it exists
 
@JamesBot are you causing trouble again?
in Test My Bot, 37 secs ago, by JBis
|| learn whoosh Did you mean 'woosh'? Now the joke is on you.
makes no sense
it worked in the other room
|| whoosh
 
Did you mean 'woosh'? Now the joke is on you.
 
do it with italics in the message
 
11:13 PM
ah there we go
|| learn whoosh Did you mean 'woosh'? Now the joke is on you.
 
@JBis Command with that shortcut already exists
 
|| unlearn whoosh
 
|| unlearn whoosh
 
@forresthopkinsa That command doesn't exist
@JBis That command doesn't exist
 
11:19 PM
god dammit james
 
11:34 PM
|| learn whoosh Did you mean 'woosh'? Now the joke is on you.
 
@JBis whoosh has been added
 
|| whoosh
 
Did you mean 'woosh'? Now the joke is on you.
 
|| magic
 
(∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵀᴴᴱ ᴳᴬᴹᴱ
 
11:34 PM
alright
 
In all honesty I have no clue why the unlearn didn't work. I didn't change anything, just copied and replaced the saved file and it worked.
 
classic
 
|| magic
 
(∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵀᴴᴱ ᴳᴬᴹᴱ
 
11:43 PM
the world has returned to order
 
02:00 - 18:0018:00 - 00:00

« first day (3313 days earlier)      last day (1626 days later) »