VoidWhisperer

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Feb 7, 2014 21:02
SomeKittens: I need to auth the user then grab some data.. which shouldn't be bad unless the database goes down. =P
Feb 7, 2014 21:01
SomeKittens: Sounds like that is going to lead to a very large wall of callbacks eventually
Feb 7, 2014 21:00
Is trying to learn node for an application he's making to tail logs from 1 server and access them on another
Feb 7, 2014 21:00
since node is event-based
Feb 7, 2014 20:59
It could just be that I can't think straight right now, but I can see how you would do one..
Feb 7, 2014 20:59
@RyanKinal That's where I'm getting confused. Lol
Feb 7, 2014 20:58
I have a question here for anyone with expertise in node: I'm planning on making an api on my site using node.. however, I'm not really sure on the intricacies of node, so how would I go about doing a database call in it without blocking it but the same time not doing anything else with that particular request until the database request(s) are finished?
Feb 7, 2014 20:56
Hello. :)
 

PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Jan 28, 2014 00:50
Well, either it's really quiet or no one can answer that question
Jan 28, 2014 00:03
I'm trying to figure out how to do this: I am making something that needs to SSH into a server(s) every few seconds or so, and I think it would be stupid to keep connecting to SSH over and over and over again.. Anyone have input into this?
Jan 21, 2014 21:04
That's horrible :L
Jan 21, 2014 21:01
Danack: Sorry for the open ended question. I've just not done much with php beyond writing server-side pages, and given that, it's making this slightly confusing to approach
Jan 21, 2014 20:58
rdlowrey: eh....... sounds complicated. xD
Jan 21, 2014 20:58
Danack: How would one go about doing that?
Jan 21, 2014 20:57
Fun.
Jan 21, 2014 20:57
Danack: so I have to keep opening up SSH sessions every time I want to send data to my server.. which is fairly often..
Jan 21, 2014 20:57
:p
Jan 21, 2014 20:56
@rdlowrey what about your own mom?
Jan 21, 2014 20:56
since reconnecting to ssh over and over seems like a rather stupid idea
Jan 21, 2014 20:56
Danack: I need to pass it from page to page easily :X
Jan 21, 2014 20:54
Question: How stupid of an idea would it be to create an SSH connection and then put it in a session variable (assuming I'm going to be the only one using the thing that is setting the session)
Jan 14, 2014 23:32
O_o
Jan 14, 2014 23:32
let alone in any of my website roots
Jan 14, 2014 23:32
There's no .html .htm or .php file on my server containing that text
Jan 14, 2014 23:32
what the f..
Jan 14, 2014 23:26
an easier way to do this might just be looking up all of the .htm, .html, and .php files on the system
Jan 14, 2014 23:25
I'm not sure if there is a way to search with grep based on file extension
Jan 14, 2014 23:24
trying to figure out how to
Jan 14, 2014 23:23
doing that returns a few thousand files...
Jan 14, 2014 23:22
"hi "
Jan 14, 2014 23:22
because the text quite litterally consists of
Jan 14, 2014 23:22
and I can't exactly use a linux CLI to find where the file with the text actually is
Jan 14, 2014 23:19
I feel like my site is posssessed or something.. a file that's not anywhere in the nginx root folder, or any nginx folder for that matter is displaying some text on a webpage that it shouldn't be O_o
Jan 11, 2014 01:02
lol
Jan 11, 2014 01:02
I'm going to be shot here for saying this - but has anyone here used JSPs and if so how horribly ineffective are they memory wise? d:
Jan 11, 2014 00:44
and apparently it thinks I still have nginx..
Jan 11, 2014 00:43
I removed nginx and installed apache2 (since I'm on debian)
Jan 11, 2014 00:43
Welp, this shows my lack of any ability to install anything to save my life.
Jan 11, 2014 00:38
I'm going to attempt to reinstall it with apache since that is also easier to get working in my experience
Jan 11, 2014 00:35
Well, in my experience setting up nginx (two times) it does not like working. xD
Jan 11, 2014 00:33
In my personal experience, apache is also easier to setup :L
Jan 11, 2014 00:33
Which is better, Nginx or apache (hides from possible approaching argument)
Jan 11, 2014 00:30
Hmm
Jan 11, 2014 00:29
500 Internal Server Error <-- Nginx does not like me. :|
Jan 11, 2014 00:28
hmm
Jan 10, 2014 23:49
I'm probably about the write the worst node.js thing I have ever written because I know I'm going to be the only one using it.. XD
Jan 10, 2014 23:33
yes, but I have to learn about it because the only javascript I've ever used was in browser, this is an entirely different beast d:
Jan 10, 2014 23:27
Well, time to go look at node.js then
Jan 10, 2014 23:23
which leads me to the issue: I'd need the ssh connection to stay open in order for me to send data to the screen.. which I'm not sure how to do if I ever want the page to actually load.
Jan 10, 2014 23:22
so I might as well get learning >.>