« first day (1537 days earlier)      last day (3636 days later) » 

00:00
hey, who removed the unicorn?
we did after we changed the background from black to white
magic bought some stuff that supposedly tasted like shit
happened a while ago lol
I mean all alcohol tastes like some level of shit until you drink enough of it.
00:05
Wait... I'll change that to material and contribute later
Anyone object the use of AngularJS?
in Android, yes
Dave, the stuff I had tasted like shit no matter what level of fucked up you were
ah then yeah that's ass bourbon
@jyoon I'm not sure why you'd use any incarnation of JS in a native app, a mobile page yes, app no.
00:08
^ Don't touch!!!
lol
that's all for mobile pages though isn't it? I mean you don't use CSS you use android's xml
of course
i meant for the android room rules page
ah
makes way more sense
00:16
@vembutech Welcome. Please read the room rules and confirm you've done so. Thanks room-15.github.io
thanks @CODE
thanks @codeMagic
00:36
You're welcome
You know, @CODE, @code, @CoDE all ping me? ;)
01:02
Technically, even @cod should
You can be our resident Magical Cod :D
Do you give out prophecies?
Haha...yeah, I wasn't giving a complete listing of possibilities...just enough so he'd get the idea :P
I can give out prophecies, sure. Believe at your own risk
3
lol
01:36
doing some material animations tonight :P
I'll be doing some stuff with the new toolbar
oh and have I already mentioned? It's awful ;-;
I think it's a big improvement
At least it's a real ViewGroup now
I could convert my "Roll your own" action bar into it just by changing it from LinearLayout to Toolbar
getting the preview to look right will be the next step
but it's such a clusterfuck
everything is so mixed up
and especially getting the drawer layout to look nice and not entirely screwed up
hmm
I'm ditching the navigation drawer
everything is going to flow in and out from below the ActionBar
I can't :/
my app depends on it
01:43
design it out :P
I just designed it in! lol
and it actually does look nice if/when it works
yeah I'm just teasing you lol
I'm taking inspiration from square's minimalist design
from the square cash register?
yeah
order is similar
haven't checked it out since it's blocked in germany
it's still US only right?
01:46
not a big fan of the circular reveal though
you should be able to get the apk and install it
Heyyy Ahmad
but don't you need an account or a square thingy to actually run the app?
yooo ccinc!
what's up?
I've got this really really annoying math/android problem
I'll give anyone like $10 to find the bug.. it's just geometry
I've been working on it for like 3 days now
what's the bug lol
the code makes something like this:
01:54
I think you'll be able to create an account at least
I'll give it a try eski
really curious to as their app looks
it must be smooth as f
without memory leak and all
yeah I don't use it, just installed it to check it out
I spent the whole week of christmas working on material design with my brother
@CC
you want the vertical lines to follow along the smooth line right?
yeah
There's just some little math error in my code and I can't find it
I thought you were still typing lol
I didn't see that the curve was a bit off
my brain is mashed though, but let's see maybe I can find something
I think I see it
if they were all perfectly vertical lines they would intersect correctly, but because they are rotated they don't, and they need to be adjusted
wait I guess that's not it
02:11
This might better demonstrate the issue:
		for (int i = 0; i <= 15; i++)
		{
			float x = i * xscale / 5;

			float[] pos = { 0f, 0f };
			float[] tan = { 0f, 0f };
			float length = arcPath.getLength();
			arcPath.getPosTan((length / 2) + (i * length / 7 / 5), pos, tan);
			canvas.drawPoint(x, pos[1], tuningLinePaint);
			canvas.drawPoint(-x, pos[1], tuningLinePaint);
		}
The dots should match up exactly with the line, but they're off by a little
ok
I think it's this part: (i * length / 7 / 5)
try (i * length / 30)
err
(i * length / 32)
Might not be exactly what you want, but I'm pretty sure the problem is that your x doesn't match perfectly with your point along the path
Yeah.. but I'm not sure why because I'm dividing both of the lines by 7, so they should be proportional
well why don't you just use the pos[0] coordinate for your x?
That's the coordinate for the x on the opposite side of the circle
arcPath.getPosTan((length / 2) - (i * length / 7 / 5), pos, tan);
^ use that to get the left coordinate
or reflect from the middle of the view, either way should work
02:26
ohh
that's dumb :(
well here's my last shot in the dark
make all those ints you are dividing by explicitly floats
otherwise I am stumped sorry :(
thanks for trying :D
I just tried your code on my phone and it works fine lol
but my phone is also 1920x1080 resolution so a rounding error wouldn't be nearly as visible
02:42
weird.. hmm
Wow I've really fallen out of practice with the very little german I did know
did you try using 7f, 5f, 2f, instead of 7, 5, 2, etc...?
25
Q: noob: Why divide always produces 0.0 float/integer problem?

Arif DriessenSo if I have a range of numbers '0 - 1024' and I want to bring them into '0 - 255', the maths would dictate to divide the input by the maximum the input will be (1024 in this case) which will give me a number between 0.0 - 1.0. then multiply that by the destination range, (255). Which is what I ...

No, that didn't help :(
02:58
bummer sorry
@CCInc Mail me a test app 'bout this? I can take a stab at it. Did a whole lot of trigo math when writing the book
Email's on my profile
@RaghavSood Sent - thanks a bunch!
Woah still on Eclipse?
-1
A: Variable Value Passing to another Form, VB.Net

Robert CottonWhat You Need To Do Is Create Your Variables In A Module As Private Then Generate Some Assessors for Them Example Module modVariables Private strUserNoSTR as String = New String(String.Empty) Public Property getUserNoSTR() As String Get Return strUserNoSTR End Get ...

Just came up in Low Quality queue
Is there a better IDE?
Oh.. android studio I guess
I tried it, I didn't care for the code editor
03:11
I feel like we've had this discussion before ><
03:27
I feel like there should be a reverse iterator :|
for (Object obj : objects.reverseIterator()) { ... }
makes that: for (Object obj : objects.reverse());
guava is a great basic extension to java
@MousaJafari denied for now. Give some more quality Android answers and request again
@MousaJafari ^
@MousaJafari codeMagic has given you a task, please obey his greatness.
:D
It was a very simple task, too
@MousaJafari I am quite happy in this room. I don't care to go to Android A to Z but thanks anyway
Good thing I took my blood pressure medicine already today
03:43
@CCInc Looks like the problem is with your calculation of the X coordinate. By adjusting that, I can get it into a more or less matched arc, but it still doesn't correspond completely
uh oh
it's best not to anger the great codeMagic
who knows what will happen
Yeah eski but I already hit the 65k method limit and everything fell apart.. I'm scared to add more libraries now :P
I figured Guava would have it, it is pretty amazing :(
well at least multi dexing is much easier now
I managed to get back under 65k by dropping the old "everything" support library and only using the one we wanted.
we were dealing with it and used facebook's solution, and it seemed like it was the next day when they added support
03:46
Urgh for some reason not really for us. Multi-dexing totally broke Dagger, I think?
oh, yeah I can see how it might do that
Or... something. I can't remember what, but it couldn't find a class very early on in the app startup.
@RaghavSood My logic is that by dividing the width of the arc and the length of the arc by the same number, I can get the x coordinate where they both are split evenly. I'm confusing myself just talking about it..
04:05
It's a pretty sound logic, except you'd probably have more success by taking your radius, the same starting point, rotating the canvas through 12 degrees every iteration, and taking the perpendicular up from the point to the length of the radius and drawing a line +/- tuner length from there
If you keep the same radius, every rotation will get you a point on your circle
From there, draw one half of the line going up, and one half going down
It'd probably come out neater
04:19
Ah, good idea
05:17
morning
06:15
morning o/
06:34
Yo People!
o/
Yo Ahmad-sama ^^
06:49
yo yo
I don't know how many times I've already watched this, but it's amazing
for anyone who has not watched Revolution OS, you should.
Downloading now...
07:40
Any cool domain name, you want to suggest ? It should have a word "baby" including some programmers terms, Like babydev.com or babygeek.com . :P
07:59
babydoll.com
08:35
babydroid.com
droidbaby.com
08:48
lol, Drone
Strider, Thanks . Let me check it's availability
09:08
@TheLittleNaruto its avaiable
Yes Checked already, waiting for 1st Jan ;)
@TheLittleNaruto nice
09:57
http://www.hardbaby.com/
because software development is hard
6
looks like it doesn't exist yet
10:13
guys - if I need to work on some projects that are still with gradle 0.14.x plugin (some people on team still use IDEA) - how do I setup things not to modify build.gradle and gradle wrapper ?
11:06
.gitignore
use that and put build.gradle in the ignored list
11:49
this is totally not-applicable
looks like there's no valid solution for this so far
soon IDEA should release version with 1.0.0 gradle plugin support
whan IDE/editor to use for editin C/C++ code while writing stuff for Android NDK? AS doesn't provide proper syntax highlighting and code completion (((
P. S.: OS X
12:22
rawr!
o/
Almost 2015!
exactly
hehe
oh you will be seeing it a bit before I do
:P
In 30 mins :P
oh crap
D:
2015 LUX
lol
12:25
got your drink ready?
nah alone watching a documentary on gangsters
/me only has 2:26 PM
hell yea
glitch gangster for 2015
lol
Lol at the initiation into this major gang
whats your rank in the gang
12:33
Remote spectator apparently :P
Why would I ever want to join a bunch of insecure thugs
to boost their numbers
and be a drone
12:45
aren't we all just a bunch of insecure software thugs, congregating in a chat room, complaining about the other gang - the android sdk?
You have a very loose definition of 'thug'. :P
somehow I can't add github.com/JakeWharton/hugo to project 0o
13:04
ahaha
getJniResizedBmp [1498ms]
getResizedBmp [443ms]

NDK sucks :)
or it just that Bilinear Interpolation is a really high-quality thus time-costly algorithm
btw Jake Wharton's hugo is goood
13:40
o/
13:56
Morning
morning
14:11
o/
hey there ahmad
14:43
\o
14:53
Hola folks
yo nathaniel
heh
truth
happy new years eve to everyone
Indeed, I was there some years ago
was pretty amazing
ty to you too!
15:00
oh you mean about the github thing Rag?
shit you can't even access github anymore raghav?
how's that going to help someone? lol
but iirc russia banned github as well
because of a suicide copy pasta someone posted into a repo
@RaghavSood I guess you're going to have to use Bitbucket then! :P
The websites that have been blocked were based on an advisory by Anti Terrorism Squad, and were carrying Anti India content from ISIS. 1/2
They managed to unblock GitHub, thankfully
Plus, I'm on a VPN anyways
glitch doing his atlassian propaganda
lol
15:07
=/
So stupid
ahh they blocked pastebin.com
huh
15:20
Ooo removed!
What was it?!
@Ahmad They don't pay me to do it unfortuantely :P
damn auspost apparently don't deliver on 2nd Jan
I hate waiting for packages
15:39
@NathanielD.Waggoner it was posted mistakenly same link which is already here chat.stackoverflow.com/transcript/message/20721329#20721329
 
1 hour later…
17:15
o/
happy new year, to those of you already doing such things
\o/ to you too carl
you should go by the unix timestamp though
17:37
Really fascinating article: The wreck of the Kulluk
17:49
NY is coming!
7:49 PM already
not even ten in the morning here yet
Trover discovery of the year:
Heh kinda hard to chat ±5 min of new year UTC
18:06
Who does celebrate NY the first? Japan?
Does any of west coast of America have +12 timezone?
no
not even Hawaii
18:27
damn.
that pic looks awesome carl
yeah it does
it's from here: trover.com/d/…
user457812
18:39
Nobody should ever have long-running node.js processes
user457812
Holy crap the memory usage on those things
Happy New Year Android
I mean it's 12 hours too early here but you get the idea
19:10
what a bunch of grumpy assholes
I said hi damnit.
19:46
sup Dave
happy new year ya fucker
sup Carl, it wouldn't be the New Year if I didn't hear you say fuck in room 15.
so this happened 100 yards from house fox10phoenix.com/story/27734439/2014/12/31/…
20:04
I didn't hear the shot, was out getting a pack of smokes when I think it happened or had my headphones on when talking to China. But when I was playing on my xbox one when I thought I heard cats fighting or a lady screaming. Muted it, didn't hear anything, started playing again, heard it again, muted it, no more screaming. so just ignored it.
now I feel kinda bad.
but idk what I woulda done, not like I own a gun.
well I do but not at my house.
Roommate has one though.
by then it was probably too late
yea
My New Year's resolution for 2014-54-12/30/14 Dec:12:1420001642 is to learn these stupid time formatting strings.
2
20:24
I'm off to a friends house. Wish you all a happy new year!
later ahmad
21:17
@MiguelRochefort normally we only allow people with a decent number of Android answers in here, but you seem to have decent Windows phone experience. Your request for access is granted, please read the room rules
Well my half day is over. Later all, enjoy the end of 2014!
cya Dave
21:35
Oat is op
user457812
Huh, apparently India wants github.com blocked?
more like India is bad at blocking
They blocked it, got shouted at, unblocked it
user457812
Smarty smart peoples.
22:48
o/ Finally home from Vancouver! Off to the pub!
 
1 hour later…
23:54
is it nearly 0 utc now?
hmm my hat
should arrive
hat?
or mistletoe?
I think it's hat time...
yea
I'm sure it'll take a while to process...
another hat for starring
23:58
yea
Rumor is that it has to be starred... Weird...
Wait, that's different hats... Sigh.

« first day (1537 days earlier)      last day (3636 days later) »