« first day (1259 days earlier)      last day (3686 days later) » 

6:00 PM
There is Ruddles County on at club. I'll go down later.
 
so if my mental model is not fucked up, why would someone want Range<T> to have value semantics with respect to T in all cases?
 
@Martin thanks buddy.
 
@ScarletAmaranth I'm not sure what you mean with "took it to 12".
 
Tvtropes up to eleven
 
like LazyRange<T> with value semantics would have to copy O(N) T data
kind of defeats the purpose of lazy algorithms
 
hey im lazy but since ranges have value semantics this call costs O(N) copies, cheers
 
@StackedCrooked Similarly, the expression "turning it up to eleven" refers to the act of taking something to an extreme. In 2002 the phrase entered the Shorter Oxford English Dictionary with the definition "up to maximum volume".
 
Risk sucks
 
@ScarletAmaranth Oh, I see :)
 
well, they went one step further and took it to 12 ^^
 
6:02 PM
but why don't make 10 louder, and let it just go up to 10?
 
KlK took it to infinity.
 
@R.MartinhoFernandes You probably suck at it, that's why.
 
@gnzlbg That's kinda the point.
 
he didnt understood it
 
I used to be quite good when I played it.
 
6:03 PM
i wrote this CoreRegistry class in C++ pastebin.com/UWJ5kK1c and it's working good, any better suggestions?
 
@gnzlbg he didn't understand it
 
what? :D
 
CoreRegistry doesn't even seem to have any interesting meaning.
Kinda like ObjectManager
 
@R.MartinhoFernandes It's a registry of cores.
Now, what kind of cores?
 
Er it's... a variable.
What is wrong with people.
 
6:05 PM
again, i'm trying to implement something like this github.com/MovingBlocks/Terasology/blob/develop/engine/src/main/…
 
Xeo
it's apparently a templated singleton?
 
What you implemented there is a variable.
 
@Jermimbilal I've refactored your code: here
 
Xeo
well, not quite
 
i feel like recording something today
i've learnt a new trick
 
6:06 PM
@BartekBanachewicz Go on - I can hardly wait...
 
with ♪ .
meh unicode combiners for notes
 
yes, you can strum with your penis
oh, you mean a dotted note?
 
how is that a trick :D?
 
He typed it with his penis.
 
6:07 PM
let me rec that lol
 
aaa, I see
 
That's a trick
 
but you can't laugh
inb4 "at the penis"
 
we shall scream like little girls
 
6:08 PM
hurp durp vox or marshall for that one
 
well, it could also be a slightly misplaced staccato! :)
 
Never tried that, either with drums or keyboards. I have, however, become somewhat proficient at nose-typing.
 
@Jefffrey i want to be able to do something like this CoreRegistry<Display*>::set(new SDLDisplayDevice());
@Jefffrey and Display* display = CoreRegistry<Display*>::get();
 
Xeo
Forget the CoreRegistry and forget your Java
 
@Jermimbilal really throw that class in the bin and start over
 
6:09 PM
why i would forget? i'm trying to learn something here.
 
Xeo
You're learning anti-patterns
 
That's like a variable
 
@Jermimbilal But what you're trying to learn is bad.
 
@FredOverflow I'm glad she won.
 
@Jermimbilal what do you want to do?
 
6:10 PM
@DeadMG that's why i'm asking for better way to do it.
 
what you want to do is bad and wrong.
a better way to do it would still be bad and wrong.
 
Jeffrey showed already
It's a variable.
 
no, you're asking how to make your bad approach work
 
might as well ask for a better way to commit genocide.
 
ok let's see how it sounds
 
user1804599
6:10 PM
@Jermimbilal Not necessarily forget. Just remember that C++ is not Java, and idiomatic C++ is not idiomatic Java, and vice versa.
 
user1804599
IOW you need to relearn everything.
 
(Apologies for the missing f)
 
@Jermimbilal Ugh don't
It's not idiomatic anything
 
@Jefffrey my system becomes too complicated, i want loosely coupled system.
 
It's just a terrible code
That is opposite of loose couplin
 
user1804599
6:11 PM
> a code
 
All the frequent Loungers know I'm an uncouth philistine, but even I know it's bad.
 
@Jermimbilal Having a whole bunch of globals is the opposite of loosely coupled or simple system.
 
@Jermimbilal why can't you just do std::unique_ptr<Display> x = new SDLDisplayDevice()?
 
it's the maximally coupled maximally complex approach.
@Jefffrey Er, implicit conversion from raw pointer?
 
@MartinJames martin-so-uncouth
 
Xeo
6:12 PM
'MAXIMUM RETARDATION IN C++' comes to mind
totally unrelated, but fitting
 
@Jefffrey make_unique bub
 
@Xeo it's TOTAL not MAXIMUM.
 
Xeo
shush
 
PANIC! Thunder... powering down immediate...
 
Xeo
jokes, facts, ruining the former, etc
 
6:13 PM
@CatPlusPlus eh, C++14 and polymorphism
 
@CatPlusPlus That gonna work with the polymorphism?
 
Xeo
Write your own
no excuse
 
@Xeo lol
 
nice way of putting it
 
6:13 PM
std::unique_ptr<Display> x(std::make_unique<SDLDisplayDevice>());
why would you write this?
and not
 
@LightnessRacesinOrbit Right, no covariance there
 
std::unique_ptr<Display> x(new SDLDisplayDevice());
 
even if you could
 
it's sloppy as fuck
 
6:14 PM
I don't like C++ very much
 
but shows the idea I guess
 
@LightnessRacesinOrbit because new is not sexy
:P
 
@LightnessRacesinOrbit You totally can.
 
Xeo
auto x = make_unique<SDLDisplayDevice>(); // scrubs
 
@DeadMG then why would you?
 
6:14 PM
@Xeo You want pointer to Display though
 
@Xeo wrong pointer type now. scrub.
 
scrub
 
Xeo
@CatPlusPlus so? It converts as soon as you actually need to assign it to one
 
which is right now
 
user1804599
SDLDisplayDevice x; // scrubs
 
6:15 PM
@LightnessRacesinOrbit Imagine a slightly more complex situation, like f(unique_ptr<Device>(new SDLDisplayDevice()), unique_ptr<Device>(new SDLDevice()));.
 
you just introduced exception unsafety.
 
@DeadMG I'm asking about this situation. Not some other situation you just invented.
 
@rightfold lol
 
@Xeo Does it?
 
6:15 PM
we are not giving the right example here guys
 
user3010322
Lol.
 
user3010322
Display Device pointers.
 
but, yes, I take your general point about exception safety
 
user3010322
I'm kind of glad I've evolved beyond that. :D
 
Xeo
@CatPlusPlus unique_ptr honors derived-to-base conversions
 
user1804599
6:15 PM
NEED MORE INDIRECTION
 
So there is covariance, cool
Dependency injection is a pain in C++ anyway :v
 
what are the options to keep classes loosely coupled within the system?
 
user1804599
Make them templates. :F
 
because that's not a vague or broad question at all
 
Don't introduce coupling!
Solved.
 
Xeo
6:17 PM
lol
 
user1804599
Use free functions wherever possible. :F
 
Use a better language
 
Starve yourself
 
A vague answer for a vague question.
 
i'm trying to be serious here.
 
user1804599
6:17 PM
Me too.
 
30 secs ago, by rightfold
Use free functions wherever possible. :F
 
Xeo
Try another time
 
thanks.
 
We're all mostly serious too btw
 
6:17 PM
Try? Do or not do!
 
fuck I'm not serious
gaaaah can't wait my amp will be there in 48 hours
 
you're seriously inept is what you are
 
soooo looong
inb4 dick
 
predictable
@Bartek just loves talking about soooo looong dicks
 
@BartekBanachewicz that's what she said? I dunno how this thing works
 
user1804599
6:18 PM
@Jermimbilal You can use any form of polymorphism, really.
 
Ok there goes all the seriousness.
 
user1804599
Be it subtype polymorphism, templates, std::function or w/e.
 
34 seconds. a new record?
 
@LightnessRacesinOrbit :F that's why I am slamming at my guitar trying to be less inept
also i had to use a dictionary to find "inept"
 
user1804599
6:19 PM
The best option depends on your exact needs.
 
@rightfold yes you are right.
 
and forget XRegistry classes
 
Learn to tell the signs of close coupling.
Then avoid their causes
 
why do I have to study the header of TCP FFS?
 
6:20 PM
moans and groans often give the game away
 
@LightnessRacesinOrbit that's lame. "Clumsy" doesn't have that unchange'able genetic smell to it
 
@Jefffrey so you can examine wireshark captures when shit goes wrong in your career
 
will I ever remember that there are 16 bits for both the source and destination port?
 
@BartekBanachewicz excuse me what does "unchange'able" mean?
 
@LightnessRacesinOrbit killing myself might become an option before that
 
6:21 PM
hm maybe that apostrophe was redundant there
 
@BartekBanachewicz I said niezdolny. Not nieudolny.
 
It means it cannot be change'd
 
@BartekBanachewicz Not redundant; incorrect.
@R.MartinhoFernandes Ouch!
 
user3010322
6:21 PM
Trolling along.
 
@Jefffrey Well, yes. Everybody knows that TCP ports go up to 65535
 
@LightnessRacesinOrbit I mean, in an hour. I guess I'm special then.
 
This is going to be a terrible weekend :(
 
user3010322
Why so?
 
I'm getting sick.
 
6:22 PM
Well, stop it
 
@ThePhD because I have to do uni shit
 
Problem solved
 
This should happen on Monday.
Not the weekend.
 
Kill disease with alcohol
 
user3010322
Sex boosts your immune system.
 
6:23 PM
@ThePhD That explains why most loungers are sick
 
@ThePhD Especially in those cases where it results in your immune system attempting to dismantle your entire body.
 
Syphilis boosts your immune system
 
user3010322
The choice is clear, then:
 
user3010322
everyone go find someone with an STD and fuck their brains out.
 
user3010322
In other news, DSP is sexy.
 
6:27 PM
your message has a flag next to it
and by flag
I mean some country's flag
 
Flag invalidated.
 
How can you flag that guys... he is "ThePhD"
 
Xeo
@LightnessRacesinOrbit 'bye'?
 
/me returns to the js room
 
@Loktar it was you, wasn't it?
 
user3010322
6:28 PM
@Loktar It doesn't mean what you think it means.
 
@Loktar Yeah, you don't hit someone who's already on the ground.
2
 
haha no I didnt flag it, just made me lol when i saw it
 
Xeo
@EtiennedeMartel Right, you kick them.
 
@ThePhD I'm selling one
 
@ThePhD Derp Space Program?
 
6:28 PM
I can imagine a Dr. telling me that
 
@Xeo or poke with a long stick
 
user3010322
Hm.
 
user3010322
That's an interesting thought.
 
user3010322
6:29 PM
If you were dating someone for like 3 years and you finally decided to have sex together, and then you figure out they have something like HIV
 
user3010322
would you still stay with them, much less have intercourse?
 
why would you date someone for 3 years and not fuck
 
user3010322
vOv
 
that's not healthy
 
If they are underage
 
6:30 PM
well
 
@Xeo Exactly, why should you bend over to inflict grievious bodily harm?
 
why would you have HIV as an underage though
I mean it's possible obviously
 
maybe the other person has HIV
 
hm
what was that statistical effect called
 
I love how I've got Bartek thinking through the possible permutations of an HIV-ridden, underage sexual relationship
Hopefully with mental images
 
6:31 PM
@LightnessRacesinOrbit You sick bastard :P.
 
@LightnessRacesinOrbit seriously that's the least of the things you can say that will make me uneasy
 
@BartekBanachewicz Regression? :D
 
naah
the one with extreme number of samples and extremely small probability
fuck my guitar input jack is loose
fuck fuck fuck
and by loose I mean probably fucked up internally, because the screw is tight
 
I would imagine that in any such relationship, both parties would have to agree to remain discrete if the relationship were to be continuous in nature.
 
What if they live in the city?
 
6:34 PM
city is nature too
 
~the city jungle~
 
And in maximum likelihood, the parents would be biased against it. A standard error, really.
 
Up again. It's not warm enough here for a decent thunderstorm.
 
DST change this weekend.
 
user3010322
6:35 PM
Again?
 
user3010322
There was one like the March 9 week
 
@LightnessRacesinOrbit More like a standard deviation
 
@ThePhD Yeah they're putting it back again
 
@ThePhD Depends on where you live.
 
@MartinJames According to most of the population, I suppose you're probably right
 
6:37 PM
@LightnessRacesinOrbit A 'standard error' would be supporting West Ham
 
user3010322
So, with no optimizations and crappy implementation of queue (e.g., std::queue), it takes 67 seconds to process 162 seconds of audio.
 
audio.process();
 
@ThePhD i.e., given irrelevant preconditions
 
user3010322
That's about 0.4 seconds per 1 second of audio (48 kHz per channel, 2 channel interleaved stereo).
 
@ThePhD Is that bad or what? Sounds like much better than real-time.
 
user3010322
6:40 PM
I don't know. I'm testing this by feeding in a big chunk of predisposed sound; it somewhat implies -- from hte numbers, anyways -- that I can process sound faster than it can be pumped into the system and shoot it out.
 
You could be "processing" it into a 3D movie for all we know. What is your "processing"?
 
user3010322
@LightnessRacesinOrbit I'm applying a dsp to an input audio signal: can be anything (opera, techno, whatever).
 
user3010322
The point is to make shit like Reverb, Chorus, etc.
 
user3010322
And to do it fast.
 
user3010322
However, if I get some 30 ms of audio from something like an input microphone, that's a 12 ms delay before I send the audio out... that might be perceptible to the human ear.
 
6:42 PM
@ThePhD It can't "be anything". You're doing some specific processing that resulted in this benchmarking result; what was it?
 
yeah, but you're doing it without optimizations, so it's irrelevant.
 
Slow code is slow!
 
@R.MartinhoFernandes Prob. slow data.
 
@ThePhD nope
12 ms is OK
like, typically
if you're mixing on a PC, or dunno, synthesize from PC, that's around what you get
 
the only reason I'd care about the speed of non-optimized code is if I needed to debug it and the debug code was too slow to interact with.
 
6:45 PM
@BartekBanachewicz I guess that as long as it's consistent between channels, so no weird phase effects.
 
@MartinJames well as long as he supplies the "mix" option that shouldn't be a problem
or a dry out (that's synchronized)
 
user3010322
mix ?
 
when you apply an effect, you don't usually go full-power on the signal
you want to mix the dry signal with the wet (processed) signal
 
-1
Q: Forced revealing of reputation for new users

user125027I consider this bullying. I am a new user. I have no reputation, which means I have no power to retaliate arbitrary or unwarranted downgrading. I asked a perfectly sensible question. Someone casually and apparently from their own ignorance downgraded it. I corrected them y linking them to the doc...

^^ lol, not gonna make a difference. Everyone will be "conditioned" to see that a user with no rep is a new user.
 
for example, I run my reverbs at around 5-6% mix (which you can hear in the link I've posted)
 
user3010322
6:47 PM
Where? D:
 
a bit above, it's too sloppy for me to actively advertise it :F
dunno, download reaper, get some clean instrument recording and play with the effects
or even better plug your thing to some interface and you can compare the graphs then
anyway as I told you earlier modern FX processors are pretty powerful already
studio-quality high-end is DXD encoding now, which gives you around 8Mbit/s of sound
 
user3010322
I wonder if there's a ringbuffer
 
Uhm, Thank you blushnikhil 13 mins ago
 
@Bartek did you see my GLSL EDSL sample?
 
user3010322
Hm.
 
user3010322
6:52 PM
This sounds absolutely horrible.
 
@Mysticial I love it
much fun. wow
@ThePhD let's hear it then
 
@R.MartinhoFernandes yeah, I did. I didn't have time to create any valuable feedback though :/
 
user3010322
Why would I let you hear it if it sounds absolutely terrible? D:
 
user3010322
Also, must find ring buffer
 
user3010322
Does the std:: implement a kind of, uh
 
6:53 PM
because sound issues can be fixed
 
user3010322
circular buffer?
 
Also, anyone wanna play some Civ4? There was some interest a while ago.
 
it's like the easiest thing ever
also it's on SO
 
@LightnessRacesinOrbit aww
 
user3010322
Mmm...
 
user3010322
6:54 PM
Well, alrighty.
 
@ThePhD There's one in boost.
 
user3010322
Oh, I guess I'll use that then.
 
user3010322
boost should work on the rPi.
 
well implementing one is one thing I wouldn't probably fear that much
and considering it's an embedded environment...
 
user3010322
rPi should be able to compile boost just fine, since it supports GCC.
 
6:56 PM
rPi doesn't compile anything
 
I used to build ogonek on mine.
 
gcc-arm-eabi does
unless you compile on the device itself which is kind of weird really.
 
user3010322
Well.
 
user3010322
Technically, this "Additive Delay" DSP works...
 
user3010322
.... But it doesn't sound useful in the slightest. >.>
 
6:58 PM
why?
protip: delay should have "feedback" control
 
user3010322
It's probably just the setting. When I ran it and listened it was doing final_sample = original_sample + (DSP_sample * 0.5f)
 
0.5f would be your feedback then, I guess
 
user3010322
Oh god the mangling. x.X
 
user3010322
Maybe I'm doing it wrong.
 
Seeing how you treated gnat on his answer, I wish there were a way I could elect not to see your posts at all instead of you being forcibly revealed. — Lightness Races in Orbit 12 secs ago
hehe
 

« first day (1259 days earlier)      last day (3686 days later) »