« first day (1600 days earlier)      last day (3365 days later) » 

7:01 PM
o/
Emm never earn another reputation point again
 
I want to make it to 10K...
6666 is gone...
 
no! It was great
 
I just made another 2€
#gettingrich
 
lol
now you can buy a coffee!
 
this stock market thing is awesome. getting money for not doing anything.
seriously, 2€ a day is not bad
I can pay my gym costs with this... 3 times!
if I keep doing it the whole month
 
7:05 PM
is it still not real money?
 
It's real money
started with real money last week
 
can you lose it?
 
what?!
 
yes I can lose it, but I won't
 
I need...
 
7:05 PM
have it all covered
0% commission...
it's a dream.
 
how much money you started with?
 
150€
 
moves to gchat
 
and I made 6€ today and yesterday
and 40€ the day before that
 
pfft euros aren't real money. cash that shit in for bitcoins
 
7:07 PM
LOL, I read "I made 2,000E"
 
Zimbabwe money*
DUDE
2k?! lol.
I was wondering why you're flipping for 2 euros
 
one of the tiny little things they changed in AS which i like a lot
is when you run your application and dont have a device plugged in
prior to this update itd go to an emu and stay there even when you plugged your USB in
now it switches to your device
its a tiny change but id accidentally launch an emu all the time
 
I hated the automatic emulator launch
 
i dont get the relationship between dp for like dimensions and text height
 
7:17 PM
why getting married in the first place
 
an argument for sex before marriage een? lol
 
lol
Or just demand that you do a tour de france
hahaa
 
lol
 
And you haven't even read what's on page 2.
 
haaha; I like how their pagination works; lol
 
7:27 PM
all the juicy bits are on page 2
-2
Q: Instagram Get likes on photo without api

user2870161Last few days i had try to make a app for Instagram like without auth. i had successfully login without auth but when like it return 404 error or 501 error i had try all but i can't find any solution please help me. sorry for bad english. here ref. link :- https://github.com/Batareeed/instabot ...

i not have specific type of person i like to date. they just need to live on mars
 
if you is on earth and lonely, looking for friend you may emails me: onmarsfirst@hotmail.com i will tell you of mars
So what I read is that they have email on mars. Awesome!
 
@MaxWorg Welcome. Please read the room rules.
 
7:45 PM
@shivamDev since you didn't bother to talk the whole hour and a half you had write access, I've revoked it. If you actually wanted to chat here, please use your access instead of just idling in chat.
 
I think almost everyone who was given access today, has lost it already
 
Quick, give me reason not to buy it!
 
You should buy it!
Wait, that was the opposite. Oh well, still buy it
 
Nooooooooooooooo
 
you don't have a job!
 
7:50 PM
What will I do with my time?
 
poor people things
like marbles
play with a piece of string
 
It's not working..
The TAX did it, I live for yet another day.
 
Hello!
 
Hi!
 
hi Max.
 
7:54 PM
Straight out of the gate - I have a challenge for anyone that is up for it.
 
Don't do it!
 
For the Android-elite.
 
Move your network stuff to a background thread
2
 
Raghav is hidden somewhere with his ban hammer!
 
restart eclipse to refresh your missing R file
NEXT.
 
7:55 PM
but there will be refreshments afterwords
 
don't compare strings with ==
 
^
use ===
 
^ objects* ftfy
 
! use switch
 
return (dups & (1L < (theString[i] - 65)) != 0)
 
7:56 PM
MaxWrong, I like where this is headed ;)
 
switch (string) { case "a": handleAString(); case "b": handleBString(); } - like that nana?
 
I do, thanks Jlin.
I just finished my coffee, just around this time yesterday... snakes happened.
 
Get these motherf** snakes off this motherf** chat room
 
Pussy
 
I want to know what the "best practice" for both setting the camera's preview size AND the logic to correctly display that preview in a view to maintain aspect ratio. Here is my SO question
 
8:03 PM
Did you read the room rules?
 
Yes - I don't think I qualify as a help vampire.
 
The question is actually well researched.
 
Yes, the question is fine, but it is the first thing you did in the chat room.
 
So help me out here, why not just calculate your max available rectangle and then pick something that fits in and display it centered with black background?
I am still reading the question, but this is the first thing that popped in my head about halfway down
 
I am going for an "Instagram" like camera preview where it will never have the black background and will always be the width of the screen. I think the solution may be to let the preview image overflow the bounds of the screen and just crop out what the user didn't see
that way aspect ratio is maintained and the preview is never distorted
 
8:06 PM
In that case you always make it fill the largest dimension and still center it and crop what falls outside of the view(or jsut forget about it, it will get cropped automagically)
^^ yes
 
the reason I asked the question in the first place is because everyone seems to point at the same solution for calculating the "best" aspect ratio but in my research on the topic I have found that these implementations don't actually give you the best - they just don't give you the worst
so I wondering if there was something I was missing about the process
 
for a portrait style layout I'd find the closest height match, center and crop the width
should be able to get in pixels the size of your box and do a simple iteration to find the best match
 
the camera preview itself will always be the same dimensions of the device (full screen) but the portion that the user sees will always be a square of ScreenWidthxScreenWidth
(think Instagram)
 
And I think you're calculating your display ratios incorrectly. I am assuming you have the phone in portrait mode?
 
I am? Well that could be problematic. What do you notice that is incorrect?
The phone will always be in portrait mode, yes
 
8:12 PM
if you crop to a square the aspect ratio doesn't seem as important as matching the dpi
 
well the cropping doesn't happen until after. I'm more worried right now about how the user sees the camera preview. The resulting image always looks perfect but the preview is what is messed up
 
800/1216.0 = 0.657894736842
1216/800 = 1.52
 
can you change the scale type of preview so that the aspect ratio is unaffected? you can with imageviews
 
480/320 = 1.5 => delta = 0.02 not 0.842
That is for Display #2
 
you can change the size of the view that the preview goes inside of but that will also have to maintain aspect ratio - and there is a way to say "fit" inside but then you get black stripes that are ugly on the sides depending on the sizes
@nana - let me go take a look
 
8:16 PM
I guess I could explan myself with words if the need be. But these little shouts of random numbers should be clear enough.
 
42!
^ answers every question
 
i think it is without !
it is just 42
 
@DaveS =1405006117752879898543142606244511569936384000000000
 
42 is too small
 
wouldn't you need to calculate each ratio with the same convention? For example if I calculate the ratio using w/h then I should calculate every size with the same convention, right?
 
8:18 PM
i guess excitement could be mistaken for factorial
 
Java doesn't think so.
 
@MaxWorg I don't think so, the Android doesn't care that your phone is sideways. it swaps the axes.
 
let's be clear nana, landscape is sideways, portrait is right side up.
 
So 1080x1920 screen becomes 1920x1080. Your 640x480 preview is still the right side up wrong side down.
 
and if I'm always in portrait mode? (my app doesn't support landscape)
 
8:20 PM
@shivamDev You have write access again. Are you going to talk this time?
 
You shalt not careth. Recalculate the ratios, and deltas, and observeth!
 
@shivamDev, if you do not talk on the next 5 min I will put you on the ban list
 
harsh emm
just remove write access and ridicule him
 
why does he request access 2 times and does not talk?
 
lol chill xD
 
8:23 PM
I'm not sure, try asking him
 
480x320: 480/320 = 1.5 (0.02)
864x480: 864/480 = 1.8 (0.28)
 
he's just shy
 
you think?
 
800x480: 800/480 = 1.66666666667 (0.146666666667)
 
Hi
 
8:24 PM
@shivamDev don't be shy. We don't bite. Well, nana does but that's all
There he is!
 
Sorry I left office at that time
 
there he is
 
haha
 
those calculations are with width/height
 
8:24 PM
whats this ban rule guys?
 
rules are not for us to discuss
so, don't ask
 
hi codeMagic
 
I just thought that you were mocking us because you requested access once, you didi not talk. Then you did it again just now, and were not talking...
 
Hi, shivam
 
max, why not have the preview in the back of a relativelayout, then you can grow it to match any pixel ratio and crop it.
 
8:25 PM
How's it going?
 
hi shivamDev. We get a lot of people who repeatedly request access and then never chat (and even berate us in private rooms when we revoke the access), and Emm ran out of patience with it.
 
@Blackbelt - nah what exactly I was asking was that if we wont participate we will be banned or what?
 
I am teasing you
 
just have it overflow behind other ui elements and off the screen
 
Great just going to complete my 2 yrs in Mainframes, but passionate about android so want to switch into android @code
 
8:26 PM
There were probably about 5 of 6 today removed for not saying anything after requesting access
 
@CarlAnderson - I do understand, actually last time I asked for access, I was in office so was busy with other stuff too
@bla
 
There is nothing more important than room 15 chat. Better that you understand that now
 
@shivamDev no need to ping on every message. Did you read the rules?
 
Fuck, don't get Emm riled up again
 
8:28 PM
can you stop pinging me?
 
It's green and pink
 
you are an artist'
 
ok I got it
 
@MaxWorg I answered your question.
 
ah ha! let me go take a look.
 
8:29 PM
Tf? I stepped away for a minute or so.
 
can I get the rules link please?
 
user image
2
 
<3 rules
 
got it going through it
 
8:30 PM
Dave that's beautiful
I'll print it out and put it on my wall
 
lol
 
I think it's antisemitic, I don't see no Jews there.
 
the brown ones could be from israel
 
Maybe the one on 3 o'clock.
Those are no ponytails. Make no mistake.
 
lol
 
8:32 PM
what does a banana care about race anyway?
 
We are all equal.
 
technically you're a GMO clone
 
I mean you are all equal.
Then there is me :)
 
electricians are about to shut down our power. bbl
 
good rules
didnt get point no 5
 
8:35 PM
If you feel like posting a cat image, feel free.
Or sneks. Sneks are welcome too.
 
it seems we can discuss anything in this group as per the chat posts here.
 
@DaveS so nana is impotent?
 
@MaxWorg So, we're supposed to talk it out here.
The current ratio is what you care about when you display preview, right?
 
yes
 
When you want to display a preview you initilaize:
- get the ratio
- find all the preview modes
- pick the best one
- profit
On screen orientation reinitialize.
 
8:44 PM
the top part of my algorithm determines the orientation but that is the orientation of how the camera "holds" the images
 
IIRC you were aasking why does the smallest delta not give me the best preview, the answers is silence. Because it does.
 
can we ask generic help questions here? (sorry was not in rules)
 
so maybe instead of getting orientation from the camera's parameters I need to get orientation from the phone's system service like you said
 
Yes, 15 minutes after every full hour.
 
you mean at xx:35 ?
xx:45?
 
8:45 PM
I guess, it depends on what ratio you care about
 
I think at xx:15 ?
read it wrong
 
Both of those are wrong :)
Yes
 
lol
 
haha so I can ask now, right?
 
the orientation of the camera is needed to determine how to deal with the resulting image after it has been taken and I think that might be why other algorithm fall short on this issue
 
8:46 PM
no
 
lol why not?
 
but the device orientation is what is needed to determine how to calculate the preview ratio
 
I think you're accidently mixing those things together because you have been staring at it too long :)
 
let me go check all of this out in code. This may be earning you a coveted green checkmark.
 
I think you care only about the preview ratio (and actual size but let'S forget that) and the current screen ratio.
@shivamDev 26 minutes of silence left.
 
8:49 PM
@nana
 
@shivamDev If it's well researched and not something that is simple to search
 
@nana I am still staring
*starting
 
Now, since your current score ends with 54, you are allowed to ask one extra question at ##:54
 
which time zones you guys are in?
 
Only once a day though, and those don't accumulate and can not be used on Thursdays.
Each in his own.
 
8:51 PM
yeah I know that... just asked to know if someone belongs to my timezone.
 
This is all based on UTC
I think couple people do. Is it Wednesday 2015 in your timezone now?
 
for me its showing as my timezone which is gmt +5:30
its thursday now
 
What is your UTC right now?
 
UTC +05:30
 
You can also ask once every time the unix epoch timestamp hits 12 trailing zeroes. But you need to ask it in exactly that millisecond.
 
8:53 PM
I think you're going to miss your 54th minute opportunity!
 
then its better if I ask in SO itself
 
Remember! No edits on private minute questions!
 
right now its 02:24
I just wanted to ask for IAB in android... done a lot of research but not able to understand its flow
wooo on 54th minute only
 
0
Q: Android Mainactivity dosent show activity_main.xml

adids1221After i changed some of my app desigen at the activity_main.xml and launch the app the MainActivity class desigen dosent changed help :) i tried to change the desigen after i changed the workingspace from tablet to android phone and the desigen dosent feet on the phone the imageviews aer to large...

WTF?
 

« first day (1600 days earlier)      last day (3365 days later) »