« first day (1030 days earlier)      last day (2445 days later) » 

4:05 AM
GM all
 
4:18 AM
Good Morning Guys
@SweetWisherツ there ?
 
5:07 AM
posted on September 03, 2015

New Cyanide and Happiness Comic

 
5:39 AM
good morning guys
@TheLittleNaruto vgm
 
Morning fellas!
 
vgm @Kanth
 
6:02 AM
@rekire vgm
@Kanth vgm
 
hello good morning,i am getting bytes from webservice.I have to display contents of the file in webview android.The file could be any format.
 
@Aditya We must know the format; I don't think if there is any way to parse an unknown format at run time.
 
@TheLittleNarut if we know the format,can we do it??
 
@Aditya Sure why not!
 
@TheLittleNaruto you are quiet good in the contest you will win I guess
 
6:16 AM
can you give me example?I tried but only .txt working
 
@rekire Thanks; But you know the last submitting date is 11 September; You never know till then what'll happen anyway!
 
We tried using webview.loadurl("<URL>")
 
@TheLittleNaruto true, but if you are now on the first page you have almost won IMHO
 
@Aditya Why would you do that ? I mean loading on webview is like loading on browser; it's not that parsing. For that you'll have to make Http connection and get the response.
@rekire Even you're at first page. So we both gonna make it. :D
 
@TheLittleNaruto I guess I'll be in the top5 but you will make it :D
 
6:19 AM
@rekire WE! ANyway have a look : i.stack.imgur.com/QvafD.jpg
 
The requirement is like that. I want the content to be displayed right with in the application. I dont want to go out of app to see the content.
 
@TheLittleNaruto hehe :D
 
hii any one have solution for this question.
0
Q: android application crash only in samsung device while getting image from camera

Ravi VGHLIn my application i am getting image from camera. this code completely work on most devices but when i test in sumsung galaxy grand quattro application crashed. Here is my Try: if(resultCode == RESULT_OK){ Bitmap photo = (Bitmap) data.getExtras().get("data"); ...

 
samsung, again samsung
Here take this coffee you are welcome^^
 
@Aditya First find out which format is it. Then you can search for relevant term on Google; Like for JSON format parsing; you could follow this : androidhive.info/2012/01/android-json-parsing-tutorial
@rekire Why it's not get killed anyway!
 
6:22 AM
@TheLittleNaruto it is the biggest player in the android market
@RaviVGHL anyway add the stacktrace
However when I see this line String encodedImageString = Base64.encodeToString(b, Base64.DEFAULT); it might be a out of memory exception
 
hmm
 
for what do you need that string?
 
@rekire Well sadly it is.
 
string use to get image in base64 and that store in database
that all perform comlite but when i use below lines that time get problems
resized = Bitmap.createScaledBitmap(photo, 200, 200, true);
final_image = Bitmap.createScaledBitmap(photo, 200, 200, true);
 
@TheLittleNaruto , actually the issue is ,i will get bites from the server, for example i get jpeg , i should be able to open that in webview , or if i get PDF I SHOULD BE ABLE TO OPEN IN PDF
and that scenario goes for all formats
pdf,txt,excel,jpeg,png,--------etc
*****bytes
 
6:37 AM
@Aditya So those formats are none but a file format. I thought something else.
I would do some if-else
 
yes , for example, we are sending a request of pdf format (filename.pdf), we should get response in bytes, and those bytes should be shown in pdf
 
@RaviVGHL IMHO it is a bad idea to store images in a database
 
if we are sending a requst in excel format, the same bytes should be displayed in excel
 
7:04 AM
@rekire hmm but when i use blog for image that time get many problems. so i use string
 
@RaviVGHL just save that image as file
 
@rekire yes but i use sqlite
 
you can maintain the connections to the filenames but don't store the images there
 
ok
 
7:41 AM
@rekire you can see logcat of my code at question
0
Q: android application crash only in samsung device while getting image from camera

Ravi VGHLIn my application i am getting image from camera. this code completely work on most devices but when i test in sumsung galaxy grand quattro application crashed. Here is my Try: if(resultCode == RESULT_OK){ Bitmap photo = (Bitmap) data.getExtras().get("data"); ...

 
@RaviVGHL can you quote line 93?
I guess it will be resized = Bitmap.createScaledBitmap(photo, 200, 200, true);
 
 
2 hours later…
9:28 AM
I am back.
 
welcome back
 
Thanks :D
 
hello
 
Heyyyyy
 
hi @TheLittleNaruto @Joe'sMorgue @rekire
 
9:33 AM
What's up badass ? :D
 
nothing much
have to work myself back into the recent app
for bugfixing&new features
 
I see.
@Hans1984 Fix those shitty bugs!
 
i will :)
im gonna squeeze them under my feeet!
 
Yeah! Do that!
That's righT!
Squeeze it hard!
 
@TheLittleNaruto hey
 
9:38 AM
@Michel hey
 
Richi Rich
eeee
 
Naah! Still waiting...
 
@TheLittleNaruto going to take loan
 
@Michel haha Let's see.
 
@TheLittleNaruto after 3 days
 
9:58 AM
ok i got the bug report
looks like a lot of work to me
but tahts fine :)
thats
 
since i didi the app by myself and it wa smy first app
atleast i dont have to fix other peoples bugs , just my own
:D
 
HAHA true!
 
@Hans1984 hey
 
hi
 
10:09 AM
@Hans1984 Before android development ; what you used to code into ?
 
java mostly eclipse
some scheme -> LISP
and alot of web stuff
html,css,javascript etc
but im stuck to java
i kinda like it :)
i mean those "webstuff" is like childs play compared to real coding
you can basically learn it in a week
maybe not javascript
but html and css , xml
scheme was a pain in the ass
but i think its very usefull to learn clean coding
i used to start coding with java with simple texteditors and dos-box
if there was an error you had to find it on your own not like eclipse which teels you everything ;)
tells
eclipse makes life much easier :D
 
10:24 AM
Can someone please help me out with this question: stackoverflow.com/questions/32365676/…
I asked this 6+hours ago and i still cant find an answer online
 
but on the other hand you get fat and lazy and make mistakes
 
10:38 AM
@Hans1984 Switch to intelliJ
@Hans1984 What does Scheme do ?
 
Scheme and Common Lisp are the two principal dialects of the computer programming language Lisp. Unlike Common Lisp, however, Scheme follows a minimalist design philosophy that specifies a small standard core accompanied by powerful tools for language extension. Scheme was created during the 1970s at the MIT AI Lab and released by its developers, Guy L. Steele and Gerald Jay Sussman, via a series of memos now known as the Lambda Papers. It was the first dialect of Lisp to choose lexical scope and the first to require implementations to perform tail-call optimization, giving stronger support for...
 
10:59 AM
@Hans1984 Thanks; That was really helpful.
 
your welcome
 
11:33 AM
Hi
 
hi
 
'sup?
 
Not much; I am still at second top answers.
You say ?
 
I say I'm still waking up
 
11:38 AM
:P
 
11:57 AM
are you awake now?
 
@ joe
 
Not really...
Just got back from taking my daughter to work...
 
dont you sleep well?
 
12:02 PM
Going to try to get some yard stuff done before the heat jumps up... almost 90F, with high humidity...
 
dont even start it
 
I'm up to about midnight, wife gets ready for her job at 5:30, so that's when my sleep stops...
 
we had 40° celsius some weeks ago
it wa sby far the hottest summer i ever wittnesed
 
It's cool now, I can get in some efforts out there
 
38° and up for weeks
celsius oc
 
12:04 PM
We usually get a few days of 40C
 
we never had 40° before
it was awfull
 
We are looking at 80+% humidity right now, that's the worst part...
 
were do you live?
where
 
Michigan, near Detroit
 
i see
well i live in germany
we are not used to such high temperatures
 
12:05 PM
Surrounded on 3 sides by water, CANNOT get more than 5 miles from an open body of water in this state.
 
8(
 
That's why our schedules are almost opposite...
 
oh man
there have to be alot of moscitos right?
 
Actually, it's not that bad this year...
 
ok
 
12:06 PM
It might be because of how cold it was during the winter
BBL
 
we had a warm winter and a hot summer
 
12:41 PM
mann fuck
to much caffein
panic!
 
Hello :D
 
hello
 
Hans do you know about Random num?
I'm getting crazy generating a number from 0 - 5
 
no im sorry
 
No such thing as too much
 
12:42 PM
well if you drink it straight
its not fun
 
I'm assuming Java, right?
 
taking too much
 
Yes Joe
 
powder
 
Give me a minute
 
12:43 PM
a rnd number?
from 0-5?
 
Yes
I'm doing this : `nt min =1;
int max = 5;
Random rand = new Random();
int randomNum = min + rand.nextInt((max - min) + 1);
return randomNum;`
 
import java.util.Random;



Random rn = new Random();

for(int i =0; i < 100; i++)
{
int answer = rn.nextInt(5) + 1;
System.out.println(answer);
}
maybe liek this
like
 
I'm looking at my old code
 
ok
 
I think the +1 will give 1-6, not 0-5
MAYBE 1-5
 
12:47 PM
mAuthenticationAPI.login(username, password, new Callback<LoginModel>()
this is calling method from android studio app

and how to build api(web service) on asp.net which match by this method
 
I'm getting this catch exception
 
length=5; index=-1
 
you want:int answer = rn.nextInt(6); // This will give you 0-5
 
Like this? : int randomNum = rand.nextInt(list.length+1);
 
12:50 PM
I'm fixing Hans code...
Based on that, my suggestion is valid.
If you want 0 as a possibility, you don't want the +1
Wait...
list.length+1 will make the list longer before generating the number, so...
I have this:
lowLine = moveTheLetter(row, start, rnd.nextInt(2), lowLine);
rnd.nextInt(2) gives me a random 0 or 1.
 
i was just picking a random answer from SO
 
Aham
 
:)
lol all this work for such a simple task
 
You wouldn't like the method I put it in....
I did this:
   private int cycle(int row, int start, int end, int lowLine)
   {  // WARNING: Reversible Loop!
      int inc = (start > end) ? -1 : 1;
      end += inc; // Setup for direction
      for (; start != end; start += inc)
      {
         if (line[row][start] == emptyTile)
         {
            lowLine = moveTheLetter(row, start, rnd.nextInt(2), lowLine);
         }
      }
      return lowLine;
   }
 
lol this is even worse
so much code for such a simple task
 
12:58 PM
import java.util.Random;

public class Engine
{  // Digital Version
   private Queue<Integer> toBeFed = new ArrayDeque<>();
   private boolean feedNow, onlyVowels, rares;
   private static final int anyLetter = '?';
   private static final int anyVowel = '@';
   private Random rnd = new Random();
Well Hans, by now, you figured out I'm NOT normal, so....neither is my code
 
yes i should have known
i think noones normal on this site
 
That's ALL the code I use related to generating the random number, plus a little mo....
 
Okay Joe thanks :)
 
Does it help?
I'm not JUST a pretty face [but I do that well]
I think I scared her! {Hans, go away, just in case it's you!}
 
hello all
anybody can solve my issue
plz help urgent this ..
 
1:08 PM
What's the issue?
 
mAuthenticationAPI.login(username, password, new Callback<LoginModel>()
this is calling method from android studio app

and how to build api(web service) on asp.net which match by this method
 
Hammer and nails?
[Sorry, above my skillset]
 
any other can solve ??
 
@Hans1984 Can you assist him?
 
no
im just here to scare ppl away
maybe shes busy testing the code?
 
1:14 PM
Well, you are good at scaring me! [I still thinks that's your real face]
At least I'm not afraid to tell you this is my REAL baby pic
 
i see no pic
stop lying to me!
i just had too much caffein today
it rubs me the wrong way
 
My profile pic is my baby pic...newhatch...
 
when i click on your profile
i see a blank space
 
hm......
 
is this supposed to be some kind of joke
 
1:17 PM
Maybe I don't have a profile because I'm one dimensional...
??? What?
 
since its blank you dont even exist
so who im talking to
 
If you seriously cannot see my profile pic, I'm in a giant egg.
 
ok
no i cant
why would i lie
this is not my kind of humor
you should know by now
 
Guys, When we have a focus on edit text, hint text gets moved on the top of edit text. is that the inbuilt feature???
 
@TheLittleNaruto where are you?
so are you interested in any sports @Joe'sMorgue
 
1:22 PM
 
thats your pic?
cool
 
My baby pic!
The only sport I play is disc golf
 
so you re like benjamin button
born old and getting younger
 
No...Born perfect and stay that way
 
wow
ok
 
1:23 PM
"Some say that I'm egotistical
Hell, I don't even know what that means.
I guess it has something to do with the way I fill out my skin tight blue jeans"
 
i only know egoistical
see i#ve edited it
what now!
 
edit I#ve
:)
 
no!
since hashtags are kinda trendy
 
LOL
I'm going back outside fo a few...BBS, it's getting hot already
 
ok
see ya
 
1:41 PM
@Hans1984 i was working.. What's up ?
 
nothing
 
What ?
 
i was checking for life signs
:)
 
1:55 PM
@TheLittleNaruto Hey, when i try to access https web service, i get handshake exception. We can't use volley for https?
 
Sorry, no life signs here...
There is a Coca-Cola advertisement
 
does the chat have nothing to do with the topic?(first timer)
 
It can...
Sometimes drifts off topic
 
that is the badge "cleanup" for?
description:first rollback
is it for taking back own question?
 
2:16 PM
@droid_dev check this : stackoverflow.com/a/30943348/1944896
Well for me time to go home...
See ya tomorrow guys :-)
 
@TheLittleNaruto I have one small doubt I want to play some api video into my application I used Videoview to play that video but when I played that video it is showing "cann't play this video".If I used static video like in resources it is working.what will be solution, I have to use any media framework.
 
bye @TheLittleNaruto
 
2:56 PM
@Joe'sMorgue hows the work in your yard going?
 
3:09 PM
yo guys
 
hi berserk
 
sup?
 
lol
Greetings @Joe'sMorgue.
 
 
5 hours later…
8:12 PM
posted on September 03, 2015 by Cody Toombs

Inbox for Gmail continues to stack on new features and refine its existing capabilities. While it may never fit the needs of many Gmail users, it has earned a strong following of fans that couldn't live without it. The latest release doesn't appear to add anything to the user experience, but a teardown shows a few of the changes that may be on the horizon. Teardown Disclaimer: Teardowns a

 
 
3 hours later…
11:08 PM
@TheLittleNaruto Still getting SSLHandShakeException. Above URL doesn't work for me
 

« first day (1030 days earlier)      last day (2445 days later) »