« first day (1502 days earlier)      last day (3437 days later) » 

user2620028
3:16 PM
whats up guys
 
the sky, as is tradition.
 
@rlemon maybe yea going out to dinner at like 4pm cdt
 
@Loktar day late ;)
 
wth
 
no one hung out with me anyways :(
 
3:18 PM
I just got the ping
my pings for chat are so jacked up lol
I have to go to the main site to see them alot of the time
oh @rlemon can you email me your address?
If I get the package early enough ill run it right to ups today
 
shweet
UPS ground is like $30 it said
 
ok cool
 
confirm shipping cost and i'll email you the cash today as well
 
oh nice, sounds good
 
ohh and can we please ensure the package doesn't say what the contents are :P my gf is nosey and I don't trust that I'll be able to hide the package before she snoops it
not the end of the world if you can't
 
3:22 PM
yeah ive got boxes at home
but I imagine it will come with an outer box (I hope lol)
but yeah ill double box it otherwise
 
Dear SO,
Kindly stop randomly logging me out.

Thanks,
rlemon.
5
 
user2620028
Has anyone else noticed the bug in jsfiddle with cursor positioning?
 
0
Q: How do I turn off or disable a plugin while filtering content via javascript?

SkullomaniaI am using a plugin called Blocksit.js to organize div's in a pinterest style layout on a webpage. In my application I have combined this with a custom javascript filter in order to "Zero In" on specific items that my users may be looking for. Test page 1 is the layout that I am hoping to achieve...

still no answer
:(
 
@HatterisMad yes
latest chrome breaks jsfiddle
 
@Zirak You know what I just realized?
 
3:35 PM
hi guys
 
My current avatar looks like someone drove a steak through it
 
user2620028
@rlemon sonofa.... that is incredibly annoying.
 
0
Q: Random disconnections

Florian MargaineMore than once a day, stackoverflow disconnects me. I may have not come back in an hour, or I may be chatting; I may have used another device to connect, or I may not; I suddenly will get errors about not being logged in when sending messages in the chat. I know I'm not alone. I use Chrome, but...

 
is it possible to remove/hide an html tag via javascript while another javascript is happening?
 
not just the chat
 
3:36 PM
i am using ajaxsnapshots.com for my website . I contacted their support and the guy told me i need to use a mod_proxy as i need to make a request for their script .i host with godaddy
 
I'm logged out of main as well @FlorianMargaine
 
@rlemon fixed
 
posted on November 26, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} Exclusive bonus comic over at The Nib!

 
Guys, I'm making a daemon with node, and I have a few questions
 
@SomeGuy We did that before, didn't we?
 
3:40 PM
0
Q: How to find position of all uppercase characters in string?

user123456789How to get the positions of all Uppercase characters in a string, in jquery ? assume var str = "thisIsAString"; answer would be 4,6,7 (with t being at index = 0)

 
!!welcome SecondRikudo
 
asks for a jquery answer, gets all straight JS answers
 
@SecondRikudo Welcome to the JavaScript chat! Please review the room pseudo-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.
 
@Zirak NO WE DIDN'T
ARE YOU CHEATING ON ME?
WHO'D YOU DO THAT WITH BEFORE?
 
@FlorianMargaine :P
First, it's going to be an iterative service (i.e. something that runs repeatedly once a day or so)
 
3:41 PM
I...I'm sorry Martha!
...me and Alice drank chocolate milk together
But it was just the once, I swear!
 
Would you use Node's setTimeout (or setInterval)? Or a crontab?
 
crontab
 
@FlorianMargaine I'm guessing in case it gets killed once, don't ruin it for the rest of the times?
 
for example
 
What else?
 
3:42 PM
or because you know cron is deterministic
setTimeout can be... random
 
@SecondRikudo Imagine you'd only want to run it once, or change how often it's run.
 
@FlorianMargaine A few seconds/minutes/hours either way don't really hurt me in this case, but okay, I get what you mean
 
Also, with a setTimeout you've got an idle process just standing there
 
@SecondRikudo Having the daemon manage itself opens a bunch of room for errors, and means you have to reinvent (or use a library for) cron.
 
Gotcha, cron it is
 
3:43 PM
Plus an extra process to monitor.
 
@ssube You know matches have an index property
 
Now in case I want to add it to linux's service whatever start/stop/status command?
 
that... depends
upstart, sysvinit, systemd?
 
I honestly don't know, my linux-fu isn't that good.
 
is it required?
 
3:45 PM
I want to be able to start/stop it easily, and be able to have it run at startup
 
it depends on your system... that's the problem
 
Server is Debian
 
version?
 
dor@vps:~$ cat /etc/issue
Debian GNU/Linux 7 \n \l
 
@SecondRikudo man init should tell you
 
3:48 PM
sounds like it's already systemd
 
@Zirak Having a look, thanks
 
hm, wait
you're using service...
 
I think Debian's still with upstart and not systemd, that the latter is only in testing or some fashizzle
 
@SecondRikudo look at scripts in /etc/init.d... reproduce them
@Zirak sysvinit... upstart is ubuntu only afaik
I may be wrong tho...
 
How do I combine the two? As in, work with cron but still enable disable via service start/stop?
Is it as simple as I think it is? Just use the cron commandline to add/remove the job?
 
3:51 PM
@SecondRikudo Should be.
 
Well that was a heavier reading than I expected wiki.debian.org/Debate/initsystem/sysvinit
 
@SecondRikudo @SecondRikudo what... cron should run a wget or something... service should start or stop your service... dunno what you're talking about otherwise
 
Hi all
 
@Zirak Avoid systemd until you have to deal with it. It's an overly clever, nerfed version of a service manager.
 
@FlorianMargaine eh? I don't plan to provide an HTTP interface, if that's what you're aiming at.
 
3:53 PM
@SecondRikudo what would your cron do?
 
@Neal hi
 
@FlorianMargaine Run node file.js
 
run the script?
ok
what do you need a service for?
 
It also sits in the wonderful chasm of being undocumented, semi-configurable, new, and designed to be as clever as possible.
 
to run the cron?
 
3:54 PM
@FlorianMargaine Manage whether cron runs the script?
 
@FlorianMargaine Yeah, I'd like to avoid having to manually edit the cronfile
 
@ssube what?
@SecondRikudo what...
you run crontab -e once your server, then you never worry about it...
 
sysconfig enable daemon adds the line to crontab, sysconfig disable daemon removes it.
 
is that it @SecondRikudo? ^
 
Like I said, my linux-fu is not good
If I'm saying stupid things please correct me :P
 
3:56 PM
It's not something I can see being needed too often, but could be useful to pause the service.
 
it's not about linux-fu... what would you do in windows?
 
@FlorianMargaine Use scheduled tasks probably
 
so we are back using this site again?
 
@SecondRikudo and only scheduled tasks, right?
 
You have a point.
 
3:57 PM
you only need cron
 
@FlorianMargaine we'll let them off using crontab though
 
no way...
 
@FlorianMargaine better than writing some weird scheduler deamon!
 
I once challenged a friend who wanted to learn python to rewrite cron in python...
I suggested him to name his program "pron"...
 
!!rimshot
 
3:59 PM
@SomeKittens That didn't make much sense. Use the !!/help command to learn more.
 
@FlorianMargaine isnt that a touch mean as python was (is?) single threaded?
 
@FlorianMargaine if i set something to run at 10.00hrs i want it run at 10.00hrs not 10.00hrs + when ever everything else before it has finished
 
@DrogoNevets read the link I just edited in my message
 
@FlorianMargaine am doing so
 
4:03 PM
@DrogoNevets long story short: fork is what you want
worst case: write a python extension in C, and use fork
 
@FlorianMargaine yes I am seeing that, so kinda we are both right as the thread is in fact identical and not multi threading, but kicks it off as a seperate process
 
@DrogoNevets I never said it should be multithreaded...
 
@DrogoNevets You also have threading in python docs.python.org/2/library/threading.html
 
51 mins ago, by rlemon
Dear SO,
Kindly stop randomly logging me out.

Thanks,
rlemon.
@rlemon It's Miaou
Does the same thing to me.
 
4:18 PM
@dystroy ^
 
3
Q: Random disconnections

Florian MargaineMore than once a day, Stack Overflow disconnects me. I may have not come back in an hour, or I may be chatting; I may have used another device to connect, or I may not; I suddenly will get errors about not being logged in when sending messages in the chat, or being simply disconnected on Stack Ov...

 
I wasn't alone after all
 
All the people who use SO to sign onto Miaou probably have the same thing.
 
I used Google
 
I don't use SO to sign onto Miaou.
 
4:19 PM
I'm lying then.
Every time I sign into Miaou is when I get logged out of SO though
 
@Sippy yes you are.
 
I don't use SO to sign into miaou
 
@FlorianMargaine vanishes in a puff of smoke
 
I use google
 
user1596138
> $newTrash - The world's first $type game for programmers
 
4:20 PM
wait wat
 
user1596138
Keep seeing such similar things
 
gah
 
have I ever told you all how much I loath interface design?
 
what's so unlikable about it?
 
all of it
 
4:40 PM
What's the difference between running Promise.promisifyAll on an object and on its prototype?
 
@rlemon use dribbble
 
inspiration isn't the issue.
 
got it :-) no issues
 
I'm a bit lost here. I know that jQuery uses encodeUriComponent to encode data when sent in ajax , so I made a test : I posted 1+2+ 3 with ajax look here , but chrome shows me at console deeloper that the string was sent was: html=1%2B2%2B+++3 and this is NOT how uriEncodecomponent works !
where does in jquey code it encodes that way ?
 
Hi guys
can anyone explain to me what is mod_proxy?
 
4:45 PM
@LukeSmith An apache module for setting up proxies and reverse proxies (changing URLs for various reasons).
 
@ssube thanks. How can i do this with go daddy? is it complicated?
 
One of the most common uses is to turn an app server (say a tomcat running on app.local:8080/app) into a usable url (app.com/app)
@LukeSmith No idea, haven't touched them in years, due to their being the greasiest hosting company around.
Check for tutorials.
Or try and contact their support, but they may not bother getting back to you...
 
@ssube i am using ajaxsnapshot.com in order for google to crawl my ajax content and the support guy has said that Your Hosting provider doesn't support mod_proxy .
@ssube all i need is somehow to be able to get ajax snapshots on website so that google can crawl my content. I havent found any good tutoria(thats why i tried ajaxsnapshots.com)l .I know very little javascript. I am using jquery to fetch the ajax contents. i read that i need to implement history.pushSate and htmlsnapshots. I am not using any framework
 
Good morning
 
Good morning
 
4:53 PM
Good morning
 
There are 3 people in my office today
including me
 
aww man no one can help me
it seems like no one uses ajax. which is obv not true
 
So... is SO really the new customer care for IE users?
 
4 messages moved to Trash can
If you're not going to help, there's no need to mock
 
@SterlingArcher cheese and ducks weren't mocking >:(
 
4:56 PM
@SterlingArcher <3ro
 
@SterlingArcher I was supporting that guy >:(
 
@jonathansampson is the MSDN/SO relationship an official sponsorship?
@AwalGarg no, you were trolling.
 
@SterlingArcher Erik makes 400k USD a year so it's np
 
@SterlingArcher You are wrong.
 
So I got that fucking Jekyll up and running
 
4:57 PM
@AwalGarg No I'm wrong
 
@LukeSmith give me some time to get some work done and if you haven't solved it I'll revisit your question later
 
@SterlingArcher thanks so much .
 
@AwalGarg I wonder when Minecraft tech support will officially be moved to Arqade.
 
@AwalGarg .........
o god.
 
4:58 PM
@LukeSmith it means "try to solve it yourself."
 
@FlorianMargaine lol
 
@LukeSmith how many pages do you have? And how dynamic is the content
If you don't have too many you could take the manual route and use phantomjs locally to crawl/save static pages yourself
 
> We look forward to seeing everybody on Stack Overflow!
not sure if that is a joke post.
Jonathon has been an elected SO moderator, so I guess there has to be something behind this.
 
He works for Microsofts development team for IE. He's very smart
 
5:02 PM
@SterlingArcher but... he works for Microsofts development team for IE
 
He didn't work with them when IE sucked. And IE has been getting better since he is with them.
 
@AwalGarg also since the Walking Dead series started IE has been getting better
lol I doubt its all one man :P
 
@AwalGarg IE didn't suck when it was developed. It sucked because it wasn't updated in years.
 
(Actually some blog post said that the entire IE team has changed since then... but no reliable proof).
 
IE6 invented ajax
 
5:03 PM
I know.
 
@Loktar i am planning to have many pages. I did go through phnatomjs. The documentation is not simple for a newbie to understand.
 
@KendallFrey lol I chatted with him on twitter. He's very intelligent
So I came into work to build a donation page for our communications team... and the person I'm working with isn't here, and she hasn't send me any information.
Wtf
 
go home, happy Thanksgiving
 
I can't until my boss calls me =/
In the meantime, let's all bask in the glory of this imgur.com/gallery/gO5Sx6m top comment
 
lol
 
user1596138
contributors army suggestion
 
user1596138
Kick me as you will ;P I'm serious
 
Rewriting and standardizing PHP seems like an awfully large task...
 
BRACK FRIDAY!
Those were good episodes.
 
user1596138
@ssube Don;t be that guy that's not what it says at all jeez
 
5:16 PM
There are plenty of issues in their bug tracker...
 
user1596138
Yup :P
 
user1596138
It would be an easy one to start off with
 
Their code is pretty messy tho (not style-wise, the actual code itself)
Paging through some of it, it seems like you'd need a decent understanding of a few other modules to work on it.
 
user1596138
@ssube Depends. Here I have a great example
 
user1596138
5:19 PM
The offending code is within the ext/json. Not all issues are core language issues
 
So let's take a look at the ext/json code...
well, it has jumps within conditionals, so that's fun.
There's not a lot of code to the JSON module, so that's a plus. It does appear to be a hand-written goto-based state machine, which is a... thing.
As a real comment, the fact that their entire codebase is littered with ZEND_* calls (which should be preprocessor defs by the name, but are actually functions) and calls to their php_* helpers will raise the bar a bit.
 
user1596138
@ssube uhh, did you have a point?
 
user1596138
...
 
good luck getting this out of your heads this thankgiving
LOL
 
user1596138
WTF
 
5:33 PM
1 message moved to Trash can
 
wtf should that mean
 
that was a good one!
 
@someDoge you should try talking with people on the PHP internals mailing list before you get any ideas about contributing to PHP (php.net/mailing-lists.php). There's a reason why most contributors don't stick around ;)
 
@aphazel Welcome to the JavaScript chat! Please review the room pseudo-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.
 
user1596138
@Skullomania But why onebox that :P
 
5:35 PM
@someDoge onebox?
 
@someDoge Their code is made largely of helper functions. Many of those are undocumented. That's going to make it kind of a pain to work on.
 
user1596138
@aphazel That's a curious thing to say... Could you elaborate on how the mailing list affects submitting patches?
 
I can't find any docs on which helpers do what or which should be used where, which is the problematic part.
 
user1596138
I didn't have the same problem...
 
user1596138
Follow the code lol
 
5:36 PM
@someDoge you can contribute all you like, just don't expect anything beyond that
 
@someDoge Doesn't help clarify convention, or which helper you should be using.
 
user1596138
@aphazel Beyond that? What do you mean, beyond that?
 
Where are the docs for that?
 
@someDoge I mean, don't ever expect your code to see the light of day
 
@aphazel wrong
 
user1596138
5:37 PM
I didn't suggest we work on the internals. We are looking for projects to contribute to
 
but anyway, @someDoge, the bug report you actually linked to is a hard one
 
user1596138
On top of that I just don't think you're telling much truth right now...
 
user1596138
@FlorianMargaine :D my patch is working
 
@FlorianMargaine explain?
 
5:38 PM
@FlorianMargaine php-internal's curmudgeonliness is as well-documented as Linus Torvald's temper :)
 
user1596138
I have a feeling I went about something totally wrong though... I am not used to using C so I'm really trying to be cautious before I just jump in with the first thing I got to work ;P
 
@someDoge sorry, I assumed that by linking to the php-src repo, you were intending to contribute to internals... ?
 
user1596138
Anyway, this is not a long-term contribution // @aphazel see pinned message on the right
 
user1596138
Eh. Fuck if I know what you're calling "internals"
 
user1596138
I specifically referenced php-src/ext/json here
 
5:41 PM
@someDoge Well, good luck and all the best, then
 
user1596138
Some people are so ready to jump in and shout "NO!!"
 
@someDoge just trying to give you a heads-up, that's all. I'd never want to discourage someone from contributing to open source projects ;)
 
user1596138
Well you made a valiant effort for something you "don't want to do" ;)
 
@someDoge Like I said. I just wanted to give you a heads-up in that the people who will be reviewing your commits are widely regarded as a bunch of assholes, that's all. You think I'd have learned to keep my mouth shut on the internet by now... ;)
 
user1596138
Well, bringing up PHP got people called assholes, yup things went exactly as I expected hahaha
 
5:47 PM
@someDoge Haha, well they're sort of intrinsically linked topics ;)
 
user1596138
Haha no surprise
 
user1596138
No one has made a decent suggestion yet. Come on people step up
 
@someDoge Suggestions as for what to contribute to? re: Contributor's Army?
 
I wonder if there's a good way to contribute to a JS code coverage library or something like that.
Could be relevant and inline with everyone's skills.
I'm sure we all have JS tools with annoying flaws.
 
@ssube +1! istanbul?
I dunno, I'd probably contribute to jspm? I'd like to see that really take off github.com/jspm/jspm-cli/issues
 
user1596138
5:50 PM
@aphazel yep
 
@aphazel or blanket (which has a few), or jasmine (I know there's a call-stack-depth issue in there somewhere)
 
user1596138
I was focusing on non-JS because I'm a lot more interested in learning something new. But anything could work.
 
@someDoge I feel like something JS-related could be useful to gather initial interest until it gains momentum.
 
user1596138
Idk, I feel like people will bandwagon it haha
 
In a "hey, that will immediately improve my life!" sort of way.
 
5:51 PM
@someDoge yeah, I planned on doing something js-related at least to start off
@someDoge it doesn't stop you from contributing to php-src though :)
 
JS build tools, then maybe other lang tools, could be a useful start.
 
user1596138
Most the reason I made a suggestion was just because I wanted to bump
 
user1596138
How about Ace? Thoughts? I use it.
 
5:52 PM
@someDoge There's LOTS of really fun stuff going on in the Rust and Go worlds
 
not so much in Go
 
@someDoge That could be useful.
 
user1596138
Ace is also used by Koding
 
I mean, it has reached some maturity
 
user1596138
There's another idea... How about Koding?
 
user1596138
5:54 PM
(joke)
 
@someDoge not bad
 
user1596138
There's Brackets too but I don't really use it... Ever.
 
user1596138
Koding hires devs from the commit log though haha
 
user1596138
Holy shit Koding is 100% different from before. Ignore me
 
@someDoge <3 Koding :)
 
5:57 PM
Well, since nobody at work is responding to emails, it seems like the time to head home, get a sammich, get fucked up, and look up OS to contribute to.
 
user1596138
@aphazel It was trash 4 months ago lol crashed every 3 minutes
 
I'm out of clean underwear and am too lazy to do laundry. I'm very close to going out and buying more just so I don't have to do laundry tonight. just thought i'd share
 
@someDoge Oh, I know. I was using it during the beta, and just had to stop. I came back to it a few days ago and was pleasantly surprised
 
@someDoge Tip: Don't listen to anyone, do whatever you want.
 
user1596138
5:58 PM
@Zirak Haha yeah I got that one ;P
 
user1596138
Time to go smoke some weeeeeeeed
 
user1596138
Zirak said I could
 
@Zirak Better advice has seldom been given online ;)
 

« first day (1502 days earlier)      last day (3437 days later) »