« first day (1989 days earlier)      last day (2962 days later) » 
00:00 - 19:0019:00 - 00:00

7:23 PM
killmepls
 
@Abhishrek anybody with a network card has a MAC
 
@FlorianMargaine shouldn't have uppercased.
 
@Abhishrek uppercased. Capitalized is just the first letter.
 
@BadgerCat kill -9 1365454
also TIL thanks!
 
@Abhishrek thanks
 
7:33 PM
@crl thanks, it crashed
 
@BadgerCat Are you a daemon ? You came back!
 
@Abhishrek I was going to say sigint is 2...
@Abhishrek she's managed by systemd
 
@FlorianMargaine yeah I am kinda dizzy, should goto bed.
@FlorianMargaine d
lol
 
@BadgerCat hey
how's life?
pregnant yet?
 
Not yet.
 
7:34 PM
@FlorianMargaine why not sigkill
 
I recently met @JanDvorak
 
Still waiting for @copy to put a ring on it.
 
@BadgerCat please tell me this isn't related.
@BadgerCat hehe
 
It's not. I just went to Prague and met him.
We had a beer.
 
7:35 PM
@BadgerCat was he nice?
 
I think everyone I've met is 400x nicer IRL.
 
you now went to next level: from phone to IRL, over countries
but hey, a beer is a beer
 
So far I've met @SomeKittens, @BenjaminGruenbaum, @JanDvorak, @dievardump and @copy
oh and @poke
 
@BadgerCat he's a python guy, he doesn't count
 
And also a guy from the security room
and PeeHa
8 people
 
7:39 PM
@FlorianMargaine I count.
 
@poke So do 2nd graders
 
@poke no, you len()
@Zirak nice one.
 
I actually do more JavaScript than Python.
 
@Zirak any news for the npm PR?
 
Python is better than JS anyway
 
7:41 PM
@poke I actually do more python than JavaScript
 
I just can’t be bothered with posting jQuery answers.
 
@FlorianMargaine I "finished" writing the test, running make test to make sure I didn't blow anything up. Besides that, nothing new.
 
@FlorianMargaine If that’s true, maybe we should switch jobs
 
(much more, in fact. These last few months, I barely wrote any js, and wrote about 10k lines of python of something, if that's countable)
@poke we're looking for "python cloud engineers"
@Zirak nice. Too bad for the lack of news.
 
I’m actually quite happy with my job ;)
 
7:44 PM
sure
 
They'll probably reply during their work days.
 
Hi i need some help with some java I'm trying
 
nice
 
@JackDaniels What types of food are there?
 
crl
@poke what kind of js?
 
7:48 PM
1 message moved to Trash can
 
@crl how does that work>
 
@crl mostly front end stuff (unless I end up writing a backend mock server to showcase the front end stuff); a lot of React, and since very recently Angular 2
 
crl
React is <3, not tried ng2, didn't like ng1 so much, directive hell:)
 
Indeed. Every second with Angular makes me regret not fighting harder for just using React for this project..
It’s not like Angular is bad; but for my taste, there is too much magic going on that makes it hard to follow where things come from and how to achieve certain things.
 
crl
7:53 PM
agreed
 
And the magic wouldn’t be so bad, if it didn’t end working at some random point without any warning. For example, it uses a lot of decorators with reflect metadata. Especially with TypeScript you come to it with certain expectations. And then you’re super lost when you suddenly come to the realization that e.g. decorators are not inherited when the subtype uses any decorator itself. (It took me so long to actually figure that out, since it just silently fails)
 
8:08 PM
@FlorianMargaine I feel sick
 
crl
8:20 PM
!!> [0,1,2,3].map(i=>i%2)
 
@crl [0,1,0,1]
 
crl
when having an array a and a reference to one of his item, it would be so handy to do a.insertAfter(someItem, newItem) because else you have to do the ugly a.splice(a.indexOf(someitem)+1,0,newitem)
 
Maybe you want a linked list?
 
crl
that's what I was thinking yes:) will see
 
I need a bit of help with socket.io
 
crl
8:27 PM
it's data deserialized from json initially, so not linkedlists ofc, but I could make some after
 
It doesn't appear that they are connecting
nodeserver.com is just localhost btw
 
crl
give a try to sse or websocket, more fun than than sucketio
 
I would prefer help with what I already have, but I will consider new ways to do it later\
 
8:48 PM
Could you help with socket.io?
 
Hello, is anyone here proficient with ES6 Symbols?
 
crl
there's a use for that thing?
 
@crl they are useful for making enums / private variables
 
We don't need no encapsulation, we don't need no scope control.
 
crl
!!> let o = {x: 1?2:3}; o
 
8:59 PM
@crl {"x":2}
 
9:10 PM
I'm getting error 426 when using websocket with node
It means some sort of upgrade is required, but I have no idea what I have to do
 
Did you search for questions containing “error 426 websocket”?
 
yes
 
Did you read at least 5 of the questions you found?
 
I didn't understand or think they applied to my situation
I read some and was confused
Try to explain it to me like a toddler
 
Well, I was going to say that if none of those could help you, then I don’t see how we can help you more with the amount of information you gave us. Apparently “error 426” is not precise enough to narrow down a cause.
But if I’d make a guess, it’s because your server is not serving the websocket properly.
 
9:14 PM
It says Update Required on the page that is loaded
 
Could a dumb proxy be causing this?
Or maybe the OP is trying to access a WS URL with an ordinary XHR
 
want me to post my code?
The weirder thing is I just copied it from a website to I could reverse engineer it, but it still isn't working
Still confused, hwo shouydl I go about fixing my issue?
 
@copy eli5: I have a program using flask/django/SimpleHTTPServer, it's all API so it doesn't serve any static assets. Why would I use nginx/gunicorn/wsgi/etc?
Read threads like this and this, but they all seem to beg the question. They say "put X in front of Y because Y is slower and X is faster and more secure and shiny".
 
crl
it's more webscale
 
Any idea how I can fix my issue?
 
9:27 PM
Webscales, is that what lizard spiders have on their skin?
 
So is that a no?
 
Yes
 
crl
you'd have done that in 5minutes with websockets
 
i'm using websockets
stop complaining and actually try to help people @crl
 
Are you complaining that we are complaining?
 
9:32 PM
Its a complaining inception......
WHat alternatives are there to what I was doign?
 
Showing us some code might get you some help.
 
crl
wrong port
 
which port should it be?
 
crl
9:37 PM
the one you want, but it should match
 
which is 8080
 
crl
so check client's url now
 
!!tell jasch google default websocket port
 
i changed it to 8080 and i still get 426
@JanDvorak what do you mean?
Its still not working - I changed the ports - can you guys please help?
 
crl
9:45 PM
try maybe just var ws = new WebSocket('ws://127.0.0.1:8080/echo'); and check your statuses on client/server
 
Still update requires
Its connecting fine
im getting so pissed off, ive been trying to get this to work for a day with no results
Can someone please give me some alternatives to WebSocket
 
Long polling (hard to implement), polling (bad response time, resource hungry), infinite frame (breaks encapsulation, proxies might not like)
 
crl
but try harder.., pretty sure if I try to run it locally it'll work
 
I got something working
 
crl
!!mdn websocket
 
9:55 PM
 
!!mdn WebRTC
 
!!What does this do?
 
!!wtf
 
crl
it works for me
 
!!heybro
 
@Jasch1 That didn't make much sense. Use the !!/help command to learn more.
 
crl
  var ws = new WebSocket('ws://127.0.0.1:8080/echo');
  ws.onopen = function() {
      ws.send('something');
  };
  ws.onmessage = function(message) {
      console.log('received: %s', message);
  };
 
!!hey
 
9:57 PM
stop
 
HAMMERTIME!
 
I just ran some code from the socket.io site and it worked
so im gonna reverse engineer it
!!hammertime
 
STOP
HAMMERTIME!
 
!!MCHAMMER
 
@Jasch1 That didn't make much sense. Use the !!/help command to learn more.
 
9:58 PM
!!Mc hammer
 
crl
I wonder if he's a troll
 
me?
 
Too bad I can't kick him.
 
why would you want to do that
 
9:59 PM
Use the sandbox if you want to play with our bot.
 
Ok
my baf
Thanks for the help though
 
crl
/clear
 
@Zirak That's a good question
I'd say you don't unless you need load balancing or caching or so
Or rate limiting
 
crl
why not putting nginx in front rather than an unicorn
 
10:08 PM
It might be more efficient with long responses
The python thread can send all data to the reverse proxy, which then slowly sends it to the client
Maybe
 
It wasn't a new window manager, I needed. It was tmux.
 
You don't need tmux if you have a window manager
 
well, I regularly use windows, mac and linux, so tmux is a more portable solution for me.
 
Makes sense then
 
crl
switching between those 3 would drive me crazy (ier)
 
10:20 PM
It's not too bad once you get some basic posix-y tools on windows, which is as easy as installing git.
 
00:00 - 19:0019:00 - 00:00

« first day (1989 days earlier)      last day (2962 days later) »