« first day (1188 days earlier)      last day (3761 days later) » 
00:00 - 17:0017:00 - 00:00

12:37 AM
 
Took me a while to realize they were fake, a lot of the TED talks sound a lot like that
 
12:53 AM
rofl
the funny thing is I didn't watch the video until you mentioned it was fake.
too many dumb TED talks
ok, I'm out
see you all tomorrow
 
you have been watching videos from the video I posted, Ahmad?
lol
 
1:21 AM
Haha good guess
I already knew collegehumor though
Watched at least half of their vids
 
1:38 AM
Yes, I just had to be an ass
-4
Q: android app crashed when i tried to run it

user3199883Hello everybody ...... My android app crashed when i tried to run it and this is my code: =================================== ===================================== =============================================================================================== package com.examdple.ijson...

 
1:49 AM
@adavis Welcome. Please read the room rules.
 
thanks, read them already
 
2:04 AM
I have a job interview next week...
BME related, no programming....
 
this is wrong and hilarous
0
Q: im putting a background for my android application and i got some errors

user3200770error: Error: String types not allowed (at 'bg' with value 'nigga'). <string name="app_name">DentalPatientProfilerV1</string> <string name="action_settings">Settings</string> <drawable name="bg">nigga</drawable><string name="hello_world">Hello world!</string>

"nigga", really? REALLY?!
 
I think I'm being trolled...
http://stackoverflow.com/questions/21128783/fail-android-release-build-if-local-server-is-true
 
hey can you give me your input on my latest SO question?
 
3:03 AM
I'm confused, you're talking about fragments stacked on top of each other?
 
yes
one Fragment on top of another
 
I see, at first I thought you meant nested fragments
 
nop
 
I don't have a good answer for you, but setting the viewgroup clickable seems like a perfectly fine solution to me
 
but it seems hacky...
I think we should have the option to set an Activity like behavior
 
3:15 AM
if you are looking for a method that is specifically intended for intercepting things
 
yeah, but I mean more like a boolean flag
or something like that
something like BEHAVE_LIKE_ACTIVITY_WHEN_CLICKED
 
I believe it is the same problem as with regular views overlapping, activities are not like fragments at all
 
it is the same problem
but given that it is really common to use Fragments to hold the xml instead of the Activity
for example
when you start an Activity from another Activity
click events are not passed down to the Activity that is on the bottom
that is what I mean by "behave like an Activity"
 
I understand what you mean
I'm thinking it doesn't exist because that is how views work, and fragments are much more like views than activities, they just have lifecycles like activities do.
 
yeah you might be correct
 
3:24 AM
really, fragments are just class wrappers around views with some methods to help you out
 
you do not see the need for something to consume click events?
 
I basically made my own simpler versions before fragments were a thing to encapsulate things better
 
oh
 
I see the need, just set it clickable lol
 
lol
 
3:26 AM
it doesn't seem that hacky to me
to intercept a click, you need to be clickable eh?
 
but then every time you click on a blank portion of your Fragment you hear the click sound...
that doesn't happen in Activities
I do not know, it might just be a little detail
 
if activities didn't intercept clicks automatically, then you could be keylogging beneath someone else's app
 
and that is what is happening with Fragments
you have a Button in the Fragment below and it gets clicked when you press blank areas of the top most Fragment
 
yeah it could go both ways as far as putting it in our leaving it out, but you are being really picky
for your click sound
android is bloated enough imo
 
yeah it might be just me being a pain in the ass
lol
 
3:33 AM
a good question though
and I'm certainly not a fragment guru
 
thanks for the input
 
no problem
the questions posted by regulars in chat are usually a lot more thought provoking than the standard SO questions
 
that tends to be the case
most questions in SO are just "please help me" type
 
"please help me (before my boss fires me)"
 
really, you think?
I really hope that most of the people that ask this type of questions are not professional programmers
 
3:43 AM
sometimes I think I'm just helping myself be outsourced
but certainly that is not always the case
and answering questions is the best way to polish your knowledge
 
Yeah I think so
that and practicing
reading, getting informed...
 
Yeah, if I get too focused on getting apps built I tend not to branch out much with my skills. Anyway I'm out, g'night
 
I am the other way around...
night
 
4:15 AM
Hey, Everyone
eskimo, there ?
 
4:29 AM
I guess, eskimo slept.
No way :'(
 
4:43 AM
Hey
 
Heya, Williams :)
 
How are you doing?
 
4:56 AM
I am doing good.
You say ?
 
I'm also doing somewhat good..Trying some things after rooted the phone
 
Okay :)
 
Hahaha, I just saw this number "2147483647" in a game and I couldn't stop laughing...
 
Ohh This is max range of integer in the Java
lol
 
5:29 AM
morning
 
Good Morning Lalit
 
user457812
6:10 AM
@JellyBean You've got write access — read the rules and tell me when you've read them. Don't do anything else 'til you've finished that. You've got ten-ish minutes to do this.
 
@nil hmm..
 
user457812
@JellyBean Two minutes.
 
user457812
Write access revoked.
 
nil, Might Jelly Bean is super fast
 
user457812
6:28 AM
@JellyBean Rejected. You had ten minutes and were clearly in here, so if you're not interested, you can just go away.
 
Did he read the rules in a seconds?
 
user457812
Evidently not, seeing as he didn't say he read them.
 
Even you allowed him once
Even his name is something related to Android OS version. So I think owners not allow this also here
 
user457812
7:17 AM
 
7:45 AM
ohh @nil Now ICS entered in the room
 
theverge.com/2014/1/14/5307530/… somebody tell them why Google really bought Nest
when is someone going to acquire my company *sigh*
 
user457812
7:57 AM
Didn't you work for Samsung?
 
user457812
Or am I thinking of something else.. or imagining things while sick.
 
8:14 AM
Mornings
 
morning
 
hello
has anybody here used heroku?
 
Yeah a bit
 
what do i used between appengine and heroku?
 
what =?
 
8:32 AM
for backend stuff
 
what do you mean between appengine and heroku ?
 
arnt they the same? appengine and heroku are both there to support your backend right?
Heroku: heroku.com
 
I don't use appEngine
I'd say either you use AppEngine, or you use Heroku, but i might be misinformed
 
8:52 AM
have you tried to use appengine? im not able to figure out how to make a simple 'hello world' android app using that
 
No I have not, I have used heroku
 
9:06 AM
ok
 
9:16 AM
Are these used for storing the database of the application?
 
9:50 AM
Use appfog
appfog is the best
Free 2GB RAM
 
You'll only get 512MB on heroku
o/
 
okay Ahmad
 
10:03 AM
hello
 
 
1 hour later…
11:21 AM
@kirti rejected. Your chat history is, well, unreadable for me. You have low reputation and your last question must be a joke... "I do that (no code), here is logcat" wow....
 
0
Q: other paramert and complex json object send to server android

kirtiFollowing task i perform 1 > accept input from user and save it 2 > then How to send this input value with hole json object to server this is log cat result http://pastie.org/8574104

Number of spelling mistakes she committed here
 
funny thing in the logcat: though using an AsyncTask, the Choreographer struggles:
> Skipped 419 frames! The application may be doing too much work on its main thread.
that are nearly 7 seconds of a frozen screen (consider 60 fps)
 
hmm
 
 
1 hour later…
12:40 PM
No Effort by this OP
 
@Ahmad firebase is better ;)
 
@Zeeshan welcome back, been a long time so make sure you know the updated room rules.
 
Thanks @WarrenFaith :-)
 
this is a good prank but a bad gif :D
 
yeah very bad gif
 
1:01 PM
Hey !
 
\o
trash that gif please
 
Our office got burgled last night, they took every single computer ! \o/
1 message moved to recycle bin
But they've been busted, so we got all the computers back :)
 
Aww, why are we trashing gifs?
 
Because it was a glitchy gif
 
1:30 PM
@OcuS I know a business my friend works for that that happened to a couple of weeks ago.
in the Christmas spirit. :/
but they were never caught.
so you got lucky!
 
1:42 PM
yes we are :)
opened with an axe ^^
 
I thought it only attracts female....
 
How they managed to enter. wasn't there any security ? , OcuS
 
they had all the building codes... we don't know how they got them
there are no security system...
 
They must have a hacker in their team
 
we're lucky that someone in the building was still working and call the police
 
1:46 PM
so they were good prepared but bad organized...
 
So that is why computers are back to their place , You guys should be thankful of that working guy
 
yep
computers are not back really now, they're at the police station... i'm using an old desktop computer
/my life
 
Ohh, When they'll be back ?
Is there any process to get those computers back from the police station ?
 
were these computers worth stealing though? :P
 
Some yes. Mine is an old elitebook. The content is much worth the Laptop itself...
 
1:57 PM
Guys, Do we have any tools for creating Data-Flow-Diagram of any algorithm?
 
And I hadnt commit a big part of a project im working on...
Because I suck :)
 
cough push often, push early cough
you never know when the bus is coming.... or the robber :D
 
yes, I know... :/
 
2:42 PM
user image
2
loool
 
lol
I never realize how much I rely on copy/paste in life until I can't use it
When you paste a file onto a server via RDP if you copy anything else on your machine it stops the transfer
I only have to last for like 2-3 minutes without it, and I usually fuck it up at least once or twice
 
:P
I don't copy paste, I copy files by typing the binary by hand...
 
there is a chuck norris joke in there somewhere...
 
yeah, kind of copy pasted it :D
 
Some idiot shot and killed some random people in a grocery store by where I live...idiots
Its not a bad area either so that kind of thing doesn't happen often. Not random shootings anyway
 
2:55 PM
America, right? Well honestly nothing that involves guns and America can surprise me anymore
 
if we melted all of them down and made a giant statue out of the resulting material that would surprise you probably right?
 
Shootings happen everywhere... If only you knew how many shots a fired every year just near "The Avenue des Champs-Élysées" in Paris. you'd be scared
 
Yes, America. Northern Indiana more specifically
 
@FoamyGuy ok you got me there...
 
shootings don't happen everywhere
 
2:58 PM
we have 70 people killed by guns a year...
for 80 million people in my Country
and 5.5 million legal guns
 
iceland recently had the first instance of police shooting someone and them dying in history.
 
More
We have more than 5 million guns
 
5.5 million legal guns source in German
 
Germany probably isn't sissyfying its citizens like US is doing
People don't think they are responsible for their actions any more
 
define "sissyfying"
 
3:00 PM
Germany isn't satisfying its citizens?! Come on
 
Making them into sissys, girls,
No, you took it wrong Ahmad
 
Oh misread
 
I don't know much about Germany's laws but America's are getting too lenient
 
in some areas
 
well in my cultural area, a weapon is nothing "normal"
 
3:02 PM
but too lenient as a blanket statement I would not agree with at all.
 
Yeah, "sissyfying" was a bad choice because I made it up and if you aren't from here you probably wouldn't understand what I meant. :/
 
I know a girl whose parents hunt and have like 100 guns
Other than that I know nobody
 
I don't know anyone with a gun...
 
i.e. they wanted to lock Aaron Swartz in a cage for decades because he downloaded a massive chunk of academic research documents.
 
we have the same shit in Germany. The laws are harder for normal people doing money crimes that people hurting each other
but rich people are an exception, they are "free to go" for nearly every crime...
 
3:04 PM
Really, Foamy? Yeah, obviously not all of them are too lenient but in general they seem to be, IMO.
 
Laws are relative for every rich person everywhere on the world warren
Nothing specific to germany
 
well I haven't said that :D
 
Talking about super rich of course
 
kind of
I guess Hoeneß, for example, will just have to pay some fee and is free
 
Yup
 
3:06 PM
I just found out yesterday that the dude who stabbed Monica Seles in Germany didn't serve jail time =x
 
though holding back millions
he did 2 years
 
Our problem isn't just the laws but the way kids are being brought up, how people try to blame others for their misfortunes, and other such nonsense...
IMNSHO
 
best sample for that is the newest Apple decision
 
hmm all of the information I could find said he had a suspended sentence and served probation only
 
Apple has to pay back millions because some parents were too dumb to secure the payment on the phone
 
3:10 PM
:O
 
> Remember: The people who need the "remove foil before putting the Pizza in the oven" label are also allowed to vote
3
hey kabuto!
 
/o
 
heya ^^
 
@AndersMetnik cool, just checking out, looks really interesting! Thanks :D
 
I went through the history..all have different view on the either heroku or firebase or some other is best.
 
checking
 
Can we delete the app once create on the heroku?
 
I have no iDevice but don't you need to have like a password or something to buy things that cost money?
 
Yes you do lol
You have to enter your password every time you download something iirc
That does not apply to in app purchases though
 
Google wallet save the details of credit card afaik
 
3:21 PM
only if you activate a checkbox
 
There is no need to enter once again these details saved Afaik
 
so basically: your fault again
I am not sure how iOS handles inapp payment, but I think you need the password there as well, right?
but the article also mentions that the kids knew the passwort
double fail on the parents side
this is plain stupid
 
> That included one consumer who reported that her daughter spent $2,600 in the app "Tap Pet Hotel"
 
I'm also not aware about the how iOS handle in app payment
 
you have to type in the password for in app purchases but after you type it in the first time there is a 15 minute grace period where you don't have to do it again to make further purchases
 
3:24 PM
Ah right
 
they did not document this 15 minute period clearly anywhere
 
I am just waiting for the case that someone sue Google because his retarded friend who knew the password used his gmail account to threaten someone....
 
so kid says mommy can I by the pretty pink pony for 99 cents mom gives in and enters the password
hands phone back to kid who now has 15 to rack up as much $$ as they can
 
and then you need to create a 2600€ bill in 15 minutes
imho: again a fail of the parents
As a parent you should teach your kid how to use the device and the apps and also show them what inapp payment is and what it means
 
they dollar amount while pretty big is not un-reasonable
I've seen apps that have $100 in app purchases
 
3:25 PM
yep, there should be mail notifications, your credit card balance, .. ways to see that your kid needs to get it's device taken
 
Google does that :)
though if your device is in the hand of your kid...
 
and the total bill of 2600 could've come from multiple 15 minute sessions, not just one
 
anyway: parents should give the kids only what they can handle
 
and for the most part I agree the parents are somewhat at fault
that being said I think developers that make games with a target audience very young and then litter the app with in app purchases are kind of scummy too
 
^-- totally agree
 
3:29 PM
every kid toy ad tries to make kids cry until parents buy
 
yup
that is the whole aim, since 5 year old kids do not have a credit card just yet :P
 
3:43 PM
Kabuto, Did you learn Reanimation Jutsu ? :D :D
 
hehe, you can even play child monetizing as a game molyjam.com/games/169
 
yes @ TheLittleNaruto :D
 
those anims in molyjam.com/games/169 are just like me :P What you think kabuto ?
 
Hmm is there an easier way to do this? stackoverflow.com/a/21165904/1333975
It seems like there is a better way to do it
 
maybe something like replaceAll("(\\s)+", "$1")
 
3:50 PM
haha TheLittleNaruto,
 
I was away for a meeting that I nearly forgot about but to recap....
I agree, Warren, many problems stem from parents not paying enough attention to the children and not teaching them what they should be
Instead, rely on society to raise their children
Or maybe that's not what you're saying but that's my take on this
 
I totally agree. The parents are responsible for the well being of the children and their education. Basically because the time before school even starts sets the basic for the future for the kid
invest time and you will be happy.
Educating a half grown up is nearly impossible
at least for the basic
 
Indeed!
 
and when I see how many "Scumbag Steve" memes/stories are out there... god help us
 
Oh yeah zapl, that seems to be a better way to do it. I deleted mine, because it was actually wrong. Feel free to post your solution :)
@ArulNadhan Rejected, because you are spamming every room with your question
 
3:58 PM
That guy I think mostly time reside here and send the request consecutive after few days
 
Ahmad, it's not working too well e.g. on newlines. I guess the best solution is iterating over the chars and replacing them manually
at least I'd have such a solution quicker than coming up with a regex that handles all the cornercases
 
Haha yeah
 
I like that a StringBuilder is used but the passed parameter is with + concatenated. Oh the irony is a fine one — WarrenFaith 12 secs ago
oh and I missed the "\n" not being a constant...
zapl is getting reputation! :D
 
4:17 PM
hehe, easy to google you some reputation
is there a constant for "\n"?
 
not 100% on this, maybe System.getProperty("line.separator")
 
I think thats it ^
 
yep and apparently System.lineSeparator() since Java7
 
^ which is what I used hehe
 
the properties one demands to find the place where "line.separator" is defined as constant
at least that one is system independant
 
4:29 PM
@WarrenFaith: For what crazy reason you want "\n" to be a constant? — maaartinus 3 mins ago
9.5k reputation...
Brace yourself: You don't know nothing!
 
ted talks are kind of full of shit
and they have this really weird culty thing going on
 
there are quite some good ted talks
For example about copyright math
 
16 hours ago, by Ahmad
 
To be honest, I was wondering what kind of constant you mean too because string literals like "\n" are constants
 
they are not constants, they are immutual. Imho the difference is the referencablility
 
4:36 PM
string literals are interned by the compiler and if you use the same one over and over again it's always going to use the same instance
 
sure about that?
 
yep
 
source?
 
Got my laptop back ! It's full of black powder... :/
 
harhar
 
4:38 PM
6
A: Java string intern and literal

T.J. CrowderThey have the same end result, but they are not the same (they'll produce different bytecode; the new String("foo").intern() version actually goes through those steps, producing a new string object, then interning it). Two relevant quotes from String#intern: When the intern method is invoked...

some parsers allow you to intern the values so you can do if ("foo" == internedString)
quicker comparison at the cost of memory
 
ok
still making it a constant would be better for maintainability (as I wrote in a comment)
 
that's true
ah it's also in the JLS " a string literal always refers to the same instance of class String. This is because string literals - or, more generally, strings that are the values of constant expressions (§15.28) - are "interned" so as to share unique instances, using the method String.intern. "
result of constant expression means that "foo" + "bar" would be interned as "foobar" because compiler concatenates them
 
You Germans put foil around your pizzas??
 
thin transparent plastic stuff
 
4:56 PM
I just love these titles and I see them all the time...
0
Q: No error but the Application Crash

user46648I am new to android database. I'm creating an application following a youtube tutorial about database (youtube). I followed everything and, when I run the application there were no errors but no response on the create button when clicking. here is My code: MainActivity.java package com.exampl...

I guess the crash gremlin just strikes every once in awhile
 
oh yes it does
 
00:00 - 17:0017:00 - 00:00

« first day (1188 days earlier)      last day (3761 days later) »