« first day (1630 days earlier)      last day (3333 days later) » 
01:00 - 18:0018:00 - 00:00

1:00 AM
Was going to be displaying a spectrum tonight, but I've gotten distracted with how time is handled in my code. Milliseconds here, seconds there, nanos there... constants such as MILLIS_PER_SECOND, etc... all over the place, ad-hoc conversion. Yuck, so I'm fixing that.
 
 
2 hours later…
2:40 AM
That was totally worth it. Here's a before/after of just one line that got improved by creating a class to handle time:
-      samplesPerSecond = (NANOS_PER_SECOND * totalSamples()) / duration();
+      samplesPerSecond = (int) (totalSamples() / duration().secs());
 
 
2 hours later…
4:47 AM
mmm, Wild West…
 
5:13 AM
I'm kind of a fan of the Wild West. But I live in Arizona.
 
5:36 AM
Yo People
 
 
2 hours later…
o/
lol nice
 
8:07 AM
o/
 
8:45 AM
\o
 
9:00 AM
guuuys... does IntentService's onCreate run in a different thread than onHandleIntent??
 
9:26 AM
I think onCreate is called on the application's thread and onHandleIntent on a worker thread created by the intent service (grepcode.com/file/repository.grepcode.com/java/ext/…)
they aparently don't run in the same thread
 
10:02 AM
yep
that sucks
Even more: worker thread is not always the same
 
 
2 hours later…
11:37 AM
First!
Good morning!
 
Good morning, nana!
 
Mid-day to you too.
 
morning Sensei!
afternoon Sarge!
 
I finally saw the Android Watch IRL yesterday and I have to admit I liked it a lot.
Hello, Naruto-kun.
 
My roommate has one too, Moto 360. It's really nice.
 
11:49 AM
It was The Moto360 and if it was the LG watch I think I'd have bought it on the spot.
 
LG is better, I guess.
 
they have a dumb rooting policy, though
 
LG G Watch R is the one I like but it's already 6 months old.
Nexus watch R would be nice to have ;)
 
if you root a LG phone and later want to apply an update, you are (usually) out of luck
and there are other issues in firmware, but the hardware is cool, indeed
 
I hate things like that, that's why I switched to Nexuses and then OnePlus One.
I believe that if I buy a device I own it.
 
11:55 AM
yes, this is a good thought
too bad most people don't know this
(otherwise, they wouldn't use iPhones…)
I chose LG G3 only because it's the best screen (and xxxhdpi is nice to have when testing apps), and the screen is not even flickering (most devices suffer from backlight flickering caused by low frequency PWM) — for me flickering is deal breaker
as far as I know, AMOLED means there will be flickering
and Nexus 6 uses AMOLED
if I could test it before buying (here, in Russia), maybe that would change my decision
by the way, if here are guys with Nexus 6, could you test it for flickering?
(to do this, basically follow the instructions given here: http://hardforum.com/showthread.php?t=1646980, also sometimes flickering can be detected by looking at the display with a photo camera in live view mode)
 
12:11 PM
I also saw the Galaxy Note Edge, and I have to say it is very cool.
 
@nana last week I bought lg g r for my brother
I think it is better than moto360
 
Right? Do you have android watch?
 
I also own LG G watch R
 
I know I don't need it, I am happy with my Casio's but it was nice to play with it and Maybe I could write something for it.
Good?
 
I like it, yes
 
12:22 PM
How is the battery life? Do you use it daily?
 
written Android apps for my watch = 0 :D
 
No, I do not. He was interested, so I bought him one here, since, it is a little bit cheaper. I really like how watch "seat" on the hand
 
Which function do you like which not.
 
battery life = 2 days. I'm using it every day
step counter - most useful for me
motivates me to walk
 
yeah, battery life for lggr is great.
 
12:23 PM
Does it vibrate?
 
without car :)
yes, it vibrates
 
also, hr monitor is useful
 
So it could be used as an alarm?
 
of course it can
 
Heart rate would be cool too
Does the display look pixelated? What is the resolution?
 
12:25 PM
I think it is 320x320
 
I could probably make a casio face for it :)
 
best thing about lggr is that it look like a normal watch
 
It seems to have a simmilar frame
 
I am old school:
http://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Casio_F-91W_5051.jpg/640px-Casio_F-91W_5051.jpg
 
Ok I bought them :D
Fuck, I am way too trigger happy.
Same day delivery, yay for Amazon
 
12:30 PM
you bought what?
 
'Lg G Watch R W110 4gb 1.3"
 
How much did it cost you Sensei ?
 
$270 ish
 
they must be taking a little more as they're delivering the same day
I see.
 
you bought more than one, since, you said "them"
 
12:33 PM
Oh, I keep making that mistake. In my language watch is uncountable plural ;)
I only bought one watch, I paid $275.89
 
yes, you can tell that you bought one for your wifi, we won't laugh :)
 
yes, it's like a normal watch. but with few interesting addons: 1) notifications from the phone 2) weather (I have weather watchface also, which shows me the weather directly on home screen) 3) steps counter
other stuff isn't that useful
I'm not sleeping with watch at night
 
My wifi really liked it yesterday too, but I can't imagine her wearing it. I think they are still way too big for female hands.
 
and it looks very nice
you mean "your wife" :)
 
Fiiiinally moved Lux over to Android Studio
 
12:36 PM
i have small hands, and it is perfect
 
About time, Glitch.
 
lol
 
how is that casio pro tek?
 
Now rewrite it in Kotlin
That Pro trek is absolutely amazing!
I researched and researched for weeks and this is the ultimate winner.
 
how much is that one?
 
12:38 PM
Good morning, folks
 
Turns out the easiest way was to create a new blank project, copy over the src/res/manifest files, grab all the libraries for Gradle, then when everything worked copy over the existing .git directory and run git add -A to track the new structure.
 
\o cm
 
o/
 
Solar charging (power forever), 3 sensor (compass, baro, temp, alti), worldwide radio sync,
 
Did you try the import feature, Glitch?
 
12:39 PM
Best watch is the Nomos Lambda :P
 
I think it's probably around the same price PRW-3000
 
@Glitch why didn't you use automatic import from AndroidStudio?
 
I only had to add a few lines to gradle when I switched using that.
 
Auto import made a massive mess of everything
 
huh
I loved my calculator watch when I was a kid :)
 
12:40 PM
yeah, those casio ones?
 
Doing it from scratch ensured that the project structure was sane, especially since the way I had it set up in Eclipse wasn't very typical
 
My wifi got me a calculator watch just last year :)
 
yeah
 
actually, auto-import creates migration file with explanation
 
I didn't know they still made them. I guess I haven't looked either
 
12:42 PM
last year I bought that simple casio watch f91w.
they still make them,
it is from 1991
 
me do not like it
too much white :)
 
They look great, but not my style.
Hardly a jungle watch :)
 
btw, after I bought that watch, I have read that it is not good to go to USA with that one, since, that watch is really popular in the terrorist organizations, to switch on the bombs.
 
You're correct.
The only reason they use it as bomb timers is because it has a loud beeper and is cheap :)
 
12:45 PM
ohh, you have a gold one
 
It's not gold, just gold coloured :) I think I bought it for $3 delivered.
 
I guess I shouldn't have looked up that watch then. I'm probably on a list now
 
Just don't go flying to Europe with them on one way ticket ;)
@netpork but back to the ProTreck, if you have a chance go check them out. They even monitor weather and notify me if weather is about to suddenly change, they can even wake you up, it can save your life.
 
@nana great features, I am more concerned about the price
 
Yeah, dollar is a little high now.. I was too, I never had a watch over $50 before. But I hope I will have those for life.
 
12:57 PM
btw, your watches are not in sync
 
I know, i am a little ashamed, I also knew it when I took the photo and didn't sync them, that shows I am also lazy not just incapable.
The only one that gets any use lately is the new ProTrek (And it syncs itself :))
 
1:14 PM
I've been wanting to get another one for awhile but I can't justify spending the money on the kind I like right now citizenwatch.com/en-us/watches/watch-detail/?model=AU1042-53P
 
Morning
 
Good morning, neighbor!
 
\o
 
@codeMagic you are into gold as well? :)
 
1:26 PM
Listen only if you're anime lover. :)
 
@netpork Nice, what type is the left dual mode Casio? The Festina is so clear, one glimpse and you know exactly what time it is.
You like gold cM?
 
Yes
What? I like gold too. :D
 
I do like gold!
That's the only kind I've had since my calculator watch
 
Yea! Yea!
 
Though, I think I should get a sportsy one too with summer coming up
 
1:32 PM
Sportsy LG G R
 
I think I want something cheaper for sportsy
This one is kind of neat overstock.com/Jewelry-Watches/…
 
nice watch
 
Why waste moeny on Citizen when you can get these Mingbo for $6 delivered
 
@nana that one on the left is casio LAW-21
 
1:38 PM
NO! I found the watch for you
 
I would wear that :)
 
$6.99 Prime and free returns ;)
 
does it have interchangeable flags?
based on your current location
 
Somebody gonna buy that watch for me ?
 
why waste money on a watch when you have a phone on you at all times?
 
1:43 PM
In your pocket
 
I am sure you can change the flag, with a little finesse and a hammer.
 
Plus, I don't like to keep my phone in my pocket if I'm playing with the kids or sportsing
 
^^^ Weird, why so many buttons?
 
To make you feel important
 
1:46 PM
o/
 
\o
lol Nath, your new avatar
 
is there a fast way (in AS) to build APK in release mode, but sign it with debug key?
 
@SargeBorsch Yeah, swap your keys. I mean use your debug key to sign the release build?
 
This one isn't bad. Countdown timer and stopwatch. Not sure I'd need 5 alarms, though. And it almost looks like it has too much going on amazon.com/Casio-AQS800W-1B2VCF-Solar-Multi-Function-Ana-Digi/…
 
you alike it Nar?
 
1:48 PM
nana, that one is nice and simple
 
@codeMagic that one looks like it is made by Valve
 
Sarge you can build a release apk
and then point it at your debug keystore
 
Yeah :D , Nath
 
;) It was an april fools thing
but i've grown fond of it
 
1:49 PM
That's one gal character of C&H .
 
@nana yes. That was a dumb question, I figured it out. Thank you!
 
$8.99 Prime - Incredible
What idot spends 20k on a watch..
 
My brother had the same, looked the same but it was by Timex
 
I like them, clean and simple
 
1:57 PM
@netpork Is that good or bad? I don't know what valve is
 
Valve, they made Half Life, Portal, Steam :)
 
That's good.
 
Is today a holiday in the US?
 
Some people are off.
 
kind of
 
2:07 PM
Us is a slave country, employer decides for you.
 
We have a half day
I was going to work longer because I have so much to do but need to hit a few stores
 
interesting - here's it's a federal, but our team's in.. because we're childless, our families don't care about easter, and something something startup lyfe.
 
A guy I work with just found out that the guy who owns that is his cousin. Ha
 
Any good ORM's for SQLite on Android? I was looking at Sugar ORM.
 
o/
 
2:16 PM
@codeMagic doing js?
 
yep, netpork, and coldfusion :(
yo, TGM, Noah
 
\o
You should use SugarORM Noah and tell us how it is later :)
 
Don't fall for his tricks, Noah. He told me that I should use angular and that he was a certified expert with it
Turns out it was a trick
 
2:19 PM
hehehe
 
I have my cf file down to two lines to print a message and it's still giving me a 500 error and nothing in the logs. Fuck me
What's that thing old people get where they are really confused? I think coldfusion has that
dementia
 
Hmm I'm liking DBFlow a lot more
2
 
dbflow looks awesome, thx for the heads up
 
@codeMagic I have made a little bathroom test with js
 
2:33 PM
?
 
It is a plasma effect
 
thanks for DBFlow, looks promising
Noah - you worked with it?
 
Yeah, that is neat. I don't understand what it has to do with a bathroom
 
I think Netpork meant kitchen sink?
 
What's it test for?
What's an ako?
 
2:36 PM
Canvas drawing test
 
@DenRimus Havn't yet. Looking for a good ORM and that looks like the best so far
 
I'm still confused but that still looks neat. This is the first time I've used js much in quite awhile
 
That DBFLow does surely look great.
 
I need to hurry and get the data part done so I can start hacking on the css which should be...interesting
 
@netpork Makes my CPU going 110%+ @_@
 
2:41 PM
Yup cpu drawing no webgl
 
What bothers me a little bit about DBflow is that it is mostly a one man project so far and he put it together in 2 months.
 
Halp. I suddenly have two mouse pointers.
 
yea..
 
2:44 PM
Do they both click? Cause that would make it even better.
 
Better than zero, stop complaining.
Not a bug, it's a feature!
 
just one moves and clicks, the other is only on my second monitor. weird.
 
Nana, it looks like the repo is in Raizlabs and they seam legit
 
thanks nana, as always, you're a great fucking help.
 
:PPPPP
But all their android apps are the kind that look like IOS apps
 
2:46 PM
Oh I am a great fucking help, trust me.
 
You know what will be the second thing I will say, HYTTIOAOA?
H8?
 
3:02 PM
@jlindenbaum windows also have that trailing cursor effect that you can turn on / off
 
That looks like Apple though ;)
 
Yeah, they optimised it
 
:)
 
lol netpork
 
Charging speed of opo is incredible
 
3:16 PM
Right? With the right charger and the right cable.
 
Is there an official spec for SMS and MMS?
 
What do you mean?
 
Like XMPP has xmpp.org for the specs. Does SMS have a site with the official specification?
 
You're looking for a standard. I'd start here en.wikipedia.org/wiki/Short_Message_Service#Technical_details
 
K, SMS Spec => 3gpp.org
 
3:24 PM
Yeah ^^
 
o/
You people know what is coming right?
Right?
 
Left
 
Goddamnit @FoamyGuy. That is my only job in here :(
 
But better late then never I guess. C+
 
@nana why someone keeps posting this?
I see this picture maybe 10th time here
 
Because friday!
\o/
 
You should see it every friday in here
 
3:41 PM
It's our Friday tradition, weekend doesn't can not officially start until that video is posted here.
 
Feature Request: FridayBot
 
That's cheating
 
cheating > monkey business
 
I don't agree.
 
3:44 PM
Feature Request: FridayBot, Tag: WontFix
 
Music video done with Unreal Engine
Dubstep Dinosaurs 3D: https://youtu.be/D7KJq3Xa6RQ
 
bretty good! except these human-like models
 
@nana, do you have a dash button? usatoday.com/story/tech/2015/04/02/…
 
Not yet, it's invite only. They haven't contacted me yet.
^ this looks cool, right?
 
I thought you would be one of the first they invited
 
3:58 PM
> Image not found
 
"Forbidden" looks really cool :P
 
sharp lines + JPEG = no way
 
no, nana, sorry
 
...and SVG won.
 
4:03 PM
basically anything goes as long as it does not produce these dreaded ringing artifacts like JPEG does
they are clearly visible in that case
 
@codeMagic Me too, but I am not the target group for this I think, I don't use Amazon Fresh.
We need to get to a point where all video is compressed without a loss.
 
for video this is too hard, unfortunately…
 
I want 4K content without the artifacts.
Better get started then.
 
without visible artifacts — this is possible
 
0, nada, nil, no artifacts whatsoever
 
4:07 PM
x264 is already a great encoder, and there is x265 coming
 
Not virtually loss-less, actually loss-less.
 
it has lossless mode, too
but of course, the bitrate would be very high
if you are talking about "real life" footage
 
Yes, YouTube
 
but lossless desktop recordings are already possible
I usially do them without losses when I do them
 
4:19 PM
I still don't even have a way to display 4K content :| I was in a store yesterday (after mabye a year?) and saw this beautiful 65" 4K bent TV and they had a sale too :) But I have no use for a TV and 65" is too big for a monitor.
But it was gorgeous.
 
Ok, I'm out for a little while. Talk to you folks later
 
Later cM.
 
Cya neighbor
 
\o
 
4:23 PM
o/
 
o/
 
I have a vague generic question...
 
I have a vague generic answer...
 
Since we hate the m prefix for fields, what naming scheme do we like for static class variables?
 
4:35 PM
error invalid input
hate for m prefix not found
 
Thanks Alexa. Very useful again.
No hate found? I thought we had couple heated discussions around here about m .
I myself started couple.
So you would suggest s prefix?
 
Well, I do not use prefixes.
 
But you use this.
 
Yes, I admit.
 
If I used this I could then simply name static vars without a prefix, the only issue would be in methods where I use local variables.
 
4:43 PM
so what's the problem in using this?
 
Just avoid internal getters/setters
 
If I use this inside methods and also create local variables inside said methods, it won't be immediately clear if the variable you're looking at is a local one or a static one from class.
static final is ALL_CAPS
fields are likeThis and accessed in methods this.likeThis
 
I don't use any prefixes, and I even `import static` some static final values, which are also not in ALL_CAPS
I am a bad boy
also, C# does not have import static and this is why Java > C#
(also, lack of wildcards in C# is very annoying, too)
 
5:01 PM
who here works in the bay area
 
5:11 PM
I don't think we have anyone from down there.
AFAIK mkorcha is closest, somewhere in Southern California.
 
5:30 PM
IntelliJ/AS will italicize the variable if it is static nana
and switch to kotlin
 
and switch to scala
 
scala's runtime is too big
 
not after the proguard…
and most of its runtime is not bad actually
(immutable collections, for example)
 
5:52 PM
Well I'm enjoying kotlin, it was super easy to switch over. I feel like I'm pretty decent with it after about 20 hours.
 
posted on April 03, 2015 by Android Developers

Posted by Joshua Gordon, Developer Advocate What if there was a way for drivers to stay connected using your messaging app, while keeping their hands on the wheel and eyes on the road? Android Auto helps drivers stay connected, but in a more convenient way that's integrated with the car. It eliminates the need to type and read messages by replacing these activities with a voice controlled

 
01:00 - 18:0018:00 - 00:00

« first day (1630 days earlier)      last day (3333 days later) »