« first day (1683 days earlier)      last day (3266 days later) » 

8:00 PM
I understand sir.
I do believe it is a good idea sir
 
bye
 
flying to SF tomorrow
and filled my jr android position
 
nice
 
and i bought a house
 
Nice!
 
8:06 PM
for way too much money
 
Oh, nice :P
 
Nice JMR, I just bought a house as well
 
awesome
 
8:25 PM
@JMRboosties see you there
 
woah jmr
congrats on the house
@JMRboosties with this one guy that you told us about?
 
yea
 
nice!
 
Sounds like a good week in BoostieLand!
 
lol BoostieLand
 
8:34 PM
lol
 
Ugh, people who don't explain code in answers.
 
its stressful
the house is so expensive
 
Mortgage?
 
It's definitely a lot of stress but is a good feeling
@TristanWiley get used to it. Jokes and good looks are two things I don't have to worry about running out of
 
yea
i mean i can do it
but its just costly
and then the necessary improvements
gonna destroy my savings
 
8:38 PM
@codeM I enjoy it, do it more ;)
 
One just do not save for a house
 
110 First Post Reviews
210 Triage Reviews
14 Late Answer Reviews
 
netpork, it needs the image
 
Anyone else LOVE Two Steps from Hell?
Like, a lot
 
Cm, good work :D
 
8:47 PM
Thanks. I tried giving him a hat but it didn't work well so I removed it
 
When you're almost finished with your app/code...
 
Tristan, can you stop flooding the room with animated gifs please
 
Sorry sir
 
8:55 PM
5 messages moved to Trash
 
Still true :P
 
have you guys heard of the app clinkle?
it's like the best example for not throwing around with VC money
this so hilarious
they raised 30 million in seed funding
but they have no concrete viable product
no concrete app idea
 
Oh, wow :P
That's entertaining
 
no business plan
nothing
 
there's got to be a clever phrase/name you can use for failed startups
 
9:00 PM
except that the guy was a stanford grad and could spit big words
 
failups isn't too far off, but it doesn't capture the immaturity here
 
startdowns?
 
neverstart
or startnever
failure to launch
 
> founded by 22 year-old Lucas Duplan
this just shouldn't happen, IMO
 
I know right?
in 2013 it was the largest seed round ever
(has been topped since though)
 
9:02 PM
 
Ahmad what Python IDE do you use?
 
now they've rebranded to "Treats"
 
@SargeBorsch Late but impressive
 
a so tragic pivot that they've only got a few thousand downloads on the play store
 
yeah… I am slow, especially when it's time to sleep
 
9:03 PM
and a 3.* average rating
lol only 5-10k downloads
 
Yea, Clinkle is a total failure
 
My app has better ratings
 
in other news, why do people even try to run Android apps on Blackberries?
 
you can gift your friends money for something? I don't even get the tagline
 
9:04 PM
do blackberries even have anything worthwhile going for them at this point?
 
@CarlAnderson because it's going to troll us, the developers
 
Not a single thing
 
AFAIK they can sort of emulate Android 2.3
 
started looking into another weird / obscure crash just now, only to realize the only phone it was occurring on was a RIM Passport
 
But RIM payed me $150/app to port android apps to their shitty BB10 platform
 
9:05 PM
wait, wtf is that app?
 
so I did
I created 10 apps in 10 days
 
Not bad Ahmad
 
who gave them any money at all
 
like a shitty watered down version of paypal?
 
ported them
got $1.5k
 
9:05 PM
what a bunch of fucking morons
 
ikr
@FoamyGuy a very shitty version of paypal. WHO WOULD EVEN USE THIS?
 
Similar to god, Ahmad achieved greater. The mighty Ahmad created 10 apps in 10 days, all the puny god did was create a planet or something.
 
"Treat your friends" eh yeah sure
 
I just can't grasp the whole concept, like, why?
 
@SargeBorsch BB10 can emulate Android 4.0
 
9:08 PM
so it will generate even more pain in the ass…
 
yeah for the 100 people using BB10
and the one dev actually still writing apps for the platform
lol
 
and for developers who need to sort out crash reports
 
does it work like square?
 
I should just put in a check for RIM phones and shut down if I detect it
 
do they give you a credit card swiper?
 
9:09 PM
no seriously, there is one developer on the BB store that "wrote" 20% of all the apps
all spam apps
 
Really?
Do you know who @Ahmad?
 
dunno
but there was a news article
 
@FoamyGuy no it's more like: you buy your friends a burrito from chipotle by "treating them" (you send them cash via your bank account to their bank account)
I know. revolution extreme.
 
9:11 PM
but what does it mean that they have to swipe to receive the treat?
 
obama personally had to keep the revolutionary at bay
otherwise it might have spilled over
arab app spring II
I really don't know foamy
 
"Make purchases with your Treats Card to open Treats you’ve received"
 
it's such a nonsense app, I bet not even the developers know
@rob sorry but you need a rep of at least 100 to join this room
 
@rob we require 100 rep, among other things to join this room: room-15.github.io
 
this really sounds like a pyramind scheme, lottery, and shitty whack ass banking all rolled into one giant pile of WTF
 
9:13 PM
too slow, old man
 
indeed
I'm off my game today
 
not enough sleep lately
 
Sleep sir
 
I've been trying to pull an all night for the past 5 days
yeah
I feel ya
 
9:14 PM
I've only pulled an all nighter once
 
There must be a way to correct sleep cycle without doing that
every time I hit 6am I just say to myself: ahmad you tried and failed, go to sleep and try again tomorrow
 
I think you can't have a social life if you do it like that eski
"sorry friends, gotta leave for my 6pm nap"
 
it's tough
a job life is the harder one
 
not that I have an active social life to begin with tho
 
9:17 PM
Any secure way of detecting the Home click?
 
no
you can't
officially
 
unless your app is a replacement home screen
 
@Try_me there a bunch of questions on this, Google my friend
 
the questions on stack overflow regarding this are inaccurate/and or incomplete
 
I have googled it but did not find something stable
exactly
 
9:20 PM
foamy: ah yes, I just remembered that
how did that work again?
 
You just have to set your intent filter in the manifest correctly
but the user has to set your app as the default home
once they do that whenever home key is pressed your app will launch
(note: if your app isn't actually a home screen the user is prolly gonna be pissed)
 
ah yes
 
is there a way to do that and also have the default home screen behavior at the same time?
because then you could just make it an invisible activity that finishes itself
 
finish wouldn't work I don't think
 
can you launch a launcher from another launcher?
 
9:23 PM
imagine a scenario right after the phone turns on
 
I just have a normal application that I want to detect when my application its not on the top of the "Ram".
 
it will boot up into your launcher which will then finish itself and the Activity Stack will be empty
I think you'd have to "manually" launch the stock launcher from your activity
 
define "not being on top of the 'Ram'"
 
problem with that though is not everyone uses the stock launcher, and the package name / intents used to launch them aren't the same on every device I think
 
yup
 
9:25 PM
not sure if there is a dynamic way to get a valid intent for the launcher on any given device.
 
Okay full explanation: I am staticaly alocating memory for a MediaPlayer object that plays a music while my application runs. The issue is that when the user navigates outside of my application, the music still plays (as it is expected since it is a static object inside the memory). I want to detect when the user navigates out of my application, in order to pause/stop the Mediaplayer object.
 
why would you do that?
I hate music apps that stop when I leave them (aka YouTube)
 
If someone calls you, the music will still play
 
won't onPause() do it?
 
so figure out how to mute it on an incoming call
 
9:29 PM
onPause isn't the solution because I am launching it via activity A and when Activity B opens, I still want to play the music
I have to think more, since there is no safe way of handling the home click
 
0
Q: How to Control Media Sound with Phonestatelistener in my Radio App

Marijacan someone help me to implement Phonestatelistener to control the media sound of my app on incomming call and during call ? If someone is calling now and i`m listen my Radio Station from my App, it want mute the current sound. The best solution for me be is to "mute" the sound during the call an...

 
o/
 
I think finding a general workaround for this issue will be safer in order to avoid future bugs. I just need to somehow check the apps hierarchy and see what is on Top
 
Hey Adam!
 
Try_ I'm really not sure why you wouldn't use the AudioManager to do this.
or a Phone state listener
 
9:33 PM
Hey Tristan. What's up?
 
Not much, just catching up on homework
 
Since I have one music playing on loop mode all the time, it just does not feel logical to keep playing it while the user navigates outside of the application
Like games, would you like to keep listening to the stream while you are out?
 
when I play a game, I expect it to request the audio channel from the AudioManager, and for my current song app to stop.
 
rate my attack plan on this
 
but when I'm not playing games, I expect the music to keep playing, even if I turn my screen off
 
9:37 PM
so like most of us i fucking hate fragments
but i have some views where its unavoidable
 
it's always avoidable
 
not really for this
 
JMR, you have to ask yourself, "What would Jake Wharton do?"
3
 
i dont know im not that clever
so anyways
 
WWJWD
 
9:39 PM
Didn't we agree that master-detail flow was unavoidable?
 
i need to display the same content as both fullscreen for phones and part of the screen for tablet
 
tell me what you want to do, and then I'll reply: "I could do that without fragments"
 
i'm getting that wrist band
 
Yeah that.
 
yea
but i dont want to do fragments in all cases
 
9:41 PM
you can do that without fragments..
 
well
you CAN
let me show some screens
if my screengrabber will work
here we go
so on a phone its like this
i want this to be an activity
 
Isn't that situation easier with fragments, though? I've done it a few times, without problems.
 
this needs to be with fragments
dont worry about design its not perfect but thats the idea
now, you ask
jmr why not just do it with fragments across the board
 
yep
because fragments suck?
2
 
to which i reply: i COULD, but i dont think transitioning from an activity to a fragment inside another activity will perform my shared element transitions correctly
and yes, fragments suck
so ive come up with a helper class that both the fragment and activity version of this view share, and it does all the work that is common between the two
alternatively i could just do fragments everywhere
and cry
what do you guys think
 
9:46 PM
learn to do those transitions the MANly way, that is, manually.
 
no
i dont wanna
 
user image
4
Anyone have ideas on this?
0
Q: Postdating transactions for a bank database

McAdam331I have a financial tracking application where the user can enter transactions for their bank accounts and keep track of spending. I have implemented the triggers I learned from this question to automatically update the account balance whenever a transaction is inserted. I also have triggers for e...

 
10:12 PM
@McAdam331 forgot to respond to you the other day
you can name resource files whatever you want
it's just convention that we have the names we use
for example, the Android docs say "The filename is arbitrary. The <string> element's name will be used as the resource ID."
 
Oh okay. So in your example for date formats, you'd just store it as a string <string name="date_format">yyyy-mm-dd</string> or something like that? but in constants.xml instead of strings.xml?
 
yea
 
Ah okay.
Cool!
Thanks for the reply, too.
 
np
 
If you’re ever lost on an island, simply write “tabs > spaces” in the sand and you’ll have an army of programmers descending on you to argue
@jmr had decision but I think the lesser evil is just converting everything to fragments
 
10:27 PM
The internet isn't working, only on my laptop
Restart fixed it
 
balhh
 
@codeMagic maybe I'm missing something.. why don't people save for a house?
 
They do save for a house. They don't "simply" save for a house
 
10:44 PM
In germany the government subsidises saving for a house. You get high yearly return rates on the money you invested in such a savings plan and the government even puts money into your account.
(if I'm not mistaken)
a friend of mine started such an account, he says his return rates are between 6 and 8%
which is not bad
at all
 
A separate savings account specifically for that (must be used for that)?
 
yah
 
That's nice
 
no
you just changed your q
so to answer your new q
I think it can be used for something other than buying property
but most people use it for property
 
I didn't change it. I made it more clear :P
So they don't really "subsidises saving for a house". They may subsidises saving for a meth lab
2
 
10:50 PM
wait
I just looked it up
if you want to use the saved money for anything other than modernising or buying property other terms will apply
 
Ok, that is better. Maybe penalties and such
 
no I think the government won't subsidise is then, and you won't get such high return rates
 
If they know what you took the money out for
But still, it is nice that they have that (depending on all of the terms, etc...)
 
@codeMagic oh believe me the german government will make sure that the money is spent on what it's intended for
german bureaucracy
coming to your point: One can simply save for a house
 
I believe you. Unfortunately, I don't know much about foreign governments anymore.
I was really just providing the meme for what netpork said before that. I'm not even sure what it means
But, yes, one can save for a house
 
10:55 PM
LOL I didn't even want to go into such a lengthy discussion xD
 
I think Carl just wants to hate on me
 
yeah
true
conspiracy
 
But it was a good discussion. I'm glad we had this opportunity :D
 
:D
 
@Carl Y U HATE ME???
 
10:57 PM
I was just confused is all
 
I don't need this. I have an arduino book to read
 
you got 4 stars for a tired meme
figured I was missing something
 
I've heard that happens. My mom was telling me about it
haha...didn't even notice it was starred
ftfy, Carl
 
I'm still very amused by raghav's drawing
May 21 at 20:27, by Raghav Sood
user image
(just saw it again when going through the star board)
Hm. Apparently Wikimania won't be taking place at the big library in mexico city but at the hilton.
shoot
the library looked awesome
this is pure awesome
but then again, most of the books are probably in spanish anyway so I won't be missing out
 
looks like an Amazon warehouse
 
11:12 PM
woah
nice
 
I can't remember how many Amazon warehouses I've been in.
 
isn't there just one big one in seattle?
 
LOL no
8 years ago there were 40
 
My amazon order still hasn't shipped and it's been almost 24 hours D:
 
over 100 nowadays
 
11:13 PM
omg
and all warehouses are the size of this one above?
 
I think I've been in 11 or 12 of them
they're all different
 
just google search amazon warehouse under images. O_O
 
damn, but it makes sense
waaaaaaaa
 
Pfft, and I thought I was a hoarder.
 
this is amazing
 
11:15 PM
:D
 
what did you do in a warehouse (as a dev)?
 
I owned the shipping label printing software
I didn't actually work inside one of the warehouses
but I visited them to get a feel for the layouts, the jobs run, the people, etc
 
wow nice!
 
"Fuck the midwest in particular." - Amazon, probably.
 
That's a good idea, I did that with some of our customers for my software. Get an idea of how it will be used, when, and by who. That sort of thing. As a dev, it's hard to understand some of that without actually talking to users
 
11:20 PM
well, outside of Chicago, which is serviced by the Kentucky warehouses, most of the population is on the coasts
anyway, there's been apparently a huge shift in Amazon's priorities
 
Yeah of course, just thought it was funny to see graphically.
 
they used to position warehouses in low population states,
so that they could avoid sales taxes
thus the one in Kansas, and the one near Reno (just outside Cali)
but now that they've given up the sales tax fight, they're closing a lot of the rural warehouses in favor of being closer to major population centers
thus the new ones in the Bay area that didn't exist when I was in the dept 4 years ago
 
interesting, but I guess the money saved with the taxes doesn't balance out the cost of having to pay more for shipping
 
and thus the pending closure of the Kansas one
right, they're trying to optimize for costs
 
yeah when you're amazon you just gotta keep everything so optimised that you can still stay at your +-0 I guess
but they are making profit now aren't they?
 
11:26 PM
they never have made a significant profit
that have made money, from time to time, but nothing spectacularly huge, like AAPL
if they are making money, they re-invest it into the company
thus expansion costs outweigh any profits made
and the company continues to grow larger
 
How long did you work there, Carl?
 
6.5 years
 
ahh 'kay
 
4 years in Fulfillment, 2 years in FBA, 6 months in everything is on fire Kindle.
user image
2
 
xD
did you get the shirt?
 
11:38 PM
yep
:)
and with that, I'm out. Cya tomorrow people
 
laters!
hrm
I guess you were not in Amazon's British Army were you
 
well this is... funny?
 
Ahmad nice find
 
> Gaddafi was supposed to speak like every one else for 15 minutes. He went on for 96 minutes, at one point ripping a portion of a page in the United Nations Charter
 
11:48 PM
^^
The one when Bush had to go pee pee
>The Superbowl of diplomacy
Remember this?
 
lololol
 
Watch the other people quitting lol
 

« first day (1683 days earlier)      last day (3266 days later) »