« first day (1068 days earlier)      last day (3883 days later) » 

10:07 AM
@nbar Try this
guys
People in C++ room are hostile
 
user1125394
Whats faster in java (to re-init with 0 an array):
expositions = new double[n];
    //or
for (int i=0; i<n; i++) expositions[i]=0;
 
They're dicks. We're totally not.
 
user1125394
btw, Arrays.fill(myarray, 0); is maybe my friend
 
who actually was the major asshole that came up with the worst idea ever..... introducing "Arrow Functions" in ES6
 
user1125394
!!should I stop bothering ppl here with java questions?
 
10:11 AM
@cc Not a chance
 
@cc Or in your code, you can just treat null values as same as 0
 
!!Should he stop before we mute him?
 
@OctavianDamiean Yes!
 
user1125394
:), just answer this very last java question ^^ , and I'll stop
 
cc, what does ur name mean?
 
10:12 AM
HAMMERTIME!
 
Carbon Copy.
 
user1125394
!!should you say hammertime if stop appears in a command?
 
@cc Certainly not
 
omfg ... the moment you realize that you can't establish an OpenVPN tunnel by acidentally invoking openssl instead of openvpn
 
@cc the for loop seems faster
 
10:20 AM
I think they have mere differences. I'd personally use Array.fill because it's simple.
 
user1125394
ok, (I'm using Arrays.fill atm)
 
    new int[500]      :     445230422
    for loop         :     165781993
    Arrays.fill     :     169583770
ns for 1E6 executions each
 
@Naveen 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.
 
@CapricaSix can you please redirect me to Powershell script chat group..
 
@Retsam Hahaha, Person is awesome! Thanks, man! XD
 
10:29 AM
IK this is off topic, but does anyone know how to send an SMS like Facebook? I was thinking via email but some carriers don't send it..
 
when i run the below script in the PowerShell Command

$sts = Get-SPServiceApplication | ?{$_ -match "PerformancePoint"}
$sts
$sts.StatusOnline
$sts.Provision()

Getting error
Method invocation failed because [System.Object[]] doesn't contain a method named 'Provision'
 
@BrandonGelfand Yeah I know
 
@BrandonGelfand How do you mean when you say "like facebook"? What SMS do they send?
 
Well just as an example
@O0oO0oOO0ooO How?
@CharliePrynn When someone makes a post, it sends me a text
 
Actual SMS?
 
10:32 AM
Well doesn't have to be, anything other then email
 
What about using some sort of API? e.g twilio.com/sms
 
Well, there are 3 ways to send text I can think of, SMS, email or some kind of push feature in your app
 
@BrandonGelfand There are services, like Twilio, yes, and @RyanKinal's SlickText.
 
@SomeGuy I am not paying for anything, lol
Not being cheap, I am just flat broke
xD >_<
 
Some providers will send a text message if you email the number@ACertainDomain.com
 
10:34 AM
twillio is one of those service you can find
there are a lot more
 
@SomeGuy Yeah, I know, but they sometimes don't and sometimes push it aside
 
=D...
 
@BrandonGelfand As @SomeGuy said, there is slicktext which does offer 50 texts per month for free.
 
Well I am sounding out more like 10K a day, so erm, no
 
10k a day?
 
10:35 AM
Yes
 
First: How many users do you have? Second: Have they all opted in?
 
That's 10,000
 
And thats just a month into it...
@SomeGuy I am at 12K users each receives at least one text a day
 
What is this service?
12k is pretty awesome
 
10:36 AM
I figured since it connects teachers and students, the students all have phones, 10K will opt in at least
 
Isn't that a spam service
 
@SomeGuy its still in beta, but its a LMS
Like I said, just the start
@O0oO0oOO0ooO No, daily updates and reminders of homework, tests, essays, etc
 
I'm sure eventually they'll all just start finding it annoying.
 
Its going to be hard to create a reliable service that will send 10k SMS's a day without paying.
 
And that. ^
 
10:38 AM
@CharliePrynn I am not gonna pay $100 a day, I would rather shoot myself
 
Are you doing this for your school or something? Ask them if they think it'd be a good idea, and if they'd be willing to buy you a subscription like that
 
Gotta be another way
 
There are many ways
 
@SomeGuy I am turing this into a business, and there is already subsciptions
 
For businesses, you have to invest sometimes.
 
10:39 AM
I am just cheap, and I just got a dedicated server so spent a fair amount of cash
 
All the APIs have managed to get it to work and they are reliable. But they have a big budget to make it work and also a lot of people working on it.
 
If you don't think the texting is going to help your revenue, then you shouldn't be wasting your time adding it (from a business perspective solely)
 
@SomeGuy If I can figure out how to send it myself it won't hurt my revenue
 
@BrandonGelfand Which country will you be sending messages in?
 
US only ATM
 
10:41 AM
@BrandonGelfand Sending it yourself isn't as easy as you think.
 
@SomeGuy Yeah, I know, but it is possible somehow..
How do the services do it?
 
By investing a lot of money into it. XD
 
I was learning about that too
 
I tried to make my own service that enabled texting from the web.
It was way more complicated than I could have foreseen.
 
@SomeGuy I think I am just gonna partner with remind101...
 
10:43 AM
Makes sense
 
@SergeyPanfilov 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.
 
It will be less of a pain in the A$$... Gonna go write them an email now :?
Cya later @SomeGuy and when its out of beta, I will let you look at it
 
Sounds good!
 
@BrandonGelfand Why don't you just send an email and also send an SMS using the number@provider.com method?
 
Best of luck!
@CharliePrynn I imagine that'd be because it's unreliable and that'd be unprofessional for a proper business.
 
10:45 AM
@CharliePrynn Some services don't send it, some put it at the back of their queue
And what @SomeGuy just said as well
Cya
 
I suppose. But you'd always have the email as a backup.
 
@CharliePrynn no, its unreliable, and I didn't even think about it, but it is unprofessional as well
Alright, I need to get back to work
Bye guy
guys*
 
10:57 AM
Gah ... this pisses me off ... for some reason my system won't ask the DNS server of the tunneled network. Never mind ... I forgot that it takes a while for DNS stuff to propagate.
 
!!> (0xFFFFFFFF) >> 31;
 
@O0oO0oOO0ooO -1
 
!!> (0xFFFFFFFF) >>> 31;
 
@O0oO0oOO0ooO 1
 
Cool
 
11:04 AM
What does >>> do?
 
It preserves the sign.
 
Apparently, if you apply it to an unsigned integer it returns you signed one.
 
@Martea 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.
 
Well, not quite exactly how I formulated it.
 
!!> -1 >>> 0
 
11:06 AM
@C5H8NNaO4 4294967295
 
!!> -1 >> 0
 
@C5H8NNaO4 -1
 
So >>> does what I thought >> did
Apparently it doesn't work the same as it does in C++
 
show me ur code
 
Sorry, it's in my other pants pocket
 
11:08 AM
 
{| class="wikitable" style="float:right; clear:right;" |+ Logical shift operators in various programming languages ! Language !! Left !! Right |- | C, C++, Go (unsigned types only); Standard ML, Verilog || || >> |- | Java, JavaScript, D || || >>> |- | Fortran || LSHIFT || RSHIFT |- | OCaml || lsl || lsr |- | Object Pascal, Delphi || shl || shr |- | x86 assembly || SHL || SHR |- | VHDL, MIPS || sll || srl |} In computer science, a logical shift is a bitwise operation that shifts all the bits of its operand. The two base variants are the logical left shift and the logical right sh...
C++ has different syntax
In JS (and AS3) >>> does what above does and in C++ >> does what above does.
But your variable type must be signed integer
 
Oh gosh, I love jsconsole.com
 
 
Anybody know how to work with this type of events ?
$("#DP_Rate_Input").on('keyup', function (event) || e.keyCode == 8 {
 
@OctavianDamiean It doesn't like you back, not like I do.
@samitha that isn't valid javascript.
 
11:18 AM
@phenomnomnominal 2.9
 
i want to execute the function if keyup the #DP_Rate_Input also the backspase keyup
@phenomnomnominal
 
@samitha you can't just stuff a piece of an expression between a function head and body
 
same input
 
$("#DP_Rate_Input").on('keyup', function (event) { if (e.keyCode === 8) { doShit(); } });
2.975
 
@OctavianDamiean Doing Mobile?
 
11:20 AM
@BenjaminGruenbaum I've used it, it's pretty good.
 
@BenjaminGruenbaum That too but it's also cool to test some JS real quick ... because hitting F12 is such a big deal
 
jsconsole is quite nice when on mobile
 
On the other hand, in Chrome I have the console goodies.
 
$("#DP_Rate_Input").on('keyup', function (e) {
    if (e.keyCode === 8) {


        alert("executed");


    }

});
@phenomnomnominal this is only work for the backspase keyup
i want to if it is a any keyp and the backspace
keyup
 
Any keys?
 
11:27 AM
fixed
keypress
 
The keycode of the any key is 1337.
 
is the function i want
 
really?
 
@phenomnomnominal That's nice to hear.. he said he worked on it and it was strange because I was looking for something similar, guess they have shitty SEO
 
hello everyone, im back with a newbie javascript question, i have these two regexes: (?:(website|other)\.com.*(?:photo%5fid=|photo_id=|video\/))(\d+) and (?:token=)(\w+). I want to group them into one regex but i just can't get it working, whenever i try i either get an "undefined" for the second or the regex doesnt work at all.
 
11:29 AM
@kevinius 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.
 
@C5H8NNaO4 the N5230 default keyboard still sucks
 
@JanDvorak The SGS4 keyboard too and swiftkey doesn't work at all when writing code, i'm still looking for a proper mobile coding keyboard
 
hey all is there a way to list all registered modules in angular?
 
@C5H8NNaO4 Use Minuum.
@rlemon there's Terraria for Android!
 
11:50 AM
!!Should I study now?
 
@SomeGuy Yes, absolutely
 
Or I could play more games, because it's a holiday!
 
I'm wondering if she's playing Terraria too.
 
403
 
12:03 PM
@Octavian I've seen bids if the iOS version. Meh
Vids
 
I've just downloaded the Android version.
@rlemon The mobile version is pretty cool.
 
12:18 PM
hmmm
why don't I get any of exocomics' humor?
 
@FlorianMargaine It's just quirky funny to me
I don't always enjoy it
 
I think out of the 300, only one was fun
sooo I don't think its point is to be fun, is it?
 
@OctavianDamiean eh, if it is the ios verison for android (which it likely is) then I just don't know if i'd play it much
small maps, no multi, etc.
 
@FlorianMargaine you're French, it's not for you.
 
12:26 PM
@OctavianDamiean sounds like it's not for Indians either
 
@FlorianMargaine Or Canadians
 
heh
sooo @OctavianDamiean could you explain?
@OctavianDamiean honestly, I value your opinion, so if you think it's fun, I guess I missed something
 
@FlorianMargaine I can, it's not for French and Canadians (of which a big percentage are basically outsourced Frenchmens).
 
0
Q: how to develop a web app with angularjs at client-side and flask at backend?

user2745266I want to develop a web app with flask(python) at server side and angularjs(javascript) at client side. I checked out the /flask-angular-seed project on github but it is same as the /angular-seed project. It does not contain any support for flask framework. I am new to flask. How to make flask an...

 
@OctavianDamiean you take that back! Frenchman!
@OctavianDamiean only in Quebec.
 
12:33 PM
@rlemon no u!
 
Quebec: 8 million;
Ontario: 13.5 million;
and no one likes Quebec.
no one.
 
Canada can be divided into 2 groups. Those that live west of Quebec, and those that live east of Quebec.
 
@rlemon not even people from Quebec?
 
Newfies are ok people, misguided, but ok.
@FlorianMargaine no they don't like Quebec as part of Canada
 
@FlorianMargaine Not even people from Quebec
 
12:36 PM
but france doesn't want them, and they will never survive on their own.
 
hah
better they stay over there.
yeah, France sure doesn't want weird-accent people
 
How long should i wait for answers before putting a bounty on a question ?
 
but anyway, if there's so many more ontario people, why is the president french all the time?
 
Because Ontarians get honest jobs.
 
@FlorianMargaine it's strange and most people dislike it
but the PM MUST speak fluent french AND english in Canada
so the current PM is not french, but the last few were
 
12:38 PM
Remember Stephane Dion? He was running for PM and could barely speak English.
 
and get this: every province in Canada adopts French AND English as official languages, except Quebec. Only French.
bastards.
 
@rlemon yeah, the french PMs didn't speak a single english word though
 
@KendallFrey Chretien claimed to speak english. I call his bluff.
 
Driving into Quebec, signs slowly change from English to bilingual, but one mile past the border, it's ALL FRENCH.
 
yup
fucking Quebecers
it's the countries biggest double standard
 
12:39 PM
@KendallFrey which means it's all english on your side
 
@rlemon I'm just old enough to remember his name. That's it.
@FlorianMargaine No, I'm saying that it's bilingual until you hit the border.
 
we get fined if we don't put french on our stuff with english. They get fined if they put english that is larger than the french, and in certain parts - no english at all.
 
that's the way to go :)
 
@KendallFrey ohh god he was the worst.
@FlorianMargaine you would be appalled.
 
Parlez-vous anglais? ENGLISH, MOTHERFUCKER. DO YOU SPEAK IT?
2
 
12:41 PM
not only is it fake french, they are arrogant elitists (not joking, as a culture they are)
the entire concept of their separatist movement was that they didn't need canada, that they were somehow above us.
 
Damn, what a passionate topic. noted
 
@OctavianDamiean well I grew up listening to it all, and dealing with the votes for separation. it was VERY annoying
 
Well.... They have to read and write in English as soon as they want to know what happens in politics or in technology, so they might as well profit of a small space where French is the only language, no ?
Side note : the SO French chat seems to have been abandoned... hard to fight against the dominant and savage thingocracy of English ;)
 
I don't know much about other countries histories to make a comparison to the like, but the double standards that exist there, and their drive for separation piss me off. I don't hate on french people or individuals from Quebec, rather the province itself.
 
We aren't elitist or anything, but English is the best.
 
12:46 PM
@rlemon Well, I won't go too much into detail on the Austrian history, you pretty much know how we influenced the world. I'm not really proud of it.
 
huehue
TBH, Austria pales compared to Germany in that aspect.
 
@KendallFrey Oh yea?
 
At least the way I see it.
 
@OctavianDamiean with Empress Sissi?
 
WW I, Germany was just dumb enough to give Austria the carte blanche (French right there, hope you're happy). Outcome? World war.
 
12:49 PM
-1
Q: What problems can be overcome with Hadoop Map/Reduce?

puneet srivastavaI am new to Hadoop . I just configured Hadoop in my system, I am able to run word-count problem. Now I want to know more what things I can do in HDFS (basically) . For example I want to run a map reduce job, so that while creating records in reducer I should have key as HDFS directory and value ...

 
WW II, Germany was just stupid enough to give Hitler enough power. Outcome? World war.
 
thats very simple spoken
too simple imo
 
Well, it's very compressed.
 
WW2 had many fathers
 
WW II was actually also one of France's mistakes.
 
12:50 PM
I partly blame the Allies for WW2. They oppressed the Germans.
 
and was rooted back into the outcome and stupid behaviors of WW1 victors
 
You're right.
 
France, England, Poland and Germany
I give all 4 the same part on WW2
 
No matter what you say, Hitler was a very disturbed individual.
 
@KendallFrey Yea, the "peace treaties" were a joke.
@jAndy I'm not sure why Poland is on that list, if anything then Russia.
 
12:52 PM
@OctavianDamiean Poland pigheaded and bitched around about Danzig and other parts of Germany (before WW1)
actually poland has probably the biggest fault on WW2
 
The main reason there are no major wars today is that humans are kind of, you know, not into becoming extinct.
 
@jAndy o_O
That's probably only from a German point of view.
 
What was that movie called...
 
Germany made so many suggestions on how to solve the questions about German/Polish areas and the situation after Versailes on them
none of those were accepted or even discussed, Poland completely ignored it
 
Fail-Safe
 
12:54 PM
@OctavianDamiean no, its historic fact
 
A pretty good movie about accidental nuclear war.
 
read about the "16. Punkte Plan"
 
@jAndy Eh, yea. Just what I thought when I said from a German perspective. I mean you can't expect that to be taken seriously, Germany was one of the losers of the war, remember?
No one actually cares.
 
what is the syntax for an optional group in a regex? i couldnt find any documentation
 
12:57 PM
@OctavianDamiean I don't get it :P cares about what ?
 
() is group, ? is optional
 
@jAndy about what a loser wants.
 
@jAndy You focus on details and forget what was the essence of the Nazi action, starting in Germany. And I don't say that just because my familly, like many ones, lost many members because they were jews.
 
@kendallFrey thank you
 
ah ok, well yea, but thats a more common thing. Losers don't have much to say, nor do they write much history books
@dystroy outbreak of WW2 had nothing to do with jews or any killing, that happend way later
 
12:59 PM
Whhhaattt....
ok...
 

« first day (1068 days earlier)      last day (3883 days later) »