« first day (2454 days earlier)      last day (2718 days later) » 

00:20
Test
Stop testing in prod Adam
Lmao
Lol
Tristan plz
Okay it works now. Wtf
how does this look
<3 YAY
00:32
Me: It's just like, everything is prettier
Adam: You're pretty
Me: Thanks babe
it's a shame you two a straight
yep I think I've def found my color
I've been revamping this for a month now
AGH designing is so tedious
Don't mind me I'm just over here fixing Tristan's shit
what do you think adam^?
beautiful
😊
00:49
L
01:01
Test
Sdfdas
Kitty cat
Hello, Android!
Hello CA!
@Ahmad a straight what?
@TristanWiley Happy Independence Day!
Happy Brexit 1.0!
01:06
Hopefully 2.0 is less violent
Bleep
I FUCKING HATE EVERYTHING
woot! I got something on the star board!
4
One disadvantage of mobile chat is that you have to click like twice to load the starboard, so I don't see it often.
Ohh
Wow now it works wtf
01:35
What is it? The ChatSE app?
yeah lol
nice!
Let me know when you are ready for some beta testing.
It's not perfect though. The messages are intermittently working. We'll sort it out later I'm sure.
Or alpha, even. I'm definitely interested.
Feel free to clone the repo and fix some bugs :)
01:37
I need to get a new phone, though. My current one only has 8 gigs of storage and like only 2 gigs of that is available for apps, which is really easy to fill up.
Emulator!
For actual usage, the emulator is less than ideal.
And my new laptop isn't cutting it with the emu ;-(
As for fixing bugs, I need to finish up some of my current projects before I take on something new.
especially the one that will pay $$$
@Code-Apprentice You should alpha test Chat Exchange too :D
Two chat apps?
Maybe we should combine efforts and make a single app?
and by "we", I mean all of you who are doing chat apps.
TheWanderer, Nathan, and I are making our own because ChatSE was dormant for a looong time
lmao truth
Also the Bob Marley kitty is lit
Also you guys should give wanderer's answer some upgoats. He found a way to work around an Android bug:
1
A: openOptionsMenu() will not work in appcompat-v7 22.1.0 or newer

TheWandererI think I may have actually found a workaround for this. It involves overriding the openOptionsMenu() method: @Override public void openOptionsMenu() { android.support.v7.widget.ActionMenuView actionMenuView = (android.support.v7.widget.ActionMenuView) mActionBar.getChildAt(2); actionMen...

@AndroidDev I wouldn't mind helping out but you guys move pretty fast and I don't have a ton of time recently to do so. I follow the repo and see emails going all the time.
Can I be added as a contributor or would you prefer I work via forks?
01:50
Hrrm. Depends on what you'd be interested in working on
What do you need?
Well Nathan is working on finishing the backend (we're not pulling in messages yet, something about cookies being difficult) but we would like to know how to implement swiping items on a recycler view to implement actions
We are pulling in users though
Why do you need a backend? Isn't the SE chat enough of a backend?
01:55
^^
@Code-Apprentice we need a websocket backend that connects to the server and does "stuff"
@AdamMc331 Do you know how to drag 'n drop items on the recyclerview too? Because we want that as well
why do you keep posting that image?
What image?
@TristanWiley This one
02:01
I'm not, I'm posting cat pictures lol
?
No you aren't
¯\_(ツ)_/¯
See? --^
Picture of me when I realize we've been tired of Dave's shit for years now.
4
02:16
lmao
What
Is that an upvote?
lmao
02:29
It's only the three of us here now
Hellu
I'm here too :D
Just the four of us
:p
@AdamMc331 Oh, thanks! Well, I'll see if I can do it on my own and if I just end up banging my head against the wall then I'll ask you for help :)
😀 Sounds good
@Code-Apprentice Now you got twothing!
02:43
@AndroidDev I see cat pics.
@Code-Apprentice You do? Can you screenshot?
I see them too
I love that unintended reference...
Wat. So why am I not seeing them?
Do you live in China?
02:48
No
Then I have no idea
US
But why the heck would the message text be mutated?
I have seen that "Image not found" pic before, too, but not sure what causes it.
Yeah, the same happened to me in the past
hmm...I need a better tool for cropping my screenshot.
MS Pain just isn't cutting it.
02:50
o/
Windows lack a quick way of doing this
and that is such an appropriate typo that I'm gonna leave it
on mac we can do command shift 4
lmao
I only noticed cause you said it
I love macs screenshot utilities
cmd+shift+3/4 are great
@Mauker use Snipping Tool
02:51
so do I
Built in
It is
but it's not as convenient
And *nix usually just saves the screenshot directly to a file.
okay...downloading gimp on my slowass internet.
Just use Snipping Tool!
Heck use paint
Snipping tool saves to file
And you can drag so you don't even have to crop
maybe I should go borrow the wifi at a coffeeshop. It's closed this late, not to mention being a holiday, but I can stand outside with my laptop.
cropping with MS Paint doesn't seem to work well.
It does not automatically resize the canvas.
and I'm not sure how to do that manually...if MS Pain will even do it.
02:55
Why are you ignoring my mentions of Snipping Tool?
:P
Easiest way
You don't even need to crop in the first place
snipping tool? I thought you were talking about mac. Is that on Windows?
Yes
I hate Mac
oic...I didn't realize you were making a suggestion.
@AndroidDev ^
02:58
Huh
Well then
do you see that one?
Let's just blame @TristanWiley
makes a breakthrough
giggles uncontrollably
Adam: uhuh
@Code-Apprentice So you didn't know about Snipping Tool?
03:01
idk if I ever shared this
but just incase
user image
3
Cmd+shift+4 for snipping on a Mac
Hotwiring an old car+reassembling a helicopter+cooking pasta for snipping on linux
ARGH
MY CHAT IS WHITE AGAIN
Racist
dies horribly
Oh, a refresh fixed it <3
03:12
lmao
So Raghav, how many people?
03:24
Haaaaaalp. Chat Exchange just crashed the JVM
@Mauker Yeah and it's not a fluke either. I can repeatedly get it to crash the JVM :\
And what's worse is you don't get a Java stack trace
Which line is causing it to die?
No idea.
I actually narrowed down the problem, but it was out of my hands to solve it
Are you by any chance working with SVG or other vector images?
Using Picasso, Glide or Fresco?
03:34
Yeah we are. We are using Picasso last time I checked
Okay, that's a start
Were are you getting the images from?
The SE chat webpages
Oh boy: I/DEBUG: bfe396ac b73bbd48 /system/lib/libskia.so
The chatroom icons
Hmmm
wait a minute
Do you have the url handy?
03:36
For the image?
Yes
No but I can get it shortly
Give me one sec
okay
Well it didn't happen for just one URL
I think the URLs are something like this: cdn.sstatic.net/Sites/math/img/favicon.ico?v=da
@Mauker I need to go to bed, but tomorrow I can try to get the exact URL for you if you're willing to continue the discussion :)
Oh, of course :)
03:42
Sigh
I believe that's a good point to start debugging
So Google screwed up somewhere?
IMHO it's better to throw a Java exception than to crash the JVM :D
Ohh boy
But without a Java stack trace how will we figure out what's causing it to die?
I narrowed it down by... using the app
03:53
At least I can repro it by doing the same thing
once I realized on which activity it was happening, I started to narrow it down
See? You have where to start
Hmm
Well I really need to go to bed :D
disappears
poof
Okay, back to my project now haha
Good night!
04:46
o/
04:57
o/
\o
@NaveenKumar Welcome! Please read, confirm reading, and follow the room rules before you do anything else: room-15.github.io
anyone used AndroidAnnotations along with the data binding library? Any issues I need to expect?
@DEEPAKMITTAL You need at least 80 rep, and a a:q ratio of 3:4 to talk here. Please see this link for more details.
05:11
@@ -3612,7 +1216,7 @@
 AboveApproachCount  49.00
 Close[BelowApproachCount + AboveApproachCount + 1]  42.78
 1170623.00 1020.00
-Short at  43.95
+Buy at  43.95
 -------------------------------
 BelowApproachCount   0.00
 Close[BelowApproachCount]  42.98
This makes absolutely no sense. I did not change the code to print Buy
err...maybe I have the wrong output from the most recent version of my code.
Oh the bot is alive
nvm...I was diffing with the wrong output
I LOVE KOTLIN
What are you shorting?
Anyone know how to read diff output? What do the numbers between the @@s mean?
@RaghavSood technically, this should work with anything. I am testing it against oil.
simulated, no actual money
05:18
@Code-Apprentice Length of output, and starting point
7 lines starting at line 3612 and 7 lines starting at 1216
I don't understand
I have read and understood the rules
2
The patch of text that differs is 7 lines long. the - number corresponds to the first of those 7 lines in file1. The + corresponds to the second file
So your 7 lines start at line 3612 in file 1
And at line 1216 in file 2
so the 3612 is the starting line?
Yes
The first line of the excerpt show should be line 3612 in the actual file
05:21
bleh, I posted that way before you typed your previous message. Got internet issues here.
Does the line count of 7 include the context lines?
Attempting to get the number 15 from
/rooms/15/android
If you can do it before I can, I'll be happy
racing, starting now
.*\/(\d+)\/.*
Isnt - deletion and + addition of lines..?
That's... not fair
We're looking at the stuff between the @
05:23
I didn't have a chance :'(
Thanks Raghav <3
The world isn't fair, Tristan
Also idk if that actually works :P
You can't beat skynet with regex Tristan
But it should be close enough
looks like it should work
nvm it works I'm perfect
05:24
morning room 15
You can actually skip the last .* though
second element == index 1
@TristanWiley Why don't you just split on the / delimiter and take the second element of the resulting array?
Regexes are more fun though
yah...I sent that second message first...
Although what C-A said is probably a better idea for actually using it
05:26
Ah, so split from the 2nd and 3rd /
Probaby a better idea
No, just split on / and then results[1]
yeah ^
Oh, right
Although I dunno if Java will go you can empty [0] since the string starts with a /
You may end up with ["", "rooms, "15"]
fkey.forEach { Log.wtf("OHFUCKYEAH", it.child(0).attr("href").split("/")[2]) }
05:27
In which case, results[2]
Ended up being my code lol
Yeah, [2]
Guess I know who I'm not hiring as a freelancer now
Now to clean this up lol
@TristanWiley So much method chaining! The best method chaining!
You could use it as a URI and get the segments.
05:29
Nope, I got it
Why do you need the room ID?
Yay :)
TL;DR parsing HTML for the ChatSE app
Why are you parsing HTML? They send messages over a websocket
You only need to parse it for history
@Mauker I was also thinking along those lines. Or using File to parse the path.
List<String> segments = uri.getPathSegments();
String id = segments.get(segments.size()-2);
or something like that
05:30
I needed to get the rooms the user was currently in
That's not passed over Websocket
(I also needed to get it before I got any websocket info)
Unless I'm wrong, then fuck
Fuck, or fuck it?
Just hit https://chat.stackoverflow.com/users/thumbs/<user_id>?showUsage=true&_=14992326‌​54634 and read the rooms part of the JSON?
Come on, Tristan. Do your research!
either one
or both
because you know...boolean logic
You'll get current room IDs, last message in each room, room names, and a bunch of other user info
I needed to get it before they joined a room. In theory I could've joined a random room in the background, but this was much easier.
I'll do that if they join a room on a different device
05:33
The array will be empty if they haven't joined a room, populated if they have
Nice one Raghav
If you're so smart why don't you do it :'(
Anyone want to come see a total solar eclipse with me in August?
I already occasionally remember to fix the bot, this stuff is on you
05:34
Where?
And what date? I'm planning on trying to stop somewhere in the eclipse belt on my way to UNC
It is on Aug 21
Working on "develop" branch
I'm gonna change this now
I was so proud of myself :'(
"user_message":"Android dev.\n\nFull stack web.\n\nKotlin lover.\n\nAdam \u003c3."
Lol
Oh damn
That's just a day before my classes start
05:35
What is your itinerary to get there, Ragh?
Well, that makes life harder
It will be in SC, so just a hop and a skip away.
I was thinking SIN->HKG->MUC->USA->RDU
Yeah, I guess I could stop by SC
I'll have to see now
Gotta be close enough to get back to UNC in time
I thought it was on the 18th or something
Fuck, how do we not get their userid yet
Why can't you just ignore it?
05:38
That is a very coarse grained map of it.
Hmm. Gotta find full eclipsed cities and then price it out
hmm...might hit Charlotte. And basically the entire US will see it, no matter where you are. Just the belt in the middle will see the full effect.
I need to keep my total trip SIN->RDU->SIN/DEL->RDU under $2700
I'm willing to bet that most cities are already completely booked
I'm willing to bet I can find at least one
If not, all those Southwest points will come into play
05:40
From what I hear, the hotels within 50 miles are full and at 10x the normal prices, too.
I still need to be located reasonably enough time wise
Eh, also not an issue
Points + free night certs
Raghav any way you know to get the user's id?
At what point?
05:40
@RaghavSood only if there is a room available...
I'm guessing you're logging in somewhere, so it's there in that response already
Just save it from there
I'll stay in a motel/airbnb/hay bale if I must
That's what I'm working on now, I need sleep
Morning
Morning
@RaghavSood bigger cities than where I live might have higher supply of rooms. This event will see many more tourists than typical for this part of the world, by several orders of magnitude.
Some nearby towns have city ordinances which restrict airbnb and such. They are lifting those restrictions for some days before and after the eclipse.
I'm kind of excited for it. Not just for the eclipse, but also to see an additional 100k+ people in a city of 50-60k.
05:47
When I'm logging in I can get it from the response body, but I wonder if it's anywhere else that's easier.
So much chaos. The best chaos.
For a fully interactive map, see xjubier.free.fr/en/site_pages/solar_eclipses/…
Last day of steam summer sale
@TristanWiley Why? You're already getting the response body. Why go to the effort of making another call to get information you already have?
Well the response is just the HTML page. So I'll have to parse the HTML to get the user ID. Unless I can somehow get the redirect URL
05:57
Wat
You aren't logging in with the API?
Not really no
hmm...partial eclipse starts at like 10:15 local time, and total eclipse starts around 11:30.
I'll have to be sure to be awake by then.
I'll wake you up when I stop by
k, just text me
05:59
Will do
tbh I don't know why he did it this way
he == Adam?
No, old Tristan
High School Tristan
Tolerable Tristan

« first day (2454 days earlier)      last day (2718 days later) »