« first day (975 days earlier)      last day (3965 days later) » 
00:00 - 15:0015:00 - 00:00

12:30 AM
o/
 
1:24 AM
\o
Wow. Parsing XML is so easy in php.
 
It gives me nightmares :/
JSON is super simple on Android though
 
Yeah
 
I got a Retina MBP :D
And a Raspberry Pi
 
Cool! :D
How is it?
 
And weirdly enough, another Raspberry Pi. As a birthday gift. For my classmate. I have weird friends.
Awesome
Biggest difference is the weight
From my 2 year old one
 
1:26 AM
lighter?
 
Much lighter
 
nice :D
I wanted to get myself a Rasberry Pi as well. Haven't got around doing it though. There are so many possibilities to use it haha :P
 
5.6 vs 4.4 pounds
 
Metrics Raghav!
haha ;)
Just converted; wow that is some difference. It's even more impressive considering the more advanced technology inside it
 
Yeah
SSD vs physical helps, I guess
As does dropping the DVD drive
 
1:31 AM
Yeah my iMac doesn't have a DVD drive either
 
I'll just get a USB one if I need it
 
At first I thought it's pretty stupid that Apple dropped it, but I realized, that I actually don't use it
yeah
 
I've had mine for about 2 hours now, so I probably hacen't noticed that yet :P
But DVDs are still fairly common in India, so...
 
Hmm you could get an external one
 
Yeah I probably will
It'll be fun getting through customs though
Between my dad and me we have 5 laptops :P
 
1:36 AM
haha WHAT
 
1 his, 1 mine, 2 from I/O and my new MBP
The I/O ones are labelled as development non retail devices by google though
So they shouldn't be taxed
 
Ahh ok makes sense
I thought they'll be giving away N4's as well
 
But then again, Indian customs isn't known for its accuracy in assessing tech stuff
I bought an N4 anyways, so no loss :P
 
how fast is your Rasberry Pi?
 
512 MB RAM
 
1:38 AM
I think I'll buy so many tech stuff as well, when I'm in the US somtime. It's. So. Cheap. (Compared to the prices here in euro)
 
256 mHz GPU (I think)
> Broadcom VideoCore IV @ 250 MHz
 
not bad :)
 
> 700 MHz ARM1176JZF-S core (ARM11 family, ARMv6 instruction set)
Good enough for me
That's actually faster than my first Android phone
And about 1/20th the price
 
How much was it? Somewhre around $30 right?
 
Are you going to port Android on it?
 
1:40 AM
I got the higher end model B, which has double the RAM and 2 USB ports instead of 1 for $40
list price is $35
The Model A is $25 list price
 
Awesome
That's like 100x faster and better than my first computer I had in 2000. And about 10x cheaper
 
hahaha
 
And 10x smaller
 
You had a 7MHz computer?
That'd sell for $$$ if you still have it
 
It felt like it
 
1:41 AM
I started out on a Pentium 2 :P
Then a P4
 
I can't remember what specs it had, but it sucked :p
 
Then I took a small leap from P4 @ 1.8gHz to i7 @ 2.0 gHz * 4
 
both spoiled...us old timers started with a 386
and 14k modem
 
We had an IBM punchcard one before the P2, but I can't remember using it :P
I was like a year old then
 
I think I only had about 4gigs of storage. Actually 3, because XP took away 1GB.
 
1:42 AM
And we had dial up modems till I was 9
 
try playing Doom with 14k
 
haha :P
 
I still have the dial up modem lying around
 
I actually never got DOOM to work multiplayer
Ahmad I put those drawables in the xhdpi and they just looked really bad so I put them back in the drawable folder
Thanks for the advice though :)
 
1:46 AM
Ohh that should be fun
 
Yap :D
 
Always wanted a room that could lock me out because I procrastinated on fixing a bug in the code :P
 
Would totally do that
hahah
 
Or maybe I could wire it up to a motion sensor and have it say lines from glados in portal whenever there's unexpected movement.
But I'll probably do that with the Arduino
 
You could do something with your leap motion
 
1:49 AM
Yeah I have to get around to that too
I also have a pair of meta now
So I'll be working on those too
 
That looks awesome!
Are these those glasses you posted about on fb?
 
You guys can only get the next year, or late this year if you ordered dev kits
Yep
 
Now that would be nice
 
2:03 AM
Seeing all these projects wants me to get one too
I'm ordering mine now hah :P
Or... tomorrow. It's already 4am here. Good night!
 
Cya
 
 
2 hours later…
3:57 AM
morning
 
4:39 AM
Hey everyone!
 
5:05 AM
hey Appu
 
5:17 AM
Hey lucky(flower face) :P
 
haha...it is a four leaf clover = good luck :)
 
Cool.
 
I ran across one of your answers the other day... stackoverflow.com/a/16074153/2004716 it put me on the right path :)
 
5:39 AM
Oh! good. Actually I can never forget that O.P :D
 
I was having the same issue, but I was using an RSSFeed/PullParser
 
Oh! Okay.
 
well I was inserting the values into SQLite DB and then trying to load the images from the DB
 
would anyone be able to help with this problem:?
0
Q: canvas is offset by setting identity matrix in onDraw of custom view

RookatuI set a matrix to my canvas in the onDraw method of a custom view via canvas.setMatrix(matrix); then I just draw a grid using predefined paints: canvas.drawRect(0,0,viewWidth,viewHeight, background); for(int i=0; i <= nRows; i++){ canvas.drawLine(0,i*cellHeight, nCols*cellWidth,i*cellHeigh...

 
6:24 AM
Morning guys
 
6:42 AM
morning
 
morning
@luckyreed76 so which adapter you are using?
 
You already have marked a solution
@RaghavSood Do you have any use of your old macbook?
Are you willing to part with it for a price? I have no laptop :c
 
7:25 AM
Also ich wüsste jetzt jedenfalls nicht, wie man da sonst hoch kommen kann
That's what he is saying
no problem :)
hahah
yeah I know that feeling
Apropos languages: My last french lesson in my life is starting in 10 min. Gotto go.
 
Hi everyone!
 
7:52 AM
hi !
monday morning.
 
OcuS :D
More catgifs! go go :D
 
8:37 AM
Anders !
 
wtf agamov ? :/
 
dis ain't no cat !
 
No this being a crazy bitch ;)
 
8:42 AM
ahhhh!
I think
it is
disgusting.
 
:)
 
but we all know what's coming next for her ;D
 
lol....
 
ok, here is cat
one more
 
:)
 
8:47 AM
hellow
 
russian cats
@AndersMetnik ok?
 
oh
 
Yeah it's awesome :)
 
ok, then you should help me now :)
 
WIth ?
 
9:02 AM
hi there
 
I have some strange bug, still investigating :)
@WarrenFaith hello
int count = mContentResolver.bulkInsert(RosterProvider.CONTENT_URI, contentValues);
every time I call this, contentValues overwrite previous ones
 
yes ? :)
 
how to avoid this? :)
 
Can't say, i don't know your contentvalues nor your table definition
 
stupid question) but still)
 
9:06 AM
define override
and please don't ping me for a "hello"
 
@WarrenFaith congratulations with the master :)
 
sorry for big code)
sshit!
on conflict replace :)
 
.... Agamov please read the room rules!
Thanks Anders
1 message moved to recycle bin
 
I have read, sorry.
 
9:08 AM
@agamov ;-) And code isn't allowed here, if you need help with stuff like this just create SO question and post it here, much much easier + also shows that you make an effort :)
 
the create table command has nothing to do with your issue!
 
it describes the table definition
that's why I posted it
 
true, but the table def has nothing to do with your issue
or better: the main question is your general insert/update logic you use
 
Anders asked for table definition. Anyhow, I guess I've found the answer exactly in table definition
I was inserting existing values, and table definition says 'on coflict replce'.
I changed it to 'on conflict ignore' and now previous values dont' get overwritten
 
hm ok, sorry I didn't read the table def request... anyway do you think it is a good idea to call an insert if you don't want to have the new values? I would rather create an updateOrInsert and only provide the values you really want to store in the database
 
9:25 AM
I am lurking in Yaxim's code, they are doing like this - after application launch and getting list of contacts, they overwrite the previous ones
even those remaining the same
 
well I would find it curios to do that as I always need to know the database table definition to understand the code and what it does
kind of "bad" design if you rely so much on a table definition in my opinion, but who am I to judge...
 
Tbh. I didn't request them, I merely stated that I didn't know them :)
 
:)
 
I agree with you here warren, it's bad practise.
If you update a whole table of data, just clear it first. else a merge (update||insert) is the best approach :)
 
I just think in the case of a dbms switch..
 
9:29 AM
what is also curious - insert returns number of inserted content values, even if some of them were ignored
 
well the problems that could appear: 1. your own issue: you don't understand why they are overriden - 2. a different dbms couldn't support such a table definition -> would mean you have some hard time to refactor - 3. to understand what your code does, you need to know the dbms/table behind it
 
hardly I can change the dbms on android :) But I agree with you.
 
sure you can
afaik you can ship postgreSQL with your app, for example
 
o_O
didn't know that, thanks for info
 
 
1 hour later…
10:41 AM
This needs a 'deal with it' adjustment
 
11:00 AM
@BhaveshPatadiya rejected. I have really trouble understanding your English and it looks like you only want tech support.
@Dharmik rejected as you are looking for tech support only
fun fact: next weekend is weekend again!
 
:O
 
11:17 AM
woot?
 
Warren: Fun fact 2 -> this weekend is the first weekend of my summer holidays! :D
 
ah so you will do the typical holiday thing: stay in bed or sit before desktop :D
 
hahah a bit of both ;)
 
@Ahmad shh pls, people are working
 
^^
 
11:25 AM
hahaha ;)
 
not funny.
 
true dat
 
It is! At least for me :D
 
removing write access for pupils...
@ProfSmiles Happy bday buddy!
what ever he is doing right now...
 
11:47 AM
Putting together a fixture builder util for Android at the moment for some service level testing. Anyone doing something similar?
 
oh man c# is so redundant...
 
haha
 
string.Empty why not just ""?
 
isEmpty() <- also available in java
 
isEmpty() is a check which is valid
string.Empty is a read only variable representing an empty string
 
11:54 AM
Ooh ok makes sense seeing the name of the method
Yeah ok. That is redundant.
Method names start with an upper case letter in C#?
 
again: not a method! It is a variable
and yes: methods are upper case
also non-private variables
 
Ähm sorry, yes variable
 
private variables are lowercase starting with _
 
Oo
 
typical microsoft.... the same thing Bill Gates did with linux: just changing some commands to make it look "different"
why using "ls" when "dir" looks so much more PITA
and why create an easy to differ code style when you can mess up everything
 
11:59 AM
I don't get this language convention. I was looking at the php naming conventions yesterday (actually from the Zend framework) and they have this too.
 
> warum leicht, wenns auch kompliziert geht
 
^hahah
 
well PHP is highly grown and they even have some_variable_method_name or someVariableMethodNames
 
Yeah I don't get that either
 
and they couldn't update it easily because they needed to be backwards compatible. I kind of get it but c# is officially inspired by java... so they HAD a good sample
they claim to use the best things from c/c++/java... and they still managed to suck at it
 
12:04 PM
Why are you even using C#?
Still doing WP development?
 
I am diving into w8/wp8 dev
yeah
Just look at a windows 8 project here... and I can say: we need a style guide
redundant usage of this
no brackets at one line if statements...
> da stellen sich meine fußnägel auf
 
hahah
 
12:38 PM
@WarrenFaith can we stop with the german please ?
 
just some untranslatable phrases... like "I think I spider"
 
what is fussnagel ?
 
the nail on your toe
finger nail just on your toes :D
 
toe nail ? :P
 
^^
yes
 
12:43 PM
 
you nailed it
xD
 
seems legit
 
1:33 PM
Warren, are you from Germany?
 
@Reno I'm going to sell it. Best price I have right now is about 45k for a 2 year old one. i7 quad core @ 2.0 gHz, 4 GB RAM, 500 HDD 15.4 inch screen. Plus, most of it is new as the logic board, speakers, trackpad, top case and keyboard were replaced in October.
It works perfectly fine. Only reason I'm selling it and getting a new one is because I didn't take the extended warranty on it and Apple products are ridiculously expensive to repair, as I found out in october.
 
user image
3
 
Yes, I am from Germany
every fucking cat gif gets a star...
Jun 12 at 14:22, by WarrenFaith
user image
 
1:50 PM
I think I'll just stop posting cat gifs.
 
2:02 PM
Has anybody worked with CursorTreeAdapter?
I cant understand why is it so damn slow
ListView optimizations seem to have little impact on speeding up the scrolling
 
nope, not yet worked with it
Ocus, you can post them, I am just kind of curious why the hell they always get a star...
 
what is good or bad in getting stars?
ah, i See
starred messages appear to the right
 
we have more stars for gifs than for messages
 
Warren, what is the average salary for intermediate android dev in Germany
?
let's say, in Berlin
 
cats deserve it!
 
2:08 PM
Warren: maybe the rules have to be updated so that people don't do this anymore :x
 
that highly depends on your background and skill level
I guess the lowest, beginner salary might be 24k per year
 
euro?
 
sure, we are in Europe
 
well, I have project like this in portfolio: cashbox-mobile.ru
 
so?
 
2:10 PM
I guess I can get more than 24k per year
:)
 
say hi to my brand new avatar !
 
cause 24k per year I can get in Russia
 
nice avatar, better than before
 
yup
 
Agamov, so why do you ask? planing to leave Russia?
 
2:15 PM
look at you haha :P
@OcuS kind of not as wizard like as I was picturing :P
 
actually I already did leave Russia
I'm in UAE
 
sorry to disapoint :o
 
I'm just curious :) because I learned Deutsch at school)
Guys, can you advise me a good android tablet (1280x800, 8-10") with price around 300-350$?
 
haha...I think I will live
 
@agamov ,... get a nexus 7
 
2:28 PM
nexus 7 is 7 inches :)
 
it will last longer (updates) ..... if you need a 8-10inch, 1280x800, the samsung galaxy tab 2 are getting cheaper and cheaper
 
or, if you pay a little bit more, get a nexus 10
i love it
but has a higher resolution. is there a reason why you want only ~720p?
 
there is no other real tablet worth buying than a nexus 10 (imho)
only exception if you need a stylus like the s-pen. Then you need to buy an Samsung tab...
 
a customer wants
tablet with big size
 
but I am not sure if you can get one for that money
get a nexus 10... he will be very happy
 
2:42 PM
and price range 250-350$
 
400$ and the nexus 10 should be yours
though only 16gb...
 
they are planning a bulk buy, not a single tablet
that's why price is hardly negotiable
 
I see
his lost :D
 
why? I didn't get your last phrase :)
 
well he has to live that he will get only a medium tablet for that price range...
 
2:47 PM
ah, ok) maybe you wanted to say "He's lost", not "His lost"
I'm tired of this CursorTreeAdapter. tried everything that I've found
can't understand why the hell sometimes it lags like this
 
Serious?
1 message moved to recycle bin
Last and final warning! No large code/log in chat!
 
:) ok! no more logs, only cats!
 
sure you can get more than 24k if you can't follow simple rules?
 
as we say in Russia, "rules' purpose is to break them" :)
and yes, I got your final warning, Warren
 
not on my watch!
 
2:58 PM
ok, see you next time
bye
 
00:00 - 15:0015:00 - 00:00

« first day (975 days earlier)      last day (3965 days later) »