« first day (913 days earlier)      last day (4027 days later) » 

10:00 PM
Easy, the guy doesn't know C++.
 
There's also the whole "C/C++" issue...
 
Despite tagging it fstream and using fread anyway..
 
I though of creating two arrays [0, 255] and marking the character occurrences. Then a third iteration to find common matches.
 
Xeo
Only need one array and two iterations
bool chars[256]
 
Ah. Indeed.
 
Xeo
10:02 PM
The general form of that question is "find the common elements of two unordered integer-lists"
No wait, actually, what I heard was yet another form
 
What would you use for the simplest 'named tag' possible? I'm thinking struct tag { static constexpr auto name = #tag }; right now.
 
256 doesn't cover a string
 
@StackedCrooked Hope you don't have to do it with utf strings.
 
Xeo
maximum common element.
 
10:03 PM
@Xeo or just set intersection?
 
It's probably impossible to do with Unicode string, unless you assume normalised form or something
 
@LucDanton I use something like that actually.
 
Xeo
@CatPlusPlus Yeye, needs definition of "string" etc, but if we get char, it's just 256 max values.
 
@Morwenn I'll do it with ur mom strings
 
Which I found on SO.
 
10:04 PM
@Rapptz Do you provide a definition for the static data member?
 
@StackedCrooked Well, I guess you could do that in constant time then.
 
template<typename T>
struct type_name;

#define REGISTER_TYPE_NAME(X) template<> struct type_name<X> \
 { static const char* name; }; const char* type_name<X>::name = #X ;
 
user142019
Can loop unrolling work if the number of iterations is unknown at compile-time?
 
Urgh.
We keep using that "array of size one at the end of a struct" hack everywhere.
 
user142019
@ScottW Android?
 
10:07 PM
@ScottW What.
 
user142019
wat
 
user142019
Because of signedness?
 
Let me guess: the guy who originally wrote it thought a char in Java was a byte, and now you're stuck with legacy stuff?
Damn those C++ programmers.
 
user142019
Yet another reason why you don't use Java.
 
user142019
It's written by idiots.
 
10:08 PM
They go in something, can't read the documentation, and then blame the tools.
Usually all the while taking a Polish cat persona on the Web.
(I'm so subtle)
@Zoidberg Again, when you suck, blame the tools.
 
hatersgonnahate.mov
 
I blame the tools when tools are godawful pieces of shit
 
user142019
When anything goes wrong, no matter what, blame Java.
 
@EtiennedeMartel lol
 
@Zoidberg Including "being a silly lobster".
 
user142019
10:10 PM
@EtiennedeMartel It's Java's fault okay. :(
 
user142019
If you need more than one thread, switch to Erlang.
 
user142019
@ScottW finally fixed it?
 
user142019
Was it a resource leak?
 
user142019
@ScottW Maybe with Erjang. :v
 
user142019
You didn't catch it?
 
10:12 PM
@Zoidberg I'm starting to wonder if you ever had a real programming job.
 
user142019
That's why we have finally, afterall!
 
user142019
@EtiennedeMartel PHP isn't really real programming, so meh.
 
user142019
The reason PHP is so shitty is because of Java.
 
user142019
It's all Java's fault.
 
@Zoidberg Oh, so that's why you never seem to actually take real world constraints and considerations into account.
 
user142019
10:14 PM
@EtiennedeMartel Were you seriously taking that message about Erlang seriously? :v
 
@Zoidberg I take everything you say seriously.
 
user142019
@EtiennedeMartel You're gonna have a bad time.
 
user142019
@ScottW so, what's the problem?
 
Because then, I can basically say you're an idiot for saying so many stupid things.
 
10:16 PM
And saying others are idiots makes my e-peen bigger.
 
user142019
@ScottW It's okay… It's just Java's fault.
 
Xeo
@LucDanton Abridged Series~
 
user142019
@LucDanton hahawesome
 
I like the BBT abridged.
 
user142019
> LOOK OUT FLYING [MOKOBA]
 
10:19 PM
This room needs some more psytrance.
 
user142019
Hilarious.
 
@Morwenn Errrgh.
 
@EtiennedeMartel Is that a subtle reference ro Errrlangh again?
 
@Morwenn No, it's the sound I made when I read what you said.
 
@EtiennedeMartel Must have been painful.
 
10:22 PM
@LucDanton But... but why!
 
What the hell is psytrance
 
@CatPlusPlus Psychedelic trance, or goa trance. Some repetitive kind of electronic music.
 
There's non-repetitive kind of electronic music?
 
@CatPlusPlus Do you know Igorrr?
 
@LucDanton But why? :(
 
user142019
10:25 PM
@Morwenn that music is awful.
 
@Morwenn LOUD NOISES
 
Just a matter of taste guys. This guy is a fucking genius :D
 
There's some kind of melody in the background but it's drowned by randomly popping up LOUD NOISES
 
I quite like the song actually
 
@CatPlusPlus That's called breakcore I think.
 
10:26 PM
It's okay.
 
user142019
I call it crapcore.
 
I love this ending with banjo and screams.
 
wanna hear some true black metal?
 
@Morwenn Is there such thing as non repetitive electronic music?
 
@EtiennedeMartel SLOWPOKE
I already made that joke you joke thief
 
10:27 PM
@Morwenn (Answer: yes)
@CatPlusPlus It wasn't a joke, it was a setup for that link I just dumped.
 
user142019
 
you still slow
 
There was like 10 seconds with violin that sounded okay and then LOUD HEAVY GUITAR again and ugh
 
user142019
This is what Fred listens to. :v
 
you want non-repetitive electronic? Try this
 
10:28 PM
Fuck this shit that's just annoying
 
@Crowz Holy fucking shit! The Algorithm is awesome!
One of my best suprises of last year.
 
yeah they're pretty cool
 
@Crowz Could do less screaming but at least it's not RANDOM NOISES so hey we're improving
 
10:30 PM
@CatPlusPlus I thought randomness was the point of the music we're talking about...?
 
@Crowz It's never random.
 
@CatPlusPlus Electronic music is more often boring repetitive 4/4 beat than random noises.
 
@EtiennedeMartel is anything, ever, random? So philosophical 2deep4u
 
There was a TED Talk about producing truly random music. Turns out it's much harder than it looks.
 
People are not good at generating random numbers
 
10:31 PM
@EtiennedeMartel Also harder for our ears.
 
Exactly.
 
@EtiennedeMartel I saw that, the song was actually pretty good
 
But really if we're talking about music then there should be a coherent melody or something
 
Anyway, music is becoming more and more similar every year.
There was a study about that.
 
10:32 PM
YES YES YES YES! Final trailer. It's freaking awesome.
 
@CatPlusPlus What do you call "coherent" there?
 
@StackedCrooked What about this?
 
@EtiennedeMartel And funnily enough, people are creating more and more ~genres~ for some inexplicable reason
 
@Crowz Haha, that video is awesome :D
 
@CatPlusPlus Genres are more about marketing than music.
Artists don't really care about genres. Only the labels do.
 
10:32 PM
Spergs do~
 
@EtiennedeMartel they analyzed all the music? I think music is becoming pretty different, it's just what is popular or mainstream is largely similar or homogenous
 
@EtiennedeMartel Exactly.
 
There are some really out there bands, but most people won't bother mentioning them.
 
@EtiennedeMartel Yeah even I don't care about genres as a listener.
 
10:33 PM
@Crowz Well, The Algorithm and Igorrr are always worth mentionning :p
 
Let me tell you the bands you've never heard about are pretty non-mainstream and better~
 
> Hence, an old tune could perfectly sound novel and fashionable, provided that it consisted of common harmonic progressions, changed the instrumentation, and increased the average loudness.
Essentially, many of the "hits" you hear today are actually modified version of previous hits.
 
I hardly listen to sun O))) past the first three notes.
 
Anyway. I knew I linked that here a little while ago, but I seriously think you still need to hear it again. It blew my mind, and it still does.
 
@EtiennedeMartel oh okay popular music. And yeah, from what I've read, it seems like exactly what I was thinking
 
10:36 PM
Talking about music you should listen to: iwrestledabearonce
 
I think most people have a really strong aversion to dissonance in music, but I think it's so cool
 
Ell
I dislike how a lot of people think mainstream means worse
 
I don't listen to metal except maybe Tool.
 
Oh jesus fuck
 
I always think metal is more about showmanship than actual musical talent.
 
10:37 PM
 
@Crowz Back in the old times, dissonance was considered evil.
 
user142019
Why do you all listen to such terrible music.
 
1 second in and it's already unbearable
 
@Morwenn flat 5ths and diminished fourths were basically not allowed in music... they sound so good though
 
Are there even words in that
 
10:38 PM
Flat 5th wins.
 
user142019
 
user142019
Can't beat the Dutch.
 
@Crowz Yep, they ignored good chords for years xD
 
Ugh I can't listen to that shit
Managed to do 30 seconds and it doesn't get better
 
@CatPlusPlus Well, we don't really know which song you're talking about.
 
user142019
10:39 PM
Dutch music is the best.
 
@CatPlusPlus which song?
 
The first one you linked
I'm going in order~
3 mins ago, by Morwenn
 
the one I linked is just to show lots of dissonance in music
 
@CatPlusPlus Oh, that one. Yeah, generally, people don't like it.
 
I wonder why
 
10:40 PM
Me too.
 
Ell
Zoidbergs music is terrible xD
Radiohead <3 lyrics you can actually hear!
 
I love music based on people screaming incoherently with background being close to extremely loud white noise
 
Zoidbers music is funky! That's great!
@CatPlusPlus The incoherent part is only in your mind.
 
user142019
@Ell You have no taste.
 
@Morwenn Right
So the lyrics are not WHARRGRGRARBL throughout the entire thing?
 
10:42 PM
@CatPlusPlus A murloc is singing?
 
@CatPlusPlus Haha, metal and lyrics are a great love story. Fortunately, I never listen to music for the lyrics.
 
cat what do you think of this? Metal with very coherent lyrics
 
@CatPlusPlus I you really do want something horrible, there is still grind.
 
Doesn't open with LOUD NOISES so that's already 1000x better than whatever he linked
 
user142019
@Morwenn that's fucking bad.
 
10:45 PM
@Crowz Yeah it's okay
 
@Zoidberg Indeed.
 
user142019
Tool are great.
 
Okay, let's stop with loud music x)
 
10:45 PM
What's happening in here?
 
Diablo swing orchestra!
 
user142019
 
> I can detect more Tool influence in King Crimson, than I can hear King Crimson in Tool.
 
Recognized it right away
 
user142019
One of the most retarded songs ever.
 
10:46 PM
^ said by Robert Fripp
 
@Morwenn Why is this a thing and what's enjoyable about this
 
@Crowz I am starting to love you xD
 
if you're looking for something new... A Capella Metal
 
user142019
@TonyTheLion no porn.
 
@CatPlusPlus Diablo Swing Orchestra or grind?
 
10:47 PM
Lol
 
The thing I'm linking to
 
Why are the two most commonly heard musical genres in the Lounge either metal or electronic?
 
@EtiennedeMartel More like most commonly linked/talked about.
 
Don't you guys like to listen to some jazz once in a while?
 
@EtiennedeMartel Metal tends to be pretty popular among programmers, it seems
 
10:48 PM
Because lounge
 
user142019
 
@CatPlusPlus Sorry, i'm new to the chat, didn't know about links. Well, I don't even know why this thing exists. I listen to pretty much anything, but don't like that.
 
user142019
I like this kind of music sometimes.
 
Ell
How about some Muse, they are great and melodic too and awesome
 
Because fuck jazz :P
 
10:48 PM
Deploy smooth jazz
 
I like a little bit of every genre, but metal tends to have the best high-energy fast-paced music, usually. I don't care for slow music unless it has the right "feel"
 
@EtiennedeMartel Celtic music.
 
I don't really like the sound of sax
 
Celtic jazz is the best.
 
@Morwenn The closest I got is Canadian folk music.
 
10:51 PM
@EtiennedeMartel I can't say I'm in Canadian folk, sorry.
 
5 videos added to favorites on youtube in the course of this conversation
 
Haha xD
 
Ell
Slow music is best for me
 
guys... c'mon... we all know what the best music is
 
@Ell Are you into trip-hop?
 
10:52 PM
@EtiennedeMartel yup
 
@sehe I knew I could count on you.
@Morwenn You mean Massive Attack?
I can't get enough of their Mezzanine album.
 
@EtiennedeMartel For example, or Bonobo.
 
user142019
Are there more people here who like J-Rock? :v
 
@Morwenn Right, Bonobo, I heard about that when I saw that Cyriak made a music video for him.
 
@EtiennedeMartel well. it's unfixable now:
8 hours ago, by Etienne de Martel
Ah, TSVNCache.exe, my very best friend.
 
10:54 PM
@Zoidberg I find J-Rovk (Visual Kei) fun since my sister always listened to that a few years ago :D
 
@sehe That was sarcastic.
PLEASE DON'T HATE ME.
 
If I describe T and U where I can do declval<T const&>() == declval<U const&>() as being equality comparable, what do I call it when I can do declval<Foo<T> const&>() == declval<Foo<U> const&>()? Co-variant equality comparable?
 
user142019
@Morwenn what bands
 
IT MEANT NOTHING
 
@EtiennedeMartel Oh, did Cyriak do something like this? :o
 
10:54 PM
@EtiennedeMartel About a minute or two of jazz a year is enough to remind me of how much better I like worthwhile music.
 
@Rapptz That would be N^2 I think (basically a nested loop).
 
@JerryCoffin You really have no taste at all.
 
@EtiennedeMartel Nobody who listens to jazz and drinks beer has any room to impeach my taste.
 
@StackedCrooked Yeah after I posted it I realised that find probably uses a loop underneath.
 
10:55 PM
But seriously fuck sax
 
@LucDanton Not that. Co-variance (or contravariance here?) does imply polymorphic relation; template instantiation is far more flexible than that (inb4 Turing complete)?
 
@EtiennedeMartel Haha, not that surprising in the end :)
 
Any of you guys like A Capella? Cause this guy is pretty talented
 
@sehe Presumably if Foo<T> and Foo<U> are comparable for all T and U there is a relation between the two.
 
@JerryCoffin Peaches are good, though.
 
user142019
10:56 PM
@EtiennedeMartel dat music.
 
@LucDanton I'm searching in the direction of 'lifted', 'unlifted', 'wrapped', 'decorated'. Monad?
 
Lol....
Shit just go so much more real than it ever needed to be...
I need shit to calm my nerves.
Anyone got any good music?
 
@sehe Well if it was Foo<Foo<T>> being compared to Foo<T> then maybe that would be an interesting lead.
 
10:59 PM
@sehe Contra does seem better.
 
@LucDanton Mmm. C# calls T? op T? being redirected to T op T lifting as well. (Not just T? op T).
 

« first day (913 days earlier)      last day (4027 days later) »