« first day (1651 days earlier)      last day (3298 days later) » 

10:03 PM
I haff question. I find I often have to do something once in a function that will be called repeatedly. So I tend to have something like if(!init) { do thing; init = true; }. It bothers me that every time the function is called, I have that init block there. I can't do the init stuff at compile time. Is there a 'nicer' way to do this?
The only thing i can think of involves function pointers
 
Consider using a function-local static.
 
I think I might try to go with both and eventually try to implement RL on one of them
 
@Xeo Woah, woah, mate. You name your exceptions error?
 
Xeo
What if I do?
 
@Columbo Take another bite of that hamburger. And the fries...
 
Xeo
10:07 PM
@Prismatic what Luc says.
Init with lambda if the initialisation is complicated.
 
@Xeo I'm the one asking questions!
 
Xeo
And I'm the one not answering them :P
 
:P
 
@Prismatic example
 
Okay I'ma get a Pi
 
10:10 PM
> [[gnu::unused]]
Haven't seen that before
 
It's usually unused.
 
so punny
 
@Prismatic I’m not even sure it’s documented ;)
 
I wonder how using an if block and using a function local static actually vary in the code they produce.
 
10:15 PM
@Prismatic Alternatively, turn your function into a function object, and do the "execute only once" logic in the function object's constructor.
 
so fancy
 
they're still everywhere and I still see chavs using them occasionally
probably calling their mum to explain that they just broke their mobile by using it to smash someone's skull in
 
@Prismatic Would work great if it wasn't for the fact that nobody uses these anymore.
 
1 min ago, by Lightning Racis in Obrit
they're still everywhere and I still see chavs using them occasionally
 
10:22 PM
@LightningRacisinObrit Hey, it's a Type 40.
 
@EtiennedeMartel there you go
 
@Xeo Must be hard living under a boulder.
A gigantic boulder
 
Xeo
vOv
 
I mean, what did you think this was for?
 
that's teh moon
@EtiennedeMartel oh my
> HACKING TIME
ahahaha
is that TARS
 
10:26 PM
Yeah, the plot seems to be about a "renegade kung fu cop" going back in time with the help of his nerd friend to stop Hitler, the "kung führer ". Along the way, shit involving T-rexes and viking chicks with guns happens.
 
> ERROR! HACKING TOO MUCH TIME
this isn't bad
 
So, yeah, worldwide release on may 28th.
 
> Cheers, – Cheers and hth.
2
Was Kelsey Grammer supposed to be the same character in both Cheers and Fraiser
hmm
He totally was, neato
 
@Prismatic Yes; the whole point is that Frasier was a spin-off of Cheers.
 
10:31 PM
I like that I finally got my synth setup to work
so I can play with all the synths in the world and record what I play
 
hrm
I've set it to private, I thought that would allow me to share it to people with the link
 
did you think URLs have some magical metadata hidden within them as like a watermark or something that tracks how the user obtained that URL? so that SoundCloud can verify that I'm going to this page because you actively gave me the URL with the intent of giving me access? lol
better
 
10:34 PM
no
but you can make for example on youtube videos unlisted
so only people with the URL can view them
I thought private soundcloud worked like that as well
 
THE YEAR IS 2045. DUE TO CYBER IMPLANTS, ALL HUMANS ARE BORN W/ COLLEGE EDUCATION. PEDAGOGY IS DEAD. ALL ANIME IS STILL SET IN HIGH SCHOOLS
THE YEAR IS 2553. HUMANITY IS DEAD. OUR AUTOMATONS LIVE ON, STILL CREATING ANIME, STILL SET IN HIGH SCHOOLS, A CONCEPT THEY KNOW NOTHING OF
 
Why is it tagged "classical"?
 
@LightningRacisinObrit is it not?
 
@LightningRacisinObrit All piano is classical. Next question.
 
@orlp No...
@EtiennedeMartel This is an organ.
 
10:35 PM
@EtiennedeMartel it's organ
 
you people so dum
 
why is it not classical?
 
It has keys, it's a piano. Next question.
 
It sounds like I'm playing castlevania
 
@orlp Because Bach was a Baroque composer?
At least you're only one era out.
 
10:36 PM
Yo Lounge, does Java take super long to be good at like C++
 
> Baroque music forms a major portion of the "classical music" canon, being widely studied, performed, and listened to.
classical music != classical era
 
That's a corruption.
And your tag does not say "ClassicalMusic", even if one were to accept that moniker (which one shan't)
 
no, it says classical as in the classical genre
 
lol third hit for #Classical on SoundCloud is a dubstep track
first is Clean Bandit
gg
It really is beautiful though
 
I made a couple of mistakes
 
10:39 PM
@LightningRacisinObrit Your conservative approach to language will never cease to amaze me.
 
couldn't be bothered to take multiple takes though
 
@EtiennedeMartel ;)
 
You're way too young to be shaking a stick.
 
@EtiennedeMartel get off my lawn, martel
 
@orlp It's de Martel.
I have noble ancestry.
 
10:42 PM
pfft
 
such noble
 
Nooble ancestry, maybe
2
 
much wow
 
10:53 PM
@Prismatic That depends on how you define "good at". If you mean "How much time does it take to learn to produce good code in Java?" then the answer is infinity.
 
@Puppy How long until I could feel reasonable about writing "Java expert" on my resume
 
3 hours
 
I'm pretty sure I've spent that long looking for the 'main'/entry point function in Java before
blew my mind when it was in a class
 
Can't have anything outside of a class, so... yeah
 
11:00 PM
Why does my text editor autocomplete things from Qt... wtf
 
I think I feel lonely.
 
later
@Jefffrey do something about it
 
Lonely as in I don't love someone.
Not as in, I don't meet anybody.
Or better, I don't love anybody in particular.
Will my future be "either you find a girlfriend or you'll be lonely"?
God only knows.
But the answer is yes.
 
@EtiennedeMartel Narrow-minded doesn't automatically imply conservative.
 
11:25 PM
@JerryCoffin But the inverse is true. :P:P:P
 
@Prismatic Not even close
 
@CatPlusPlus I think you're over-estimating.
 
No, it's just really boring
 
Oh, Cat is here
 
Oh, Columbo is here
 
11:28 PM
Oh, Jefffrey is here
 
Oh, apparently a bunch of imbecilic Lounge frequenters thought it would be entertaining to enumerate some blazingly similar tautologies
 
Oh, apparently... what
 
:P
I was trying to be a twat
 
@Jefffrey Wait, are you a shoe?
His description says "Yes."
lol
 
11:35 PM
Phew, tired
 
@Mysticial I'm not sure that's true either, but a lot depends on what you mean by "conservative", I suppose. Many would include narrow-minded in their definition, in which case it's obviously true. Nonetheless, while (for example) tea-party types are certainly narrow minded, quite a few libertarians seem (at least to me) considerably broader-minded than most who'd normally be considered liberals.
 
@Prismatic Nothing special.
 
argh I have a love/hate relation with project euler
 
wow
 
11:42 PM
@Xeo not a recording from ACCU, but the same talk was given here today: youtube.com/watch?feature=player_embedded&v=0CKru5d4GPk :)
 
@Rapptz :(
@LightningRacisinObrit Hehe.
 
A girl just sent me a pic of her...
 
Flatmate waking me up at fucking 7:30 am on a saturday
 
11:59 PM
... garden.
Nice garden.
 

« first day (1651 days earlier)      last day (3298 days later) »