« first day (1061 days earlier)      last day (3886 days later) » 

10:00 PM
possibly. blame stacked!
 
I stared at it for a while lol
 
@Griwes Well, he probably meant that "As far as optimization is concerned, compilers have been ignoring the inline keyword since like forever."
 
@sehe Removed. It did remove some other stuff along.. , but it seems ok.
 
@FredOverflow That would make more sense. But that's not what he wrote in the header!
 
@Griwes What he wrote is a lie.
 
10:05 PM
> Removing aptitude ...
 
@FredOverflow a blatant one
 
aptitude, you shall be missed :(
 
:lol:
 
@StackedCrooked who needs it :/
 
I like it.
 
10:05 PM
I never use it
 
For aptitude search.
 
dpkg --search works for me (and there's something else I keep forgetting)
-2
Q: Voice Recoignize in Android used FFT algorith

user2700676My graduation project was to make a speech recognition application using the FFT method in android. I've read a lot about the article from speech recognition. but most article discusses speech recognition made ​​by google. can someone help me to giving source code that uses voice recognition with...

^ that was my highschool science project too
 
aptitude only seems to need libboost-iostreams1.46.1 (regarding boost)
 
Ell
Fft = fast Fourier transform?
 
Only then, I had built my own "sound card" (PCI, 2x8bit DAC/ADC) and wrote my (F)FT in fixed point integer 286 assembly language. Because Turbo Pascal wasn't quite up to the challenge
 
Ell
10:09 PM
@sehe that was your highschool project? :o
Jesus Christ
 
Yup. Back in the day when I still didn't know about lazy
 
Ell
You sir, are a god
 
Fucking Fourier transform.
Oh hey, PostgreSQL 9.3.
 
@Ell well, I didn't quite finish the project :( I used the "sound card" as a general purposed oscilloscope, though. And I was rather proud of my poormans spectrum analyzer in assembly :). Teacher graded me 7/10 though, IIRC (it was supposed to be for physics)
@Ell Don't tell anyone. I like to go out in the street without being recognized
 
Xeo
@StackedCrooked On the first compile after a change, nothing happens (I get an empty output box)
 
10:11 PM
I find it interesting that this was probably 18+ years ago.
 
@Rapptz mmm. 1994/95 IIRC
 
Ell
I don't understand what FFT is. I'm reading the Wikipedia and its just going straight over my head
 
It's a transform.
It transforms a function from time to frequency domain.
 
@Xeo I can't seem to reproduce that.. Are you using a special command line?
 
Or vice versa, I don't remember.
 
10:13 PM
@CatPlusPlus I think you got it right..because a function of time is usually what you have?
 
@Ell it basically tells you what frequency a signal is. Or, if it's composed of multiple ones, which are represented and in which 'amplitudes'. Which is what you want to have to do formant recognition
 
Xeo
@StackedCrooked Does using clang++ instead of g++ count as special?
 
Yeah it goes from time to frequency.
 
Xeo
Also, I can't seem to get the default commandline back
 
Hurray, I learned something in uni.
 
10:15 PM
@Xeo That should not be a problem.
 
Yay for testing before deploying.
:v
 
@Xeo Can't reproduce
 
Xeo
wtf
 
@Xeo What happens if you click to restore the command?
Maybe refresh the page.
 
Xeo
10:16 PM
... derp. I thought it still required just empty commandbox >_>
it did the empty output thing again!
Try with this. Change something, hit compile.
 
@Xeo yup
no output.
 
I get output.
 
only happens with clang++ though
 
Xeo
mh
 
@Xeo Indeed.
 
10:20 PM
Weird, it works for me
 
today's lesson: don't use clang :p
 
TIL clang sucks
It breaks coliru.
 
Xeo
lol
 
Hello, Lounge!
 
Xeo
10:21 PM
"Did you try Clang?" - "Yes, it broke Coliru."
6
 
@StackedCrooked lol
I think they said "Try LLVM", right?
(And that's how the conversation went, ladies and gentlemen)
 
Ell
I wonder what the glitter freeze is
 
Xeo
Wait, it was actually LLVM
 
Xeo
I think when Chandler asked Scott it was Clang
 
10:23 PM
@Xeo I know, right. Still I think you were alluding to the "running gag audience comment" (e.g. in Andrei's talk), so it's relevant
Evil edits
 
Xeo
~
 
@Xeo fixed it anyways, for some reason this form is not objectionable to clang++ stackoverflow.com/a/18432618/85371
 
Ell
@sehe first hit is the song containing it :P
Its an artistic thing, you cant really Google it :P
 
I wouldn't know - I haven't clicked it
 
@Xeo It's stderr.
 
Xeo
10:31 PM
WTF
Clang is behaving inconsistently :<
One time it works, the next time it doesn't
 
Ell
That lambda overload thing is awesome
 
Xeo
I need a version that is not potentially broken by caching :/
And wheee, virtual box doesn't seem to like my old .vdi with Debian anymore.
fuck.
 
Ugh I don't know if I should try to hide NHibernate or not.
 
Xeo
Also, WTF UBISOFT, you suck. Sends an extremely old gameplay video (1year+) to some reviewers :|
 
@Xeo I think it's fixed now.
 
Xeo
10:37 PM
Seems to be fine
 
redirect to output file and then cat that output file seemed to fail. as if it catted the output file before it has finished writing to it.
 
Xeo
heh, so the cache swallowed it all up the first time around?
 
Yeah it was cached and the the cache was printed to the user.
Perhaps the file wasn't closed yet before printing it.
Basically it did echo bla >cache 2>&1 && cat cache.
 
Xeo
hm
 
Now I do exec > >(tee cache) ; exec 2>&1 ; echo bla
I fixed it but I still don't understand the original problem.
However, this is better anyway. Splitting output instead of messing around.
 
10:45 PM
And again, repcapping on completely gratuitous Vim wankery:
1
A: How to Re-Indent visually selected column in Vim

seheYou could do that block selection and then :'<,'>s/\v%V\s+// What this does is 'zap' all contiguous starting whitespace found inside the visual selection. Demo:

@StackedCrooked +1
 
Probably the 2>&1 was misplaced in my original command.
Since the problem only occurred when the compilation failed (and thus output was written to stderr).
 
Xeo
@sehe: I have no fucking clue what Clang's problem with the overload thing is :/
 
@Xeo s/is/was/?
 
Xeo
With the other definition
 
@Xeo nah fails locally too
 
random_device also works now. (/dev/urandom is enabled in the chroot)
 
Xeo
only the first passed lambda works
 
@sehe overload resolution failed? dammit coliru!
 
Xeo
if you switch the lambdas, the one with int doesn't work anymore
 
@StackedCrooked ^
 
Xeo
10:57 PM
Might be worth asking a question about that
Maybe it's even something extremely obvious and I'm just too tired to notice
 
I cleaned the compile cache.
In case anything was wrongly cached.
 
wrongfully cached!
 
Xeo
The problem seems to be that using overloaded<Fx, Fs...>::operator() doesn't seem to do... anything.
 
The cache is for evil, not for good.
 
@Xeo Er, that should be using overloaded<Fs...>::operator().
 
Xeo
11:00 PM
No
The specialization is overloaded<F, Fx, Fs...>
To allow overloaded<F> to be the unspecialized base case
 
Doesn't name hiding prevent this from working?
 
That's the whole point of the using operator()s
 
Xeo
nah
that's highly likely a Clang bug
 
I'm too tired for this. Also, watching :
 
Oh, you have a using statement.
 
11:05 PM
 
Xeo
Works -> move always-SFINAE'd to derived class -> doesn't work
SFINAE doesn't seem to be taken into account properly when you have using'd overloads from the base
 
lol. Good work. How did my "fixed" version work, then?
 
Xeo
or rather, it seems to still hide the base function
Now I just need an up-to-date trunk build to test :<
 
That won't hurt a bit
 
Xeo
@sehe You pull overloads from two bases, and don't have any in the class that does the using.
 
11:07 PM
Ah. Subtle. So it's not the absense of using, but rather the absense of "local" hiding
 
Xeo
2 mins ago, by Xeo
or rather, it seems to still hide the base function
Maybe I can even get rid of all the templates and reduce this further
Works -> swap commented lines -> doesn't work -> remove derived-class template -> works again
 
Strangely enough when changing T with T&& (in the derived class) the base class overload is still selected for the int overload.
I thought T&& captures everything.
 
Xeo
I always-SFINAE the derived overload
 
CAPTURE ALL THE THINGS!
 
Xeo
Fuck. Clang is actually right.
 
11:18 PM
@Xeo The problem with caching was the stderr didn't come through. So in your shared post which "works" the compiler error might not be visible.
 
1 hour ago, by Xeo
I swear there was a compiler error before I shared.
 
Removed coliru.stacked-crooked.com/a/8f3e5e7b77fe3c2b from the archive just to be sure.
If you want to disable caching then add a number comment to the bottom of the file that you increment for each compile.
 
That reminds me of the LWS set-up of checking history. That was neat.
Ideone has it now too
 
Coliru stderr was broken for a period of about half an hour I think. So anything added in that timespan might not be reliable.
 
@Rapptz but the "my codes" page is completely broken (no paging, no filtering, no nothing works)
 
11:22 PM
@Xeo sorry for causing confusion.
 
you didn't cause confucius
 
@sehe :( That was one of the main reasons I used it for
 
@Rapptz me too. I tried with Opera as well as Chrome. Might be ongoing work
 
I wonder how cppreference integrated Coliru so well.
It really looks nice
 
One of my colleagues taught me to use --; to introduce compiler errors. It looks like an axe which marks what you were working on.
 
11:24 PM
Looks like a hammer to me
 
Xeo
pickaxe
 
looks like dash-dash-semicolon to me
 
Squint harder.
 
Claw hammer!
 
@Rapptz Yeah, it really looks like that.
my colleague lied to me
it's really a hammer
 
11:26 PM
HAMMER TIME
DEPLETIATE ALL THE MEMES
@StackedCrooked (shh the php hammer of doom)
 
public interface ISessionFactoryFactory {
 
Xeo
[01:16:23] <zygoloid> Xeo: this is a weird corner of the language where clang conforms but the rule is silly
[01:16:31] <Xeo> ... really? :(
[01:16:45] <zygoloid> Xeo: when deciding whether a using-declaration is hidden, we're not allowed to look at the template-parameter-list (nor the return type, iirc)
[01:17:04] <zygoloid> so the derived class declaration of operator()(T) suppresses the using-declaration
[01:17:19] <Xeo> because it has the same signature / parameter types?
[01:17:40] <zygoloid> rigth
^ clarification on the overload / using matter
 
That's silly.
 
Xeo
> but the rule is silly
:)
 
11:30 PM
what a mess. It [01:23:49] reminds me vaguely of the realization that, although a constructor template will not be considered to "be" the copy constructor, after the compiler is done generating the default one, it might still prefer the templated "overload"...
 
Xeo
heh
 
@sehe I thought matching non-template overloads were chosen.
 
Xeo
whee, Richard also filed some NB comments on the draft wrt auto-move of local variables
> New in this version: implicit unwrapping (one level) of future<future<R>> to future<R> in then().
s/then()/>>=/
 
Xeo
11:45 PM
Okay, partially. It's not required that the passed function returns a future<T>. It just unwraps if it does.
Not that that would be a problem with proper composition, []std::make_ready_future <compose> []whatever
 
Xeo
11:58 PM
This might be a nice read (from the Asio author)
(I like how the title has MS Word in it)
 
Where?
 
I can't find it either
 
Xeo
The title in the tab has it
 

« first day (1061 days earlier)      last day (3886 days later) »