« first day (1946 days earlier)      last day (2984 days later) » 
00:00 - 23:0023:00 - 00:00

12:00 AM
I believe you would. And thanks but you don't need to send me anything
 
Aww okay :P
 
12:31 AM
@mcwise Welcome! Please read our room rules before participating.
 
12:49 AM
Weeeellcooomeeeee
 
I'm exhausted I feel like I'm gonna fall asleep here on the couch lol
 
Awwe :P
 
I have read and understood the rules.
 
\o/ Welcome! How are you?
 
Actually I wanted to invite someone to a chat to further discuss on a question but then I found this Channel
I'm pretty good but tired :o
 
12:52 AM
This is a fun place.
Yeah I'm exhausted too but I'll do my best not to fall asleep or disappear during our conversation. What are you working on?
 
I helped someone with setting up an onClickListener for a button.
 
Oh nice.
 
did you ever use an overlay Fragment as the main Navigation method for your app?
I am doing so at the moment and the state-keeping and managing the overlay, the content fragments and the hosting activity is driving me insane
 
Hmm I haven't done that yet.
 
What kind of Navigation do you usually offer?
I kind of figured this out for myself so I'm sure there are better ways :)
 
1:04 AM
4 entries in my personal journal
wow, I'm actually doing this
 
mcwise your name is going to confuse me. Mc this, mc that :P
 
he's a rapper
let him rap
why you take the man's creativity tristan
mc wise
dropped the dopest mixtape last year
where do you even live tristan
 
You know where, we're going to hang during the summer
 
you know it
you can also come to visit me in NY
I will probably get a dope place
from the millions MS is paying me
💵
 
I probably will, but you really can come down here. Stay for a weekend, week, month.
 
1:12 AM
💰
 
Honestly you could spend the whole summer
 
LOL
I have to work dude
can't just disappear for a month
 
I know :P
DUDE
ASK IF I CAN COME TO WORK WITH YOU FOR A DAY
No joke
 
I don't think that's possible, most stuff is confidential
:/
 
That makes sense, just be like "He'll sign an NDA and is my son"
 
1:13 AM
LOL
I will ask
 
Thanks <3
 
k it's late
gotta hit the bed
night man
 
K
Seeya pops
:P
 
😂
 
Just found Emoji? lol
I has picture
 
 
1 hour later…
2:27 AM
^ looks like a member of the beatles
 
2:59 AM
Guys, I need help.
 
3:22 AM
I thought I accidentally deleted my app project, then I realized I'm not @McAdam and I found it.
 
4:08 AM
the top comment on the reddit thread about that study seemed to poke holes in it.
I didn't look into it myself
their dataset is from a single day only
 
 
2 hours later…
6:37 AM
Yo o/
 
 
3 hours later…
9:16 AM
o/
 
9:40 AM
@TristanWiley it's easy I'm an MC and McAdam is a biblical figure
 
 
1 hour later…
11:06 AM
Who's still up?
 
11:22 AM
<-
 
11:37 AM
o/
 
\o
 
12:33 PM
o/
 
1:10 PM
:)
 
 
^
 
WTF! took almost 2 days. Is that your's ?
 
no, i found it on internet
 
Aah.
 
1:46 PM
but still they take quite time, whole ram and 100% cpu
 
Haha, that's really true.
:D
So, where are you from Gudin ?
 
croatia
that's in europe btw
 
Owkey.
 
u from usa?
 
@Gudin HH Android?
 
1:50 PM
idk i found it on internet
 
aah k
I saw the same image in a Facebook group
 
Noo, am from India. btw What made you think that am from USA?
:D
 
chopper
 
I love combat-vehicles. that's all.
Especially , air combat vehicles.
Especially, The AH-64.
;)
Especially, The AH-64.
;)
 
i was showing video of my hometown to other indian guy here (TheLittleNaruto)
and he was impressed
 
1:53 PM
:) Baby Naruto
 
@Gudin Are we in the same Facebook group? hahah
 
i saw that photo in facebook group
ahmad too
but it is national android dev group, and the guy said he found it somewhere
 
Haha yeah I'm FB friends with the person who shared it apparently. I don't really know him though, so I'm not sure why I'm friends with him lol
 
wait, what group are you in?
 
HH Android
@TristanWiley:
 
1:59 PM
what's HH stands for?
 
Hackathon Hackers, it's a giant FB group for a bunch of people who go to hackathons and stuff.
 
you didn't see r/shittyaskscience before?
 
nope lol
 
Anyone familiar with Volley?
 
2:13 PM
That's enough to get you started
 
We already got started
But for some reason there's an arbitrary GET request that we aren't making
 
lmao Mauker
 
But it's hitting the server
 
Retrofit4lyfe
 
2:18 PM
@OnurTaÅŸ This room requires 100 rep for access. Request again when you get there.
 
60% download to install ratio is insanely good right?
 
@Rahul This room requires 100 reputation for access.
Yeah that's pretty good.
 
also @ROs I unpinned this
15 hours ago, by Dave S
holy shit JMR said something and it wasn't a problem with his code \o/!
I don't consider this as pin-worthy
 
Haha, I never saw that. Not pin worthy, but definitely funny haha
 
2:40 PM
what's the fuss around EULA/ToS/Privacy Policy and when are they really needed?
 
3:06 PM
Definitely not pin worthy but yes funny. It was probably Mac :P
And, good morning o/
 
3:41 PM
Ha, good read, Mac
 
\o
 
So true some of the open source maintainers are f***ing pricks
 
lol yeah
 
3:59 PM
 
@immortal_soul write access here requires a min 100 rep and at least a 1:1 A:Q ratio room-15.github.io
Give back some more and request again when you get there
 
@codeMagic I know you don't want us to ship you stuff, but I might just have to buy this for you: store.explosm.net/collections/showcase/products/…
 
Haha! I would accept that
 
I am buying myself C&H bottle opener, but I'm looking around to see if there's anything else I need lol
 
I need that plush for my office :)
 
4:09 PM
yo o/
 
And I'm not against getting stuff; I just didn't want Tristan to look around for something just to send me something :P
yo, Mange
I'm still looking around for an actual rubber duck for my office
 
This is the message C&H shows when you go to purchase
 
Lol!
 
0
Q: How to upload a file in Android from mobile to php server?

facebook-100003539324701How to upload a file from mobile to server i tried this androidexample.com/Upload_File_To_Server_-_Android_Example/index.php?view=article_discription&aid=83&aaid=106 and not working The Problem Finally Solved :D JUST ADD this lines now the code work correctly because i modified it have fun eve...

cM, there goes Main thread
 
I want to send you something now cM
 
4:22 PM
Oh my, Een
Send me a new body because I think this one is broke this weekend
And head
But it needs to look like mine because mine is purdy
 
Hmm... How about no
 
Damn! Mine isn't doing too well today
 
Hmm, time to code. Actual hard stuff. Sigh
 
I am sick
 
I am now watching a YouTube Red Original Movie
 
This actually looks really good, based on the first 10 seconds of the intro
 
@McAdam331 how many people are organising your hackathon?
I think HackBerlin is happening
I registered twitter.com/hackberlin so far.
so you know it's happening.
 
Lazer Team
 
@Ahmad We have like just under 10 people who are helping regularly lol
 
we're only two so far
I might get some friends on board though
 
4:43 PM
When my parents open my door and don't close it.
 
The Youtube Red Originals looked horrible to me
 
And then you realize it's their house and they can do whatever in the hell they want :P
 
eski it's not awful. It's movie quality, just a cheesy movie.
 
I wasn't talking about the picture quality
 
4:46 PM
I wasn't either
It's movie quality acting, production, etc.
Like, if I didn't pick it out I wouldn't be able to tell it was from Youtube
 
ok
Going off the titles alone: "Scare Pewdiepie", "Lazer Team", "A Trip to Unicorn Island", "Dance Camp", I'd say they are all targeted to 10 year olds
 
I'm watching Lazer Team, pretty good. The rest are all... idk
So, okay. I'm trying to add notification support in my app for xkcd. I have an API I can get the latest comic with (or any with a number), an RSS feed, and Atom feed. The only way I can think of is a PHP script on a cron job. But is there a way to like, listen for changes in an RSS script or something?
 
5:23 PM
well you know that xkcd comics get only published on friday and tuesday (I believe?)
 
Yeah, unless there's a significant event I think
> xkcd.com updates without fail every Monday, Wednesday and Friday.
 
you can just feed the xkcd feed to feed burner and than hit that every 10 minutes
because feed burner is from google
 
And they won't care? Lol
 
and you can't ddos google
 
5:27 PM
yeah they won't because it's meant for exactly that
I'm totally serious here tbh
 
There isn't a way to listen for feed burner changes?
 
xkcd is a rater small site
hmm maybe there is?
 
Yeah, I'd feel really bad considering Randall is my hero
 
no there is no api from feed burner
next hackathon project
create a smarter rss thingy
with notifications
and stuff
 
Hello, Android!
 
5:32 PM
Ahmaddd how do I do this?
 
You know that feeling when you are going to make an app, you have it all planned in your head and you know it's going to be long journey and then you click File -> New -> New Project
 
Is there a clear question/problem and I'm too sick to comprehend and should go back to laying down? stackoverflow.com/q/35382908/1380752
I think it's a well written question. I just don't think it is obvious of the exact issue. Maybe I'm wrong
Guidin, yes it's a great feeling. Unless you don't have any of it written down on paper or a whiteboard. Then it's like, "Ok, wtf was I going to do again?"
 
well guess what i don't have anything written down
and i'm going to do it
 
Very true
I have this feed. How can I get the XML to ping?
 
5:36 PM
i got most of it in my head, i already built rest service and db, and i tested some components in separate projects
 
Maybe it's just me who feels that way when I start a project. But I need something to reference usually
 
@Ahmad I'm so confused, help
 
@TristanWiley just do the cron job thing
 
On the feed burner?
 
yes
 
5:37 PM
But... it's not xml
And what
 
I think the thing that is confusing you is that the feed burner feed doesn't look like xml
it is though
 
How does this even work? Does the burner ping xkcd.com? Or what?
 
it's not xml if you look at it in a browser
wait
 
Ohhh
Does feedburner listen for changes on the XML?
 
I'll show you
 
5:38 PM
Thanks <3
 
see? this is xml
now just parse it
 
Yeah I got it
Oaky
So should I get the latest date and save it to a file and compare it to the last one? Or the url?
I mean, all I need to do is see if there's a newer comic and just send a notification to the device saying there is, then the device will fetch it
 
I'd say do this:
just a min
 
ah okay, so
 
5:50 PM
@codeMagic I think the OP doesn't know basic OO concepts, like constructors and setter methods
 
do a HEAD request, see if "Last-Modified" is different than the "Last-Modified" value you saved in your previous request, if yes then fetch the entire feed and look for the first item
if the first item's link is different than the one you saved previously then it's a new comic
 
Otherwise the website got updated or something
 
unfortunately the feed does not have any unique ids except the urls
 
From what I saw, I thought the OP could just send the data needed through the Intent. But maybe my head is too messed up right now to comprehend :P
 
Alright, then I can just send a GCM to the device saying there's a new comic and it can make a request and get the latest comic and show a notification
 
5:52 PM
yep
 
Sweet
Now to write PHP, which I hate
Jan 6 at 20:46, by Tristan Wiley
No, PHP sucks
 
wow you're going through the exact same stages that I went through
 
hate and then acceptance
 
I'm running it on my namecheap shared hosting... so yeah
Only can use PHP
 
what else would you use?
 
5:54 PM
Literally any other language than PHP
 
@codeMagic yah...I just saw that actually. I have never written a BroadcastReceiver, so I didn't think of that at first.
 
For smaller projects PHP is the best
 
@TristanWiley even Perl?
 
PHP isn't good for anything except complaining about
 
for one-file projects php may be easier to set up
 
5:55 PM
Feb 25 '13 at 1:18, by Ahmad
Does Someone here have experience in php?
Apr 2 '13 at 20:52, by Ahmad
Ok.... I need to learn php. I want to be able to do something like this as well :D
 
you know for phpsadness ?
 
Jun 17 '13 at 1:24, by Ahmad
Wow. Parsing XML is so easy in php.
Jul 23 '13 at 13:24, by Ahmad
Php is awesome. Yeah kill me for saying that
 
yup
 
5:55 PM
Feb 16 '14 at 18:27, by Ahmad
Ugh I have to work with php :|
in Teenage Programmers Chatroom, Feb 23 '14 at 0:20, by Ahmad
Used to do php, but now I'm all over python
Oct 23 '14 at 7:15, by Ahmad
php is horrible
 
Ahmad we need to call sometime
 
the evolution
 
Yesss lol
 
tristan you're copying my life
2
I started the same age as you did
 
user image
5
i like how php is the orc
best description
 
5:57 PM
Ahmad we need to call later
 
that's what it deserved, really
it's, like, the combination of C++ and Javascript
shooting yourself in the foot without even realizing it
 
sorry dude I have way too many exams
gtg
laters
 
It's cool lol, ttyl
 
cya
 
 
1 hour later…
7:01 PM
if anybody is ever taking a systems architecture class then you gotta watch these lectures from UCB:
everything is starting to make sense
 
7:22 PM
Anyone know how to upload files with Volley?
 
I remember taking similar classes. Those videos look really good.
 
7:50 PM
@RaghavSood are you using volley with okhttp?
also, raghav, step up your game, volley is so 2013
 
Ahmad I can't figure out how to do this in PHP
 
what are you stuck on?
 
I mean, I can get the content... kinda. I can't get headers
All I'm doing now is...
$raw=file_get_contents('http://feeds.feedburner.com/xkcd/xkcd') or      die('Error Connecting to Resource');

echo $raw;
 
oh noooes
 
@Ahmad I don't think so. I'm not handling the Android side, my team mate is
 
7:54 PM
pls don't use file_get_contents
 
But we're using Volley
And Tango
 
lol what do I do
 
use lib curl
45
A: PHP cURL retrieving response headers AND body in a single request?

SkaccCurl has a built in option for this, called CURLOPT_HEADERFUNCTION. The value of this option must be the name of a callback function. Curl will pass the header (and the header only!) to this callback function, line-by-line (so the function will be called for each header line, starting from the to...

 
I also tried a curl thing in PHP but it gave the same output
Hmm okay
I have to go out and shovel in -1 (with a -27 degree wind chill) Fahrenheit weather.
 
@RaghavSood tell him to configure volley with okhttp:
13
Q: How to implement Android Volley with OkHttp 2.0?

JohnRockThis OkHttpStack is no longer supported in OkHttp2.0: https://gist.github.com/JakeWharton/5616899 What is the current pattern to integrate OkHttp 2.0.0 with Volley?

just a few lines
and a gradle entry
and then use the snippet I posted ealier
 
7:58 PM
Ahmad now I have this xkcd-check-tristanwiley.c9users.io so I can just get the Last-Modified element and store it, then compare it each time?
 
exactly
 
Yay :D
 
:)
 
How would you recommend getting the Last-Modified element? String manipulation?
 
no look into the link I posted
lib curl takes care of everything
 
8:06 PM
Like, built in curl library for PHP?
Sorry, slightly confused
 
oh you still using file_get_contents? then I believe you need to parse it yourself
 
No I'm not
The answer you sent me on SO
 
okay wait
how did you get the header in the first place?
with lib curl or file get contents?
 
I'm assuming lib curl?
I basically copied the code in the answer you sent me
 
aaah k
okay so in the answer there is a parameter you can set for getting a specific header
 
8:14 PM
CURLOPT_HEADERFUNCTION?
 
curl_setopt($ch, CURLOPT_HEADERFUNCTION, "HandleHeaderLine");
yeah this
 
Okay...
What am I supposed to put where?
 
@TristanWiley instead of "HandleHeaderLine" you put the "Last-Modified"
and you should get the value for that key
 
8:33 PM
@Ahmad I get
Warning: curl_exec(): Could not call the CURLOPT_HEADERFUNCTION in /home/ubuntu/workspace/index.php on line 12 Call Stack: 0.0007 240928 1. {main}() /home/ubuntu/workspace/index.php:0 0.0011 242344 2. curl_exec() /home/ubuntu/workspace/index.php:12
 
hmm that's werid
sorry have no clue about php
that's why php sucks
 
Agreed
But I have no other choices
Well actually, Ruby on Rails works on Namecheap Shared Hosting I think
 
What are you trying to achieve Tristan?
Are you trying to read the given URL?
 
8:37 PM
Detect when there's a new comic and send a GCM to devices for a push notifiction
Aka read and parse this RSS on a cron job, detect if there's a new comic, execute Curl command to send GCM
Someone help meee
@Ahmad I think that PHP script is only supposed to return ALL the headers
 
9:18 PM
I got it working, now I need php help in general lol
 
 
1 hour later…
10:21 PM
o/
 
10:42 PM
o/ Adam
 
How're you, Luke?
> Anyone can write code a computer can understand. True developers write code a human can understand.
 
10:58 PM
Hey Adam
 
Shit he found me.
 
Tristan what the hell are we working on at MHacks it's less than a week away
 
Want to call and discuss? I'm off of school this whole week.
 
You can message me right now but no call
 
10:59 PM
Design lab?
 
nope home
 
00:00 - 23:0023:00 - 00:00

« first day (1946 days earlier)      last day (2984 days later) »