« first day (3474 days earlier)      last day (1473 days later) » 
02:00 - 19:0019:00 - 23:00

2:47 AM
@JBis No.
Your number of devices is bounded by the max number of people in a call
It's not likely to be very high, maybe a hundred or so at most
Just create a lookup table with the precalculated values for D/R
Then you have O(1), and constant space
 
3:03 AM
1. That's no fun
2. See #1
Idk, I don't think a precomputed table is necessary
 
3:24 AM
Also, if you lay out things slightly differently, you can simply do r^2 as the max views in a r rows
 
 
1 hour later…
4:26 AM
@RaghavSood interesting, i'm not sure that would maximize space when devices aren't a perfect square (both numerically and size wise)
 
4:37 AM
@RaghavSood haha thanks!
the idea of squaring that helped me derive a function in O(n) for my table from above
 
Lookup tables are still O(1)
This is exactly the kind of problem they're meant to solve
 
O(1)*
i meant I derived an O(1) function
function getRows(n) {
   dpr = Math.ceil(Math.sqrt(n));
   return Math.ceil( n / dpr);
}
devices per row is the square route of the closest perfect square that is greater than n
from there you just solve for rows
 
5:03 AM
Fragmented - Android Developer Podcast: 195: Going on-call 🚨
posted on April 20, 2020 by shows

Have you ever gone on on-call rotations for your company? What is on-call? How to operate a successful on-call strategy? What does on-call for mobile mean? What are some tools and resources to help with on-call rotations? In this episode Donn and Kaushik dive into these topics.

 
 
3 hours later…
7:34 AM
Online since 20-04-2020 07:34 (UTC). Running on develop@355b70d. Uptime: 0h
 
Good morning everyone!
 
7:49 AM
Greetings, person-who-is-carbon-based-yet-relies-on-silicon-for-income-and-purpose
 
\Q
 
8:23 AM
great another day were I will start the real work after 7pm when the kids are asleep
I need the kindergarten being open again NOW
 
haha when are they opening again?
 
I have no fucking idea
 
Morning everyone
 
there are some "emergency places" available for those who cant take care of but you either have to be working in an essential job (both parents) or at least one while the other one is not allowed to work from home
and I am even forced to work from home by my company
so it doesn't matter that my wife is a midwife and therefore an "essential worker"
 
yikes
cases are steady in germany so imagine its not opening anytime soon?
 
Tim
8:32 AM
hmm
 
timmy what about you?
 
Tim
what about me
 
lockdown and work?
 
Tim
yes
 
such lengthy response
 
Tim
8:36 AM
I am working from home at least until end of may
 
ah
we might see some restriction removed after 3rd may at least i hope so
 
Tim
why do you hope that
or what restrictions
 
lockdown
we have a lockdown till 3rd may
 
Tim
we need that here
in NL people should only go outside for essential stuff, but nobody seems to care
 
ahoy
i know it's an evil thought and many unrelated will suffer, but they allowed that protest in the first place.
 
Tim
8:43 AM
retards
 
this is the one thing I don't and probably will never understand, virus spreading by human contact? => let's protest!
 
Tim
stay away from the 5G towers and you can't get infected
5
 
XD
 
Probably because of rebellious personality, they must have restrictions or abuse in their childhood
 
9:34 AM
@maryam @LãoTà @SatyamGoyal @ABC @joska, you currently do not meet the requirements to join the room, you can find the requirements here: room-15.github.io
@raghav is your offer still valid to host the bot? :D
 
Yup, let's talk over hangouts
 
@tim check discord when you have a minute :D
 
9:50 AM
Discord is bad
We should shift to IRC
or matrix
 
@Tim we have door to door delivery at some places, bulk delivery at some places and different kinds of stuff acc to area for essentials delivery
@Tim wont that make NL more screwed?
 
@RaghavSood i suggest using an existing infrastructure: the post service, the latency is quite high but the guarantee of delivery is as high
 
Not necessarily true for the US if things don't start looking up
 
Then again, we'd really only be losing Carl as far as valuable room members go
 
9:52 AM
Poor Jbis xD
 
> valuable room members
> JBis
> No.
 
what about shallow dave?
 
> valuable room members
> Shallow Dave
> No.
 
10:30 AM
!~shiba
 
10:57 AM
@mwb how are things going for you?
 
hey Mehdi, I'm currently on auto-pilot, trying to get as much done as possible
seems to work as I have not yet passed a deadline
 
good!
are you using some task management tool to be organised?
 
Tim
11:16 AM
@ColdFusion natural selection? All the stupid people will infect each other and die
 
11:27 AM
@CptEric who would have thought that having large public gatherings, while this is still happening around the world, would have been a bad idea /s
@Tim lol this is my exact thoughts on what is happening
I'm just waiting for someone to come out and say it's Thanos who is the one who started this
 
11:47 AM
 
lol how does that even happen
 
alcohol and a good visa status?
 
12:07 PM
@Mehdi I have a daily to do list, for personal and work related things
@Tim #RandstadVibes here in Drenthe we can go out and never have a crowded place
 
12:24 PM
@Tim lmao
@CptEric not really sure US has visa free access to India
@MarkO'Sullivan it doesn't lmao
@MwBakker your government cant issue a lockdown?
 
12:37 PM
@ColdFusion they can but they rely on the cleverness of the people
 
waah what a awesome thing to do
have they learn nothing from such a big human history
 
Hullo
@MarkO'Sullivan Americans
 
hey northbear
 
hey hey
 
I'm pretty sure someone on @DaveS facebook made me hate Americans
 
12:42 PM
Does anybody on R15 discord use mic?
 
xD that sounds normal
 
Or at least severely damaged my ability to trust them as standup human beings
I didn't even know there was a r15 discord
Where are you CF?
Yikes
Move away?
 
lol naah pretty safe here
also move away where?
 
> valuable room members
Raghav Sood
No.
 
but he is a bot?
 
12:50 PM
easily replaceable, not much value
 
Tim
1:08 PM
are we describing ourselves?
 
Move to New Zealand apparently!
 
@MwBakker 👍👍👍
 
@Graeme word
 
Tim
1:23 PM
up
 
Word up Mark, how's it hanging?
And MwB, Mehdi, Tim
 
Hello Graeme, how is life treating you?
 
o/ morning
 
ahoy
 
@Graeme have not been myself for the last year now but slowely coming back to life now that school is coming to an end (I assume)
 
1:35 PM
Life is treating me okay
Hey Adam, Eric
MwB - That's great - sounds like you didn't enjoy school at all
 
I did, but not the last year
Just read my messages it's mostly ranting this year, I broke my phone etc this isn't who I am
Anyway life is treating you okay? That sounds good nice to hear
 
2:03 PM
o/
 
@Mehdi and how are you?
@Mauker hey Mauker whats up?
 
Can't really complain. Trying to get fit so I don't die of Corona Virus.
 
@Graeme all good here! Glad life is treating you okay. Hows people in your area reacting to Covid?
 
Dunno, haven't seen anyone in weeks :D
 
2:09 PM
@MwBakker okay but meh.. I'm starting to hate staying at home, my brain needs landscape variations
 
@MwBakker Nothing much, still on quarantine. Working from home, feeling bored
 
@Mehdi in germany you can still go into the woods?
@Mauker I see, well things are starting to look brighter when it comes to the virus
 
Hello boooooyyyys
 
Are you assuming our genders?
 
No, I just don't like the rest of you
Tbh, I don't even like you boys
 
2:17 PM
So you don't like girls?
 
And booooooooyyyys
I recently catched a disease called "Raghav-20", which make me dislike everybody
13
 
No.
 
@MwBakker yes, but it won't be responsible, I'm doing my part, and only leave for groceries or cycling late at night
o/ Nyak
how is our favorite game developer doing?
 
@Mehdi in my rural area I can go anywhere without encountering anybody
 
you'd think it's safe, but now even tigers can get the virus XD
 
2:34 PM
I am more scared of Germans though
so I get your point
 
if there are enough wild tigers on NL to hunt people and transmit it, human-related covid suddenly becomes a secondary issue.
 
how's everyone doing
 
2:39 PM
yes
 
@Nyakouai gotta catched em all
 
o/
@Mehdi \o Fine and you?
 
@Nyakouai Makes sense
 
2:46 PM
Oh yeah I saw that lmao
Du
Du Hast
 
hahahha
 
I was thinking Palpatine
 
Du Hast mich
 
@Nyakouai I'm okay, thanks
 
I was thinking the hitler one, thankfully someone did it
the April 30th, 1945 one
 
2:48 PM
This man is insane
 
Online since 20-04-2020 14:48 (UTC). Running on develop@355b70d. Uptime: 0h
 
He got out that day to basically defend a military coup
oh hey zucc
 
@ballBreaker if a girl asks you to add her on your snap does this mean imply.. yk clothless photography?
cause I do not have snapchat but I hear the stories
 
you're 26, it's a bit too late to install snapchat
 
mmm not specifically, lots of people just use it to send pics to eachother
 
2:52 PM
Oh, oh, and I heard if you install Tinder, you'll get laid the same evening!
Don't believe everything on the Internet
 
@ballBreaker he looks awfully ill
 
hes down with the sickness
oohhhh ahhhh ah ah ah
 
@Mehdi I bought a wall hanging of a forest so I can get my "outside" fill :D
 
@ballBreaker Oh oh!
oh oh!
 
@Graeme hahaha nice :D how big is it?
 
2:59 PM
Like, 12 x 8 feet
Big enough to cover the wall next to my desk :D
 
I wonder how tall is that in everyonelcius
4
 
360 by 240
 
that's huge
 
Oh that's very low res
 
I mean, take that with caution, I've been introduced to imperial just recently
 
3:01 PM
oh you meant cm
lmao
 
So I could be off by a few dozen cms
Cause 'Nada use metric AND imperial, as if it wasn't complicated enough
 
Took me a couple of seconds to realize you were not making a pixel resolution joke
 
3:14 PM
errrrrg math sucks
my layout algo won't work and it makes me sad :(
 
Do maths suck or do you suck at maths?
 
i guess i suck at maths
 
No judgment here, I sucked at maths a lot. (Completely PG 13 sucking, don't worry)
 
hahaha math
 
anyone good at geometry?
 
3:21 PM
12-21y old me, not sure about now
 
If you have a box with x width and y height. And you have 3 smaller boxes at a set aspect ratio (16:9). Whats the largest width of the 3 smaller boxes that will make all three fit in the larger box?
 
should they have the same dimensions?
 
Yes, they must.
 
well then: x, y/3
you'll stack them basically
oh, you mean they should also have the 16:9 aspect ratio?
 
They must be horizontal in a line. Each box itself should be 16:9.
 
3:26 PM
@Mehdi same lmao
 
@JBis x/3
 
@JBis then obviously x/3
 
@Mehdi i wont install it
 
sai Pavan Kumar requested access. Rep: 420 - Questions: 4 - Answers: 23 (ratio 4:23)
 
!accept
 
3:28 PM
@saiPavanKumar welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
x/3 won't work because due to the aspect ratio constraint, if the larger box is extremely wide, the smaller box's height will be larger than y.
 
@MwBakker I was just kidding, wasn't trying to dissuade you :D
 
@JBis "56.25"
 
@JBis this doesn't make sense
 
@JBis "18.750000000000004"
 
3:31 PM
sorry, one sec
 
if you big box is 16cm x 9cm, the smaller boxes would be 5.33cm x 3cm at the same ratio
 
Bitcoin mining is slowly becoming non-profitable, why would anyone still continue to mine except China farms?
 
@Mehdi If larger box is 1000cm x 9cm. The smaller boxes would be 1000cm / 3 = 333cm x 187cm. 187 cm is larger than 9cm.
See the issue?
 
so your big box is not 16:9
 
No. The larger box is not necessarily 16:9. Only the smaller boxes
 
3:34 PM
in that case you don't start the problem with the width, you start it with the height to have the max possible dimensions
 
Yes.
 
> Sometimes we even talk about Android Geometry
 
Greetings!
 
The algorithm must work for both extremes. That is, very large widths and very large heights.
 
alright
so what's the max_surface one small box should occupy? max_surface = xy/3, so x_box*y_box = x*y/3 => we know that x_box = 16y_box/9 => (16y_box/9)*y_box = xy/3 => 16y_box²/9 = xy/3 => y_box = sqrt(9xy/48) => and x_box = 16y_box/9
does that make sense or did I miss something?
 
3:50 PM
i lost you, but that is probably my mathematical deficiencies.
 
Where did you lose me?
 
Why max_surface = xy/3?
 
Because you split the rectangle on 3, and the surface of the big rectangle is xy
I probably made a mistake, I can't do math without a pen and paper
 
but the surface of a smaller box doesn't have to be a third of the big rectangle, right?
 
no, it must be <= xy/3
 
3:55 PM
Yes that makes sense.
So doesn't that throw everything off because you started with max_surface = xy/3?
I think there must be an if statement somewhere. Depending on whether the width or height of the larger box is greater.
 
you guys are going full nerd
 
yes, my bad, you'll end up with an inequality y_box <= sqrt(9xy/48)
 
@ballBreaker just wait till when i pop in asking for help with my linear algebra course
 
the answer to all linear algebra questions is that 0 = 0
 
you're basically ending up with an optimisation problem
 
4:00 PM
@Mehdi Oh, those were fun
 
lol @Smarticles101 needs help drawing lines
its ok, i need help drawing squares rectangles
 
i need help drawing lots of things
 
@saiPavanKumar your access has been revoked because you did not respond
 
@Smarticles101 I need help
period
 
I need
 
haha nice Jbis
 
@Mauker yeah, in pen and paper, not so much programmatically :D
 
:)
 
lmao true
 
4:05 PM
This song reminds me of grade 4, we did a class project where we re-filmed the movie "Holes"
and this song was in that film (the class project)
 
But if you ask me if I remember how to solve those problems today, the answer is a flat no
 
@JBis developers.google.com/optimization/mip/integer_opt#python_1, better go with an existing implementation of such linear optimisation problems
you already have your constraints from above reasoning (y_box <= sqrt(9xy/48), y_box >= 0)
 
Man, these coronavirus protests going on in the states are lunacy at it's most pure form
I just can't
 
we should host our own
 
4:09 PM
@ballBreaker same...
What's worse is people, once again, blaming the big ol' communism for all things, and trying to make this problem a political thing.
This could've easily started on another country
And unfortunately, it's not a question of "if" we're going to have another pandemic, it's a matter of "when". New viruses will show up. Nature is just like that.
 
dems and republicans are making it poltical
 
Things mutate, that's how we're here in the first place.
@JBis Everyone is making it political...
 
Oh yeah I saw that as well the one in Israel, soooo dumb
 
@Mauker Are you hiding something?
 
at least they have the decency to distance lmao not like it'll help much
 
4:12 PM
@ballBreaker at least they are trying
 
@Mehdi Am I?
 
NGL the israel pictures are really cool looking despite it being dumb
 
@ballBreaker def is helping at least a bit. The US ones people have no masks and don't give a shit.
 
and yeah, at least they are trying
 
Apr 25 '18 at 12:44, by Murat K.
tim are you hiding something?
 
4:12 PM
Yeah it's definitely better than stnading next to someone and w/o a mask
 
My point being: They're using the picture of communist to blame everything, even when it's not about politics
 
@Mehdi yeah thats too complicated for my brain,
Maybe I'll just have a popup "Bitch, make your window a normal size. I don't got time for these calculations".
 
@Mauker Yeah this whole thing is really bringing the stupid people out of the woodwork, from the general ridiculousness coming out of the US since this whole thing started - to the burning down of the 5G towers in europe
 
Once again, people are stupid.
 
Yeah big time
 
4:14 PM
A person is smart. People are stupid.
 
@Mauker it was a reference to a conspiracy theorist on SO who had posted on a technical thread an answer saying that Kotlin or something else made by jetbrains had a hidden agenda, he then asked tim if he's hiding something after tim told him his answer is out-of topic XD
@JBis bro, it's a 1 liner, just import that lib and use it :D
 
Here in my city, we're not allowed to go to public parks as long as the quarantine lasts, but there was a woman who said FU to that and went out for a walk. The cops spotted her, asked her politely to go back home, explained why she should be at home, and all she could say was "You can't take the right to come and go away from me, it's in the constitution" (even tho in a calamity state such as the one we're in, that can be changed).
 
@Mehdi hmm
 
After a while, she refused to go home, so the cops said she was going to be taken home by them, and she resisted and bit one of the cops (lol). After that, they said she was under arrest and she resisted even further, yelling "I can't breathe, let me go, you're hurting me! You communists!"
@Mehdi lmao
 
@Mauker oh god hahahha
 
4:19 PM
@Mauker replace cops with parents and that woman with their kid.
 
hahahahahahahahhahahahaha
It's even funnier cause I imagined the kid calling their parents communists
 
@Mauker here people starting throwing stones when doctors when to areas to ask people to come out and take treatment or quarantine themselves since they primary contact ( had contact with covid +ve person)
 
that entire scenario is perfectly encapsulated in this video @Mauker
 
haha i love that movie
 
> come and see the violence inherent in the system, help help I'm being repressed!
every single scene in that movie is a masterpiece
 
4:23 PM
@ballBreaker hahahahahaha
 
@Mauker wtf
 
@Raghunandan There were some people here doing a motorcade that blocked a hospital entrance (they were defending that we should open the trade again, among other things pro-Bolsonaro). People started to throw eggs at the cars, and then one cop pointed his gun to the ppl to make them stop the egg throwing.
 
@Mehdi my concern is that it might be brute forcing it instead of mathematically solving it
 
go look at the source code then
 
wow!. what's wrong with people. govt has to not only fight covid 19 but also with foolish people as well
 
4:35 PM
@JBis no, these libs are there, to avoid brute forcing, it's an approximation that you get
 
shouldn't this problem be solvable? (as opposed to an approximation)?
hmm, i think you just need to find the asepct ratio of the larger box and compare it to the smaller box (16:9)
 
do I want leftover pad thai for lunch, or do I want to make grilled cheese
 
grilled crabs
 
5:21 PM
grilled grill
 
we need da grillmaster Dave
 
powerpoint question, how do I grey out content after a transition, say in a slide with multiple steps, once I'm done with a block and moving to the next one I wanna grey it out so people focus on the current one and I also wanna grey out the future steps I haven't tackled yet
 
@Mehdi put a grey box as the next step?
 
I would prefer not to add anything to the slide, thought there would be some option or something
 
5:41 PM
what about opacity step?
 
where is that? :D
 
isn't there just an option in the animations panel?
 
nvm, there is an animation called "Transparency" where you can specify the opacity
thanks
 
yeah that
 
now how to make the next ones transparent as well before reaching them?
 
5:50 PM
set there opacity to 0 and then animate it to 1
 
I'm not doing this programmatically, I don't see all these lifecycle methods "after/before" :D
 
this is why ui's suck
@Mehdi just set it to 0 opacity initially.
i think the nerds at math.stackexchange solved the problem @Mehdi
 
yeah?
 
in Mathematics on The Stack Exchange Network Chat, 5 mins ago, by Ted Shifrin
@JBis: You choose the largest $a$ that you can (and $b$ is determined), so $a$ has to be the smaller of $x/3$ and $16y/27$.
they like money over there ;)
 
... "that you can", the whole problem is to define "what you can"
it wouldn't be called an optimisation problem otherwise :)
 
6:00 PM
> so $a$ has to be the smaller of $x/3$ and $16y/27$
 
@JBis nerds
 
o/ Carl
 
o/
 
6:21 PM
michael spencer requested access. Rep: 27 - Questions: 7 - Answers: 5 (ratio 4:2.9)
 
!reject
 
@michaelspencer you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
02:00 - 19:0019:00 - 23:00

« first day (3474 days earlier)      last day (1473 days later) »