« first day (2026 days earlier)      last day (3146 days later) » 

09:01
I smell smoke
@KarelG let us know how it goes
I am sure you'll suffer horrible horrible rejection, but I hope that you can do what none of us geeks can. ;)
NodeJS is multithreaded at libuv level. For every request that is received by libuv is launched as thread. So, NodeJS being single threaded mean, It is about waiting for the call back to get invoked. Is that correct?
@overexchange NodeJS being single threaded means that your code runs from top to bottom, and no one can interrupt your code running in the middle, nor can anyone change variables from underneath your feet while you're running.
vote for my npm-expansions PR
The event loops gives the illusion of concurrency/threads, by registering "requests" with callbacks, and calling those callbacks at a later time
But it's still a single thread, and while the callback is running, no other callback can run/interfere.
09:12
Should be noted that single-threadedness is not entirely a bad thing
Though multi-threaded was all the rage once upon a time
The human brain is 100% multi-threaded
even people who go bald?
They say that when you realize something, that amounts to one part of the brain realizing something that another part of your brain already knew in another context
In the above event loop, data required for each callback is launched on a thread by libuv. After the data is received by libuv, it is passed thru v8 and callback is invoked.
09:15
@Neil Rather that the part of the brain responsible for a given calculation has completed said calculation and forwarded the data onwards.
@JanDvorak nah, that data doesn't stop being processed
Now, invoking any callback, it all depends on whether libuv has received the data on a thread. So, where is single thread logic here? Required data to invoke a callback is depending on a libuv thread to complete its job
Supposedly there is a great deal being processed by our brains outside of our awareness
True, but if a computation is initiated by the conscious part, it won't cease until that circuit is reused with new data
@Shea still have hairs on body
09:19
1k rep later and still no valid answer :(
They say that there is a great deal that one can learn from body language in normal conversation
There's a great deal of information that one does learn without knowing
Looking up is accessing memory, so you know if someone is trying to recall information or if he or she is inventing it
@Neil who is saying all of these things, about how do we stop them?!
I think the Illuminati just removed your response
they really don't want us to know who they are
I find it interesting, and I have sort of gotten myself in the habit to look for these signs when I chat with someone
Of course, I never tell them that I know if they're lying (it is not an exact science in any case)
09:24
@MadaraUchiha don´t know if you can remember our talk from yesterday, but thanks for the requirejs advice. Started to love my coding life again :P
@Shea If so your message should also be removed?
unless it was actually the NSA that removed it!! :O
@Shea the guy standing behind me told me to tell you that the illuminati don't exist. Wait, I think he's upset that I
So, I hopped into android to ask them not to flag spoilers.
They ask me to try their chat bot
@Shea In that case this message should be removed
09:26
Written in JS, takes 2+ seconds to respond...
@Cerbrus for a second I thought they were peer pressuring you
@Cerbrus whoa! Better than Java!
in [iOS][Android][ChaosOverFlow], 1 min ago, by Shubhank
on a fixed timer , its processing messages
I think they're manually parsing the HTML
@Cerbrus looks like their quick solution for message throttling, instead
They're manually parsing the DOM...
09:28
like setInterval(processQueue, 2000)
kinda want to see if I can break it
How does cap get the messages?
Something like listening to the data stream, right?
@Cerbrus websocket
there's also an AJAX fallback
@Neil still useful in distributed environments
09:35
That's the name I was looking for. Thanks, @FlorianMargaine.
SO sent me more swag :o
the notebook + shirt + stickers, @AwalGarg?
Testing is so difficult
Good morning
@AwalGarg I need shirt how to ask?
or where
How do you guys manage predefined data sets while testing like an API using Mocha or whatever?
09:46
too late. you can't. party is over
@AwalGarg Again?
let me know if it started again
@SomeGuy yeah. a shirt, large (like really really large) stickers, and a cool small diary that I can actually use.
Like we initially had the database truncate all documents and recreate the test data at every test unit, but it turns out that it costs like 3-4 seconds per test.
09:46
Anyone worked with Call Stack IN chrome dev tools before ?
the one they previously sent was too big so I kept it aside :P
@AwalGarg I got that like 2 weeks ago
Now we have a bunch of shared data between all tests that we somehow pinky-promise not to touch
It's insane
@Cerbrus is anyone active on that post. it is 3 years back
It's still valid though
09:48
so no one knows about call stack then ?
@AwalGarg Uh, so what swag did you get before that?
Isn't this the one you that FedEx was annoying you about a month or two ago?
(Where they asked both you and me to fill forms for customs clearance?)
@SomeGuy a shirt, lots of stickers, a mug, some orange colored thingy I don't know how to use, and large (like really really large) diary which I can't actually use with a pen in it.
@SomeGuy no that was the one I described above.
meta.stackoverflow.com/questions/322298/… Make downvote comments mandatory suggestion
> I start to think if downvotes shouldn't be moderator aprooved because many times you don't even see the point why you got downvoted.
I used the mug. I should use the diary and pen too :D but there is no one around me who'd get jealous.
Can we get serious now ?
09:51
@Mathematics Yes
Let's talk about climate change and terrorism
Here's the swag I got:
A T-shirt, a mug, a beer koozie (the orange thing), the diary + pen, and a bunch of stickers
Raj
Raj
hey !..... can any one help me i have develop one google chrome extension.and now i have added some extra feature in it so i want to add notification to current user for new version of my ext...
@Raj 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.
@SomeGuy you copy pasted what I wrote and swapped around words. laziest person I have ever talked to
:D
Hahaha, takes work to swap words around!
09:53
@SomeGuy I got that + a second t-shirt and a padfolio
Raj
Raj
@CapricaSix thanks
Ah, neat. I was happy the shirt actually fit. It's always so difficult to know what size to get for American clothes :P
oi
I just ordered a size smaller than I'd normally order
worked out fine
Haha, same here
09:54
So I knew what size to pick for the second round :D
@SomeGuy I got the x-large one which fits length wise, but I feel like it is a camp for me
@AwalGarg Abhishek and I'd told you not to get the XL!
@SomeGuy yeah you told me that only 5 seconds after I hit the submit button.
Only americans fit in an american XL
You ordered the XL one? hahah.. ha.. hahah.. ha
k
09:56
But if I had got the L one, it won't fit me length wise so it'd be useless to me anyways
see? this world is optimized for fat and short people
What kind of chat is this ?
@HirdeshVishwdewa 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.
@HirdeshVishwdewa alcoholic
hahaha
I mean which technology SO uses for this chat?
XMPP ?
TCP matrices
09:57
MQTT
no and no
jQuery v48.56
I wish they did
@HirdeshVishwdewa The digital kind
09:58
What do u mean ?
web-scale
hry
I am using visual studio. how to debug application in nodejs
hey
09:59
@IntercoolerTurbo Cool :)
@HituBansal use visual studio code
@uzaif : how
It's worth noting: Personally, I don't like require.js too much
i dont know @uzaif
Little to no documentation, mainly
10:00
@MadaraUchiha or AMD in general?
/me loves AMD
user533507
I <3 JS
I thought requirejs died
@AwalGarg I think AMD is a pretty good concept, with the absence of native modules
It's just that require does a lot of magic, and is not always clear on how things work
its microsoft open source project
Are AMD and requirejs different concepts?
10:04
requirejs is not a concept
@Mr_Green AMD is the concept, requirejs is the implementation of that concept
I mean in comparison
@MadaraUchiha got it.
@SomeGuy see this one is much smaller i.imgur.com/DtyVSiP.jpg. so I might actually end up using it sometime
fucked up pic but you get the idea
25% of my friends have photography pages on Facebook
10:11
@littlepootis still 0
@uzaif : i need to DEBUG application

visual studi ityeslef start node. in my case this is not working
@AwalGarg Ah!
10:30
Bernie Sanders sounds like Richard Stallman
voice*
ugh
11:09
@FlorianMargaine Can you remind me what's the meaning of # in #:some-name?
Let me know too, Florian!
(gensym) generates names of that form
11:22
Ah, @SomeGuy symbols that are not interned in any package
ayyy
@FlorianMargaine different question then: Say I have a utility package with 2-3 macros/functions
Does that warrant a system? If not, how can I use it in my system, without tightly coupling it to that system?
11:40
@nick oh look whose here
11:51
@littlepootis if he let his hair grow longer they'd probably have that in common as well
Damn, I read that as "lair"
12:03
!!metal or edm
@rlemon edm
!!urban edm
@JanDvorak [EDM](http://edm.urbanup.com/702165) abbreviation for "Electronic Dance Music"

- includes trance, house, techno, breakbeat, gabber, hardcore, and much, much more.
@AwalGarg ur mum
12:07
@MadaraUchiha you could make it a system. As for decoupling, I'm not sure I get your question.
if you depend on a library, you are coupled to it
@FlorianMargaine Yeah, but I don't want it in the source code of my project
I want to refer to it by name/version and that's it
@MadaraUchiha then make it a system
@FlorianMargaine Even if it's small
OK, thanks
12:09
it's not the size that matters
really
TWSS
two types of people
@MadaraUchiha there is a small system: github.com/ralt/chrome-native-messaging
o/
12:13
lol yeh
@MadaraUchiha those who are named Ron, and those who are not.
@rlemon Those who say that size does not matter, and those who have more than 7 inches.
@SomeGuy finally got the last level of bandit on otw.org right
I have 0.91 m
@GNi33 Nice, congrats!
12:14
that one was fun actually, got a little obscure
moving on with natas now I think
I need help naming: I have a singleton that counts the number of active reasons to show a spinner. When any reason appears, spinner is shown. When the last reason disappears, the spinner is hidden. How do I name the methods?
@JanDvorak that sounds like a semaphore
My thoughts as well, but I absolutely can't fall in love with the method names in posix semaphores
@JanDvorak it's not a matter of love, it's a matter of convention
12:18
Also, those semaphores, IIRC, are decrease and reset, not decrease and increase
@rlemon You're such a fruit Elton John is suing for trademark infringement.
@KendallFrey my family were fruit before he was gay
I wonder if we can sue him
sem_wait is absolutely not what I'm waiting and sem_post is unclear as well
sem_maybe
12:21
no such method is mentioned in man
reddit.com/r/Jokes/comments/200nfo/… oh lord it started out so innocent
show / maybe_hide ?
@KendallFrey you talking about the hitler one?
all the way to the end
it keeps getting better
NSFW
though I guess I should assume that tag with everything posted here
12:24
The last one is just... no.
> What is orange and screams 'I am an orange! I am an orange!'?
A schizophrenic tangerine.
LOL
I like this one
What's worse than finding a worm in your apple? The Holocaust.
I know a better one
12:34
What's worse than a bee sting? Two bee stings.

What's worse than two bee stings? The Holocaust.

What's worse than the Holocaust? Three bee stings.
that only leaves one question open...
What's worse than three bee stings?
four bee stings, duh
losing THE GAME of course
@jAndy Goddamnit
Can I ask something in angularjs ? ^^
12:38
You want to ask someting in AngularJS?
Or about?
about in?
about?
12:38
mmmm...
@@
!!welcome TheLittleNaruto
@TheLittleNaruto 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.
If a bee stings is a unit of measuring suffering, then there does not exist an amount of suffering that can't be succeeded by a finite number of bee stings
Ok Thanks bot
</geek>
12:40
So here it is: I am parsing a json api like this: hastebin.com/mawovuyuna.lua
Is it correct way to pass headers ?
@Neil You're assuming there can't be an infinite amount of suffering, while simultaneously proving there can be.
@KendallFrey ah, now we're getting into Godel's Suffering Incompleteness Theorem
@MadaraUchiha come out from infinite tsukuyomi and see above query already ^ :P
@TheLittleNaruto Seems to be correct
@Cerbrus But it always gives me this error: the server responded with a status of 405 (Method Not Allowed)
Though I checked with the web developer guy, he has allowed post, get, put and others protocol.
Even though....
Sob! Sob!
12:47
@TheLittleNaruto so if the headers seem correct, don't assume that the headers are wrong. Could it be something else?
@TheLittleNaruto Look in your network tab in the devtools and see if there's anything wrong with the outgoing request
If there's nothing wrong (POST, headers look good, etc) I can only assume misconfiguration server-side.
Any node-inspector user here ? Does it work with node 6 ?
0
Q: Node inspector doesn't work with Node 6.0.0

mklimekI've updated my project to Node 6.0.0 from 4.2.2. I figured out node-inspector won't work and causes "Internal error: illegal access" in console log after some time (it differs for every new debug session). When I switched back to 4.2.2 everything works properly. How to configure node-inspe...

@Neil the header values are correct as I can get the valid response via postman with the same values.
@MadaraUchiha Ok. Let me check
@TheLittleNaruto so there you go
12:51
@Neil @@ Confused!
when using requirejs, where is the place to include the css of used jquery plugins? Still just in the head?
@TheLittleNaruto I said to not assume that the headers are wrong
Look at alternative potential problems like serverside configuration
> Yet again millions of innocent Brazilians are being punished because a court wants WhatsApp to turn over information we repeatedly said we don't have. Not only do we encrypt messages end-to-end on WhatsApp to keep people's information safe and secure, we also don't keep your chat history on our servers.
Brazil pls
I don't know what the court hopes to achieve by shutting it down for a couple days
12:58
only a fool would believe that secret services are not involved in a communication service with 1 billion users...
Because that will magically decrypt all the messages...
That'll teach those bastard encryption algorithms who's boss, Brazil!
@jAndy I don't trust WhatsApp because they haven't open sourced their client
that is the worst part of all.. true
How much would it run them to hire a technical advisor there? Quite a bit apparently
12:59
I don't buy into conspiracy theories, but then again, I have no reason to trust that you didn't send my key to your servers...
but even if there was open source code and algoritmic..., I still would be pretty sure some "services" of this planet could read your messages.
Your keys are on their servers
it's just too big to not observe
@MadaraUchiha Just now checked, on network tab, the request header does not have "Authentication" key with the token. :O
But how.. ?!? I sent it with the request.
@Neil ^
hello
someone can help me with node socket using NET ?
13:05
@TheLittleNaruto and so the plot thickens. ..
You want to use a Node.js websocket in .NET? Doesn't .NET have its own sockets?
@Neil Again ---> @@
no using "net.Server" provide by node to use TCP
trying to make a unity 3D app communicate with node js server, the connection is already established but can't retrieve any data, just get the headers im missing something but don't know what
.NET uses microsockets. Like sockets except needlessly complicated and every so often returns data information in the form of an image of the blue screen of death
@Kirgan what have you tried
13:08
Also, it is only compatible with windows
something like this
It's ... awkward... and beautiful at the same time... must... watch... ahhhh
Neil you make a mistake with .NET technology provide by Microsoft and the class net provided by node js
i have linked the create server net provided by node js in my lasts messages
13:10
and you can see the connection is being established?
i.e. logs in .on('connection' log?
yes i have my log 'connection' on .on('connection ...
:( My serial device suddenly isn't passing data
@jAndy Megaman had some pretty amazing soundtracks
The connection is open, and the stdout light is flashing so it's getting data..
Ugh.
@Kirgan weird. no clue. I've only worked for listening to connection with net.createConnection(sockPath)
13:12
You just installed RemoteTech didn't you
so not much help
@MadaraUchiha no question.. I just think that acapella .. is weird.. but cool.. but.. I don't know :P
@KendallFrey KIS or KAS or w/e they are called -- inventory and attachment mods (the popular ones) I think are breaking my KSP
Is there a workaround to make TCP (net node) working with socket io ? im so confused
or KSP is just fucked 1.1.2
13:13
@Kirgan you look pretty confused, indeed
I crash constantly.
can't get into orbit even
@rlemon Are they compatible? CKAN will tell you
not yet
I know they are not.
still tried to play with them
@Kirgan thought it was obvious, sorry. Just making a joke
now i'm playing factorio until they are updated
@SterlingArcher Mornin
13:15
:(
@Kirgan websockets is not just a TCP socket
@Kirgan you'd better find a websocket client
I did many research on socket websocket and so on
i'll try to explain my project
I have a unity3D game connected to a connected object (Photon particle) through a node js Server, but the photon particle handled only tcp connection and i can't have a client socket (such as socket.io) on it
nobody ? xd
i got 186 when i log : console.log(sock.bytesRead);
btw
13:43
how do I into javascript?
Sorry if I have to ask again but, how can I get familiar with running node on a live server? I have no experience with servers and running anything other than using php / apache.
digitalocean.com/community/tutorials/… read a bunch of these. setup a bunch of different ways, find one that works for you
Im just familiar with phpmyadmin, php / mysql workflow where we upload files and thats it
Is $(function() { /* angular code */ }); an angular or jQuery notation?
@Shoe jQuery
13:48
What does it mean?
equiv to $(document).ready(fn)
it is jQuery crap shorthand for window.onload
Does it make sense for angular code?
no clue, I don't angular
Thanks anyway
it waits for the DOM to be parsed.
13:48
@rlemon I dont have ubuntu xD
> ubunto
corrected lol
Ubuntu n. - african word for "I don't like Windows"
I hate ubuntu...
well, install some more raw distro
(this won't make anything easier but you'll hate ubuntu less)
13:52
why?
such as DSL?
DSL is dead
because of the name?
!!google ubuntu dsl
13:53
Well im not familiar with that stuff. I just wondered if there is a free hosting company where I can test out node for some time
just test on your computer
without doing all those pre-configurations
You can start with ubuntu's mini.iso and build up from there
@Asperger AWS
free for a year
What pre-configurations do you need to test node?
DO you use windoge?
13:55
@DenysSéguret I know, im just wondering what other people do to run it on a vps or whatever you call those hosting environments. Do you run something on the command line? Or just upload the scripts via filezilla
depends on the host
I use windows (i know, sorry : ( )
nobody uses filezilla to deploy a node application to a live server
AWS for example has elastic beanstalk for auto deployment, others go through git, etc. most have cli access
@DenysSéguret challenge accepted
13:56
@Asperger for quick and deploy to node webtask.io
eh, waxi does
@DenysSéguret I umm...
not recently at least
I still use ftp
well, sftp
13:57
@DenysSéguret my eyes
that thought!
Nice! webtaks is cool
I also visited aws.amazon.com/de/free
I only got rid of filezilla when I found the sublime text sftp plugin
you might be able to do what you want to do with Amazon Lambda
but configuring it is a lot worse
Amazon doesnt mention node though
AWS Gives you whatever you want to do stack
13:58
It doesn't mention anything
Amazon most certainly supports Node
You're overcomplicating things
Well I do want some experience in setting things up.
install a flavour of linux, look up a guide on how to setup nginx and reverse proxy node for that flavour

« first day (2026 days earlier)      last day (3146 days later) »