« first day (1418 days earlier)      last day (3528 days later) » 

8:00 PM
@MarcGravell the public-facing architecture, I'd say
 
if that 25 includes things like our redis, sql, load-balancers, etc, then; maybe 25
 
we also have an entire second farm (geo-redundant); not sure whether that is in the 25, or separate
 
@FlorianMargaine Yes it should be easy enough when you studied their patterns. As for proxy trasversing try to visit this fiddle behind a proxy jsfiddle.net/kr6xdosv/1 :-) It uses webRTC to uncover IPs behind a NAT or Proxy
 
@MarcGravell read that here: highscalability.com/blog/2011/10/24/…
@AdamBarak so you mean you try to open another connection to get the real IP?
or you use a protocol that transports the list of IPs so that NAT can work?
 
8:03 PM
@FlorianMargaine this is more up to date: highscalability.com/blog/2014/7/21/…
that might be the one you meant
but: they aren't "us" - some of the things they say are accurate... some are a bit less so
 
right! that's it
@MarcGravell that does sound pretty accurate though
 
@MarcGravell ohh yea, I put no blame on SO for that.
my only complaint in all of this is the lack of feedback in the tavern (I joined a handful of times asking about this, like mentioned, you are the first person to touch back)
 
@FlorianMargaine Yup, it opens another webRTC connection (channel). But it doesn't show any warning whatsoever, it isn't perceptible by the user.
This fiddle is cleaner and you can read the JS code used to accomplish that jsfiddle.net/kr6xdosv/2
 
so it's not really proxy traversing
 
It also does a bit of local Unix trickery
 
8:07 PM
it's more like "open another connection on some channel/application that we think doesn't use a proxy, so we'll know your real IP"
 
    document.getElementById('list').innerHTML = "<code>ifconfig | grep inet | grep -v inet6 | cut -d\" \" -f2 | tail -n1</code>";

        document.getElementById('list').nextSibling.textContent = "In Chrome and Firefox your IP should display automatically, by the power of WebRTCskull.";
Sorta like that
 
meh... boring
I thought it'd be something clever :(
 
@FlorianMargaine But it works :P There's no way to trick this script, believe me :-)
 
guys since IE and opera mini don't support classList, is doing className+=" anotherClassAfterSpace" acceptable? I know it works but is it recommended?
 
Well, maybe proxying RTC. that's one way yes
 
8:09 PM
:)
it's just a bug that browsers don't use the configured proxy for RTC imho
 
because rtc is pretty new
 
boy that escalated quickly
 
@AwalGarg not recommended, you can end up with double classes... just have a few functions to handle this
 
Yeah. Therefore not that reliable against really expert users :D
 
8:10 PM
@AwalGarg something like this github.com/npm-dom/class-list
@AdamBarak yup... so proxy traversing is a myth? :P
 
@FlorianMargaine Well I won't put the final word on it, but for the moment it is :-)
 
movies still suck then
 
user2620028
@SterlingArcher..... what am i looking at here o.O
 
@FlorianMargaine Thanks, I will use that... but just thinking, if the context is pretty specific and narrow, should we still avoid it?
 
The problem is that a MITMA can't be done like you do with Tor. Unless you're ICAN or you take control of the DNS :D
haha yeah I guess so
 
8:12 PM
actually...
if you somehow hack into the proxy server, you can get the IP
 
Yes, that's also a way. The problem lies that you must get access to either of them (ICAN, DNS, proxy server..)
 
@AwalGarg if it is a one off, sure use it, but you risk shooting yourself in the foot later
few weeks/months from now if you forget you did it, you could double up the class names
 
0
Q: What happened to: "What benefits are there to native JavaScript development?"?

Benjamin GruenbaumI was reading this question and answer this morning and I noticed it disappeared now and I get an error page with "removed for reasons of moderation" What happened to the question and why? I recall it having 6K views and some activity today (A friend of mine wrote a popular answer there and he ...

 
@rlemon yes it is a one off, that's why I was asking.
But I guess I would use that git link.
 
Or do ut yourself if you only need thé addClass
Or use jquery
Him... I was on French keyboard.
 
8:16 PM
ok
 
@FlorianMargaine FU, I thought I had a little dirt on my screen
 
@SecondRikudo me too me too
 
I can totally see the situation
 
eèe
 
8:17 PM
I scrolled the screen and I thought wtf dirt is following that text!
 
Zalgo
Is actually french.
 
wee wee
 
better than the reverse, I didn't see a bug in some code because the . looked like a , due to misplaced dust
 
that's what you get for working with weakly typed languages
 
@BenjaminGruenbaum That's shitty. I didn't think is was a bad question. At least not for the programmers exchange where it was moved to.
 
8:20 PM
http://stackoverflow.com/questions/25652940/parse-error-synt‌​ax-error-unexpected-t-exit-php-on-line-1023
 
I just wonder what happened
 
@SterlingArcher remove your comment
 
@BenjaminGruenbaum back but on hold
 
Yeah I just realized that was rude
it's gone
 
It already had some moderator actions on it... I think it was over-moderated. I've seen WAY worse questions.
 
8:21 PM
@SterlingArcher thanks :P
@SomeGuy the stake is back.
git log -p is da bomb
 
@SterlingArcher If I post the obvious answer, would I get upvotes?
 
@AwalGarg yes
 
ok
 
Is programmers.stackexchange not the place for opinions? I thought that was..
 
@AwalGarg not from me
 
8:23 PM
1
A: What happened to: "What benefits are there to native JavaScript development?"?

Thomas OwensI've fixed this. The question was originally migrated here from Stack Overflow in November 2011. It was closed today (3 September 2014) by 5 members of the community as being "primarily opinion based", which I agree with. However, when I was cleaning up other rejected migrations that were not ad...

 
As opposed to stackoverflow
 
That's rep whorin right there
 
@Luggage codereview.stackexchange is more for opinions
 
24 hours ago, by rlemon
I think this needs to be better understood. http://meta.stackoverflow.com/a/270420/829835
 
@rlemon thanks, I was looking for that
 
8:24 PM
> This question has been closed - no more answers will be accepted.
fuck!
 
@SterlingArcher someone unpinned it
 
Those bastards
 
if a question is about to be closed, and you know it is, don't answer it!
 
@rlemon but I lack privs so I need reps so I need ups...
 
it gives the false promise that future bad questions will still get answers
the op has no incentive to change
 
8:25 PM
@Luggage it's not opinions, it's professional facts. You can't ask: "should I use X or Y pattern?" on SO, you can on programmers.se in a specific situation. And you'll get an answer like: "Use X if such or such, and Y if such and such."
@AwalGarg answer real questions
how do you think we did it?
 
Pinned it again @rlemon
 
@AwalGarg you can scrape for 1-2 upvote answers, or you can put your learning out there an give a good answer that gets you 10+ upvotes and the occassional future rep it gives you
 
It deserves to be there for more than one day.
 
thanks
 
Personally I feel better when I get a good answer that gets more upvotes. Easier rep
 
8:26 PM
I wouldn't go (personally) as far as to downvote them, but I would encourage people not to answer such questions
 
For less effort even
 
@FlorianMargaine Honestly, but I don't find nice questions now. Most are already answered... You tell me yourself, how many JS questions do you see daily which can be answered thoroughly with research effort?
 
guys, where is that snapick.me link? don't remember where I clicked to find it
 
@AdamBarak Still pinned.
 
8:27 PM
@AwalGarg I don't go on main anymore
 
@rlemon thank you. I saw it was just buried
 
@AwalGarg track down older questions that you have some new information about
 
@FlorianMargaine Hm.. I wouldn't consider it really a coder review, either. While it's (in my opinion) a good question I don't see where in stackexchange it really belongs. I'm trying to find a good list of "what goes in stackoverflow, programmers, coderview" page and can't find it.
 
Fun fact: Almost all of my GitHub repos were created on a monday.
 
@FlorianMargaine That's why you are saying that. A while ago, @rlemon suggested me to answer questions on SO to get a better understanding of concepts, I tried, answered a few, but really, OPs are disgusting. Everyone is just using jquery, doesn't want to know the better options... bla bla.
@rlemon ok, I will try that.
 
8:29 PM
@AwalGarg follow specific tags
 
@AwalGarg nothing wrong with jQuery questions on stack overflow
 
What is the reason behind giving just <2GB of storage for free?
 
118
Q: What's the difference between Programmers and Stack Overflow?

Wadih M.What's the difference between Programmers and Stack Overflow?

 
@SterlingArcher Except for... you know... jQuery... and stuff.
 
8:29 PM
Questions in general are bad, but being about jQuery doesn't make them good or bad. Not to mention jQuery is a good library for companies. Companies love jQuery
 
jQuery isn't inherently bad, people are just stupid with it. it does solve real problems and fit real needs.
 
blacklisting it blindly is ignorant
 
I have an album taking up more than 100GB
 
Don't be a bandwagon jQuery hater or lover. Understand jQuery.
 
8:30 PM
I hate so many parts about it, but then I like others.
 
Love jQuery. Live jQuery. #shrek
 
@SterlingArcher do you?
 
and I still use it when I need to get shit done quickly.
 
@FlorianMargaine I like to think my reasons are valid lol
 
I think jquery slows down the page rendering.
 
8:31 PM
@AdamBarak moot for modern browsers/hardware
so long as it is coded well
 
14
A: How is the speed of a page affected?

Florian MargaineWell, check out by yourself: http://jsperf.com/gebi-vs-sizzle/2 jQuery slows down your application. A lot. However, as you can see on this jsperf, the operation, even though it's 10x slower than vanilla javascript, it can still run over 400k operations per second. Except if you're programming ...

 
to animate a div you don't need 5 million op/s
 
I see no problems for modern browsers actually :-) the problem comes when I want to browse with my iPad :/
 
you need 60
@AdamBarak I'd blame the code, not the library used
 
Sure, good coding habits should be enforced
 
8:32 PM
I just don't like the fact that I have to put <script type="text/javascript" href="an/amazingly/long/url/to/jquery/and/then/its/version/"></script><script type="text/javascript" href="and/now/my/own/script/too"></script> to use it.
 
get build tools to concatenate your js files
 
^ that's the laziest reason I've ever read
 
problem solved.
 
^
!!s/laziest/stupidest/
 
@FlorianMargaine ^ that's the stupidest reason I've ever read (source)
 
8:33 PM
hah, I ran jsperf.com/gebi-vs-sizzle/2 with Firefox and it's pretty fast
 
And I don't like its syntax too for some reason.
 
Good answer Florian
 
@FlorianMargaine thanks. That gave me what I was looking for. the "tour" links have the list of accepted questions. Sucks that that questions doesn't really have a place because I've answered it in person many times.
 
That is to blame @JanDvorak.
 
user2620028
@AwalGarg you just typed out your own spoof which is likely longer than the original in an attempt to show that the reason your spoofing it is because you are lazy :'(
 
8:33 PM
"for some reason" is a great argument, keep using it
 
@AwalGarg try inporting scripts with ColdFusion. It makes it worse.
<cfsavecontent variable="page.stylesheets">
	<cfoutput>
	<link href="#application.paths.media#css/bootstrap.min.css" rel="stylesheet"/>
	<!-- MetisMenu CSS -->
	<link href="#application.paths.media#css/plugins/metisMenu/metisMenu.min.css" rel="stylesheet">
	<!-- Timeline CSS -->
	<link href="#application.paths.media#css/plugins/timeline.css" rel="stylesheet">
	<!-- Custom CSS -->
	<link href="#application.paths.media#css/sb-admin-2.css" rel="stylesheet">
	<!-- Morris Charts CSS -->
	<link href="#application.paths.media#css/plugins/morris.css" rel="stylesheet">
 
@Luggage np
 
What about minified.js? :P
 
Someday, I will too try jquery... someday. maybe then I will be able to answer more SO questions. Till then, vanilla FTW.
 
@AwalGarg jQuery is javascript. So you don't like JS syntax for some reason?
 
8:34 PM
it looks like jquery minus the bloated size
 
$ is a function name, . is object notation, function() { ... } is an anonymous function
No different than JS, it's just a library of functions.
 
things I don't like about jquery: inconsistent API, function overloading, too many alias functions, (more but I'm too lazy, these are the biggest)
things I do like: helps with RAD, no more boilerplate code I have to write, huge amount of community plugins and code.
 
user2620028
Why? Why every day is there a JS vs JQ discussion
 
it isn't js vs jq
it is all js
 
8:36 PM
it is jq vs null
 
@rlemon That's caused by trying to remain backward compatible.
 
@AaronSiciliano Because devs didn't build the perfect library
 
0
Q: Add a question link to the tour

Florian MargaineWhat's the difference between Programmers and Stack Overflow? This question should be added to the tour of programmers.stackexchange.com IMHO. Every programmer coming on the site tries to know what's the difference with stackoverflow, where to go on one or the other. If not linking to the ques...

 
@Luggage function overloading makes me so angry
why does .foo do 9 things depending on what I pass it?
 
argh, can't comment in programmers.
...and what I have to say is NOT an answer.
 
8:38 PM
I don't understand why chrome dev tools in chrome 37 have an "enable/disable" emulation mode option... it is a feature which has to be enabled at all times.
 
@rlemon I don't disagree. Well. I like REAL function overloading.. but JS's "check the types and guess what the user meant" is a problem
 
@Luggage yea real overloading is nice, but this is faking it, and badly.
 
if (typeof arg1 === "function" && arg1.someProperty) {
    //they are PROBABLY trying to call it this way..
}
good stuff.
 
user1596138
hey @rlemon remember forever ago (you probably don't) I was doing something with calculating heights and I ended up with a racial slur for a variable name like everywhere and didn't even realize it till I posted code here?
 
no, but go on
 
user1596138
8:41 PM
I can't remember what it was or why but that was funny and I wanted to tell someone about it but I forget haha
 
user1596138
I think it was sPic
 
remember that time @SterlingArcher emailed me some code and left his DB configs in it?!?!
do you? do you :P
 
Hey @rlemon remember that one time where I called someone the N word without realizing it and then they beat me up and I became famous for the white power movement?
 
user1596138
Hahaha he's had a couple of accidents like that ;)
 
I TRUSTED YOU D:
 
user1596138
8:42 PM
@SterlingArcher somehow at some point I ended up with creds from you too remember
 
!!s/T/TH/
 
@KendallFrey I THRUSTED YOU D: (source)
 
truncate table `users`
 
@rlemon I like that :D
 
8:42 PM
@Jhawins lmao probably
 
@FlorianMargaine I never logged in, but I did laugh pretty damn hard
 
@rlemon suck it. The table name was players
 
@SterlingArcher hey you got my mail?
sounds like you send credentials to everybody, why not me
let me log in to your database
come on sucker
 
:D
 
user1596138
@rlemon you have been here 4-5 times I found users posting their credentials in questions hahaha. But that's no where near as funny as one of our own
 
8:44 PM
@Jhawins you could have fun on github, I'm pretty sure...
 
omg github is horrible
people uploading configs right left and center
 
@FlorianMargaine lmao I hate you
 
@Luggage I once decided to re-write jQuery.fn.css without looking at their source code
gist.github.com/rlemon/4706993 this is what I ended up with
without new array function it would be twice as long
 
8:47 PM
ALWAYS run git diff
 
user1596138
@FlorianMargaine Hahahaha yeah I see stuff like that all the time
 
or just use .gitignore and don't be a tool :P
 
@rlemon ugh
 
user1596138
I usually just don't have my configs in the actual repo
 
user1596138
Seriously. By nature configs shouldn't end up on github
 
8:48 PM
at work for a web agency, I usually have
helps for deployment
 
@FlorianMargaine 'rlemon created this gist on Feb 4, 2013.'
last year rlemon was an idiot
 
we have files like settings__DEV__, settings__PROD__ etc
and when generating the package, we only keep the right file
this way we can just push the archive somewhere and it all works
@rlemon can confirm
 
have a div I am showing with jQuery show(); inside the div I have 2 input type="buttons" with a Javascript funciton call.. it refuses to fire.. what am I missing?
 
user1596138
@FlorianMargaine Well there aren't creds there... Unless one of the commits has them haha
 
<input type="button" id="btnCancel" value="Cancel" onClick="showHideRecurringSched('hide');" />
 
8:49 PM
@Jhawins that was a joke
 
user1596138
!!whoosh
 
miaou is dystroy's project, he's very good with security :)
 
..best...woosh...gif....ever
 
he surely has more experience than all of us combined
 
8:50 PM
yea, he's fucking old.
 
well, maybe not combined
 
user1596138
Yeah lol. I was impressed when I tried to break things
 
but yeah, he's been working in the industry for 25 years
 
I have craploads of experience. but you don't learn much when you are experiencing the same thing for a decade
 
8:51 PM
anyone know why this function won't fire? Spelling is correct.. it's inside a popup div..
<input type="button" id="btnCancel" value="Cancel" onClick="showHideRecurringSched('hide');" />
 
One year of experience repeated 10 times
 
@SomeKittensUx2666 nice one
 
@FlorianMargaine Funny thing, half an hour ago I decided to see if I could find any security vulnerabilities in it.
 
user2620028
Oh thats so wrong lol
 
@KendallFrey Good luck.
 
8:52 PM
I didn't, but the 404 page is clever
 
@KendallFrey he'd be glad if you found any :)
@KendallFrey hahaha yeah he set it up like 3 weeks ago
 
I would too
 
@rlemon well, it's dystroy we're talking about though
 
user2620028
JoJo check your console and see if it is giving you an error
 
I had no idea whatsoever, until I ran it in the console.
 
8:53 PM
@AaronSiciliano ok thanks
 
for those interested in the 404 enigma
 
user2620028
Blocked at my work address lol
 
@rlemon nope, see Florians
 
8:54 PM
yea, I see that.
but it didn't work on my 404
 
@SomeKittensUx2666 I saw a similar one for SQL queries in urls
 
so idgaf
 
Watching a Maven overview video on youtube.... ugh, not looking forward to learning Java
 
@AaronSiciliano the error would come up in the Console section of Chrome right?
 
user2620028
If it is a JS error it should come up in the console yes
 
8:55 PM
@rlemon it's nginx's 404 though, not express'
 
sup guys
 
ugh.. no error, thanks though, it was worth a try
 
user2620028
It does not tell you exactly what the error is all the time but gives you a starting place to find out
 
user2620028
whats up taco
 
sup
 
user1596138
8:56 PM
> I'll just shutdown this computer before I leave... Josiah, is it shutdown or restart?
 
user1596138
WTFFFFFFFFFFFFF
 
@AaronSiciliano theoretically, yes
 
user1596138
I can't
 
going to bed, will look at it with fresh eyes tomorrow
 
@FlorianMargaine yea I had a hell of a time getting that figured out now that app.router is depricated
 
user1596138
8:56 PM
That just happened.
 
@AaronSiciliano you start looking for work yet
 
is my 404 response
 
Yeah... The disgusting one. Don't wanna see it.
 
user1596138
She just asked me if 'shutdown' or 'restart' shuts down the computer.
 
user2620028
@taco yeah i have, no luck yet
 
yeah!
 
@Jhawins What's her job title?
 
@Jhawins teach her rubber duck debugging
 
@Jhawins derp
 
user1596138
8:57 PM
@NickDugger Sales
 
@Kendall nice one, who took this pic of yours?
 
@Jhawins That explains a lot, then
 
user1596138
@FlorianMargaine Hahaha yeah, honestly that would've worked for her.
 
When my wife got her first iphone she asked me how to get to the Home screen. "Honey, there's only one button...dot dot dot...."
 
@taco no there are more.
 
user1596138
8:58 PM
Haha well it's cute when it's your girl though
 
Yeah most people aren't stupid, they just don't want to think about it
 
user1596138
Or open there mouths before they think... Even a little bit
 
She's the master of the TV remote though
 
user2620028
Headin home. Talk to everybody later. Hopefully this guy wants to buy my dirt bike.
 
Cya man
 
8:59 PM
Bootstrap navbars are confusing as fuck
 
@FlorianMargaine I dunno, I guess I've been so burned out by people that I just assume everyone is borderline retarded
 
user1596138
@AaronSiciliano I seriously want to buy your Monster if you sell it ;)
 
user2620028
@Jhawins with the tank and frame fixed and painted or as is? lol
 
user1596138
But not a lil kx hahaha
 

« first day (1418 days earlier)      last day (3528 days later) »