Community Chatter & General Programming / Computer Science Discussion
People
Repo info
Activity
Jean Gustave
@Tech305
Any c# programmers out there
Mark Rienstra
@m-rienstra
@Tech305 yeah, I program in several languages, what is your question about c#? (sorry was gone for the entire week, just got home)
frederickvalbornoz
@frederickvalbornoz
bye
Mark Rienstra
@m-rienstra
@frederickvalbornoz I don't use python and the best way to learn is to write it yourself, you might be able to get some help at stackoverflow
Orlando Abreu
@orli_abreu_twitter
hi
anyone using php?
can someone help me with curl() in php please
i have a small question
frederickvalbornoz
@frederickvalbornoz
oh thanks adn to learn fast
another advice?
?
frederickvalbornoz
@frederickvalbornoz
ok
Nathaniel Suchy (catgirl)
@irlcatgirl
Hi everyone
Alberto Nebot Oliva
@albertonebotoliva
Hi
intelcorei7
@intelcorei7
hey guys
can u guys give feedback on a programming project
Konstantin Polyntsov
@optimistex
Hi guys! Tell me please chat rooms of JS or PHP in the telegram.
Dheeraj Nair
@Dheeraj1998
Guys, any Android developers here?
I have a query regarding it. I was able to create a basic chat-bot using Python and wanted to know whether there is a way to integrate the Python code with an Android application. Thanks :smile:
Orlando Abreu
@orli_abreu_twitter
hi,anyone here knows casperjs?
tofefinif
@tofefinif
is anyone from xamarin bagckground
Jonathan Tiefer
@jontiefer
hello
new to chat
Achille Merendino
@AchilleMerendino
Hello :D
_
LucyGamer28
@LucyGamer28
Hello
is anyone currently online?
VoidVolker
@VoidVolker
hi, yes
LucyGamer28
@LucyGamer28
Excellant..thanks..I have a question...
a few actually..
Are you familiar with sending data down a socket, more specifically..limiting the amount of data sent down a socket to maybe 10 messages per sec
trying to think of a good way to do ths
VoidVolker
@VoidVolker
and what the problem? just use sleep(100)
LucyGamer28
@LucyGamer28
sorry how does sleep controll messages per second?
VoidVolker
@VoidVolker
sleep(100) x 10 = 1000 ms or one second
LucyGamer28
@LucyGamer28
you mean count how many messages I send and then as soon as I reach that limit sleep for the rest of the second
VoidVolker
@VoidVolker
nop, just sleep after msg
LucyGamer28
@LucyGamer28
Ah ok
Mandeep Khatry
@mandeepkhatry
Hi
Andrews Yawson
@yawsonandrews1_twitter
Hello can anyone help me know whether to develop my app using IBM worklight or stick to just android studio and xcode
janvleugels
@janvleugels
Hi! anyone hes knowledge of php / laravel?
AnaCamelo
@AnaCamelo
@AnaCamelo Hello! Sorry. I have a question and I was wondering if anyone could help me I have this line of code: slides[i].style.display = "none"; but, i don't understand what the slides[i] means Could anyone explain me ? Thanks!
VoidVolker
@VoidVolker
slides - is array, and i is index
for eaxmple: slides = [slideOne, slideTwo, slideThree]
AnaCamelo
@AnaCamelo
So, here: for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } it is saying to hide ALL the slides? what about the one that is being displayed?
it is a bit confusing to me. Thank you for answering @VoidVolker :)
VoidVolker
@VoidVolker
yes. correct, this will hide all slides
also, it is better to cache slides.length to separate variable
AnaCamelo
@AnaCamelo
so, how is that one of the slides is being showed?
VoidVolker
@VoidVolker
add code to show selected slide?
AnaCamelo
@AnaCamelo
well, the code is working great, but i don't understand why if that loop is hiding all the slides, how is one being displayed?