« first day (3499 days earlier)      last day (1671 days later) » 
00:00 - 20:0020:00 - 00:00

20:02
hey it actually works
huh
now I'm suspicious
No, it can't just work. You have to spend an hour at least and find an unrelated bug before you can announce that.
At least in my experience...
i need to write tests for all that
is selenium still the only option?
At least the best option I know of.
i need to figure out how to run selenium headless
there was this phantomjs thing right
Yes but I lost track of how that goes. There was Phantom, and there is also Puppeteer which is newer. I can't tell you if they do the same thing, though.
Hmm, I guess Phantom is dead or something. At least according to this article which says that the head guy for it would stop contributing. That was 2 years ago.
It also suggests headless Chrome.
You can also set up pure unit tests that won't be interacting with the browser.
20:09
i think a few sanity end-to-end tests would have the best ROI
It's a bit easier to test some of the functionality that way. A browser test is useful to make sure the functionality that works is also hooked up correctly, though.
Yeah, I'd agree with that. If you have to go for the best bang of your buck, then probably Selenium on a fully working system.
Well, test harnassed, ideally, but still - provide that end to end throughput.
hey. is it possible to launch a create-react-app using docker so I don't have to install npm on my local machine
@Wayneio 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.
@Wayneio it should be possible in theory. I don't really know how to set it up, though, so I can't help with the practice, unfortunately.
The only guides I can find show first setting it up locally and then creating a docker file for it but that requires npm to be installed
20:24
lol i started this feature 10 months ago
finally got it done and merging the PR
certainly feels good
The docker image can come with npm installed. Probably the easiest way to do that I'd personally try is: 1. get an image with node installed 2. set it up so it mounts your local directory onto the image 3. run npm from within the image.
But again, I'm totally not very knowledgeable. There is likely an easier route.
@BartekBanachewicz awesome, congrats!
Sounds feasible
@Wayneio if you don't need docker, you can use a virtual machine to develop this. If you're on Windows, then you can use WSL which gives you a Linux command line. You can still install stuff there and just treat it as a GUI-less VM.
@Wayneio why don't you want to install npm though?
20:48
Hi guys
Is native js different from react js?
define "native js"
actually couple of days ago, someone suggested that i should learn native js first before react js
My goal is to learn react js
There is nothing definitively called "native JS" as far as I know. There is "react native", there is "NativeScript", it could be a synonym for "vanilla JS", it could also refer to specific features of JS, like objects. Just off the top of my head, I'm sure there are more things called "native".
A quick search also showed this library called "native-js" which seems like a collection of utility functions.
From the context, it kind of, seems like they might have meant vanilla JS but I'm not really sure.
before learning react js, is there anything i should know?
Well...JavaScript would be really useful, I guess...
20:55
I know javascript and have worked on older angular js as well(without ecmacript)
@ILoveStackoverflow lol is "react js" like a dialect
ECMAScript is just the standard. JavaScript is the implementation of that standard.
(hint: react js is js)
okay
I think whoever was talking to you meant vanilla js
i prefer straciatella js
20:57
Were you in here the other day talking about this?
@BartekBanachewicz chocolate for me. I also love lemon flavour.
yearly reminder that lemon yoghurt is suspiciously still not available in Poland
It's the rules, sorry. You either get lemon yoghurt or The Witcher. Poland made its choice.
Interesting that viruses are above the line
also appreciate the typo in the alt text
21:11
Well I guess you could put a case either way for viruses. Not a biology expert but I think they are closer to alive than not.
I'm no biologist either, I'd just always thought they were closer to not
we learned an acronym for the specifications for life... GROCER? I think?
what's that, Grow, Reproduce and...what else?
hmm I'm trying to find out
Growth, Reproduction, Organization, Cellular, Energetic, Response to stimulus
so I guess the fourth is the one that would exclude viruses, if you use that definition of life
Looked at some articles and it seems the scientific community is split on this. It really depends on how you define this. So...I suppose we we know where Mr Munroe stands on this.
He gave himself away
21:28
Really controversial stance on the rocks shaped like faces, though.
Look at him and dare deny the personhood of Rocky.
I can't, I won't do it
looks about the same to me
if it looks like a rock and it talks like a rock
Rocky and Bloboa. Best of friends.
 
1 hour later…
23:05
look how they massacred my boy
mr blobby :(
00:00 - 20:0020:00 - 00:00

« first day (3499 days earlier)      last day (1671 days later) »