« first day (1816 days earlier)      last day (3115 days later) » 

10:00 AM
instagram in beta?
lol no, why?
 
@Ahmad I found a serializer of XML, casually
 
oh really?
link?
wow that's nice
 
It is supported by Retrofit to convert objects
and it was there where I found it
 
ooooh the app
I don't use win phone lol
never did
 
10:02 AM
crazy people use windows phones
 
user443346
I will never hate Windows, I do hate Skype.
 
unless they get android app support today
 
that thing is BETA for ages
 
yeah you can plug in custom serializers to retrofit
@Jordy why? Skype is pretty nice
 
user443346
Naaah
 
user443346
10:03 AM
Background noise is just straight retarded
 
user443346
Even when using USB headset, still noisy
 
really? it worked fine last time I used it
 
user443346
Yeah Skype's sound is very random.
 
granted, I don't Skype that often
 
I find that viber is having a good sound. better than hangouts, though
 
user443346
I only use Teamspeak for online conversations
 
and hangouts app is really buggy
 
user443346
But when i need to share my screen skype will do perfect indeed
 
user443346
And agree on buggy hangout
 
Loooool warren xD
 
10:06 AM
@Ahmad annoying ads, stupid Android app in general, no privacy (they agreed to hand all messages to ФСБ)
 
but isn't that more of a russian government thing?
or can they not opt out?
 
opt out of what?
it's implicit for users
 
well not in europe, mwahaha.
XD
 
although I'm not sure how it's dealt with for users from other countries
 
skype works flawlessly here
 
10:08 AM
skype has no ads in europe?
seriously?
 
last time i checked, nope
 
on OS X?
or other platforms?
 
on win10
i use the app though
 
on OS X it doesn't have ads, that's true
that's an interesting phenomena by itself
 
will check it today when i get home
that's a cool feature of the new windows, being able to have the app version or the desktop version
 
user443346
10:09 AM
Yeah it works fine but it's not the best quality and twice the delay in comparisation with Teamspeak. I don't call it bad but I don't like it eiter.
 
also it used to have some arbitrary limitations, like no more than 5 users in a video call
 
user443346
When sharing screens its perfect, even on low bandwidth you can share your screen.
 
delay in skype?
 
user443346
Yeah small delay
 
also, skype's video codec is atrocious for screen sharing
 
user443346
10:10 AM
IE: 20ms is a delay aswell :p
 
i usually find more delay on steam's shared rooms
i use skype for gaming purposes
ain't nobody got time to host a teamspeak server
 
user443346
Yeah, steam is very slow
 
I mean, it may be unnoticeable if it's given huge bandwidth, but it's not effective at all for screencast-like content
 
user443346
Hahah Im hosting my own Teamspeak on my dedicated
 
user443346
So welcome mate :p!
 
10:11 AM
XD
 
user443346
You know the Dutch footballer Dirk Kuyt?
 
we picked skype as prefered because we're all ( friends ) using wifi and steam voice chat on wifi is bad as hell
nope :(
 
user443346
:'(
 
and sometimes Skype decided to eat CPU power just because it can, and there's no way to check what the hell does it do, since the code is closed, and I heard that the binary is thoroughly obfuscated
maybe it's mining bitcoins for microsoft
 
^lol
 
user443346
10:13 AM
Well, can't reproduce the CPU problem but will never prefer it above ts :p
 
user443346
Skype worked so good before MS bought it.
 
the most (random, unintended) cpu/ram consuming software on my PC is chrome.
 
for general purpose chatting/talking there's also hangouts
 
user443346
Since version 6 and above i'm a little sad
 
it usually works ok
 
user443346
10:14 AM
Well, hangouts is sometimes very random in giving the notification of "the actual hangout"
 
user443346
Or you join an empty room
 
@Jordy some people say that the same situation was with MS-DOS…
 
user443346
Dos is just awesome
 
user443346
And unix aswell
 
day of tentacle 4ever
 
user443346
10:15 AM
The good old days when you had an entire list in your MSDos of games
 
user443346
Selecting any game from the menu
 
user443346
Nostalgia
 
empty room in hangouts is a feature probably. what I really miss there is the ability to start group chat with just 2 members.
 
user443346
"Feature" :D
 
user443346
I'm telling that to my boss every time he has a blue screen
 
user443346
10:18 AM
Its an feature!
 
user443346
a*
 
o/
 
\o
 
blue screen screensaver. best winXP prank ever.
could only get out by pressing esc 4 times.
 
lol
 
10:20 AM
oh, forgot to post this after the microsoft motto.
 
user443346
Funnybot
 
user443346
Time for a lunch break
 
user443346
Guys, ttyl.
 
seeyalater.
 
10:31 AM
I got into hackingedu! :)
 
it's quite entertaining but there is truth behind it
I love how an overwhelming majority of the germans is pro refugees, and the radicals are in such minority right now
or maybe that's just my perception
yaay tristan :D
 
Guys, can you recommend a good Backend as a service platform?
=(
There's just so many
 
heroku?
 
Ok, noted. =)
 
3scale
 
10:41 AM
heroku isn't a BaaS
heroku is a SaaS
no wait, it's a PaaS
fuck this, it's all too weird
 
why we keep using so similar acronyms?
 
they are actually easy to remember once you know what they mean
 
GraSS
 
^ Greedy rats as a Software Substitute
 
10:55 AM
@Ahmad were you accepted to HackingEDU?
 
bad joke of the day :
how do you start a fantasy tale taking place in newcastle?
Once upon the thyne.
 
I broke my keyboard, here's the list of keys that stopped working:
 
11:16 AM
trello is amazing for project management
on small collaborative environements
 
Trello is kinda cool.
 
it lacks one single thing, implemeting any software tracking tool ( a widget to bitbucket / github / dropbox ) and a issue tracker
 
Burger King unleashed
 
11:37 AM
anyone tried deep linking their app with google searches?
 
yup
got it to work. had to to terrible dark things
wait
google searches , or google search bar url ?
 
whats the difference?
 
so "myApp://" in the search bar?
 
nah, google searches
s othey search for something, and they have the option to open it in my app
 
hmm nope. afaik, deep linking is for links only
be them on a normal or custom protocol
so, you can set your app to listen for your user clicking or searching on the phone's search bar for "http://yourwebsite.com/app"
 
11:40 AM
that's annoying, we work with lots of restaurants and want to be able to link with them in google
we can't exactly ask them to verify their website with us
 
i'm not that expert in deep links.
but for what i've read
it's for url detection only
 
does that mean i can hijack any url with an intent filteR?
 
yup
 
what the hell...
 
or almost any
i don't know how secure is that.
 
11:43 AM
well the first step for me was to verify my app with the url I wanted to link with, so it send a request to the webmaster
so I assume I would have to do that for every url
 
i had to do nothing server side to make this work
replace mywebsite with our client's website
 
ok that seems very odd
testing it now
 
so in theory it should work for any link
 
Shit, it worked
gave the chooser dialog, chrome, or my app
 
XD
but be sure
 
11:46 AM
so insecure, i can hijack any site
 
to put that intent filter
on a secondary activity
an empty one
 
why?
 
if you put that on the main (first activity), it overrides the LAUNCH intent filter
and won't show on app list
just create a blank activity that redirects to the main
 
weird
 
yup.
 
11:48 AM
do you mean the app won't show in the app drawer? because it shows for me
and launches fine
 
from the market, no
that's teh secret
we discovered that shit after uploading a client's app on a friday afternoon and coming back on monday to see hell and turment fall upon us
 
market? you mean google play store?
 
yup
 
hmm pressing "Open" works for me
 
public class DeepLinkRecieverActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_deep_link_reciever);
Intent i = new Intent(this,SplashActivity.class);
startActivity(i);
this.finish();
} }
we had to do this.
:,(
 
11:51 AM
so what I'm talking about is under Services & APIs in your google play publisher account
APP INDEXING FROM GOOGLE SEARCH with a "verify website" button
 
hmm never done that.
lemme check
aahh ok
it's the same, just at google searches level
so, it kinda adds a new layer of deep linking
when a google search has your linked site that your app is ready to recieve
and you click
it will launch the same dialog as in the search bar
(or i believe so)
so if you search mywebsite app
and click at the google search result mywebsite.org/app/android
it'll open the dialog
or that's what i understand
 
@Mitch welcome, please read the room rules
 
brb in 2 hours. lunch time!
 
"Before you ask a question here, first thoroughly research it yourself, and post it on Stack Overflow" i don't think the question i have is worth asking on SO :/
@Ahmad ^
i'm wondering where the track colour comes from here: i.imgur.com/sW3Vvsv.png
but i can't see where that slightly weaker shade comes from
 
12:06 PM
maybe it uses transparency? so base colour with a different transparency value?
 
ah
good point
do you know where those would be specified?
i'm trying to figure out if this is something that's generated or specified by the user if they want to create their own branding
 
do not know, but here is a material pallete
 
yeah, i've been using that, but what i don't understand is that the "light primary colour" is exactly the same colour that is used in the track
yet it's a primary colour, not an accent. it's quite confusing to me
for now, using 25% of the accent colour works quite nicely, thanks :)
 
user443346
12:26 PM
Backerino
 
12:39 PM
@mitch hmm I don't think that's a predefined color
LOL
 
anyone know where to download crashlytics sdk from? can't find a download link on their site
 
you have to use gradle
or download the .jar from maven central
they have their own public maven repo
 
i ca'nt even find the docs for that on the crashlytics website
weird
seems like i need a login
annoying
 
12:55 PM
yeah you do
it's not a public sdk
you need to get invited (?)
not sure if that's still the case
however, you need an account
 
there we go!
yup
 
So, it means we can not send any text to anyone without having messenger?
 
yup
and even if someone has messenger installed, they need to send it
you can't automate that
 
ok, thanks. I saw somewhere that we cannot post also
because they can set privacy at their ends.
I can automate by integrating messenger
 
1:18 PM
o/
 
Hey Ahmad
 
yo
 
1:47 PM
\o
 
is crashlytics just one line to initialise and then it reports all crashes from then on?
 
nope
I think you have to configure something else
can't remember though
don't believe it's just one line
OMG GET IT
41 pages
 
2:07 PM
GOT IT
 
i'm back
 
Welcome back
 
boring class
learning about postproduction hardware setups
 
Hey, stop copying me
 
@Ahmad you going to HackingEdu? Raghav?
 
2:15 PM
Don't think so
 
Aw damn
 
Feb 25 '14 at 20:30, by Raghav Sood
user image
Wow over a year ago
@FoamyGuy It's called a USB RAID array iirc
They're mostly used for mass duplicating flash drives
But I supposed adb commands should work too
 
i don't see a copyright statement in that image
mwahaha
 
i want my goddamn nexus 6p
hurrry up
 
i want my box of SO goodies
our office n4 died today. coworker bought a bq m5
i iz of happy
:3
 
2:25 PM
@TristanWiley nopes ;/
 
Anyone do much with USB Host?
 
nopes
 
I need to know which port a certain device is connected to
 
looks cool.
 
Thanks. Not sure if that will help me or not but I'll look at it more
 
UsbSerialPort port = driver.getPort(0);
^^ this
it's in netpork's lib
 
My boss wants me to find what "Com" port a device is connected to for some shit he is working on. The app is connected to a usb hub and I need to know where this specific device is plugged into, I guess
Oh
That might be what I want
Why can't that be in the android API?
 
because google wants you to program every small bit of thing. where would be the fun if their API's worked just out of the box?
you silly human.
 
hello everyone
 
user457812
2:38 PM
Death be upon Active Directory.
 
But I don't want to use a lib just to send a port number to this idiot which will probably all change at some point anyway :P
 
what's going on with AD nil?
need help?
valium?
 
user457812
I'm removing it from everything dev-related at work.
 
user457812
Replacing it with Google Apps for authentication.
 
2:40 PM
sounds like a fun and frustating job.
 
user457812
It took about five minutes.
 
user457812
The part I'm waiting for is when everyone on the team that's accessing our source code server goes in and connects their Google account, at which point I'm going to disable LDAP authentication entirely and delete LDAP user associations
 
Active Directory? people still use that?
 
^big businness all over the world for corporative settings
 
user457812
It's a legacy holdover that I had to support until the person who whined about it the most left.
 
user457812
2:42 PM
He was the one and only Windows fanboy remaining, he's gone, nobody likes AD, so I'm finally unplugging it from our git server.
 
XD
 
@codeMagic look how they are handling that in the lib?
 
on a dev environement it makes little sense
for administration it's really useful
 
user457812
There's still one other place it's in use and I'll probably nuke that off the face of the earth later, but it doesn't affect me
 
user457812
For administration LDAP would be useful. Active Directory is some sort of evil, bastard LDAP implementation that ruins everything useful.
 
user457812
2:44 PM
Besides that, LDAP isn't useful because we can't effectively use groups in it without paying for enterprise support in the few things we do use LDAP for
 
@netpork Yeah, I'm going to, thanks. I just wish I could say USBDevice.getPort() and Android give it to me
 
i've seen pretty cool AD setups when i worked for my country's administration as IT.
 
user443346
Hi all, could anybody explain why my S6 takes 1.5 minute to convert a BitMap to a base64-string?
 
samsung?
 
user443346
Yeah
 
user457812
2:47 PM
How large is it?
 
samsung camera app sucks
 
user443346
Full image
 
user443346
Is like 8-12MB?
 
user457812
How large is it?
 
that's 4k then
15-20mb
also your image will surely have a corrupted settings meta.
so you might have portrait-landscape problems
 
user457812
2:48 PM
Images don't have settings files.
 
just as an advice
 
user443346
They dont have files Nil, but they do have meta inf and orientation settings
 
user443346
Getting crazy because of ExifUtils
 
user457812
Most images have their own metadata chunks, so it's not important.
 
user457812
Are you doing any colorspace, depth, etc. transformations?
 
user443346
2:49 PM
Nothing at all, my full image is just a newly taken picture
 
Anyone going to KHE?
 
i had exif rotation problems on a s6 this morning
 
user457812
So are you encoding the raw file as base64 or an RGBA decoded form of the image?
 
user443346
Damn, now you asking me a little too much :p RGBA if i'm right
 
bitmap to bytes, bytes to base64?
 
user443346
2:51 PM
Just started in Android since a month, I'm making progress but these bitmaps and threads are driving me crazy.
 
user443346
Yeah exactly
 
user443346
public String BitMapToString(Bitmap bitmap){
    ByteArrayOutputStream baos=new  ByteArrayOutputStream();
    bitmap.compress(Bitmap.CompressFormat.PNG,100, baos);
    byte [] b=baos.toByteArray();
    String temp=Base64.encodeToString(b, Base64.DEFAULT);
    return temp;
}
 
user457812
Oh. That compress call would do it.
 
png bitmaps don't use the quality setting, so that 100 will always be 100. as a hint.
 
user457812
You didn't mention you were re-encoding and compressing it.
 
2:52 PM
outofmemeory errors from bitmaps drive me crazy
 
user443346
So what is your advice?
 
user457812
Don't do that.
 
now we need runtime permissions I can't cache to disc because nobody accepts a permission that says "Access to all your photos, files and media"
 
user443346
So this compress method is useless?
 
user443346
For bitmaps atleast
 
user457812
2:54 PM
It's useful, but you're transcoding a large image on a phone.
 
user457812
@rob_pike @_rsc http://t.co/L6BdHA9bLy
 
file to bytes to base64 would be faster i believe.
 
user457812
It'd also be even larger. Just encode the original file.
 
user457812
You won't lose metadata that way either.
 
user443346
I'll try this out, thanks for your suggets!
 
user443346
2:55 PM
suggests*
 
user443346
meh, almost 17:00.. can feel it
 
user457812
*advice
 
user457812
While you're correcting things.
 
user443346
Time for leaving the office i c
 
user443346
:d
 
user443346
2:58 PM
Guys, enjoy your evening. Thanks for your advice* ;)
 

« first day (1816 days earlier)      last day (3115 days later) »