« first day (1190 days earlier)      last day (2285 days later) » 
00:00 - 11:0011:00 - 00:00

11:03 AM
haha, I can tell that @Minato has no idea what you asked. Although, I am not any different either :P
 
lol
I did in college so don't remember much sorry
c:
people think they are fast enough...
but they can't match my speed
 
@Minato @TheLittleNaruto @MukeshRana @DroidDev Interview que
I declared 1 variable as private and printing value of it in public method of class A, after that calling that method in class B so why to make it private though I can access via method
 
MATLAB was a subject in your college ? @Muk
 
see, even my kid saw that
 
@Minato lol.. Actually I misunderstood the question. I thought he may be asking about hindi word "mtlb" and I was trying to be smart enough :P
 
11:07 AM
@TheFlash private variable is inside class A?
 
@TheLittleNaruto Yes, I have done Engineering in EECE
 
It was our subject too.
 
@MukeshRana yes
 
@TheFlash well....if variable was public, it would be accessible outside the class with its object. That will allow anyone to play with the values and corrupt the calculations.
the public methods, only expose the functionality that you want to provide to outside world and the variable remains secure
 
@MukeshRana What does eece stand for ?
 
11:08 AM
Electronics, Electrical, Civil Engineering
And he was the only one in that branch...
 
@Minato #LamestJokeEver
 
yup @Minato is right
 
@DroidDev :'(
 
@DroidDev yes thought nearby answer
 
11:10 AM
@MukeshRana :)
 
@Minato haha, them pics you have
 
c:
 
@TheFlash well...just some basic OOP concepts, that we never paid attention to, while we were studying them ;)
 
@TheFlash well, they say it is to protect the value of the variable and only allow the inner methods of class to access them
But I don't understand what sense it makes when we make getter setter.
 
@Minato yes it is thanks
@DroidDev yup but interviews r interviews
 
11:11 AM
I guess it is only useful, when the value can be some specific value only, like it is sensitive variable, which can hold value according to some formula.
 
@TheLittleNaruto it will be embarassing for me if you get to know the full form for EECE as I know nothing about this trade :(
 
@Minato hmm...exactly if it is used for logic or in some formula
 
yeah
 
@Minato Jesus! Did you pay for all 3 branches fees ? @Muk ? XD
 
personal opinion tho
 
11:13 AM
@TheLittleNaruto Yes I have to as I wanted to be a super engineer but you can see where I am :P
 
@TheLittleNaruto he didn't pay for either, he used to budge in college and study all brances, like Ranchod Daas :P
 
@MukeshRana :P
@Minato :P
 
@Minato lol
 
@Minato you see, the code snippet that he posted doesn't modify the value of variable. It just takes the value, and show it. We use setters in cases, where we have to modify the value, and not in every case. Getter setters have specific functions, and they are only used upon specific variables.
 
@DroidDev Then what is the use of making private variables with getter setter?
if we are giving out functions to modify them, why not just change them?
 
11:17 AM
@Minato, yes u r ryt. bt can u give me d soln.
 
@ParthaChakraborty Solution for? lol
 
{ "insurances":{
"21":"Aetna",
"20":"Agewell",
"19":"BC\/BS Empire NY",
"18":"BC\/BS Empire NY Pathway"}}
@Minato
 
@Minato I am not sure, but I think that's just a convention. You see, in C#, they don't use getter setters normally. They just set the variable as a property, and make it public. In Java, you can't make properties like that. e.g. in C#:
public int someFuckingInteger { get; set; }
that's how you make a getter setter in C#
 
JsonObject jsonObject = new JsonObject(yourObject);
JsonObject insurances = jsonObject.getJsonObject("insurances");
String string21 = insurances.getString("21");
String string20 = insurances.getString("20");
String string19 = insurances.getString("19");
String string18 = insurances.getString("18");
@Dro lol.. yeah I think same
 
but, in Java, you can't make properties, so, I think what people do is out of habit, or out of convention. Though, I maybe wrong here, and it might have a deeper purpose
 
11:21 AM
@DroidDev Once I needed to remove all getter setters from model classes just to make my app not increase 65k methods.
 
@Minato, don't u think dat this soln won't b feasible when there is more data
 
@Minato haha, that's a pity
 
@ParthaChakraborty use for loop
 
@ParthaChakraborty Then provide me general json, your json is messed up for sure
 
@Minato r u kidding
 
11:22 AM
@Minato we have got progaurd for that :P
 
@TheFlash that's an object. You can't use loop on it
 
yes, my json is messed up for sure, @Minato
 
@DroidDev yup :/, but still, I guess I am happy without getter setter c: cc@Muk @TheFlash
 
@DroidDev ohh yeah..my mistake
 
@ParthaChakraborty I think the "insurances" must be a json array.
 
11:23 AM
@Minato well....you know the art of being happy. You are even happy without a girlfriend :P
 
I guess your web dev is messed up too lol
@DroidDev damn, you did that on purpose...
now I am sad ;_;
 
@Minato u r removing encapsulation...
 
@Minato haha, but I thought you got 2 of 'em :P
 
btw, my stove is ready, what is ur progress? @Dro
@TheFlash eh?
 
@Minato I told in whatsapp group. Some old hag women ruined my plans
 
11:24 AM
no. it's not. it's an existing project. :( @Minato
 
@DroidDev well, I am tired of them (my hands.. we are talking about my hands here :P)
 
(ノಠ益ಠ)ノ彡┻━┻
 
it is json object. @Minato
 
@DroidDev ah :/
 
@Minato nothing...;)
 
11:25 AM
@ParthaChakraborty well, will it start from "0" or "21"?
 
@ParthaChakraborty tell your server-side dev to make that an array. JSONArray of insurances
 
In programming languages, encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination thereof: A language mechanism for restricting access to some of the object's components. A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data. Some programming language researchers and academics use the first meaning alone or in combination with the second as a distinguishing feature of object-oriented programming, while other programming languages which provide lexical closures view encapsulation...
hmm, true maybe
@ParthaChakraborty And it will go in reverse? upto 0?
 
actually, d service is built for phonegap also, and it's live. hence, services can't b changed ryt now. @DroidDev
 
11:26 AM
@DroidDev or just slap him hard lol
 
@Minato haha, slap him hard with a book of some server-side coding. LOL
 
no. it's in haphazard order, @Minato
 
@Minato yes
 
googles haphazard
 
@DroidDev haha yeah
@ParthaChakraborty but it will be continuous right? like 21,20,19,...
@TheFlash ¯\_(ツ)_/¯
 
11:29 AM
it's something like 21,20,19,18,..15,0,14,13,12,....5,4,3,1,2 @Minato
 
@Minato ->):"=
 
@TheFlash getter setters are no encapsulation. Encapsulation is, when you wrap the data members and logic that has to act upon it, in a single method. There is no logic in getter setter
 
@ParthaChakraborty just loop in reverse...
 
^
obvious solution
 
for (int i=21;i>=0;i++)
{
if(insurances.has(String.valueOf(i)))
{
String value = insurances.getString(String.valueOf(i));//Do Stuff
}
else {
break;
}
}
 
11:31 AM
@DroidDev okay pal got it :)
 
:)
 
c:
 
u didn't see. it's not dat simple. @Minato. der's 0 in d middle, and 2 at the end
 
@DroidDev still lacking of fundamentals...:(
 
@TheFlash just keep coding. That's it :)
@ParthaChakraborty how the hell is it working in phonegap?
that's absolute foolishness
 
11:33 AM
donno bro @DroidDev
yes it is
i know.
 
@ParthaChakraborty can you paste whole json somewhere. I wanna try it in json2csharp and see what they give me
oh wait....(this is a shot in the dark), but you can try to get "insurances" in a string and then convert it to JSONArray. Then you can try for loop on it @ParthaChakraborty
what do you think @Minato
?
 
how can i achieve dat, @DroidDev?
 
paste it here @ParthaChakraborty (the response). It will give you the list of model classes that you need. Though, I doubt that it will clarify anything :/
 
where do i paste it? @DroidDev
 
oh, I got it @ParthaChakraborty for loop of @Minato will work perfectly fine. Just try it
 
11:41 AM
Wow... Go to sleep, and this forum takes off!
 
(lol, they are sending image as base64 in that response). Absolute circus at your server-side @ParthaChakraborty cc @Minato
 
which one, @DroidDev?
 
11 mins ago, by Minato
for (int i=21;i>=0;i++)
{
if(insurances.has(String.valueOf(i)))
{
String value = insurances.getString(String.valueOf(i));//Do Stuff
}
else {
break;
}
}
 
@rekire Alive?
 
no, @DroidDev. dis won't work, as it is not in order
 
11:43 AM
@DroidDev haha
 
it's in dis order 21,20,19,....0,15,14,....,3,1,2
 
Greetings @Joe'sMorgue.
 
@ParthaChakraborty this don't work according to order. It will just look for the values in your json object. It will extract every row for you in decreasing order. Try it and you'll see
 
@Minato @DroidDev
 
11:44 AM
@ParthaChakraborty wow..wtf
@ParthaChakraborty There is still solution.
 
@ParthaChakraborty the loop will just look for any string with value of "i". It doesn't matter which one it takes. It is just like you can randomly pick up any value. Like:
insurances.getString("3");
 
ArrayList<String> arraylist = new ArrayList();
for (int i=21;i>=0;i++)
{
if(insurances.has(String.valueOf(i)))
{
arrayList.add(insurances.getString(String.valueOf(i));
}
}
 
Im back
 
You will get the arraylist with all strings inside, in the end.
@neferpitou wb pitou
 
i already tried it long ago. @Minato. i was hoping for a better soln
 
11:45 AM
thankyou
 
@DroidDev true dat.
@ParthaChakraborty better solution is kill your web dev lol
 
@Minato haha, solution was there in front of my eyes all this time.
 
@Minato love that idea , kudos +1M
 
@ParthaChakraborty why are you looking for a better solution? Is there anything specific?
 
>:)
 
11:47 AM
Better solution is like finding Better Boyfriend/Girlfriend, Good luck!
:3
 
if der's no way, den i have to ultimately go for dis soln only
 
salt on wounds
 
blades on eyes
it tickles
 
@ParthaChakraborty It's clear case of sucky web dev and the structure he/she made, so, you have to use such methods... no way out...
 
@Minato, ya it is.
 
11:49 AM
Im voting for Killing the web dev
 
+1
 
lol @neferpitou
 
@Joe'sMorgue positive.
 
Me on a team (The nutshell concept)
 
11:52 AM
D:
 
If you write code without comments - I will kill yah!
If you push changes without checking the conflict - I will kill yah!
What ever yo do - I will kill yah!
 
Anyone know about the Rubberband effect with Imageview???
 
nope
 
Can I use whatsapp in a tablet?
or it needs simcard?
 
well, it do...
dunno, just register using your other number
they will send otp on ur phone, fill it from there
 
12:04 PM
How are you today
 
long time no see joe
 
tong lime so nee joe
 
pong lime sa noo joe
 
I see, just havn't been able to reply when I do see
 
@Minato it says "Hey nef it needs simcard!"
 
12:09 PM
:(
 
So I cant"
 
I still have Nokia 3310
works great
 
I too have it, in my memories ;P
 
lol
 
12:13 PM
I too have it, in my armour.
 
nice
for sure you can survive the upcoming apocalypse :3
 
@neferpitou well...you needn't worry. I have postponed the next apocalypse my dear. Live your life fully now.
2
 
lol
 
@DroidDev thank yah
 
12:29 PM
candy break
 
 
1 hour later…
1:39 PM
bye all
 
2:01 PM
hi
 
Woohoo! I made it! I made it!
I installed Studio and openJDK successfully and run a demo program.
 
I have a white screen when i start my android app.
Look like it was because my activity have some images.
Is there a way to remove the white?
 
2:17 PM
check your layout
what has it got ?
 
 
3 hours later…
5:15 PM
Hello guys.....
 
 
2 hours later…
7:19 PM
posted on February 10, 2016 by Reto Meier

Posted by Laurence Moroney, Developer Advocate We’re delighted to announce the availability of the People API. With it, you can retrieve data about an authenticated user’s connections from their Contacts. Previously, developers had to make multiple calls to the Google+ API for user profiles and the Contacts API for contacts. The new People API uses the newest protocols and technologies and w

 
 
2 hours later…
8:54 PM
Morning
 
.-.
00.24 am
 
4:00 am here
 
wow :)
 
hi son
 
:)
 
8:55 PM
:3
 
how old are you and where are you from? india?
i thought it's joe btw
 
nope
from ph
 
Hmm, good
 
@LinX64 lol
 
Wel, that's the programmers fucking life, no sleep time
 
9:01 PM
Nah! Im not a programmer.
:3
 
Hmm, thank's for the clearification btw and seems like you like this : :3 - :)
 
lol
 
:)
 
btw afk, Im going to crack my bone
 
.-_ wtf
Jesus, still fighting with this GSOn
 
9:35 PM
:)
 
Hmm, finally setting the themes seems to be working:/
but, there is a goddamn issue
This question had a bounty worth +50 reputation from LinX64 that ended 23 hours ago. You have 1 minute to award the bounty
You have 13 seconds to award the bounty
:)
You must award this bounty as soon as possible
:-?
 
10:07 PM
wow, fixed :)
@TheLittleNaruto - i did it ;)
:D
:)
I've sended an answer btw: stackoverflow.com/a/35295141/4409113
 
 
1 hour later…
11:28 PM
@Franck you need to find an efficient way to load your image without affecting the main UI thread. Re-scaling image is a very expensive task. :)
The whitescreen is the placeholder image, "A guy in google designed it, but he realize it is not a great idea >> and now its too late since the code is in the production already!! ." -_-
The Skia Graphics Engine is a compact open source graphics library written in C++. It was originally developed by Skia Inc., which was subsequently acquired by Google in 2005, who then released the software as open source licensed under the New BSD free software license. Now known as Skia, it is currently used in Google Chrome, Chrome OS, Chromium OS, Mozilla Firefox, Android (although partially superseded by libhwui starting with Android 3.0), Firefox OS, and Sublime Text 3. The Skia library is also present on the BlackBerry PlayBook, though the extent of its usage is unclear. Skia has several...
^ the old graphics engine of Android
 
00:00 - 11:0011:00 - 00:00

« first day (1190 days earlier)      last day (2285 days later) »