« first day (1386 days earlier)      last day (3568 days later) » 
00:00 - 14:0014:00 - 00:00

2:01 PM
@BenjaminGruenbaum It definitely isn't fake. How can that be?
 
Well, it could have been written by someone pretending to be from Gaza. If it's true it's really depressing :(
 
@BenjaminGruenbaum The sad truth is that unlike me, you and a few others, the representative of two nations brainwashed both Israeli and Palestinian people. That is, we (we doesn't mean me and you obviously) hate each other and come to do such inhumane things.

It should be time to stand up and unite against the real enemy, I think.
This is the type of discussion I can't have with many of my fellow palestinian because of the fog above the head they have. I think it's the same for you. If we could we would've most likely stopped way before.
 
posted on August 02, 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) {}

 
@SufiDeveloper It's sad to say but I tend to agree. I'm always shocked whenever I hear people I usually think are rational suggest horrendous things. People passing criticism is considered anti-patriotic and people who don't support the operation get a lot of hate. You're still allowed to speak your mind freely, most of the time.
Last month people even got beat up by hooligans for protesting against the war, it didn't stop the protests but it's very depressing.
 
m59
Just curious, are either of you guys religious?
 
2:09 PM
The hardest moment in this saga for me was when Mohammed Abu Khdeir died. It's a punch to the stomach, it's a giant "your side is not better" sign, in case it was needed.
The second hardest were the days preceding that murder and all the hate leading to it evolving. Honestly the rockets are pretty far away and don't scare me nearly as much.
 
@ThiefMaster That's a killer picture
 
@m59 I'm Agnostic (but kind of Aheist really), SufiDeveloper is Sufi
 
I think you're a few letters
 
m59
Agnostic atheist is a thing :) It's certainly the better choice over atheism (Atheism usually actually refers to Agnostic Atheism)
 
!!urban apatheism
 
2:13 PM
@monners apatheism Not giving a shit whether god exists.
 
I'm ^^^
 
m59
lol, there's an actual term for that also, but that one is much funnier
oh, doh
Apathetic Agnosticism
haha
 
Yeah, we happen to live in a aggressive and greedy world where many people can't express their opinion and manifest their willings without violence. Hope that someone stands up against their own people and unite against the real threat, that's just what I want for both of Israel and Palestine.

If we can have a Greece and a Turkey without conflict we can also have a Israel and Palestine without conflict.

Merely speaking about that wouldn't help either.
@m59 You can be Atheist and at the same time Sufi.
 
!!urban sufi
 
@monners [Su-Fi](http://su-fi.urbanup.com/1006518) **Supa Finga** (Super Finger)
rok on / fuk off

(funny ASS) comedian Dane Cook, upgraded the old boring middle finger and created the.....SUPA FINGA

(both the ring finger coupled with the middle finger)

his words....

The old (classic) finger says "screw you dumb person."

The SUPERFINGER screams one of two things depending on how you use it.

In "PISSED OFF MODE" it means:

"FUCK Y(snip)
 
m59
2:16 PM
@SufiDeveloper that's Agnostic Theism :)
 
Sufi is like Hinduism, Veda and Buddhism where you are given the Philosophical base and should continue finding the way yourself. No need to pray or whatever, though it's done, just like Transcendental Yoga.
@m59 Sorta :)
 
m59
Anyway, my sympathies for the crazy stuff going on in your part of the world :(
 
m59 Thank you. After all history is repeating itself. Just other countries involved ;)
Did anyone know about Redshift?
It seems to help when you work in the front of a screen at night
 
You mean like f.lux?
 
2:23 PM
@SufiDeveloper I use f.lux, have been using it for a year, pretty satisfied
 
@BenjaminGruenbaum Nice! I have started using it like yesterday after I got fed up of my migraine and it does wonders as you sorta said :)
 
Yeah, it really helps. I used to use something called "shades" when I had a mac in 2008 but it wasn't nearly as good as f.lux.
 
Think I heard that one somehwere.. Thankfully they made this awesomeness :D
I should be wearing eyeglasses since years and that may be a part of the problem.. but that's another story. It suffices that for now this works just fine
I'm going to continue working on that project of mine. See ya later guys!
 
m59
Is there a way to do something like if ( isSameArrayReference(arr1, arr2) ?
Considering that they could both have the same values, but be different arrays
 
m59
2:36 PM
sweet, never knew that
 
m59
still a noob :)
 
!!> [1] == [1]
 
@KendallFrey false
 
 
1 hour later…
3:46 PM
I just wrote quick and dirty code that is so horrible I wrote "Autogenerated, do not edit" at the very top of it :D
 
// I'm sorry
 
4:03 PM
low quality question. If someone is able please vote to close. stackoverflow.com/questions/25096135/…
 
@SufiDeveloper you can ask the following way:
it's clear to everybody that it means: "please review this question, I think it should be close-voted."
 
@FlorianMargaine Thank you. But how do you write that tag out?
 
@SufiDeveloper [tag:tagName] <=>
 
@AwalGarg Thanks!
perfect.
 
4:13 PM
:D
 
haha thought it was vodoo :)
 
2 messages moved from HTML / CSS / WebDesign
 
I have another extremely low quality question, but I'm giving them the chance to fix it before flagging or asking to close vote.
Is that a good approach?
They don't seem to care anyway
 
@SufiDeveloper link to Q.
 
-2
Q: Oscommerce subscription products with recurring payments

jasopitt01Has anyone successfully integrated a subscription products module into Oscommerce to sell products such as periodicals?

It surely looks like software recommendation
 
4:19 PM
@SufiDeveloper IMO, it is of-topic even at software recs / likely to not receive much attention.
I am new to this site, so don't stick to anything I say. There are very experienced users sitting here like Second Rikudo. You can ping him for anything anytime anywhere.
 
Yeah it looks so. Ironically enough he wrote a better comment than the answer...
@AwalGarg Thanks for the tip
lol I meant "question" in the place of "answer"
 
4:49 PM
In an ajax request I am getting some HTML content with some SVG inside of it. Sometimes the SVG will render correctly, other times it will show up in the markup but not render (presumably because it's not treated as XML). Is there any way to assure it is rendered?
 
@ZachSaucier sample response from server which doesn't render properly?
 
the same response renders properly sometimes and improperly other times
My setup is that I am using ajax to load new content with a transition while keeping the header/footer. When going from index to the page with SVG it shows correctly, but when going from another non-index page to the SVG page it does not render
 
@ZachSaucier "sometimes" sounds an awful lot like a race condition assuming its given the same input.
If I may ask, why not include the data from the server as a .svg file rather than make a request and add it directly to the DOM?
 
because I'm just loading page content, the same as I am in every other navigation on the web page :) I'm taking content from the clicked on page and using ajax to show it as opposed to navigating to the page
 
m59
Why does jshint consider arguments[0] = whatever a bad assignment?
 
4:57 PM
here's the js file dealing with the page navigation and loading so you guys can see how I'm loading in the new page content (I know it's fairly ugly)
 
@m59 arguments is immutable
 
Jax
Hax
0
A: The Real Slim Shady

Benjamin GruenbaumJavaScript + jQuery 80 $.get("?SlimShadyRealStand").then(function(Im){alert($("pre:first",Im).text())}) Open your dev tools (Control + Shift + J) and paste this in this page. This is dirty in that it uses the fact all the text is already in this page so it makes an AJAX request to it and grabs...

@FlorianMargaine ah, it's far far worse
 
@m59 arguments acts in very different ways in strict and non strict mode, in strict mode that would only modify arguments but not the actual argument, in non-strict mode it would modify the argument.
In both it's very slow and deoptimized.
 
^ Good stuff to learn
 
5:03 PM
@AbhishekHingnikar ever heard of luxand?
 
lux and divya ? :3 pun intended
 
@m59 I think I had a question about that in SO once
 
Luxand Incoporated.
 
8
Q: Named arguments and the arguments object in JavaScript

user3649693Recently I started learning JavaScript through Nicholas C. Zakas' book Professional JavaScript For Web Developers and I came across some questions that I could not solve by myself. As the title says, that's all about named arguments and arguments object in JavaScript functions. E.g. we have thi...

 
yes man -_-
 
5:05 PM
@m59 here we go
 
My app / startup is something that does lot of facial recognition, object detction
 
@AbhishekHingnikar do they have a web api now?
 
and consumes lots of apis
try face++, its chinese but the guy who wrote its crazy genius
 
@AbhishekHingnikar not all things "made in china" are bad :D
 
copied in china are bad
made in china are good :P usually
 
m59
5:07 PM
@BenjaminGruenbaum nice. If I understand correctly - since I'm only using the arguments reference and then applying that to another function, it's the same either way?
because the difference is concerned with the value of the individual argument names?
oh wait
but it wouldn't even let me change arguments
 
@AbhishekHingnikar so do you use luxand api too? I once made a simple number of people on the cam detector with it. I was 13 lol.
 
nope
i use facepp and a lot of self baked code on open cv
but learning from a book benji recommended me about machine learning
i probably will take out a lot of bullshit from it
 
cool. when will the tshirts arrive :P
 
about september
betas arrive mid-august
 
m59
Oh, ok. I was right (I guess). you can't overwrite arguments itself, is what that means
 
5:10 PM
@m59 don't ever mess with arguments. You can only use it in 3 ways. Get it's length via .length, access members (not assign, just access) by index -arguments[i], call .apply on it in exactly one way: fn.call(context, arguments). Everything else is a deopt, if you need to work on arguments a lot just put it in an array with a for loop.
 
try to ship on 18/19 september around delhi if you can :D @AbhishekHingnikar
 
@AwalGarg y ?
 
deopt = the JIT engine will not optimize your code.
 
@AbhishekHingnikar 20=ma bdday :D
 
16 is mine
 
5:12 PM
hehe. a lot of intelligent people are born in september.
 
m59
@BenjaminGruenbaum

function foo(fn) {
  arguments[0] = 'whatever';
  fn.apply(this, arguments);
}
I need to actually copy arguments to a new array instead?
 
Yes, or you will be very sad.
If you wait a month [].slice.call(arguments) will be fast in chrome.
 
m59
@BenjaminGruenbaum gotcha. I would add that info to your answer :)
 
Which part?
 
m59
all of that lol
the 3 acceptable uses and the performance impact
so helpful, thanks a ton
 
Hi, I have a short question. I want to set the min-height of an element via vanilla JS, but I can't find the correct syntax. Can you help me? Doesn't seem worth a whole question on SO.. ;) Thx!
 
@Sebsemillia document.style.whatEverProperty = whateverValue
@Sebsemillia stackoverflow.com/a/16492421/1348195 something something
 
@BenjaminGruenbaum how do you scramble through posts so quick?
 
@AwalGarg there is this cool thing called google :D
 
and btw, if casing-like-this converts to camelCasingLikeThis, then why does html class attribute get converted to className in JS @Ben ?
id doesn't become idName...
 
5:26 PM
@AwalGarg because it's inconsistent, because class is a reserved word in JavaScript and in older browsers that was a problem.
Ironically, in new browsers objects may have properties that are reserved words.
 
kk.
May 7 at 16:33, by Benjamin Gruenbaum
!!welcome AwalGarg
so it was you benji!!! the first time lol... I got scared by the two pings.
 
user1596138
I am using a laptop that belongs to an 8 year old
 
user1596138
And Koding is still terrible lol. Oh well
 
5:51 PM
sounds awesome
 
anyone got a moderately big svn project I can checkout?
moderately = ~100-5000 revisions
but not big projects like v8.
I'm currently writing a plotting binary for svn, and would like some real-life samples :)
found one
works perfectly! awesome
 
']
 
6:22 PM
I have a really dumb question. Is there a way to query google maps for specific types of locations?
 
Is this user serious? I said to add what he has tried and he just dumped the relevant code from the website which he linked to before.

It's still a "m8k da codez 4 me" question.
 
m59
6:42 PM
@SufiDeveloper I've seen more blatant ones. There really are people that think Stack Overflow is a place where you go for free help and people do your work for you when you get stuck.
 
7:04 PM
0
Q: Why does passing console.log directly to promise's then not work?

Cameron MartinI've observed some strange behaviour when logging the output of promises var promise = Promise.resolve('hello'); /* This prints 'hello' to console */ promise.then(function(val) { console.log(val); }); /* But this doesn't */ promise.then(console.log); This is in chrome, not sure about other b...

 
Oh random dowvotes on most up voted questions. You warm my heart.
 
0
Q: Jquery correct function

Nazaret2005I was change buttons in my website, and now i can't do them work. From this buttons (input[type=button]) to this input[type=checkbox]. Here is a functions thats i do correct by myself. (Taked information from this website) From //Random table numbers $('random-style-button').click(f...

 
m59
7:31 PM
@BenjaminGruenbaum lol, maybe someone accidentally hit downvote. Downvoting the promise anti-pattern post is a sure sign someone is fail.
^ Verify I am decently sane
v Verify I am a terrible dev
 
Verfy that I can corectly spell
 
m59
Verify that I can backwards speak
lol, you got me - I couldn't first try :)
 
 
1 hour later…
m59
9:07 PM
wow
 
9:28 PM
Naa, people just revenge downvote
 
user2985029
9:49 PM
i need some towels but it's almost 1am, is it reasonable to request towels whilst staying at a hotel at this time of night?
 
user2985029
people are still at the reception desk so there is someone i can ask, but i'm not sure if the people who supply towels are in the building at this time of night
 
@xxx yes, it is most definitely reasonable. Be polite when you do so.
What country is the Hotel?
 
user2985029
Romania
 
user2985029
have you been there before?
 
Nope, heard a bunch of negative things about cities in it but I rarely believe those. Heard a bunch of positive things about the countryside.
Would you recommend it?
 
user2985029
9:57 PM
i certainly would
 
Cool :) That's good to know.
 
user2985029
behave as you would at home, and you should be ok... i come from london, i haven't been to many other cities around the world but i tend to think they are quite similar in certain ways
 
user2985029
in europe anyway
 
I love London. I've never really been to east Europe if you exclude Russia.
I hear it's very affordable and unspoiled in certain areas.
 
m59
@xxx big city? There are probably plenty of children around that could use some food. :/
For real, if you see any kids that appear to be totally abandoned, buy them food and I'll paypal you like $20.
 
10:05 PM
@xxx if you see kids that appear to be totally abandoned do not buy them food.
Chances are, they are pickpockets, the trick is that you take out your wallet to give the kit charity and then 20 meters away you get your wallet stolen, the kids report where your wallet is.
 
user2985029
my opinion is, to avoid beggars, say no to them and keep walking
 
That is the correct thing to do if you like your personal belongings. If you want to help poor kids donate to a local charity or soup kitchen.
 
m59
Street children or orphans in Eastern Europe face many problems and troubles such as malnutrition, HIV, and lack of resources. Resources are not widely available to help deal with malnutrition so the children do the best they can to stay fed. According to UNICEF reports, the former Soviet states, from Baltic Russia to Tajikistan in Central Asia and parts of the Balkans, remain the only regions of the world where rates of HIV infection continue to rise. Children living on the streets often come from poverty and a normal childhood is replaced by violence and crime. These children live in tunnels...
 
The number of scams in tourist (and some non tourist) areas is astounding.
 
m59
I guess :( It just sucks that children have to go through such things.
I'd rather them rob me and be able to eat.
 
user2985029
10:08 PM
it's the governments duty to deal with such problems, if you want to feel good about yourself, go ahead and give some money to someone that asks you for it but that's all it is
 
@m59 I'm not saying it's not a problem, I'm saying that you're very likely to be taken advantage of if you take out your wallet in front of them. Money doesn't solve everything and it is best to help through charities - if you don't trust them you can buy groceries and deliver them yourself to a soup kitchen.
 
m59
Yeah, I sponsor a child through World Vision, which transforms communities and even the geology of a place to make them self-sustaining. That's the best thing, I think.
 
@m59 yeah? You'd rather have your holiday ruined by chasing the embassy and trying to get your passport, and then spend the next 10 years fighting off fraud when people try to impersonate you using your stolen passport (with a signature) and selling your house or taking massive amounts of money from your bank account?
 
m59
I still think it never hurts to help in the smaller ways, too.
@BenjaminGruenbaum I know what you're saying. I was sort of exaggerating. If I could help more cautiously (leave everything at home and be sure to be in public), I'd go for it.
 
It doesn't hurt to help, the how is very important. Giving a child 20$ will get those 20$ stolen from that child in the best scenario. In the worse scenario it will also get your wallet stolen or you robbed.
@m59 contribute to open source projects that empower these populations. You can always work for a charity organization like @SterlingArcher and help that way.
There are a lot of ways to help, throwing money at people is hardly one of them. I totally sympathize though - it's admirable to want to help them. I've seen plenty of street children in India.
 
m59
10:12 PM
I really think World Vision would wipe out hunger / rampant disease with enough sponsorship.
 
I think money hardly solves problems at that scale. I'm not even sure these organizations do more good than harm although I admit that although I hate talking about it I give money to something similar too.
 
m59
Most don't. World Vision and at least 1 other (can't remember the name, but it's similar) seem to.
 
The irony is, I end up giving quite a bit of my money to these causes and I don't believe it really matters in the end result. I usually act very rationally but these things make me act very irrationally.
I guess it's an instinct people have, trying to fix the problem. I wish problems were that easily fixed.
 
m59
They have created stable water sources in places where the whole population spent the entire days trying to survive, mainly in attaining water..
that's undeniable progress
then 200 years later they will create nuclear bombs and blow up the earth
 
We live in a very strange culture where people who try to help are hated and people who don't get admired. Everyone loves Mark Zuckerberg, he's a cool young billionaire who made his fortune selling everyone's private lives to corporations and advertisements.
 
m59
10:17 PM
Kidding, of course. I know we never know the big picture, but fighting in the right direction has to be worth it.
 
Most developers hate Bill Gates, who has spent over a billion dollars and almost single handedly funded the cure to Malaria, which no pharma company wanted to since it wasn't economical. He also drove a lot of other rich people to donate.
Heck, that's all he's been doing with his life for the past few years, spending all his time doing charity work.
 
m59
nice
 
Well. I've blabbered for long enough. Time to sleep :)
!!afk gnight
 
m59
@BenjaminGruenbaum night!
<iframe  ng-src="https://www.youtube.com/embed/{{videoId}}?feature=player_embedded></iframe>
Is there any reason I shouldn't trust the videoId?
hmm, I can ensure it's \w only the be safe
 
11:18 PM
Hello all.. I just found and implement icanhazjs.com where I used to use John Resig's old method of embedding in script tags, and I love it. Client-Side Micro Templating is the sh*t. Anyone have any thoughts?
 
11:56 PM
@MattGreen polymer is better
 
00:00 - 14:0014:00 - 00:00

« first day (1386 days earlier)      last day (3568 days later) »