« first day (1629 days earlier)      last day (3302 days later) » 

5:00 AM
yes ofc
 
Wait
Isn't it basically a binary tree?
With 3 on left and 5 on the right?
with 1 as the seed value which is then omitted
 
yes
 
Welp oaky then solved.
 
5:15 AM
I got it
 
5:33 AM
@ScottW just made an insane session with a student
I got stuck on a problem myself
and worked this out together
 
@Jefffrey Wait. Did you just actually make money on our back.
 
@MomotapaLimpopo no
all paused
so no money
I did money before this exercise
not for this exercise
 
@MomotapaLimpopo Bill your consulting time.
 
@StackedCrooked Feature request: ability to lock Coliru snippets with a donation button
 
@ScottW I can't parse this line
"don't tell on me"
hmm
 
5:36 AM
@Jefffrey "Don't tell them"
 
@ScottW well, that makes sense
I mean, you could make them $25/hr and still make it worthy for them
@MomotapaLimpopo Thanks
@ScottW Never heard
So, it's 7:40am, time to sleep
yup
lol
bye bby
 
Scott don't you dare cheating on me with Jefffrey
Love is blind
 
6:38 AM
@MomotapaLimpopo No. That is Justice. Love uses pink spectacles.
 
hi alll !
 
@abhi Hello
 
can we create a object of a class which has private constructor ?
 
@abhi Only from within another function of the same class.
 
You can't call the private constructors from outside the class, so if there is no public constructor, no you can't
 
6:41 AM
some thing like this
class enmyShipFactory extends shipFactory
{

private function __construct()
{
// private constructoer
}
}
$obj = new enmyShipFactory();
var_dump($obj);
 
is this php?
 
@khajvah yes
 
Did you try to run that code?
 
@abhi What?! PHP in this room?!
 
@khajvah yes it shows Fatal error: Call to private enmyShipFactory::__construct() from invalid context in
 
6:45 AM
Honestly, this might be the worst place to talk about php
 
yea sure but query was related to opps so .
 
@abhi There is the answer to your question.
 
@khajvah yea got that but my real query was this --> so that means if i want to make all static function with in the class at that time i can make constructor private ? right ?
 
@abhi Go, ask in a different room or on SO proper.
 
okey
 
6:48 AM
> private constructoer
> enmyShipFactory
nice
 
@abhi Why would you create a class with only static functions?
 
@khajvah to make sure that no one can create a object of that final class with new keyword and in that static function i will create a object of same class .
 
> related to opps
> so
Brillant. Good start of the day
 
@sehe goed morgen
 
6:54 AM
goede* / thx
 
Oh yeah I keep forgetting that e
 
geodude morgen
 
@MomotapaLimpopo What does that mean?
 
> Good start of the day
Literally, in a way.
 
I should write that down.
 
7:00 AM
@khajvah It's foreignese for "guten morgen"
In Swahili we say asubuhi njema
 
> we
 
> Cicada
 
@khajvah It is one of the official languages of my country
 
@MomotapaLimpopo GNUganda?
 
FTR I'm from Kampala, the capital of Uganda
 
7:09 AM
@MomotapaLimpopo Recorded.
 
user1804599
7:25 AM
@sehe no
 
user1804599
bad start of the day
 
TIL of "A goal is a dream with a deadline." lol
 
@райтфолд baed morgen
 
user1804599
A deadline is a nightmare.
 
SO is incredibly bad at the StackEgg game
 
Xeo
7:32 AM
mornin
 
morning!
 
Good morning.
 
user1804599
til truetype is turing complete
 
going for 3 day hike/bushwalk ... me + 9 vs the wild
 
@райтфолд Today is a great day
@райтфолд This is why we can't have nice things
@MomotapaLimpopo You mean the cheerful outage generator
@MomotapaLimpopo Hope you're not affiliated to the university. Tense times in the region
@MomotapaLimpopo I'm not your bitch
Wat
 
user1804599
7:50 AM
casting is bad
 
user1804599
don't cast
 
Say that to the indians
> women with big social lives
what the fuck
oh, america
 
@райтфолд jesus_cast<>?
@MomotapaLimpopo Just, sluts gold-diggers with enormous egos and craving all the attention they can get. You know, the stereotypes that do well on broadcasting stats
 
user1804599
@sehe ;3
 
@sehe Have I mentioned how I hate everyone and everything on this planet
I should have lived 150 years ago
 
8:00 AM
You would still complain
 
Probably not
I would have been killed by now I guess
 
user1804599
> sub jesus_cast { { wine => sub ($) { "haha you wish" } } }
> sub water { "water" }
> jesus_cast<wine>(water)
haha you wish
 
> jesus_cast<water>("water")
haha you wish
 
@MomotapaLimpopo I think you did.
@райтфолд misspelled jewish
 
user1804599
:p
 
8:02 AM
@sehe not sure how to interpret
 
don't you believe in reincarnation? theosociety.org/pasadena/sunrise/30-80-1/af-rook2.htm
Lego? Le Gogh. http://t.co/hohsHFdFMU
 
@sehe no
I was busy being dead for around 14 bn years
 
TIL about std::array::fill. My life got 0.3% better.
 
@MomotapaLimpopo good for you. I always get restless around the thousand year mark :(
@StackedCrooked good one. only 0.0023‰ for me
 
user1804599
8:28 AM
@StackedCrooked is that complexity an upper bound?
 
user1804599
Otherwise it'd be really silly.
 
user1804599
In some cases it can be O(1).
 
Complexity is calculated on the average case
 
user1804599
lol
 
how is it different from running over the entire array if it is linear?
 
user1804599
8:36 AM
 
@khajvah shorter
@райтфолд how?
 
user1804599
@sehe optimisation!
 
that's as if. Nothing to do with complexity guarantees at all then
 
user1804599
I hate the as-if rule.
 
8:39 AM
It hates you back
 
user1804599
It's redundant and must be removed from the standard.
 
user1804599
Not until you look at the preview before hitting the post button. — райтфолд 5 secs ago
 
user1804599
what an idiot
 
@райтфолд I don't see how it could ever be worse than linear.
Unless you do funny stuff in the assignment operator of the elements.
 
He meant better than linear ofc
 
user1804599
8:44 AM
I/O :D
 
@райтфолд java time. void foo(T t){} void foo(T t, T... rest){ foo(rest); } that will work as a recursive function, right? or does Java not be too smart for such things?
 
user1804599
java.net.URL#equals does a potential DNS lookup.
 
user1804599
@thecoshman Yes, that's recursive unless there's an overload specifically for arrays.
 
user1804599
It will call foo with a single argument.
 
user1804599
If you want to unpack, you have to do foo(rest[0], Arrays.copyOfRange(rest, 1, rest.length - 1)).
 
8:47 AM
@райтфолд You are passing both -O2 and -O3.
 
user1804599
That makes -O5!
 
That makes no sense.
:P
 
@райтфолд so like this will work as I expect to build up a string when you call it passing in a load of strings
 
user1804599
It'll be the union of the optimisation flags.
 
user1804599
And since -O3 is a superset of -O2, it'll just be -O3.
 
user1804599
8:50 AM
@thecoshman no
 
@райтфолд :(
 
user1804599
Just do a foreach loop instead of recursion.
 
@райтфолд I don't get why I have to call it like that though to get the recursion to wrok
 
user1804599
JVM does no TCO so you don't want recursion anyway.
 
8:52 AM
@райтфолд oh, well that's that then :(
 
user1804599
@thecoshman BECAUSE JAVA DOESN'T ALLOW UNPACKING ARRAYS TO ARGUMENTS YOU HAVE TO USE REFLECTION OR UNPACK MANUALLY
 
@райтфолд WHY ARE WE YELLING
 
@райтфолд :'( @mom he made me crry!!!!
 
Calm down kids
 

« first day (1629 days earlier)      last day (3302 days later) »