« first day (1227 days earlier)      last day (2756 days later) » 

1:00 PM
what you making @MSU_Bulldog
 
a core data project lol
no purpose, just playing around with swift
omg you have to do a try catch for executing a fetch request too
 
use try!
 
but its still inside a do catch
and you dont get good autocomplete with it
 
try! somethingThatWillNotThrowException()
 
lol
 
1:04 PM
without do/catch
 
I can do try! without the do/catch?
 
do you have time? (-‸ლ)
 
nope
 
whatever.. if I have to do try then I'm going to check for the error
lol my entire app has a bunch of yellow warnings for changing all the var to let and let to var
 
thats why swift is great
 
1:07 PM
is there a difference when we send a HTTP request with volley or we do that with a browser?
 
what makes swift great?
 
use of constants
@PomeGranate nope
maybe user agent
 
I ask that because:
 
because:
 
When I login with browser - the sessions are saved
 
1:07 PM
yeah I'm not a big fan of casting everything though
 
when I login with volley, sessions are not saved
 
define session
 
0
Q: Passport.js sessions are not set when Login with Android

PomeGranateIn my AuthController.js I check if login is sucessful and set a hashcode in the session: req.logIn(user, function (err) { if (err) res.send(err); var redirectTo = req.session.redirectTo ? req.session.redirectTo : '/user/show/'+user.id; delete req....

 
JS sucks
 
It's node.js ... but It shouldn't make a difference
 
1:08 PM
well android does too
but lets see :P
 
I mean

on login I do:

session.passport.token = "blblalbla"
and when I go to another page with browser and get the session - the blablabla is there
but with android the session is empty
 
hmm
its not session but cookies
 
the joke? => I do console.log(session) just after setting the session and they are there, but they are not there on other pages
 
not sure how cookies are used in volley
 
hmm I thought its session, because its called: req.session
 
1:10 PM
yup no one wants to call it cookie now
 
true, when I was young they used to be cookies
the good old days
 
you are still a teen
 
haha
 
research yourself on cookie persistance though
 
@Shubhank I don't think you have to do something special with volley - isn't it all on the server side?
 
1:12 PM
volley isnt a browser so it wont copy the cookies over request
 
I'll never be finished with my school project
*adultschool
 
/hangman
 
Hangman limit exceeded currently... Next game playable in 10 minutes. Try the /jumble game till then
 
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "hg.exe": CreateProcess error=2, The system cannot find the file specified @Shubhank any ieda
i have installed AS then bitbucket done now clone from bitbucket in AS giving me error
 
wondering, why there is no hangman in google hangouts as easter egg
 
1:22 PM
@Erum search hg.exe i dont know what process is that
 
1:37 PM
/hangman
 
 +---+
 |   |
 |
 |
 |
_+_
- o o -
 
/hang c
 
 +---+
 |   |
 |   O
 |
 |
_+_
- o o -
 
/hang f
 
 +---+
 |   |
 |  \O/
 |
 |
_+_
- o o -
 
1:38 PM
/hang l
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
- o o -
 
/hint
 
Hangman hint : close it
 
/hang door
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
d o o r
Success. According to Lara.. 'You should get back to work'
 
1:39 PM
/hangman
argh
 
 +---+
 |   |
 |
 |
 |
_+_
- o - - - -
 
/hang i
 
 +---+
 |   |
 |   O
 |
 |
_+_
- o - - - -
 
/hang e
 
 +---+
 |   |
 |   O
 |
 |
_+_
- o - - e -
 
1:39 PM
/hang n
 
 +---+
 |   |
 |  \O/
 |
 |
_+_
- o - - e -
 
/hint
 
Hangman hint : kick it
 
/hang soccer
 
 +---+
 |   |
 |  \O/
 |
 |
_+_
s o c c e r
Success. According to Lara.. 'You should get back to work'
 
1:40 PM
<_<
/hangman
 
 +---+
 |   |
 |
 |
 |
_+_
- i - -
 
/hang dive
 
 +---+
 |   |
 |   O
 |
 |
_+_
- i - -
 
/hang mind
 
 +---+
 |   |
 |  \O/
 |
 |
_+_
- i - -
 
1:40 PM
/hang nine
 
/hint
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
- i - -
Hangman hint : gill
 
fish lol
 
/hang hill
 
fish man
 
1:40 PM
 +---+
 |   |
 |  \O/
 |   |
 |  / \
_+_
- i - -
Game over.. The word is fish
 
hill
haha
 
/hangman
 
lol
 
 +---+
 |   |
 |
 |
 |
_+_
- - t t - -
 
hahahahaha
 
1:41 PM
/hang a
 
 +---+
 |   |
 |   O
 |
 |
_+_
- - t t - -
 
/hang e
 
 +---+
 |   |
 |  \O/
 |
 |
_+_
- - t t - -
 
/hang i
 
/hint
 
1:41 PM
Hangman hint : tap
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
- - t t - -
 
/hang button
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
b u t t o n
Success. According to Lara.. 'You should get back to work'
 
/hangman
 
 +---+
 |   |
 |
 |
 |
_+_
- o o -
 
1:41 PM
/hang c
 
/hang l
 
/hang moon
 
 +---+
 |   |
 |
 |
 |
_+_
c o o -
 +---+
 |   |
 |   O
 |
 |
_+_
c o o -
 
lol
/hang l
 
/hang cool
 
1:42 PM
Already used
 +---+
 |   |
 |  \O/
 |
 |
_+_
c o o -
 
/hang cook
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
c o o -
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
c o o k
Success. According to Lara.. 'You should get back to work'
Limit exceeded. Next game playable in 30 minutes. Try the /jumble /t3 game till then
 
asshole <_<
/stats
 
Hangman games : 1535
Most Correct letter found by : Amira (1013 times) _ 2nd : MSU_Bulldog (874 times) _ 3rd : Boominadha Prakash M (752 times) Your score Dima Rostopira (667 times)
Most Incorrect letter by : Boominadha Prakash M (511 times) _ 2nd : Dima Rostopira (455 times)
 
be niceee Dimaa
 
1:43 PM
lol
 
How do I set TextView from outside onCreate? Till now I had was using Runnable but it wouldn't make sense always :/
/stats
 
Hangman games : 1535
Most Correct letter found by : Amira (1013 times) _ 2nd : MSU_Bulldog (874 times) _ 3rd : Boominadha Prakash M (752 times) Your score AseedUsmani (16 times)
Most Incorrect letter by : Boominadha Prakash M (511 times) _ 2nd : Dima Rostopira (455 times)
 
@AseedUsmani just make sure you are on main thread :p
 
Is it advisable to rebind a service in Activity's onResume() method if the activity is binded to the service ?
 
I'm close to that elusive 1st rank :p
 
1:44 PM
0_o why you can't set text from any method of activity?
 
dont really get why they made services in android
 
I wanna try from another class :P
 
@WeirdNerd I already said, don't use binding
 
They made services and when I think of using services everyone advises me against it -_-'
 
Just for FUN
 
1:45 PM
services are good
for background run
 
they seem bad
 
in iOS you can't do anything in background forever
 
@DimaRostopira Yeah you said to use Broadcast receiver
 
Yeah they're a cool feature to think of but consumes battery right?
 
thats what you want from a mobile
 
1:46 PM
but in Android you service alive forever, and can do nothing
 
i am not touching it, dont do weird shit yourself
:P
 
Shubhank, I am blocking up my main thread with this video streaming app... I have the video being broadcasted to the servers, a timer calling a web service every 2 seconds, and another timer thats updating a label
 
Does this tutorial sound nice and good ?
 
@MSU_Bulldog what do i dooo :D
 
is there some super secret way to perform a bunch of stuff on the main thread and no block it up lol
 
1:47 PM
i want to hit my backend guy
 
I'll send you a bat :D
 
@WeirdNerd I don't know, try it
 
lol
 
@DimaRostopira yeah trying but that is good code AFAIK
 
@MSU_Bulldog what are you doing that will scroll up a modern iPhone
 
1:48 PM
@Shubhank you've joined your job?
 
its like the best thing they ever make every year :p
@AseedUsmani yup
 
broadcasting the live video is pretty taxing
 
Girls in your office? :P
 
it takes up about 45% CPU on the phone
 
because gayPhone cpu sucks
 
1:49 PM
@AseedUsmani will make sure my junior is one :p
 
It's a fact, it's much weaker then other cpus
 
Hahaha juniors would be easy ;)
 
I'm not sure what to do.. I need all three of my methods to be on the main thread bc they are all updating the UI and it crashes every now and then bc it CAN'T HANDLE IT
 
it is but its still the best optimised OS
 
ios ??
 
1:50 PM
yup
 
optimized? You call cut off features optimization?
 
you should watch wwdc vids
 
is there a way to update the UI without being on the main thread?
 
iOS it's like KILL ALL PROCESSES
 
you will understand what they do under the hood to make everything work beautifully
@MSU_Bulldog no :p
 
1:51 PM
what about create 2 main threads hahaha
 
@MSU_Bulldog you should parse the webservice response on background thread
 
yes.. I think I can still move some things to the background
 
bye all :)
 
@HitCat i wont miss you. you can go.
 
thanx @Kamini sweety
 
1:59 PM
@HitCat grrrrrr. who told you to ping mee..
 
mysekf @Kamini
 
@HitCat blah blah blah blah blah
 
:P
 
Does anyone know where I can find a complete list of all the information we can get on a user when they do a Facebook login?
I'm looking in the Facebook docs and I can't find a list
 
2:03 PM
exactly thanks
 
hi
 
Hello all! Is there anyone who masters auto layout and has a 5 minutes of spare time? I got some problems with it, and if anyone can tell me what I am doing wrong through team viewer it would help me :) And yes I asked it on the forums, but I think I will learn a lot faster if somebody could watch it in real time!
 
@JasperVisser welcome to the chat. Have a good day :). Please make sure to go through the room F.A.Q.
 
2:11 PM
Because you are asking too much
watch videos on youtube about auto layout
 
I already did, and I do not understand what I am doing wrong at some point. But it is ok if you do not want to show me how it is done, I am sure somebody else would like to show me how it is done.
 
@DimaRostopira lol
@JasperVisser you should ask your question before asking someone to give you remote help
 
I'm sure nobody want
@Shubhank did you removed my message?
 
mod did
 
Dima, I reported your message as it is agains the rules. I think the mods agreed with me
 
2:16 PM
its kinda not
but yup, if you reported .. its better to remove
 
Shubhank makes the rules
 
bleh, little boy offended
 
lounge appreciated it
 
Rule number one here is being nice. Saying that he would draw a penis in paint isn't nice, am I right?
 
it still exist
yeah, he has to be nice
not the official rules
its fine though. he is nice
carry on with your question
 
2:19 PM
Sure thing? Look what he is saying
 
okay he is not nice :p
 
@JasperVisser not understanding jokes - isn't nice
 
he should get a one minute ban lol
 
a BFC name film is coming out ?
 
I am using a custom font in Swift, and I want to make an application that will run on iPhone 5 and above. I do not know how to adjust the font size to make it look good on every iPhone, I tried using auto shrink, minimum font size, changing some settings, but I always messing up the app when I do this...
 
2:22 PM
do you have the design screenshot you want to make ?
 
imgur.com/a/gqAA6 don't mind the yellow buttons as they do not have constrains, only focus on the red title. It is fine for iPhone 4 inch, but to small for iPhone 5.5
 
its actually fine if you ask me
more screen size means more content to show
not to scale text to make it bigger
thats a beginner mistake that i also did
/search adjust font size for diff screen size ios
 
2
Q: Adjust font size in UITextView on screen of different size

栾晓凯I have a UITextView with some texts. I want the big screen has bigger font size but the format is same. How can I do this?

 
size classes is the proper solution if you still want to do it
 
Yes I already searched so much, and watched tutorials ect. I just can not get it to work... Thank you anyway
 
2:31 PM
np
hope you sort it out soon
 
@Shubhank aren't you tired of being nice?
 
i have had the most amazing fights
you never saw them :p
in Androidians, 2 days ago, by TheLostMind
@Shubhank - Please don't try to insult others here
got 4 stars
 
didn't got it
 
@Swati
nothing, just saying i am nice to users who are nice
 
anyway, that people are annoying, they think that everybody will do their job for them
looks like they live in world full of rainbows and unicorns
 
2:37 PM
yeah, they are wrong
i used to be the same
every year you will less stupid
 
Dima, you do not know how much hours I spend trying to do this. Why do you judge people so quickly?
 
he is like that
 
@JasperVisser I won't talk with you. You aren't nice
 
Funny to see how you guys think I "just ask" things. Like I have not searched for this on forums before.
 
if everyone is nice Jasper, world will be pretty boring
we need Dima xD
 
2:38 PM
That's what I'm trying to say :D
SO needs me and @MSU_Bulldog
 
/kill @DimaRostopira
 
(҂ `з´ ). ︻╦̵̵̿╤── - - ƪ(⁰o⁰;)ʃ @DimaRostopira
 
/hangman
 
 +---+
 |   |
 |
 |
 |
_+_
i - - - - -
 
/hang e
 
2:43 PM
 +---+
 |   |
 |
 |
 |
_+_
i - - - - e
 
/hang a
 
 +---+
 |   |
 |   O
 |
 |
_+_
i - - - - e
 
/hang o
 
 +---+
 |   |
 |   O
 |
 |
_+_
i - - o - e
 
i create navigation drawer using recyclerview
using this demo
but problem is i want to change the color of selected row
bye
good night
 
2:58 PM
night
 
/hang n
 
 +---+
 |   |
 |   O
 |
 |
_+_
i - - o n e
 
/hang iphone
 
 +---+
 |   |
 |   O
 |
 |
_+_
i p h o n e
You again. I hate you
 
/hangman
 
2:59 PM
 +---+
 |   |
 |
 |
 |
_+_
- - - s - - -
 
/hang x
 
 +---+
 |   |
 |   O
 |
 |
_+_
- - - s - - -
 
/hang q
 
 +---+
 |   |
 |  \O/
 |
 |
_+_
- - - s - - -
 
/hang w
 
2:59 PM
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
- - - s - - -
 
/suspend
 
@DimaRostopira Only admin can use this command
 

« first day (1227 days earlier)      last day (2756 days later) »