« first day (2070 days earlier)      last day (2876 days later) » 

12:00 PM
What exactly are you trying to do?
 
hi
 
You want the pin to be only known by the user, but not your backend.. like a private key ?
 
@GandalftheWhite it's called encryption
 
12:19 PM
posted on June 16, 2016 by Axel Rauschmayer

For health reasons, I’m taking June–August off from work (Twitter, blogging, etc.). See you in September! To tide you over, you can read (and buy, to support my work) my books, which are free to read online: Speaking JavaScript Exploring ES6 Setting up ES6 Exploring ES2016 and ES2017

 
user3119231
12:30 PM
A little question ot: Do anyone of you heard something about the refugees in germany recently?
 
why? Did they not behave?
 
just the usual news @Maurice. did anything out of the ordinary happen?
 
user3119231
Thats the point. We didn't heard anything (wether good or bad news) since weeks...
 
user3119231
Call me paranoid but I think something is happening (soon).
 
They're out taking your jobs and raping your women, and Angela doesn't want you to know. Just the ordinary
and before anyone asks, yes, that was sarcasm
 
12:34 PM
@GNi33 but!... oh okay. ._.
 
@Maurice what do you think is happening?
 
@towc - is it logical to encrypt his or her password on the frontend as well?
 
user3119231
Taking jobs - no. Raping and being brutal - yes. I don't know. Maybe she forbids the bad news to calm the people
 
@Maurice why would you be paranoid? in the not so distant past, we refused to offer refugees asylum and systematically executed them in Europe
what could possibly go wrong?
 
@GandalftheWhite No, never trust the client.
 
12:35 PM
Exactly
 
Encrypt your connections with SSL
 
@GandalftheWhite in general, you should hold onto the password as little as possible
 
Or.. they bring in innocent people to the millions, then make up stories about raping and violence.. to create a conflict?
 
That is also done@BenFortune
 
@GandalftheWhite both front-end and back-end
 
12:35 PM
SSL layer is there
 
conspiracy conpspiracy
 
and I am hashing the pass before saving
 
user3119231
@jAndy I saw this situations several times..
 
but is there anyway to not know what his password is when it comes to server
 
Of course it's nothing new in "new warfare"
 
12:36 PM
they are secretly forming a zombie army
 
user3119231
No isn't no (for them) :D
 
but either way, you're right in expecting something "bad"
 
Samsung acquires Joyent.. ohh wow
 
user3119231
As long as my girl is ok, I'm ok. That easy it is.
 
@rlemon Thank fuck Joyent doesn't have control over Node.js anymore
 
12:37 PM
considering that Germany has more than 12 million immigrants living and working in the country, another 1 million refugees should not be a big deal, and certainly will not impact the economy in a bad way.
 
for the next 4 weeks, nobody cares about anything anyway here in europe
Football champion is taking place
 
user3119231
Yeah. Today 21.00 - Germany!
 
I could totally see Samsung slapping some proprietary bullshit on it if they did
 
@BenFortune node.os on a new smartphone would be neat tho
 
There have been rumours about huge NATO troop movement to russian borders for instance
but you don't hear anything about such things in "mainstream media"
 
12:38 PM
@rlemon hey, at least you can say: "look, the TV is listening in on us and it's all managed by a jQuery script"
 
user3119231
@jAndy exactly. the main media is bullshit.
 
@FilipDupanović Actually, many webapps on TVs are JavaScript based
 
it's not bullshit. It is what the current regime wants the people to know and to think. Not more,not less.
 
user3119231
The regime is also bullshit.
 
anyone (or any group) has to have the "power"
 
12:40 PM
@thedigitalmouse I disagree.
 
user3119231
Nevermind. Just wanted to know if I'm the only one... Wolfsburg's crime rate also increased.
 
@BenFortune I'm thinking of taking a stab at a simple 'media center' with Electron
 
@jAndy nobody even cares what's going on in Ukraine... everyone is busy with their mortgage and pension plans (y)
 
@rlemon Shouldn't be too hard. Would it play the videos too or just handle your library?
 
both
 
12:41 PM
To get a good idea about who is at "power", ask yourself which group or which person you are not allowed to criticize publicly without penalty
 
like, I want it to do everything. I'll hook it to the TV as a media source.
 
How you gonna handle the remote controls?
 
@jAndy By that logic, no-one is as power in the Netherlands.
 
bluetooth or w/e small keyboard
 
I meant within the app, will they catch some sort of keydown event?
 
12:42 PM
like one of these
 
@Maurice are police reports publically available? then you can see for yourself if the rise in crime is due to immigrants, or local football match visitors, or whatever
 
Electron has shortcuts built in, could be nice
gl :p
 
user3119231
@thedigitalmouse yes. we can see the crimes online (most of them)
 
@jAndy who would that be?
 
12:43 PM
@jAndy this shouldn't be an issue with mass media; you should be free to openly criticize any party, because as soon as you're done with your message we're going to drown them with pictures of cute cats and dank memes
 
@Maurice probably a service available that sorts all that data...
 
user3119231
my dad works within the "country police (dono what Bundesgrenzschutz means )"
 
@Maurice oooooh! I know! use JS to parse through the online data and then take that info and do totals and charts :D
 
@GNi33 find it for yourself
 
@Maurice technically "Federal Police" but could mean a regional or county-level i guess
 
user3119231
12:45 PM
Found the source of evil: youtube.com/watch?v=qm5SYxRXHsI
 
The name "federal" is more or less or joke too
In fact, the 'federal' reserve bank is as federal as an ape in Congo
 
Gotta get down on Thursday
 
@Maurice yes there are problems, yes there are complete fucktards beneath those people, but stop the over generalization already. Identify the problems, solve them in a meaningful way and everyone (yes, even ze Germans) are going to profit from it. Being scared of each and everyone that's not your typical Müller and just pointing fingers is definitely the wrong way to approach this.
but hey. you know what it is? It's fucking easy
 
user3119231
If 10% of all zombies have bitten you, do you only remove the 10% (just thinking a bit):P
 
12:50 PM
and that's all that people want. A fucking scapegoat and they got it
 
All people are evil, and everyone deserves to die #killallhumans
 
@Maurice great analogy
but yeah, be xenophobic. Not my problem
 
user3119231
As I said: As long as my girl is fine, it isn't my problem. This country is fucked up since years. Everyone is fighting for his own, so yeah.
 
Are you saying that Syrians are zombies? Because that would explain every problem in the world.
 
@GNi33 Müller?
 
12:52 PM
it was the most archetype german name that came to my head
 
I was gonna suggest Hitler, but he's Austrian
 
user3119231
@ndugger Blame @GNi33 :P
 
exactly
 
user3119231
And the dumbass AFD member which just wants to fuck up everything. The second problem after the refugees
 
@Maurice you know, I even understand it. The big problem is, the way this is being handled now will ultimately end in disaster
integration is the key word here, and this isn't happening as long as people keep digging trenches between each other
 
12:53 PM
question is... by will or random
 
Let's solve all of the problems with javascript. We'll program a new country for the refugees, where each person will have access to as many jquery plugins as their hearts desire.
 
if this goes on, you're right. It will end bad
 
user3119231
BUT: Dad is born in Italy. If shit escalates, I can say bye.
 
@ndugger Utopia!
 
@jAndy will
 
12:54 PM
yeah... not like Italy is much better
 
hahaha
 
$.utopia()
 
@FilipDupanović next question: whom
 
user3119231
@FlorianMargaine True.
 
yeah, Italy is definitely where you want to go if Germany has a problem
 
12:54 PM
next: why
 
@jAndy parties from both within and outside of the EU
 
user3119231
I will move to Canada. Annoying robert.
 
@Maurice Canada is part of the problem
 
I'll move to the US. at least they'll have a big ass wall by then
 
At least it is homebase of all...."bad guys" for the last decades :p
let's nuke Canada :P
 
12:56 PM
@GNi33 Assuming you can get past said wall.
 
caramelize all that syrup
 
user3119231
@Luggage nuke it.
 
@rlemon how often did your prime minister apologize for his arm now? And, kind of related... is your parliament always this funny?
@Cerbrus dammit, I knew there'd be something I forget when planning this
 
user3119231
All js's should get their own country. And jq's will be forbidden to enter!
 
12:57 PM
@ndugger Still funny
 
@BenFortune the Q was finally deleted. Glad I got the screeny when I did
 
@jAndy corporatization
 
@Maurice that actually is the first rule in divide et impera. Create groups and let them smash each other. Media helps tho :p
 
@Cerbrus yup
 
12:58 PM
@GNi33 if you're talking about the elbow incident, that was a joke. bunch of grown ass men acting like kids and the PM steps in and tells them to sit the fuck down, accidentally bumps someone else. "big drama"
 
regarding the trouble in Cologne - many of the men under investigation turned out to not be all refugees, but from Morocco, Tunisia, and Algeria just looking for work trying to escape economic trouble, not war.
 
shows you our media really needs to dig deep for a drama story
 
user3119231
@jAndy Si vis pacem para bellum
 
@FilipDupanović that is too vague and undefined. There are always heads and people behind "Corporatizations".
don't forget about panem et circenses... hence.. football and right now european championchips
 
@jAndy they do and they're real; just traverse the post-communist states at the fringes of EU and observe the economic activity
 
1:00 PM
works since '00
 
user3119231
@jAndy turning tv on in office
 
Soccer pls
I don't watch sports where the players fake injuries and then get mad when they get found out
 
England vs Wales is on
 
user3119231
^
 
1:03 PM
panem et circenses hooray :p
 
@ndugger "get found out" like people find out the sky is blue
 
upset for England will be fantastic
 
guys like him ... are the reason why there is evil in this world
the ear guy
 
1:05 PM
 
@ndugger start un-one-boxing, please.
 
the last one is a joke
 
I'm proving an important point
 
they are from the same team
I get it
 
@GandalftheWhite I have links to big collections of gifs of fake injuries... Just because one is a joke doesn't invalidate my point about it being a fake sport
 
Human Beings aren't the most perfect creatures on this world
and I watch football regularly
I know what you mean
theatrics and antics in modern football is annoying at times
 
@tereško No. Asking for excessive gif posting to be un-one-boxed, especially during business hours is normal, here.
 
@ndugger wait, how does it make that a fake sport?
 
after it's played for a bit.
 
Cap usually deals with it, but she's dead jim.
 
1:07 PM
yes, we enjoy gifs.. for about 90 seconds.
 
She unboxes her own gifs
 
^
I'll work on the migration script again I suppose
 
I just run a user script that unoneboxes images anyway
 
Yea.. I don't even care when it's one, but when my whoel screen is soccer gifs it's a bit extreme. :)
 
1:08 PM
@StephanMuller fake injuries, whiney players, bad referees... the list goes on
 
I think I'm going to file a request to officially change my name to htm is basic for java
 
user6225166
hi every bd. current topic? just entered the room
 
Anywho, new knockout -> react bindingHandler. Nice and simple: gist.github.com/luggage66/720d8f8d2480f9cb09c668e8dc88714b
 
Current Topic is Theatrics in Modern Football
 
@Luggage As if you're somehow slighted by it...
 
1:09 PM
slighted? no.
 
Mornin
 
o/
@SterlingArcher dude, get on that link I sent earlier. there is a stream on the page for the album
10/10
 
user3119231
Hey, Robert. Nice to see you. How was your day?
 
lol I will soon, I need coffee and memes. i'm fucking exhausted
Didn't sleep well at all, but I'm sore which is good
 
@rlemon the apologies were a (literal) joke or the drama around it?
 
1:12 PM
@GNi33 the drama around it all
 
The bad news is I've lost a lot of muscle in the past 2 years :( I couldn't even do 3 sets of 35lbs weights on the bench
 
@SterlingArcher big date last night?
 
Nah, I joined a gym
I have a fitness assessment tonight at 7, so I'm going to be dead tomorrow
 
I need a gym bro. would it be weird to video conference workouts?
 
they kill you if you don't pass the assessment? harsh.
 
1:13 PM
lmao yes and no. I need a gym bro too. My brother won't join, so I have have to make friends at the gym :(
 
@rlemon Yes.
 
On the upside... tons of gorgeous women go to this gym
 
video conference them
 
@SterlingArcher are you getting a PT as well? I have one, but that's only because I'm clueless when it comes to lifting. It's nice to have someone tell me what to do, and then push me to go a few more
 
@Luggage workouts on hangouts. @VeronicaDeane and @SterlingArcher can shout words of encouragement from the background
 
1:15 PM
@ndugger nah, the gym gives you a free assessment when you join
 
Ah
 
@rlemon oh okay. Yeah, definitely. So unnecessary
 
I suspect they'll try to get me to get a PT after but I know how to lift, it's the motivation that always leaves me
Not this time.
 
@SterlingArcher yep, let's do hangouts
whoops, sorry
 
Hangouts while we flail around on the elliptical
 
1:20 PM
@GNi33 must be pretty boring to be a Canadian news reporter in politics if they have to stretch that out
 
@ndugger did you just talk about cardio?
 
hi all
 
@neoDev Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Now that the crack smoking mayor is out of the picture..
@neoDev o/
 
I need some help with a node.js server
 
1:21 PM
@GNi33 I often talk about cardio... your question confuses me
 
 
I like cardio
I actually really enjoy running, which is strange for someone my size
 
I want to run apache and node.js on the same ports (80, 443)
is it possible in some way?
 
I love getting my heart rate high up and feeling like I've just worked my ass off
 
Cardio sucks. Strength training is significantly easier. Just have to lift a heavy thing like eight times consecutively, takes like a minute
 
1:22 PM
yeah, I hope you didn't take that seriously. And good for you! It's awesome when you enjoy running
 
@neoDev Not directly, but you can have apache reverse-proxy node.js.
 
Slow mobile ninja
 
Or use another server to proxy them both (like haproxy or nginx)
 
with node.js I have done the wss
with the redirection
done by the app.js
 
@neoDev nginx is cleaner with nodejs, just my opinion
 
1:23 PM
@rlemon the "physical molestation" part was kind of funny to be fair
 
I use xampp to launch my nodejs server through api calls to AWS that send internal requests through the router that signal my unit tests to pass which allows me to port forward my application through the firewall.
 
I need to use domain1.com use apache, and domain2.com use node.js
using both ports 80 and 443
 
i am a little bit confused
I've done the proxy on apache
redirecting to node.js
 
redirecting or proxying?
 
1:26 PM
@neoDev if I understand correctly, you cannot do that, you have node listen on port (example) 7000, and apache proxy's the traffic coming in on port 80 intended for node goes to port 7000 now.
 
it was only for https
 
i like cardio until it feels like my lungs are burning, which for some reason happens pretty soon after i start exercising...
i'm really out of shape, that's probably why
 
right. node will be on another port, but apache will pass it traffic so your users will only access one port.
 
now I have wss problem
this is what confuses me
to make it working with the domain I made it on 80 and 443 ports
 
1:28 PM
mod_proxy_wstunnel
 
@NathanJones That's a good feeling! It means you're working hard!
 
user6225166
@NathanJones burning ahahha. are you serious?XD
 
so now domain2.com redirects to https domain2.com with wss
 
user6225166
what have you done for exercices?
 
My lungs adjusted to running really quickly.
I ran 6mph for an entire mile before I had to slow down, last time I ran... which is when my knee started acting up, actually.
 
1:29 PM
wasn't till about a full year after I stopped smoking cigs till the burning went away when I did cardio
 
apache2 is stopped for now
 
I don't smoke
I don't run
I don't cycle
 
so if I want to enable apache2 and use it only for domain1.com how can I do?
 
@GandalftheWhite Do you even lift, bro?
 
@neoDev Proxy
 
1:30 PM
No I don't
 
user6225166
i run every day and done some push up and squat XD
 
whitebeard the conservationist :D
 
user6225166
it make me feel better
 
I don't do any exercise but still no tummy and shit
 
1:31 PM
@rlemon so I have to redirect apache to node.js?
 
High Metabolism benefits
 
@VeronicaDeane Ew, dude, that image is from funnyjunk...
Unacceptable
 
@neoDev or have another server do it, but either way, you have one server listening on 80 or 443 or w/e and proxy that traffic to the others needing it based on the domain they're accessing
 
user6225166
@neoDev i dont know. why apache is so hard to configure. do you use inux distribution as system ?
 
@GandalftheWhite or low calorie intake?
 
1:32 PM
I eat fair amount of food
 
yes I use linux
 
and that isn't carbs free
 
Without muscle and exercise, you'll lose that metabolism and get fat like the rest of us
Muscle is pretty much the only way to ensure that you burn more calories during the day
 
Well...20 years+ gone no changes
 
*exception
 
1:33 PM
you're probably not stuffing yourself like a pig at least, otherwise you'd inflate like a balloon in half a decade
 
I eat a lot
 
user6225166
@neoDev lol. it's hard. i have dealt with this before. good luck. i think the best solution is to get the right configuration from the file the internet
 
@GandalftheWhite according to WebMD, you have a Tapeworm, and your Tapeworm has Cancer.
 
@GandalftheWhite 20+ years, you're saying you're in your twenties? There's still more than enough time for your metabolism to turn on you
 
Rofl..
nice one, just saw it
 
1:35 PM
:D
 
@rlemon Well that was scary sire
:'(
 
@GNACBetombo can be done by redirect the apache to node.js?
 
@ndugger Agreed there
 
using same ports?
 
@neoDev it really isn't hard. it isn't a redirection, you want a two servers to accept traffic on a single port, you have to use a proxy
 
user6225166
1:36 PM
what?? seriously i dont know. but try perhaps it'll workout .
 
talking about 'redirection' is another thing completely.
 
can you shome me an example?
 
in nginx, sure. haven't used Apache in a long time
8 mins ago, by rlemon
mod_proxy_wstunnel
but this is the golden goose for doing it with apache
 
@neoDev I'd suggest writing a reverse proxy, it's a fun experience and you'll understand how apache/nginx work.
 
user6225166
1:37 PM
@neoDev for what kind of web appli ? PHP, JAVA,?
 
@VeronicaDeane ^
 
@SterlingArcher awww, you got my message
 
@SterlingArcher :o
 
@SterlingArcher ... I don't understand this one :(
 
I did LOL it was a jaw dropper
 
1:38 PM
@FlorianMargaine in recent news, gorilla attacked a kid, they killed the gorilla, and then a gator attacked a kid.
 
user6225166
lol
 
The internet has no chill. I'm already seeing savage jokes about the Pulse shooting
 
@rlemon LOL
seriously?
 
not like on the same day or anything
but within the last month or so
 
@SterlingArcher surprised?
 
1:39 PM
both happened in Florida no?
 
oh, it wasn't the same kid?
 
I am trying to do apache ProxyPass as you suggested ok?
 
ohh no no
 
room topic changed to JavaScript: say no more fam: Topic: JavaScript, ECMAScript. Read this: javascriptroom.github.io/rules. Before asking inform yourself on the XY problem goo.gl/taIqf | devdocs.io Documentation™ Helps. Room meta discussions: github.com/JavaScriptRoom/culture [ecmascript] [es6] [fetch] [javascript] [nodejs] [promises]
 
oh
boring.
 
1:39 PM
if it was the same kid... oh my god
 
Who made Jordan the keeper of the room's title?
 
the comic would make so much sense
 
@ndugger self appointed. For the most part nobody has stopped me or changed it xD
 
I want it back as "htm is basic for java"
 
You have the power, fam.
 
1:41 PM
room topic changed to JavaScript: say no more fam: Topic: JavaScript, ECMAScript. Read this: javascriptroom.github.io/rules. Before asking inform yourself on the XY problem goo.gl/taIqf | devdocs.io Documentation™ Helps. Room meta discussions: github.com/JavaScriptRoom/culture [ecmascript] [es6] [fetch] [htm-is-basic-for-java] [javascript] [nodejs] [promises]
 
it will be something like:
ProxyPass /node http://localhost:8000/
 
but I am using the same port, so I don't thinkn it will work
 
Just out of curiosity, does "Wales" use the same national anthmen as England?
did they play god save the queen twice for that game ?
 
1:42 PM
God save the wales
 
@jAndy god, not good
 
typo spotted
 
FUCKA YOU WRALEEE
 
it didn't work
 
Wales's national anthem is different
 
@rlem
do you know lestencypt?
I am using their certificates
 
Gareth Bale
 
when I install a certificate they check on port 443
 
FUCKED IT
FUCKED ENGLAND
That Freekick was wicked
 
this is why I am using that port for both servers
and also I have a noip domain for now to test
 
1:45 PM
# Ensure that Apache listens on port 80
Listen 80
<VirtualHost *:80>
    DocumentRoot "/www/example1"
    ServerName www.example.com

    # Other directives here
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "/www/example2"
    ServerName www.example.org

    # Other directives here
</VirtualHost>
is right there on that link
really look at it.
two applications getting traffic from port 80
 
but node.js is another server
 
just read the page please
 
Omnomnom, the sound of that vamp eating rlemon.
 
this is a folder served by apache
 
then you can google "how to proxy apache to node" and edit that VirtualHost entry to accommodate it
glhf
 
1:46 PM
but will not run the node server
 
in general.. you won't proxy apache to node
sacrilege
 
yea, you'd use nginx
 
and I will get the error ADDR ALREADYINUSE
 
:D
 
Apache spawns/raises too much memory
 
1:47 PM
@jAndy lol
 
I have a feeling you're just regurgitating stuff you've heard for years
 
for now I need to use apache
 
@FlorianMargaine wat
 
apache is fine.
 
1:48 PM
it sucks
 
when I get the certificates they check port 443
otherwise I will use other ports!
and everything could be done
 
Let it load some modules and it will pwn your memory for every request made
 
I use letsencrypt certbot-auto
 
you DO use another port for node and have apache proxy. We told you. Stop asking the same question over and over.
 
@Luggage so I'm not insane, we have answered this question like 7 times now right?
 
1:49 PM
ok
thank you
I will let you know how is going :)
 
@SterlingArcher he mad
 

« first day (2070 days earlier)      last day (2876 days later) »