« first day (1374 days earlier)      last day (3573 days later) » 
00:00 - 21:0021:00 - 00:00

12:06 AM
Hi, Law
 
Ah yes I've seen the "wat" video before.
 
How's the project doing Code?
Read last night, something along the line, Node.Js is awesome on the backend.
 
working on something new today
 
Something new like?
 
playing around with genetic algorithms and neural networks
 
12:16 AM
Sounds awesome.
 
12:53 AM
@fahdijbeli rejected for low SO activity. Answer some questions
 
user457812
Writing test code for stuff in Swift is kind of weird
 
user457812
At least using Apple's XCTest tool
 
The rest of you are rejected because you aren't in here so you can request access again later
 
user457812
'Cause they went all-in with closures for it
 
user457812
On a side note, I'd discourage rejecting people for low activity or few answers or what have you. Obviously none isn't great, but use what's there to see if they need more to improve their standing.
 
user457812
12:55 AM
i.e., Rejections should be qualitative, not quantitative.
 
I agree and I do. I normally add "quality" with the answers when I think it fits
Because I don't want people to think just giving any old answers is good. This time there just wasn't enough to go on.
 
user457812
Fair enough.
 
user457812
Long as nobody pulls a Warren and rejects someone for not saying "thank you"
 
Yeah, I will say I thought you were both wrong there for different reasons and leave it at that.
Unless we want to get into that but I'm not sure we do
Do you like swift so far, nil?
 
Same question
how's swift so far @nil?
 
user457812
1:08 AM
So far.
 
user457812
1:53 AM
github.com/nilium/SnowKit ⇐ If either of you wants an idea of what I'm doing in Swift right now, that's partially it.
 
user457812
Currently just writing a small framework of things I want and simultaneously trying and failing to rewriting my Sublime Text color scheme editor in it
 
user457812
The color scheme editor's mostly failing just because I have to go back and figure out what the hell it is I was writing
 
user457812
Also 'cause the compiler/tools are in beta and not entirely working yet
 
Thanks, saved to look at later in the week (won't get to it yet tonight)
 
user457812
2:10 AM
It won't be very interesting, trust me.
 
user457812
It's just a handful of generic thingies.
 
user457812
i.e., null resolution stuff, a ring buffer, and other things that ideally make working with notifications (the NSNotificationCenter kind)/KVO easier.
 
user457812
Also serves as my little learning ground for trying out writing tests.
 
2:22 AM
@Wingpad Welcome. Please read the room rules.
 
@Ahmad thanks, will do!
 
2:39 AM
Good day android programmers
@LawGimenez dude
 
Yeah? @Laux
 
@LawGimenez cebu bai? :D
 
Yep. Ikaw? =)
 
thesame :p opiniology lapu2x right?
 
Oo, asa ka work ron?
 
2:50 AM
English @LawGimenez ahahhha
we might get banned here
 
Still in Opinionology?
LOL
 
user457812
I don't think anyone's going to get banned for not using English, but it's going to alienate you and probably make people suspicious of what you're saying
 
Nope.
ahahaha thanks @nil
 
Ok @Laux, freelancer?
 
@LawGimenez is their android development in your company?
 
2:53 AM
Yep! In fact we're still looking right now.
Man I've been here for years, I didn't even know we're from the same area. =)
 
in this room?
yeah same here
 
Yep. This room.
 
I never seen any job postings in mynimo
 
Tell me if you're interested applying here man.
 
how much for the starters?\
 
2:55 AM
Your experience?
I mean years.
 
2 years i guess
and half
 
You on linkedin?
 
Nah still building my profile in linkedIn :(
 
Make one. Because our HR spies a lot on LinkedIn. LOL
Anyway email me your resume.
 
Graduated at CIT-U :) LOL
 
2:58 AM
That's good.
Anyway, gimme your email?
 
finally!
I have my thing running
 
3:20 AM
What you do?
 
4:05 AM
I have my Roboguice/Robotium AS template working
 
@mcd You have write access. Please read and follow the rules
 
are you putting it on github?
 
I am using a gradle plugin from a co-worker
that it is not currently open source
but I will talk with him
 
cool
well, I'm out for tonight. Gnite all.
 
4:09 AM
later
 
4:28 AM
Later Code
 
DC-
5:01 AM
Hey guys
anyone here ?
 
I'm here.
 
DC-
need some help man
 
Depends if I know it. What is it about?
 
DC-
I am developing a lockscreen app API 17 and its suppose to disable the statusbar
well i have made my app full screen so the statusbar is not vissible
and i have a handler that checks if the focus of the lockscreen app is to another window, and if so it collapses the status bar
now the issue is, if i rapidly try to dragdown the statusbar, it comes down
any idea on how to do this ?
 
No idea. Sorry. Try posting it as a question.
 
DC-
5:09 AM
hehe, thanks anyways
 
morning
 
morning
 
 
2 hours later…
7:34 AM
Morning
 
7:44 AM
o/
 
user457812
I'm bored, time to re-watch Toradora
 
Toradora?
 
user457812
Anime.
 
I see... I am reading naruto...
 
8:01 AM
morningg
 
8:15 AM
for example: what can be screen density or you mean to say i have to define individually for all screen sizes.
 
user457812
Without consulting a dictionary, what does everyone think posterity means?
 
okay...how can i do it??..is there any code for it...if so..!! let me know.
nil, future generations?
 
user457812
I'm not saying what it means because I want to see what people think it means
 
May I now check the dictionary ?
 
user457812
You can, but don't say what it is.
 
8:21 AM
i don't know. i'm new in android, asking somebody if the bitmap instance is null
I am not rude with people...
 
user457812
No matter how much I read about test-driven development, I'm still almost entirely positive it's practiced by psychopaths.
 
Dude here is the solution..
It is just monday
 
Why Nil? Isn't that the future?
 
user457812
Why?
 
user457812
Writing code just so it passes a test doesn't say anything about whether the code is actually good or works outside a test case.
 
8:30 AM
But, in the long run someone might refactor it. And break it at the same time.
 
user457812
That doesn't address what I just said.
 
user457812
If your concern is making the test pass, all you need to do is ensure the output of the code is what the test expects. This does not necessarily mean the code works outside that test.
 
user457812
Let's say, as a test, you put a random number of integers in a FIFO queue and said integers should come out in order. You probably test this by picking a lot of random numbers and throwing them into the queue and seeing if getting them back out yields the same integers you put in.
 
user457812
Is your concern making this test pass?
 
user457812
If it is, you should be writing code to make the test pass, in which case the fastest way to get code that passes the test is to re-seed your random number generator with the seed used in the test and return the same randomly-generated integers each time. ಠ_ಠ
 
user457812
8:38 AM
Because obviously that's going to get you the results the test expects for a queue.
 
I sometimes hate converting personal projects to full fledged apps
So much refactoring. Oh god the refactoring
 
what's wrong with refactoring?
 
I just hack my way through personal projects
Scaling them to user level requires a sufficient rewrite
 
I see...
 
user457812
Anyone know of any articles on TDD (and unit testing, as well) that aren't religious in nature? Since I want to try to get used to this but I can't find anything that doesn't just already assume everyone knows exactly what's going on.
 
9:21 AM
Morning
 
9:52 AM
 
 
2 hours later…
12:04 PM
\o
 
12:33 PM
 
12:43 PM
 
That guy is considered a hacker by some newspapers now...
And, why is WhatsApp storing databases in external storage?
 
You didn't knew?
Raghav did the same a year ago
NSA backdoor I guess
 
Good morning
 
morning
@MehulJoisar Welcome. Please read the room rules.
 
Good Evening
 
12:55 PM
I am a bit surprised
 
Whatapp do back up of your chat daily
 
Anyone with READ permissions can see your convos
 
In your external storage
 
Crazy
 
Yes they can spy
 
12:57 PM
The "virus" app is extremely simple...
 
Yup
Someapps already there on play store
 
Insane
 
That do
Hmm
 
71
Q: Which is faster? while(1) {} or while(2) {}

Nikole This was an interview question asked by a senior manager. Which is faster? while(1) {} or while(2) {} I said both have same speed as the expression inside while should finally evaluate to true or false. In this case,both evaluates to true and there are no extra instructions inside the wh...

heh
 
1:14 PM
I feel inclined to write an open sourced app that automatically removes the WhatsApp database folder every time it is created
 
Free Legos!
I am just going to continue to not use WhatsApp
 
I am still shocked
 
@Emmanuel That won't work
 
Why?
 
I doubt that someone wants an app that removes his whatsapp chat history
 
1:19 PM
I just manually deleted the database
Folder
No functionality change
I still can see all my chats
 
Yeah I know, but do you want to remove your whole chat history?
wait
there is another db that has all the chat history in it?
remembers those are only the backups!
 
Yeah
 
cool idea then, please do that :D
 
I will as soon as I get home today
 
isn't the backup prompted by user action?
 
1:21 PM
No
 
will try to contribute if it's on Github and your commit messages don't suck
 
Lol
 
oh
 
:D
 
so it's always just storing 2 copies of everything?
 
1:21 PM
yeah
 
I will set it up
Yeah
 
=x
 
One for whatsapp and one for the NSA
 
Lol
 
what if you put a file in the same place and with the same name that it is expecting but one that isn't actually a sqlite db
 
1:22 PM
I do not know
 
would it give up? delete your file? or choose a new name
 
I will just delete the whole folder
 
it get's overridden by the next backup
 
And the file will be a text file that says, "Sorry, NSA, not this time"
 
as are the current files
 
1:24 PM
you could put it there and then chmod it
 
heh
good idea
just block them from writing to it
but you need root for that
 
This will be your chance to learn about testing Ahmad
 
hi,
 
ah, dang. I thought you could chmod read and write on sdcard without root
 
Hey, bb
 
1:27 PM
heh yeah emmanuel :)
ok guys gtg
later
 
see ya
 
see you
 
52 messages since i went to get a drink
crazyness
 
this is what happens when you leave us red...
 
I assume the whatsapp thing is so that they're users have a backup, but obviously it's open to abuse
 
1:31 PM
then it should be a button the users have to pres
or at least a switch that they have to turn on
 
yeah
there are three settings
backup conversations, delete all conversations and clear all conversations
backups are automatic though, cannot be turned off
 
oh wow,
 
I thought it was just defaulted to on, not that you can't stop it even if you want
glad I don't use the app
 
1:47 PM
morning o/
 
morning
 
afternoon!
 
zxing probably generates some amount of whitespace around the barcode
since there is almost always a necessity for at least a bit of whitespace around it in order to scan.
 
1:57 PM
yes, but I'd expect that white margin to be a lot smaller than that :/
 
I'm guessing you'd have to use some kind of image processing on the bitmap to cut out all of the black pixels and paste them onto whatever size/shape you want.
write your image to a file view it on the computer
 
Got the K1 today :D
 
nice!
 
Now all I need to do is get Android running on it
 
Do some benchmarks on it. I suspect Nvidia are lying about its capabilities again.
 
2:01 PM
Any in particular you want? It's running Ubuntu right now
 
I'll have to find their presentation slides to see what they used
 
i need to get my chromebook running ubuntu
keep forgetting
 
It's near unusable on the Pixel
Everything's so small
And things arbitrarily stop working
 
The Pixel has good specs too, so that doesn't sound good
 
The screen's too good
You can't read a thing
And the trackpad stops working sometimes
 
2:10 PM
I've got the toshiba one, screen is ok-ish, i like the gestures on the trackpad, build quality is a bit crap
 
If you can't read a thing, you have the DPI setting too high
 
I tried messing around with those, but then the usable screen space becomes pretty low
I'm sure there's a sweet spot, but I'm not invested enough in the idea to find it
 
There you go @Guilherme you got an answer from zxing creator.
 
I saw that, going to try right now
 
Lol, this online pharmacy has an expensive delivery cost, but they're offering free delivery if you order vitamins. So I add $2 worth of vitamins to the order I actually wanted. lololololol
 
2:16 PM
which scale type will stretch the image on both directions?
 
fit xy I guess
 
thanks
 
yep
 
Glitch seems very excited over drugs that have free delivery...
 
I I I... UgMM..... just need my FIX
MKAY?!
~~~~(O_O)~~~~~~~
 
2:26 PM
@Mason240 Welcome, on probation. Please read, confirm reading and pray to the room rules
 
Also, since you're from MN and probably a Vikings fan...double secret probation
 
2:50 PM
Hahaha nice work Glitch.
Did you get some Omega 3 capsules for super brain powaz?
 
Nope, rice crisps :D
"vitamins" hehehehehehe
Deliveries get more exciting when you know there's food in the box
 
3:09 PM
has anyone ever used opencv on android?
 
I might have
 
did you ever come across something like this? "Callback buffer was too small! Expected 1382400 bytes, but got 608256 bytes!"
 
Looks like you're either skipping frames, or receiving way downsized ones
 
it's weird because the code I'm using is pretty much the same as the code from the samples
and the samples work fine
 
3:29 PM
 
3:56 PM
:D
 
4:19 PM
posted on July 21, 2014 by Android Developers

Srikanth Rajagopalan, PM Director and Workplace aficionado Recently at Google I/O, we announced a comprehensive set of new features that will allow IT organizations to easily deploy and manage Android devices in enterprise environments. These features will be built into the upcoming Android L release. Samsung, with its KNOX technology, has been a thought leader in the enterprise mobility sp

 
4:44 PM
is there a way to check the device orientation (even when it is locked) that does not involve using the accelerometer?
 
what does it mean when is locked ?
 
orientation-locked
rotation not enabled
 
getResources().getConfiguration().orientation ?
 
but it will return PORTRAIT if it is locked, right?
regardless how the device is positioned
 
ah, only now I got what you mean
I guess you can use the compass if is available
 
4:52 PM
compass?
 
did I say something wrong?
 
I'm trying to figure out how the compass will tell me if the device is "up" or "sideways"
 
I guess you should calculate the heading ?
 
@anil no access for now due to low SO activity (need to give some more quality answers), chat speak, and you seem to only want support. Please work on those things and request again.
 
from wikipedia: Heading is the direction to which the vehicle is pointing with its "nose"
 
5:03 PM
hmm.. I'll study this a bit, sounds possible
thanks
 
I guess it is just a matter of low-pass filter kind of, to cut away values
Guilherme take a look here: stackoverflow.com/questions/7978618/…
see yaa
 
see ya, bb
 
thanks!
 
6:07 PM
Damn, zigi, you are really stockpiling those flags
 
6:44 PM
Hello Hello!
 
Hey, jcaruso!
 
hey magic, you do any ios development?
 
I have some peppermint oil aftershave balm that's was too strong for my face, so I've used it on my toes for lolz. Freshest feet in the world!
 
Not yet
 
i wondering what would be a good starter laptop for iOS development
 
6:50 PM
 
Ask in NSChat. I did awhile back when I was hoping to start getting into it. They are pretty helpful
 
will do
 
user image
2
@jcaruso the macbook air!
 
think so?
 
Upgrade the base 13" model to 8 gb of RAM and you'll have the perfect machine
I just bought one 2 weeks ago
love it
especially the battery life
 
6:59 PM
8GB seems so small for a modern computer
 
this thing has the best battery life I've ever seen on a laptop
meh, 8 gigs are alright
I'd have prefered 16 gigs but that just costs too much if you let apple upgrade it
and I can't upgrade for myself because the air is sealed
 
Also the memory is soldered on
 
yeah
 
That's the main reason I haven't bought one
More memory is always a good thing, to prevent upgrades is super lame
 
yeah, I'm not a fan of that either, but I hope it's somewhat future proof
should hold up at least 4-5 years
 
7:06 PM
well with the air 11in upgrade to 8gb or ram your not far away from a macbook pro so... maybe go with the pro
 
7:20 PM
I upgraded the 13" model to 8gb and got 5% student discount
so I ended up paying 1030€
which is still 300€ cheaper than if I would have gone with the pro (with 8 gb of RAM)
or 400€ cheaper than the pro with retina display
 
7:37 PM
I got mine as a refurb model
Battery only had 4 cycles on it, was p.much brand new.
Saved $500 on it :D
16GB i7 with 512 for the 4GB i5 price woo.
But the one they sent had an i7 lol
 
lol
:D
how much did you pay in total?
oh the exact model you linked to?
 
Yeah that exact one
Plus tax
So just under $2000CAD
 
wow nice
 
8:25 PM
Always with the "Oh I'll just do one more build by hand". I really should've just built this out properly months ago.
Took me 5 or 6 goes to see BUILD SUCCESSFUL.
Joy.
 
Finally I found the guy who developed PubNub SDK :
I have mailed him if he can help in my issue. ^^
 
I doubt he'll answer
 
What makes you think so ?
I mean, he is in support, He should help, right ?
 
Well, we know who doesn't get motivational speaker of the year
:D
 
8:50 PM
well he's not really in support
according to his twitter profile he's just the co founder
doesn't mean he has to do tech support
 
woot! spent most of today converting our app over to gradle
got everything working with product flavors
so much cleaner than our old ant script
 
\o/ :D
 
00:00 - 21:0021:00 - 00:00

« first day (1374 days earlier)      last day (3573 days later) »